工序期间成本预算系统插件:二开去除项目过滤逻辑和校验逻辑
This commit is contained in:
parent
e3906e5d15
commit
6409208f48
|
@ -69,6 +69,9 @@ import kd.ec.cost.utils.AimCostCbsPoiHelper;
|
||||||
import kd.ec.cost.utils.CostTypeUtils;
|
import kd.ec.cost.utils.CostTypeUtils;
|
||||||
import kd.ec.cost.utils.CurrencyFormatUtil;
|
import kd.ec.cost.utils.CurrencyFormatUtil;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 工序期间成本预算系统插件:二开去除项目过滤逻辑和校验逻辑
|
||||||
|
*/
|
||||||
public class PeriodAimcostcbsbillEditPluginExt extends AbstractEccoBillPlugin implements BeforeF7SelectListener, RowClickEventListener, UploadListener {
|
public class PeriodAimcostcbsbillEditPluginExt extends AbstractEccoBillPlugin implements BeforeF7SelectListener, RowClickEventListener, UploadListener {
|
||||||
private static final String PROJECT_ID = "projectId";
|
private static final String PROJECT_ID = "projectId";
|
||||||
private static final String IS_CANCEL = "isCancel";
|
private static final String IS_CANCEL = "isCancel";
|
||||||
|
@ -143,9 +146,9 @@ public class PeriodAimcostcbsbillEditPluginExt extends AbstractEccoBillPlugin im
|
||||||
this.beforeUnitprojectSelected(beforef7selectevent);
|
this.beforeUnitprojectSelected(beforef7selectevent);
|
||||||
} else if ("projectboq".equals(name)) {
|
} else if ("projectboq".equals(name)) {
|
||||||
this.beforeProjectBoqSelected(beforef7selectevent);
|
this.beforeProjectBoqSelected(beforef7selectevent);
|
||||||
} else if ("project".equals(name)) {
|
}/* else if ("project".equals(name)) {
|
||||||
this.beforeProjectSelected(beforef7selectevent);
|
this.beforeProjectSelected(beforef7selectevent);
|
||||||
}
|
}*/ //二开注释掉的
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1006,10 +1009,10 @@ public class PeriodAimcostcbsbillEditPluginExt extends AbstractEccoBillPlugin im
|
||||||
filter.and(new QFilter("period", "=", period.getPkValue()));
|
filter.and(new QFilter("period", "=", period.getPkValue()));
|
||||||
filter.and(new QFilter("versionno", "=", this.getModel().getValue("versionno")));
|
filter.and(new QFilter("versionno", "=", this.getModel().getValue("versionno")));
|
||||||
boolean exists = QueryServiceHelper.exists("ecco_periodcostbillcbs", new QFilter[]{filter});
|
boolean exists = QueryServiceHelper.exists("ecco_periodcostbillcbs", new QFilter[]{filter});
|
||||||
if (exists) {
|
// if (exists) {
|
||||||
this.getView().showTipNotification(ResManager.loadKDString("本项目(单位工程)在本期间已编制预算,如需修改,请使用调整功能。", "PeriodAimcostcbsbillEditPlugin_12", "ec-ecco-formplugin", new Object[0]));
|
// this.getView().showTipNotification(ResManager.loadKDString("本项目(单位工程)在本期间已编制预算,如需修改,请使用调整功能。", "PeriodAimcostcbsbillEditPlugin_12", "ec-ecco-formplugin", new Object[0]));
|
||||||
beforedooperationeventargs.setCancel(true);
|
// beforedooperationeventargs.setCancel(true);
|
||||||
}
|
// }//二开注释掉的
|
||||||
|
|
||||||
List<Object> graySubEntryIds = (List)EcSerializeHelper.unserialize(this.getPageCache().get("subentry_grayids"));
|
List<Object> graySubEntryIds = (List)EcSerializeHelper.unserialize(this.getPageCache().get("subentry_grayids"));
|
||||||
if (graySubEntryIds != null && !graySubEntryIds.isEmpty()) {
|
if (graySubEntryIds != null && !graySubEntryIds.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue