工程量清单成本预算表单插件:预算余额赋值修改和项目基础资料过滤和填写校验逻辑修改
This commit is contained in:
parent
16b151ab77
commit
72297999fa
|
@ -64,6 +64,9 @@ import kd.ec.cost.utils.CurrencyFormatUtil;
|
|||
import org.apache.commons.beanutils.ConversionException;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
//二开系统插件
|
||||
//工程量清单成本预算表单插件:预算余额赋值修改和项目基础资料过滤和填写校验逻辑修改
|
||||
|
||||
public class AimCostBoqEditPluginExt extends AbstractEcBillPlugin implements BeforeF7SelectListener, RowClickEventListener, UploadListener {
|
||||
private static final String ID_NUMBER_NAME = "id,number,name";
|
||||
private static final String BD_MEASUREUNITS = "bd_measureunits";
|
||||
|
@ -196,6 +199,7 @@ public class AimCostBoqEditPluginExt extends AbstractEcBillPlugin implements Bef
|
|||
this.getModel().setValue("isadjust", true);
|
||||
this.getModel().setValue("lastversionamt", this.getModel().getValue("totalamount"));
|
||||
this.getView().setEnable(false, new String[]{"multicurrency"});
|
||||
this.getView().setEnable(false, new String[]{"zcgj_periodyear"});
|
||||
this.adjustAddNewBoqData();
|
||||
}
|
||||
|
||||
|
@ -231,9 +235,9 @@ public class AimCostBoqEditPluginExt extends AbstractEcBillPlugin implements Bef
|
|||
this.beforeCbsSelected(arg0);
|
||||
} else if (StringUtils.equals("enterpriseca", name)) {
|
||||
this.beforeCaSelected(arg0);
|
||||
} else if (StringUtils.equals("project", name)) {
|
||||
this.beforeProjectSelected(arg0);
|
||||
}
|
||||
}/* else if (StringUtils.equals("project", name)) {
|
||||
this.beforeProjectSelected(arg0);//二开注释掉的
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
@ -2669,15 +2673,15 @@ public class AimCostBoqEditPluginExt extends AbstractEcBillPlugin implements Bef
|
|||
if (isExist && vision.compareTo(BigDecimal.ONE) == 0) {
|
||||
if (unitProject != null) {
|
||||
this.getView().showTipNotification(ResManager.loadKDString("该单位工程已存在BOQ预算。", "AimCostBoqEditPlugin_68", "ec-ecco-formplugin", new Object[0]));
|
||||
} else {
|
||||
}/* else {
|
||||
this.getView().showTipNotification(ResManager.loadKDString("该项目已存在BOQ预算。", "AimCostBoqEditPlugin_69", "ec-ecco-formplugin", new Object[0]));
|
||||
}
|
||||
}*///二开注释掉的
|
||||
} else if (isExist) {
|
||||
if (unitProject != null) {
|
||||
this.getView().showTipNotification(ResManager.loadKDString("该单位工程已存在相同版本的BOQ预算。", "AimCostBoqEditPlugin_70", "ec-ecco-formplugin", new Object[0]));
|
||||
} else {
|
||||
}/* else {
|
||||
this.getView().showTipNotification(ResManager.loadKDString("该项目已存在相同版本的BOQ预算。", "AimCostBoqEditPlugin_71", "ec-ecco-formplugin", new Object[0]));
|
||||
}
|
||||
}*///二开注释掉的
|
||||
}
|
||||
|
||||
return isExist;
|
||||
|
|
Loading…
Reference in New Issue