fix:
1.随机资料及配件工具包,机型台数根据发运更新
This commit is contained in:
parent
b60b48b63b
commit
23c3692927
@ -488,7 +488,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
Map<Long, BigDecimal> map = new HashMap<>();
|
Map<Long, BigDecimal> map = new HashMap<>();
|
||||||
for (int rowIndex : rowIndexs) {
|
for (int rowIndex : rowIndexs) {
|
||||||
DynamicObject yemProductmodel = (DynamicObject) this.getModel().getValue("yem_productmodel", rowIndex);
|
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) {
|
if (yemProductmodel != null) {
|
||||||
long aLong = yemProductmodel.getDynamicObject("yem_products").getLong("id");
|
long aLong = yemProductmodel.getDynamicObject("yem_products").getLong("id");
|
||||||
map.merge(aLong, yemQty, (a, b) -> b.add(a));
|
map.merge(aLong, yemQty, (a, b) -> b.add(a));
|
||||||
|
Loading…
Reference in New Issue
Block a user