1.随机资料及配件工具包,机型台数根据发运更新
This commit is contained in:
ljw 2024-11-27 20:24:46 +08:00
parent e2f53da4e9
commit 8b824b084e

View File

@ -488,7 +488,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
Map<Long, BigDecimal> map = new HashMap<>();
for (int rowIndex : rowIndexs) {
DynamicObject yemProductmodel = (DynamicObject) this.getModel().getValue("yem_productmodel", rowIndex);
BigDecimal yemQty = (BigDecimal) this.getModel().getValue("yem_qty");
BigDecimal yemQty = (BigDecimal) this.getModel().getValue("yem_qty",rowIndex);
if (yemProductmodel != null) {
long aLong = yemProductmodel.getDynamicObject("yem_products").getLong("id");
map.merge(aLong, yemQty, (a, b) -> b.add(a));