工序成本预算单据去除项目保存校验(测试

This commit is contained in:
xuhaihui 2025-06-05 10:51:00 +08:00
parent acc94bed60
commit 1fd14197ff
1 changed files with 4 additions and 4 deletions

View File

@ -832,10 +832,10 @@ public class AimcostcbsbillEditUIExt extends AbstractEccoBillPlugin implements B
filter.and(new QFilter("versionno", "=", this.getModel().getValue("versionno")));
boolean exists = QueryServiceHelper.exists("ecco_aimcostbillcbs", new QFilter[]{filter});
if (exists) {
this.getView().showTipNotification(ResManager.loadKDString("本项目(单位工程)已编制预算,如需修改,请使用调整功能。", "AimcostcbsbillEditUI_5", "ec-ecco-formplugin", new Object[0]));
beforedooperationeventargs.setCancel(true);
}
// if (exists) {
// this.getView().showTipNotification(ResManager.loadKDString("本项目(单位工程)已编制预算,如需修改,请使用调整功能。", "AimcostcbsbillEditUI_5", "ec-ecco-formplugin", new Object[0]));
// beforedooperationeventargs.setCancel(true);
// }
List<Object> graySubEntryIds = (List)EcSerializeHelper.unserialize(this.getPageCache().get("subentry_grayids"));
if (graySubEntryIds != null && !graySubEntryIds.isEmpty()) {