|
@@ -73,7 +73,7 @@
|
|
|
<w2:key id="workBasedate" name="" dataType="text"></w2:key>
|
|
|
</w2:keyInfo>
|
|
|
</w2:dataMap>
|
|
|
- <w2:dataMap baseNode="map" id="dcsearchMapComm">
|
|
|
+ <w2:dataMap baseNode="map" id="dcsearchMapComm" ev:onmodelchange="scwin.dcsearchMapComm_onmodelchange">
|
|
|
<w2:keyInfo>
|
|
|
<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
|
|
|
<w2:key id="workMonth1" name="" dataType="text"></w2:key>
|
|
@@ -379,28 +379,6 @@
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- /***************************************************************************
|
|
|
- * 함 수 명: scwin.input1_onviewchange
|
|
|
- * 기 능: 날짜변경
|
|
|
- ***************************************************************************/
|
|
|
- scwin.input1_onviewchange = function(info) {
|
|
|
-
|
|
|
- if(info.newValue == ""){
|
|
|
- radio1.setValue( "" );
|
|
|
- radio1.removeAll();
|
|
|
- commLib.getAlert("기준일자를 선택하십시오.","데이터확인","V");
|
|
|
- return;
|
|
|
- }else if(info.newValue != ""){
|
|
|
- dcsearchMapComm.set( "cmpnCd" , scwin.cmpnCd );
|
|
|
- dcsearchMapComm.set( "workMonth1" , info.newValue);
|
|
|
- dcsearchMapComm.set( "workMonth2" , (info.newValue.substr(0,4) - 1) + "1231");
|
|
|
-
|
|
|
- scwin.grdSearchComm();
|
|
|
- radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
|
|
|
- scwin.grdSearch();
|
|
|
- }
|
|
|
- };
|
|
|
-
|
|
|
/***************************************************************************
|
|
|
* 함 수 명: scwin.grdData1_oneditkeyup
|
|
|
* 기 능: 그리드 ENTERKEY
|
|
@@ -459,6 +437,25 @@
|
|
|
|
|
|
scwin.grdSearch();
|
|
|
};
|
|
|
+
|
|
|
+ /***************************************************************************
|
|
|
+ * 함 수 명: scwin.dcsearchMapComm_onmodelchange
|
|
|
+ * 기 능: 날짜 변경
|
|
|
+ ***************************************************************************/
|
|
|
+ scwin.dcsearchMapComm_onmodelchange = function(info) {
|
|
|
+
|
|
|
+ if(info.newValue == ""){
|
|
|
+ radio1.setValue( "" );
|
|
|
+ radio1.removeAll();
|
|
|
+ commLib.getAlert("기준일자를 선택하십시오.","데이터확인","V");
|
|
|
+ return;
|
|
|
+
|
|
|
+ }else if(info.newValue != ""){
|
|
|
+ scwin.grdSearchComm();
|
|
|
+ radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
|
|
|
+ scwin.grdSearch();
|
|
|
+ }
|
|
|
+ };
|
|
|
]]></script>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -498,7 +495,8 @@
|
|
|
<xf:group tagname="caption"></xf:group>
|
|
|
<xf:group tagname="colgroup">
|
|
|
<xf:group tagname="col" style="width:10%;"></xf:group>
|
|
|
- <xf:group tagname="col" style="width:90%;"></xf:group>
|
|
|
+ <xf:group tagname="col" style="width:12%;"></xf:group>
|
|
|
+ <xf:group tagname="col" style="width:78%;"></xf:group>
|
|
|
</xf:group>
|
|
|
<xf:group tagname="tr" style="">
|
|
|
<xf:group tagname="th" style="" class="w2tb_th">
|
|
@@ -508,11 +506,10 @@
|
|
|
</w2:attributes>
|
|
|
</xf:group>
|
|
|
<xf:group tagname="td" style="" class="w2tb_td">
|
|
|
- <w2:inputCalendar footerDiv="false" id="input1" style="width: 11.7%;height:21px;" renderDiv="true"
|
|
|
- focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component"
|
|
|
- ev:onviewchange="scwin.input1_onviewchange">
|
|
|
- </w2:inputCalendar>
|
|
|
- <xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 40%;height: 21px;" cols="" rows="1" ref=""
|
|
|
+ <w2:udc_ym style="" id="input1" ref="data:dcsearchMapComm.workMonth1" width="100%"/>
|
|
|
+ </xf:group>
|
|
|
+ <xf:group tagname="td" style="" class="w2tb_td">
|
|
|
+ <xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 50%;height: 21px;" cols="" rows="1" ref=""
|
|
|
ev:onviewchange="scwin.radio1_onviewchange">
|
|
|
<xf:choices>
|
|
|
<xf:itemset nodeset="data:dcdataListComm">
|