支出合同优化项目成本分解结构必录逻辑

This commit is contained in:
xuhaihui 2026-01-12 17:10:12 +08:00
parent 3346b244d9
commit 60bd72d8af
1 changed files with 2 additions and 2 deletions

View File

@ -137,12 +137,12 @@ public class OutContractFromPlugin extends AbstractBillPlugIn implements Plugin
// 满足条件不是排除的类型 isonlist为false pricetype不等于bdlbdj // 满足条件不是排除的类型 isonlist为false pricetype不等于bdlbdj
if (!isExcludedType && !isonlist && if (!isExcludedType && !isonlist &&
(zcgj_pricetype == null || !zcgj_pricetype.toString().equals("bdlbdj"))) { (zcgj_pricetype == null || !zcgj_pricetype.toString().equals("bdlbdj") || !zcgj_pricetype.toString().equals("zjbg"))) {
shouldSetMustInput = true; shouldSetMustInput = true;
} }
} else { } else {
// contracttype为null的情况根据业务需求决定是否设置必填 // contracttype为null的情况根据业务需求决定是否设置必填
if (!isonlist && (zcgj_pricetype == null || !zcgj_pricetype.toString().equals("bdlbdj"))) { if (!isonlist && (zcgj_pricetype == null || !zcgj_pricetype.toString().equals("bdlbdj") || !zcgj_pricetype.toString().equals("zjbg"))) {
shouldSetMustInput = true; shouldSetMustInput = true;
} }
} }