diff --git a/src/views/firstOrder/components/outDialog.vue b/src/views/firstOrder/components/outDialog.vue index 203d103..9fd28e7 100644 --- a/src/views/firstOrder/components/outDialog.vue +++ b/src/views/firstOrder/components/outDialog.vue @@ -608,15 +608,18 @@ export default { }, selectionChange(row) { this.batchSelectionVisible = false; - row.forEach((item) => { - item.theOutboundQuantity = 1; - }); + // row.forEach((item) => { + // item.outboundQuantity = 1; + // }); this.sizeForm.inTableData = row; this.getStatistics(); }, confirm(allSelectedList) { this.consumableVisible = false; + allSelectedList.forEach((item) => { + item.outboundQuantity = 1; + }); this.sizeForm.inTableData = allSelectedList; this.getStatistics(); }, // 处理搜索 @@ -680,7 +683,7 @@ export default { } } if (this.sizeForm.optionType === "NY") { - row.theOutboundQuantity = 1; + row.outboundQuantity = 1; } this.getStatistics(); },