this.productInboundOrderData.inboundQuantit 是总和;
2.this.multipleSelection 是数组对象;
3.binQty ,需要相加的属性值;
this.productInboundOrderData.inboundQuantity = this.multipleSelection.reduce((c, item) => c + item.binQty * 1, 0)

 

相关文章: