| | |
| | | orderDetail: selectRecords |
| | | }) |
| | | request.post("/FinishedGoodsInventory/updateFinishedGoodsInventoryAllocate", flowData.value).then((res) => { |
| | | if (res.code == 200) { |
| | | if (res.code == 200 && res.data===true) { |
| | | |
| | | ElMessage.success(t('productStock.transferSuccessful')) |
| | | router.push({path:'/main/productStock/OrderAllocation',query:{random:Math.random()}}) |
| | | } else { |
| | | ElMessage.warning(res.msg) |
| | | ElMessage.warning("调拨失败") |
| | | router.push("/login") |
| | | } |
| | | }).catch((err)=>{ |
| | | ElMessage.error('系统错误') |
| | | router.push("/login") |
| | | }) |
| | | |
| | | return; |