设备费用结算系统插件二开去除成本分解结构必录设置逻辑
This commit is contained in:
parent
b6697b98d0
commit
70e583535c
|
|
@ -41,6 +41,10 @@ import kd.ec.eceq.formplugin.EquipSettleAutoFillHandler;
|
|||
import kd.ec.eceq.formplugin.EquipSettlePriceSelectHandler;
|
||||
import kd.ec.eceq.formplugin.util.EntryUtil;
|
||||
|
||||
/*
|
||||
* 设备费用结算系统插件二开
|
||||
* 说明:1、去除成本分解结构必录设置逻辑
|
||||
*/
|
||||
public class EquipSettleFormPluginExt extends AbstractBillPlugIn implements BeforeF7SelectListener, AfterF7SelectListener {
|
||||
protected static final String OP_NEW_ENTRY = "newentry";
|
||||
protected static final String OP_AUTO = "auto";
|
||||
|
|
@ -427,12 +431,12 @@ public class EquipSettleFormPluginExt extends AbstractBillPlugIn implements Befo
|
|||
if (!StringUtils.isEmpty(costModelStr)) {
|
||||
String[] split = StringUtils.split(costModelStr, ",");
|
||||
List<String> costModel = Arrays.asList(split);
|
||||
BasedataEdit cbs = (BasedataEdit) this.getControl("procbs");
|
||||
/* BasedataEdit cbs = (BasedataEdit) this.getControl("procbs");
|
||||
if (cbs != null && costModel.contains("1")) {
|
||||
cbs.setMustInput(true);
|
||||
} else {
|
||||
cbs.setMustInput(false);
|
||||
}
|
||||
}*///二开注释掉的
|
||||
|
||||
BasedataEdit boq = (BasedataEdit) this.getControl("proboq");
|
||||
if (boq != null && costModel.contains("4")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue