支出合同优化项目成本分解结构必录逻辑
This commit is contained in:
parent
3346b244d9
commit
60bd72d8af
|
|
@ -137,12 +137,12 @@ public class OutContractFromPlugin extends AbstractBillPlugIn implements Plugin
|
|||
|
||||
// 满足条件:不是排除的类型 且 isonlist为false 且 pricetype不等于bdlbdj
|
||||
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;
|
||||
}
|
||||
} else {
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue