|
@@ -45,7 +45,7 @@
|
|
<w2:column id="rcamtRsn" name="미수금 사유" dataType="text"></w2:column>
|
|
<w2:column id="rcamtRsn" name="미수금 사유" dataType="text"></w2:column>
|
|
<w2:column id="rcamtMeasr" name="미수금 대책" dataType="text"></w2:column>
|
|
<w2:column id="rcamtMeasr" name="미수금 대책" dataType="text"></w2:column>
|
|
<w2:column id="rcamtRsnYn" name="미수금 사유 유무 YN" dataType="text"></w2:column>
|
|
<w2:column id="rcamtRsnYn" name="미수금 사유 유무 YN" dataType="text"></w2:column>
|
|
- <w2:column id="progActRtRsn" name="공정율 사유" dataType="text"></w2:column>
|
|
|
|
|
|
+ <w2:column id="progActRtRsn" name="공정율 사유" dataType="text"></w2:column>
|
|
<w2:column id="progActRtMeasr" name="공정율 대책" dataType="text"></w2:column>
|
|
<w2:column id="progActRtMeasr" name="공정율 대책" dataType="text"></w2:column>
|
|
<w2:column id="progActRtRsnYn" name="공정율 사유 유무 YN" dataType="text"></w2:column>
|
|
<w2:column id="progActRtRsnYn" name="공정율 사유 유무 YN" dataType="text"></w2:column>
|
|
<w2:column id="progActPlanORt" name="공정율 계획" dataType="text"></w2:column>
|
|
<w2:column id="progActPlanORt" name="공정율 계획" dataType="text"></w2:column>
|
|
@@ -79,7 +79,7 @@
|
|
<w2:key id="unit" name="조회기준" dataType="text"></w2:key>
|
|
<w2:key id="unit" name="조회기준" dataType="text"></w2:key>
|
|
<w2:key id="ccgrpCd1" name="본부" dataType="text"></w2:key>
|
|
<w2:key id="ccgrpCd1" name="본부" dataType="text"></w2:key>
|
|
<w2:key id="resnYn" name="사유미등록건" dataType="text"></w2:key>
|
|
<w2:key id="resnYn" name="사유미등록건" dataType="text"></w2:key>
|
|
- <w2:key id="processGap" name="공정율 GAP 기준" dataType="text"></w2:key>
|
|
|
|
|
|
+ <w2:key id="processGap" name="공정율 GAP 기준" dataType="number"></w2:key>
|
|
</w2:keyInfo>
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
</w2:dataMap>
|
|
</w2:dataCollection>
|
|
</w2:dataCollection>
|
|
@@ -242,7 +242,7 @@
|
|
txtRcamtMeasr.setDisabled( true );
|
|
txtRcamtMeasr.setDisabled( true );
|
|
}
|
|
}
|
|
|
|
|
|
- if(dcdataList1.getCellData( info.newRowIndex , "progActORtDiff" ).split("%")[0] < 0){
|
|
|
|
|
|
+ if(dcdataList1.getCellData( info.newRowIndex , "progActORtDiff" ) >= 0){
|
|
txtProgActRtRsn.setDisabled( false );
|
|
txtProgActRtRsn.setDisabled( false );
|
|
txtProgActRtMeasr.setDisabled( false );
|
|
txtProgActRtMeasr.setDisabled( false );
|
|
} else {
|
|
} else {
|
|
@@ -258,22 +258,85 @@
|
|
* param: 선택 행,열 정보
|
|
* param: 선택 행,열 정보
|
|
***************************************************************************/
|
|
***************************************************************************/
|
|
scwin.dcdataList1_updateDataList = function(info) {
|
|
scwin.dcdataList1_updateDataList = function(info) {
|
|
- switch(info.colID){
|
|
|
|
- case 'rcamtRsn':
|
|
|
|
- if(info.newValue == ""){
|
|
|
|
|
|
+ if(info.colID == "rcamtRsn" || info.colID == "rcamtMeasr") {
|
|
|
|
+ if(info.newValue == ""){
|
|
|
|
+ if(info.colID == "rcamtRsn" && dcdataList1.getCellData( info.rowIndex , "rcamtMeasr" ) == ""){
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "N" );
|
|
|
|
+ } else if(info.colID == "rcamtMeasr" && dcdataList1.getCellData( info.rowIndex , "rcamtRsn" ) == ""){
|
|
dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "N" );
|
|
dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "N" );
|
|
- } else if(info.newValue != ""){
|
|
|
|
- dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "Y" );
|
|
|
|
- }
|
|
|
|
- break;
|
|
|
|
- case 'npyrqRsn':
|
|
|
|
- if(info.newValue == ""){
|
|
|
|
|
|
+ }
|
|
|
|
+ }else {
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "Y" );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if(info.colID == "npyrqMeasr" || info.colID == "npyrqRsn") {
|
|
|
|
+ if(info.newValue == ""){
|
|
|
|
+ if(info.colID == "npyrqMeasr" && dcdataList1.getCellData( info.rowIndex , "npyrqRsn" ) == ""){
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "N" );
|
|
|
|
+ } else if(info.colID == "npyrqRsn" && dcdataList1.getCellData( info.rowIndex , "npyrqMeasr" ) == ""){
|
|
dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "N" );
|
|
dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "N" );
|
|
- } else if(info.newValue != ""){
|
|
|
|
- dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "Y" );
|
|
|
|
- }
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+ }else {
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "Y" );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if(info.colID == "progActRtMeasr" || info.colID == "progActRtRsn") {
|
|
|
|
+ if(info.newValue == ""){
|
|
|
|
+ if(info.colID == "progActRtRsn" && dcdataList1.getCellData( info.rowIndex , "progActRtMeasr" ) == ""){
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "N" );
|
|
|
|
+ } else if(info.colID == "progActRtMeasr" && dcdataList1.getCellData( info.rowIndex , "progActRtRsn" ) == ""){
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "N" );
|
|
|
|
+ }
|
|
|
|
+ }else {
|
|
|
|
+ dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "Y" );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+// switch(info.colID){
|
|
|
|
+// case "rcamtRsn":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// case "rcamtMeasr":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "rcamtRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// case "npyrqMeasr":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// case "npyrqRsn":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "npyrqRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// case "progActRtRsn":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// case "progActRtMeasr":
|
|
|
|
+// if(info.newValue == ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "N" );
|
|
|
|
+// } else if(info.newValue != ""){
|
|
|
|
+// dcdataList1.setCellData( info.rowIndex , "progActRtRsnYn" , "Y" );
|
|
|
|
+// }
|
|
|
|
+// break;
|
|
|
|
+// }
|
|
};
|
|
};
|
|
|
|
|
|
/***************************************************************************
|
|
/***************************************************************************
|