This commit is contained in:
xuhaihui 2025-10-11 15:44:01 +08:00
parent f5b2c9a2d8
commit 4088d77e2b
1 changed files with 4 additions and 4 deletions

View File

@ -465,10 +465,10 @@ public class MaterialInBillEditPluginExt extends AbstractEcmaBillPlugin implemen
} }
protected void initFormPage(int rowIndex) { protected void initFormPage(int rowIndex) {
this.getView().setEnable(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate", "price", "ismainmaterial"}); /* this.getView().setEnable(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate", "price", "ismainmaterial"});
this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "oftaxamount", "notaxamount"});//系统源码 this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "oftaxamount", "notaxamount"});//系统源码*/
/* this.getView().setEnable(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate", "price", "ismainmaterial","notaxamount"});//二开修改添加金额字段 this.getView().setEnable(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate", "ismainmaterial","notaxamount"});//二开修改添加金额字段去除入库单价
this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "oftaxamount"});//二开修改去除金额字段*/ this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice","price", "oftaxamount"});//二开修改去除金额字段添加入库单价
Boolean poundIn = (Boolean) this.getModel().getValue("poundin"); Boolean poundIn = (Boolean) this.getModel().getValue("poundin");
this.getView().setEnable(!poundIn, rowIndex, new String[]{"material", "modelnum", "qty"}); this.getView().setEnable(!poundIn, rowIndex, new String[]{"material", "modelnum", "qty"});
} }