This commit is contained in:
		
							parent
							
								
									cb15d81951
								
							
						
					
					
						commit
						7ee2e9a60b
					
				| 
						 | 
				
			
			@ -467,8 +467,8 @@ public class MaterialInBillEditPluginExt extends AbstractEcmaBillPlugin implemen
 | 
			
		|||
    protected void initFormPage(int rowIndex) {
 | 
			
		||||
/*        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(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate",  "ismainmaterial","notaxamount"});//二开修改添加金额字段,去除入库单价
 | 
			
		||||
        this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice","price", "oftaxamount"});//二开修改去除金额字段,添加入库单价
 | 
			
		||||
        this.getView().setEnable(true, rowIndex, new String[]{"lot", "lotid", "measureunit", "entrytaxrate", "ismainmaterial", "notaxamount"});//二开修改添加金额字段,去除入库单价
 | 
			
		||||
        this.getView().setEnable(false, rowIndex, new String[]{"taxprice", "taxamount", "contprice", "price", "oftaxamount"});//二开修改去除金额字段,添加入库单价
 | 
			
		||||
        Boolean poundIn = (Boolean) this.getModel().getValue("poundin");
 | 
			
		||||
        this.getView().setEnable(!poundIn, rowIndex, new String[]{"material", "modelnum", "qty"});
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue