Browse Source

준공예정원가현황 수정

SBK 1 year ago
parent
commit
378b696936

+ 3 - 1
src/main/webapp/ux/co/co0109/CO01090001P.xml

@@ -157,7 +157,7 @@
 			        "flatScrollBars": "1", //스크롤 스타일
 			        "scrollShowButtons": "1", //스크롤 화살표(0=N,1=Y)
 			        "scrollColor": "#cccccc", //스크롤 색상
-			        "showHoverEffect": "1" //
+			        "showHoverEffect": "1", //
 				};
 				chart1.setChartAttribute(options1);
 				
@@ -169,6 +169,8 @@
 				};
 				chart1.applyStyle("font", "captionFont", options2, ["caption"]);
 				
+				//chart1.setPlotColor(["#aa0752","#f2c500","#165387"]);
+				
 				chart1.refresh();
 				
 				dataPlotClick = function(eventObj, dataObj) {

+ 29 - 5
src/main/webapp/ux/co/co0109/CO01090001U.xml

@@ -169,7 +169,9 @@
      * 기 능 : 공정율 그리드 셀 클릭 이벤트
      **************************************************************************/
 	scwin.grdData1_oncellclick = function(row,col) {
+	
 		var colId = grdData1.getColumnID( col );
+		
 		if(colId == "ccNm" || colId == "ccCd"){
 			var stdYm = udcYm.getValue();
 			var ccCd = grdData1.getCellData(row,"ccCd");
@@ -191,6 +193,28 @@
 		        close:true
 		    });		
 		}
+		
+		if(colId == "complAmtPlan"){
+			var stdYm = udcYm.getValue();
+			var ccCd = dcdataList1.getCellData( row , "ccCd" );
+			var ccNm = dcdataList1.getCellData( row , "ccNm" );
+			var complCd = rdoComplCd.getValue();
+			popupLib.open("CO01070001U", "/ux/co/co0107/CO01070001U.xml", {
+                title: "준공예정원가",
+                useLayer: false,
+                modal: true,
+                width: 1600,
+                height: 900,
+                param: {
+                	stdYm : stdYm,
+	            	ccCd : ccCd,
+	            	ccNm : ccNm,
+	            	complCd : complCd
+	            },
+                callback: "",
+                close:true
+            });
+		}
 	};
 	
     /**************************************************************************
@@ -371,8 +395,8 @@
             	dcComboCcgrp.setJSON(result);
             	var rows = dcComboCcgrp.getRowCount();
             	if(pdeptCd != "all" && rows == 1){
-            		selCcgrp.setSelectedIndex( 1 );
-            		selCcgrp.setDisabled( true );
+            		rdoComplCd.setSelectedIndex( 1 );
+            		rdoComplCd.setDisabled( true );
             	}
 			}
         });
@@ -432,7 +456,7 @@
 							<xf:group class="w2tb_th" style="" tagname="th">본부</xf:group>
 							<xf:group class="w2tb_td" style="" tagname="td">
 								<xf:select1 allOption="true" appearance="minimal" chooseOption="" direction="auto" disabled="false"
-									disabledClass="w2selectbox_disabled" displayMode="label" id="selCcgrp" optionOrder="false" selectedData="true"
+									disabledClass="w2selectbox_disabled" displayMode="label" id="rdoComplCd" optionOrder="false" selectedData="true"
 									style="position: relative;width: 80%;height: 21px;" submenuSize="auto" ref="data:dcsearchMap1.ccgrpCd" chooseOptionLabel="$blank"
 									ev:onviewchange="scwin.search_onviewchange">
 									<xf:choices>
@@ -552,8 +576,8 @@
 									<w2:column removeBorderStyle="false" width="70" inputType="text" id="ordSupplyAmtPlan"
 										blockSelect="false" displayMode="label" textAlign="right" dataType="number" displayFormat="#,###">
 									</w2:column>
-									<w2:column removeBorderStyle="false" width="70" inputType="text" id="complAmtPlan" blockSelect="false"
-										displayMode="label" displayFormat="#,###" dataType="number" textAlign="right">
+									<w2:column removeBorderStyle="false" width="70" inputType="link" id="complAmtPlan" blockSelect="false"
+										displayMode="label" displayFormat="#,###" dataType="number" textAlign="right" style="text-decoration:underline;">
 									</w2:column>
 									<w2:column removeBorderStyle="false" width="70" inputType="text" id="risk" blockSelect="false"
 										displayMode="label" textAlign="right" dataType="number" displayFormat="#,###">