下单审批随机资料及配件不需要赠送行
This commit is contained in:
25655 2025-03-05 11:15:48 +08:00
parent 15efe2eeb7
commit a81fa76d96

View File

@ -256,6 +256,8 @@ public class AlaceexamineAuditOp extends AbstractOperationServicePlugIn {
BigDecimal yem_thisqty = BigDecimal.ZERO;
for (int i = 0; i < yem_es_materialinfo_s.size(); i++) {
DynamicObject yem_es_materialinfo = yem_es_materialinfo_s.get(i);
boolean yemIsgift = yem_es_materialinfo.getBoolean("yem_isgift");
if (!yemIsgift) {
long yem_sourceentryid = yem_es_materialinfo.getLong("yem_sourceentryid");
DynamicObject yem_plandetail_entry = (DynamicObject) yem_plandetail_entry_map.get(yem_sourceentryid);
if (yem_plandetail_entry != null) {
@ -303,6 +305,7 @@ public class AlaceexamineAuditOp extends AbstractOperationServicePlugIn {
yem_es_materialinfo_s.remove(i--);
}
}
}
newbill.set("yem_thisqty", yem_thisqty);
if ("Z".equals(key)) {
//随机资料及配件工具包