yuejunhao
2024-01-10 cfdb2b1546bc21ae0b1bda75445afd8051e4ee1f
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
        }
      }