入库单优化

This commit is contained in:
xuhaihui 2025-09-16 21:26:39 +08:00
parent 87c7d69118
commit 3335dd590f
1 changed files with 2 additions and 2 deletions

View File

@ -465,8 +465,8 @@ 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","notaxamount"});
this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "oftaxamount", "notaxamount"}); this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "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"});
} }