问题修改

master
zhangdi 2 weeks ago
parent 701a54e4b6
commit 9803fa6469
  1. 6
      src/views/firstOrder/components/outDialog.vue

@ -564,6 +564,7 @@ export default {
}, },
getStatistics() { getStatistics() {
let arr = JSON.parse(JSON.stringify(this.sizeForm.inTableData)); let arr = JSON.parse(JSON.stringify(this.sizeForm.inTableData));
arr.forEach((row) => { arr.forEach((row) => {
row.id = row.oneFormId; row.id = row.oneFormId;
}); });
@ -614,6 +615,8 @@ export default {
this.batchSelectionVisible = false; this.batchSelectionVisible = false;
row.forEach((item) => { row.forEach((item) => {
item.outboundQuantity = 1; item.outboundQuantity = 1;
item.theOutboundQuantity = 1;
item.oneFormId = item.id
}); });
this.sizeForm.inTableData = row; this.sizeForm.inTableData = row;
@ -623,7 +626,10 @@ export default {
this.consumableVisible = false; this.consumableVisible = false;
allSelectedList.forEach((item) => { allSelectedList.forEach((item) => {
item.outboundQuantity = 1; item.outboundQuantity = 1;
item.theOutboundQuantity = 1;
item.oneFormId = item.id
}); });
this.sizeForm.inTableData = allSelectedList; this.sizeForm.inTableData = allSelectedList;
this.getStatistics(); this.getStatistics();
}, // }, //

Loading…
Cancel
Save