1.修改明细删除行提示null
This commit is contained in:
parent
2878292488
commit
4615f3ce68
@ -269,6 +269,9 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
collect(dataEntity);
|
collect(dataEntity);
|
||||||
SaveServiceHelper.save(new DynamicObject[]{dataEntity});
|
SaveServiceHelper.save(new DynamicObject[]{dataEntity});
|
||||||
}
|
}
|
||||||
|
if("submit".equals(key)){
|
||||||
|
this.getView().invokeOperation("refresh");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -560,15 +563,15 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
case "yem_customclass":
|
case "yem_customclass":
|
||||||
carryReportCategoryAndHsCode(this.getModel(), this.getView(), rowIndex, "yem_customclass");
|
carryReportCategoryAndHsCode(this.getModel(), this.getView(), rowIndex, "yem_customclass");
|
||||||
break;
|
break;
|
||||||
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");
|
BigDecimal raprate = dynamicObject.getBigDecimal("yem_raprate");
|
||||||
BigDecimal offeramount = dataEntity.getBigDecimal("yem_offeramount");
|
BigDecimal offeramount = dataEntity.getBigDecimal("yem_offeramount");
|
||||||
dynamicObject.set("yem_rapamt", PaymentControlUtil.getAdvancePayment(offeramount, raprate));
|
dynamicObject.set("yem_rapamt", PaymentControlUtil.getAdvancePayment(offeramount, raprate));
|
||||||
this.getView().updateView("yem_es_salescontrac_s");
|
|
||||||
}
|
}
|
||||||
|
this.getView().invokeOperation("save");
|
||||||
break;
|
break;
|
||||||
case "yem_bigcabinetnumbers":
|
case "yem_bigcabinetnumbers":
|
||||||
countBigCabinetQty(model);//汇总表头大柜数量
|
countBigCabinetQty(model);//汇总表头大柜数量
|
||||||
|
Loading…
Reference in New Issue
Block a user