仓库优化
This commit is contained in:
parent
dd5477333e
commit
132879f830
|
@ -92,12 +92,14 @@ public class DepotEditPluginExt extends AbstractBillPlugIn implements BeforeF7Se
|
||||||
public void afterBindData(EventObject e) {
|
public void afterBindData(EventObject e) {
|
||||||
super.afterBindData(e);
|
super.afterBindData(e);
|
||||||
Object pkValue = this.getModel().getDataEntity().getPkValue();
|
Object pkValue = this.getModel().getDataEntity().getPkValue();
|
||||||
|
/*
|
||||||
if (pkValue != null) {
|
if (pkValue != null) {
|
||||||
boolean isRefrenced = BaseDataRefrenceHelper.isRefrenced((BasedataEntityType)EntityMetadataCache.getDataEntityType("ecma_depot"), pkValue);
|
boolean isRefrenced = BaseDataRefrenceHelper.isRefrenced((BasedataEntityType)EntityMetadataCache.getDataEntityType("ecma_depot"), pkValue);
|
||||||
if (isRefrenced) {
|
if (isRefrenced) {
|
||||||
// this.getView().setEnable(false, new String[]{"project"});//二开注释掉的,去除项目字段锁定
|
this.getView().setEnable(false, new String[]{"project"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*///二开注释掉的,去除项目字段锁定
|
||||||
|
|
||||||
this.getModel().setValue("instruction", this.getInstruction());
|
this.getModel().setValue("instruction", this.getInstruction());
|
||||||
this.setUnitProject();
|
this.setUnitProject();
|
||||||
|
|
Loading…
Reference in New Issue