|
|
|
@ -333,10 +333,8 @@
|
|
|
|
|
import {
|
|
|
|
|
stockOrderList, stockOrderDetail,
|
|
|
|
|
deleteStockOrderById, deleteStockOrderDetailById,
|
|
|
|
|
copyStockOrderDetail, submitStockOrder,
|
|
|
|
|
uploadStockOrderDetail, uploadStockOrderDetailCount,
|
|
|
|
|
generateStockOrderQRCodeText, supplementOrder,
|
|
|
|
|
updateStockOrderDetail
|
|
|
|
|
copyStockOrderDetail, uploadStockOrderDetail,supplementOrder,
|
|
|
|
|
updateStockOrderDetail, submitStockOrderToThirdSys
|
|
|
|
|
} from "../../api/inout/stockOrder";
|
|
|
|
|
import stockOrderDistribution from "./stockOrderDistribution";
|
|
|
|
|
import stockOrderQRCodeDetail from "./stockOrderQRCodeDetail";
|
|
|
|
@ -882,10 +880,15 @@ export default {
|
|
|
|
|
type: "warning",
|
|
|
|
|
center: true
|
|
|
|
|
}).then(() => {
|
|
|
|
|
let params = {id: row.id};
|
|
|
|
|
submitStockOrderToThirdSys(params).then((res) => {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "success",
|
|
|
|
|
message: "提交成功!"
|
|
|
|
|
})
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
this.$message.error("提交失败");
|
|
|
|
|
});
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "info",
|
|
|
|
@ -893,10 +896,20 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
let params = {id: row.id};
|
|
|
|
|
submitStockOrderToThirdSys(params).then((res) => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "success",
|
|
|
|
|
message: "提交成功!"
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
this.getList();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error("提交失败");
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
this.$message.error("提交失败");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|