| | |
| | | const getTableRow = (row,type) =>{ |
| | | switch (type) { |
| | | case 'edit' :{ |
| | | alert('调拨成功后,跳转回库存查询页面') |
| | | router.push({path: '/main/productStock/ProductStockList'}); |
| | | return; |
| | | alert('我接收到子组件传送的编辑信息') |
| | | // router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }}) |
| | | 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 |
| | | } |
| | | } |
| | |
| | | if($grid){ |
| | | switch (code){ |
| | | case 'edit':{ |
| | | alert('调拨成功后,跳转回库存查询页面') |
| | | router.push({path: '/main/productStock/ProductStockList'}); |
| | | return; |
| | | alert('我接收到子组件传送的编辑信息') |
| | | // router.push({path: '/main/productStock/OrderAllocation'}); |
| | | // return; |
| | | break |
| | | } |
| | | case 'record':{ |