|
@@ -3346,6 +3346,8 @@ export default {
|
|
|
this.$set(warehousebillsfees[fees], "fFeeUnitid", warehousebillsfees[fees].fFeeUnitid + "");
|
|
|
this.warehouseDrList.push(warehousebillsfees[fees]);
|
|
|
} */
|
|
|
+ this.dataWithdrawList = []
|
|
|
+ this.dataListSelection = []
|
|
|
this.msgSuccess("出库成功");
|
|
|
this.$refs.tableList.clearSelection();
|
|
|
this.formBrowseStatus = true;
|
|
@@ -3390,6 +3392,12 @@ export default {
|
|
|
},
|
|
|
// 撤回入账
|
|
|
withdrawClick() {
|
|
|
+ for (let li in this.dataWithdrawList) {
|
|
|
+ if (this.dataWithdrawList[li].fBillstatus < 40) {
|
|
|
+ this.$message.error("所选信息中存在未出库数据!");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ }
|
|
|
let formData = new window.FormData();
|
|
|
// 撤回入库
|
|
|
let withdrawList = JSON.parse(JSON.stringify(this.dataWithdrawList))
|
|
@@ -3488,6 +3496,7 @@ export default {
|
|
|
// 库存明细多选
|
|
|
selectinventory(selection) {
|
|
|
this.printinglist = selection;
|
|
|
+ this.dataWithdrawList = [];
|
|
|
this.dataListSelection = [];
|
|
|
if (!selection || selection.length === 0) {
|
|
|
return false
|