|
@@ -418,7 +418,7 @@
|
|
|
scwin.grdData1_onafteredit = function(row,col,value) {
|
|
|
var col = dcdataList1.getColumnID(col);
|
|
|
if(col == "inexGb"){
|
|
|
- dcdataList1.setCellData( row , "inexItemGbCd" , dcdataList4.getCellData( 0 , "CODE_CD" ));
|
|
|
+ dcdataList1.setCellData( row , "inexItemGbCd" , dclinkedDataList1.getCellData( 0 , "CODE_CD" ));
|
|
|
grdData1.setCellReadOnly( row , "inexItemNm" , false );
|
|
|
}
|
|
|
};
|
|
@@ -476,6 +476,11 @@
|
|
|
for(var k = 0; k < cols.length; k++){
|
|
|
dcdataList1.setCellData( i , cols[k] , dcdataList1.getCellData( i , cols[k] ).replace(/[^0-9.]/g,"") )
|
|
|
}
|
|
|
+
|
|
|
+ if(dcdataList4.getCellData((dcdataList4.getMatchedIndex( "CODE_CD" , dcdataList1.getCellData( i , "inexItemGbCd" ) , true , 0 , dcdataList4.getRowCount() )), "ESBS_CD2") == "END"){
|
|
|
+ grdData1.setCellReadOnly( i , "inexItemNm" , true );
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
};
|