廖井涛
2024-05-16 b79c8277a4a7a2e137e20055fbcd7339daaab7da
north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue
@@ -281,14 +281,17 @@
              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;