yuejunhao
2024-01-10 cfdb2b1546bc21ae0b1bda75445afd8051e4ee1f
点击按钮后的页面跳转以及提示语的修改
5个文件已修改
41 ■■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue
@@ -5,9 +5,9 @@
let router=useRouter()
const getTableRow = (row,type) =>{
  switch (type) {
    case 'edit' :{
      //alert('我接收到子组件传送的编辑信息')
      router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
    case 'add' :{
      alert('入库成功后,跳转到库存查询页面,库存数据增加一条!!!')
      router.push({path: '/main/productStock/ProductStockList', query: { id: row.id }})
      break
    }
    case 'back':{
@@ -201,8 +201,10 @@
    if ($grid) {
      switch (code) {
        case 'add': {
          alert('我接收到子组件传送的编辑信息')
          alert('入库成功后,跳转到库存查询页面,库存数据增加一条!!!')
          router.push({path: '/main/productStock/ProductStockList'})
          return;
          break
        }
      }
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue
@@ -31,9 +31,9 @@
    if($grid){
      switch (code){
        case 'verify':{
          alert('我接收到子组件传送的编辑信息')
          // router.push({path: '/main/productStock/OrderAllocation'});
          // return;
          alert('领出成功,返回库存查询页面,库存数据减少一条!!!')
          router.push({path: '/main/productStock/ProductStockList'});
          return;
          break
        }
        case 'out':{
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue
@@ -29,9 +29,9 @@
    if($grid){
      switch (code){
        case 'ver':{
          alert('我接收到子组件传送的编辑信息')
          // router.push({path: '/main/productStock/OrderAllocation'});
          // return;
          alert('出库成功后,跳转到库存查询页面,数据减少一条!!!')
          router.push({path: '/main/productStock/ProductStockList'});
          return;
          break
        }
        case 'record':{
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue
@@ -32,9 +32,9 @@
    if($grid){
      switch (code){
        case 'ver':{
          alert('我接收到子组件传送的编辑信息')
          // router.push({path: '/main/productStock/OrderAllocation'});
          // return;
          alert('返工成功!!!')
          // router.push({path: '/main/productStock/ProductStockList'});
          return;
          break
        }
        case 'record':{
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue
@@ -9,17 +9,20 @@
const getTableRow = (row,type) =>{
  switch (type) {
    case 'edit' :{
      alert('我接收到子组件传送的编辑信息')
      // router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
      alert('调拨成功后,跳转回库存查询页面')
      router.push({path: '/main/productStock/ProductStockList'});
      return;
      break
    }
    case 'back':{
      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
      return;
      break
    }
    case 'out' :{
      //alert('我接收到子组件传送的编辑信息')
      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
      return;
      break
    }
  }
@@ -174,9 +177,9 @@
    if($grid){
      switch (code){
        case 'edit':{
          alert('我接收到子组件传送的编辑信息')
          // router.push({path: '/main/productStock/OrderAllocation'});
          // return;
          alert('调拨成功后,跳转回库存查询页面')
          router.push({path: '/main/productStock/ProductStockList'});
          return;
          break
        }
        case 'record':{