Browse Source

개발중

dev001 11 months ago
parent
commit
4de97c5f94
1 changed files with 23 additions and 22 deletions
  1. 23 22
      src/main/webapp/ux/ei/ei0105/EI01050001U.xml

+ 23 - 22
src/main/webapp/ux/ei/ei0105/EI01050001U.xml

@@ -205,12 +205,7 @@
      **************************************************************************/
     scwin.btnSave_onclick = function() {
     
-    	// 그리드 컬럼 히든 처리 설정
-    	// grid1.setColumnVisible("그리드 데이터 컬럼명", false);  // 숨기기
-    	grdData1.setColumnVisible("gbCd", true);  // hidden 풀기
-    	grdData1.setColumnVisible("gbCd", false);  // hidden 풀기
-		
-		// alert("개발중..");
+    	alert("개발중..");
 		return false;
 		
     	//-----------------------------------------------
@@ -542,16 +537,22 @@
 		    	grdData1.setRowBackgroundColor(10 , "#fabf8f" ); // 자본 및 부채 총계 
 		    	// ------------------------------------------------------
 		    	
-		    	/*
+		    	// 컬럼 히든 처리
+		    	// ------------------------------------------------------
+		    	// console.log("scwin.preMon >> " + scwin.preMon);
 		    	if(scwin.preMon != ""){
 		    		grdData1.setColumnVisible("amt" + scwin.preMon, false);    // hidden
-		    		grdData1.setColumnVisible("amtRv" + scwin.preMon, false);  // hidden
+    				grdData1.setColumnVisible("amtRv" + scwin.preMon, false);  // hidden
+    				grdData1.setColumnVisible("monAmt" + scwin.preMon, true);  // hidden 해제
 		    	}
 		    	
+		    	// 직전 조회한 월 정보
 		    	scwin.preMon = udcYm.getValue().substr(4,6);
-		    	grdData1.setColumnVisible("monAmt" + scwin.preMon, true);    // hidden 해제
-		    	*/
 		    	
+		    	grdData1.setColumnVisible("amt" + scwin.preMon, true);      // hidden 해제
+    			grdData1.setColumnVisible("amtRv" + scwin.preMon, true);    // hidden 해제
+    			grdData1.setColumnVisible("monAmt" + scwin.preMon, false);  // hidden
+    			// ------------------------------------------------------
             }
         });
     };
@@ -712,73 +713,73 @@
 									value="1월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:20px;" id="HTop01" value="1월"
-									blockSelect="false" displayMode="label" colSpan="2">
+									blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt02"
 									value="2월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop02"
-									value="2월" blockSelect="false" displayMode="label" colSpan="2">
+									value="2월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt03"
 									value="3월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop03"
-									value="3월" blockSelect="false" displayMode="label" colSpan="2">
+									value="3월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt04"
 									value="4월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop04"
-									value="4월" blockSelect="false" displayMode="label" colSpan="2">
+									value="4월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt05"
 									value="5월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop05"
-									value="5월" blockSelect="false" displayMode="label" colSpan="2">
+									value="5월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt06"
 									value="6월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop06"
-									value="6월" blockSelect="false" displayMode="label" colSpan="2">
+									value="6월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt07"
 									value="7월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop07"
-									value="7월" blockSelect="false" displayMode="label" colSpan="2">
+									value="7월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt08"
 									value="8월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop08"
-									value="8월" blockSelect="false" displayMode="label" colSpan="2">
+									value="8월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt09"
 									value="9월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop09"
-									value="9월" blockSelect="false" displayMode="label" colSpan="2">
+									value="9월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt10"
 									value="10월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop10"
-									value="10월" blockSelect="false" displayMode="label" colSpan="2">
+									value="10월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt11"
 									value="11월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop11"
-									value="11월" blockSelect="false" displayMode="label" colSpan="2">
+									value="11월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="HMonAmt12"
 									value="12월" blockSelect="false" displayMode="label" rowSpan="2">
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="280" inputType="text" style="height:20px;" id="HTop12"
-									value="12월" blockSelect="false" displayMode="label" colSpan="2">
+									value="12월" blockSelect="false" displayMode="label" colSpan="2" hidden="true">
 								</w2:column>
 							</w2:row>
 							<w2:row style="" id="row1">