diff --git a/src/views/firstOrder/components/outDialog.vue b/src/views/firstOrder/components/outDialog.vue index debe601..512b6f3 100644 --- a/src/views/firstOrder/components/outDialog.vue +++ b/src/views/firstOrder/components/outDialog.vue @@ -564,6 +564,7 @@ export default { }, getStatistics() { let arr = JSON.parse(JSON.stringify(this.sizeForm.inTableData)); + arr.forEach((row) => { row.id = row.oneFormId; }); @@ -614,6 +615,8 @@ export default { this.batchSelectionVisible = false; row.forEach((item) => { item.outboundQuantity = 1; + item.theOutboundQuantity = 1; + item.oneFormId = item.id }); this.sizeForm.inTableData = row; @@ -623,7 +626,10 @@ export default { this.consumableVisible = false; allSelectedList.forEach((item) => { item.outboundQuantity = 1; + item.theOutboundQuantity = 1; + item.oneFormId = item.id }); + this.sizeForm.inTableData = allSelectedList; this.getStatistics(); }, // 处理搜索