fix:
1.发运明细单金额价格条款赋值
This commit is contained in:
parent
63125333a2
commit
1f37e4a0f8
@ -659,10 +659,13 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
// case "yem_qty":
|
// case "yem_qty":
|
||||||
case "yem_offeramount":
|
case "yem_offeramount":
|
||||||
DynamicObjectCollection collection = dataEntity.getDynamicObjectCollection("yem_es_salescontrac_s");
|
DynamicObjectCollection collection = dataEntity.getDynamicObjectCollection("yem_es_salescontrac_s");
|
||||||
for (DynamicObject dynamicObject : collection) {
|
// for (DynamicObject dynamicObject : collection) {
|
||||||
BigDecimal raprate = dynamicObject.getBigDecimal("yem_raprate");
|
//
|
||||||
|
// }
|
||||||
|
for (int i = 0; i < collection.size(); i++) {
|
||||||
|
BigDecimal raprate = collection.get(i).getBigDecimal("yem_raprate");
|
||||||
BigDecimal offeramount = dataEntity.getBigDecimal("yem_offeramount");
|
BigDecimal offeramount = dataEntity.getBigDecimal("yem_offeramount");
|
||||||
dynamicObject.set("yem_rapamt", PaymentControlUtil.getAdvancePayment(offeramount, raprate));
|
this.getModel().setValue("yem_rapamt", PaymentControlUtil.getAdvancePayment(offeramount, raprate),i);
|
||||||
}
|
}
|
||||||
// this.getView().invokeOperation("save");
|
// this.getView().invokeOperation("save");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user