|
|
|
|
@ -121,30 +121,38 @@
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.grd_statList_oncelldblclick = function(row,col) {
|
|
|
|
|
if (row >= 0){
|
|
|
|
|
var inStDate = resCode.getCellData(row, "inStDate"); //등록일자
|
|
|
|
|
var carNum = resCode.getCellData(row, "carNum"); //차량번호
|
|
|
|
|
|
|
|
|
|
var jsonData = {
|
|
|
|
|
"kbn" : "update"
|
|
|
|
|
|
|
|
|
|
, "carNo" : carNum
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var data = {
|
|
|
|
|
data : jsonData, callbackFn : "scwin.btn_search_onclick"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var opt = {
|
|
|
|
|
id : "SD016P01",
|
|
|
|
|
popupName : "경차정보등록",
|
|
|
|
|
width : 700,
|
|
|
|
|
height : 1000
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var popupUrl = "/ui/cfs/standard/SD016P01.xml";
|
|
|
|
|
com.openPopup(popupUrl, opt, data);
|
|
|
|
|
if(row < 0){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var redu = resCode.getCellData(row, "reduCd");
|
|
|
|
|
if(redu == "지역주민감면"){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var inStDate = resCode.getCellData(row, "inStDate"); //등록일자
|
|
|
|
|
var carNum = resCode.getCellData(row, "carNum"); //차량번호
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var jsonData = {
|
|
|
|
|
"kbn" : "update",
|
|
|
|
|
"carNo" : carNum
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var data = {
|
|
|
|
|
data : jsonData, callbackFn : "scwin.btn_search_onclick"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var opt = {
|
|
|
|
|
id : "SD016P01",
|
|
|
|
|
popupName : "경차정보등록",
|
|
|
|
|
width : 700,
|
|
|
|
|
height : 1000
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var popupUrl = "/ui/cfs/standard/SD016P01.xml";
|
|
|
|
|
com.openPopup(popupUrl, opt, data);
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -159,8 +167,8 @@
|
|
|
|
|
com.alert("엑셀다운로드할 정보가 없습니다.");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
options.fileName = "경차등록관리_"+com.getCurDtime()+".xlsx";
|
|
|
|
|
options.sheetName = "경차등록관리";
|
|
|
|
|
options.fileName = "감면차량등록관리_"+com.getCurDtime()+".xlsx";
|
|
|
|
|
options.sheetName = "감면차량등록관리";
|
|
|
|
|
options.showProcess = "true"; //다운로드 시 프로세스 창을 보여줄지 여부 (true:보임)
|
|
|
|
|
options.showConfirm = "true"; //다운로드 확인창을 띄울지 여부 (false:미확인)
|
|
|
|
|
options.useFooter = "true"; //다운로드시 Footer를 출력 할지 여부 (true:포함)
|
|
|
|
|
@ -233,6 +241,12 @@
|
|
|
|
|
com.alert("삭제할 대상을 선택해 주세요");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var redu = resCode.getCellData(row, "reduCd");
|
|
|
|
|
if(redu == "지역주민감면"){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
reqDelCode.setJSON( resCode.getRowJSON( row ) );
|
|
|
|
|
com.confirm("삭제하시겠습니까?", "scwin.deleteConfirmCallback");
|
|
|
|
|
};
|
|
|
|
|
@ -291,26 +305,27 @@
|
|
|
|
|
</xf:group>
|
|
|
|
|
</xf:group>
|
|
|
|
|
</xf:group>
|
|
|
|
|
</xf:group><xf:group class="defaultbox" id="" style="">
|
|
|
|
|
<xf:group class="fr" id="" style="">
|
|
|
|
|
<xf:trigger class="btn_act add" ev:onclick="scwin.btn_save_onclick" id="btn_save" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[등록]]></xf:label>
|
|
|
|
|
</xf:trigger><xf:trigger class="btn_act del" ev:onclick="scwin.btn_del_onclick" id="btn_del" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[삭제]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act exceldown" ev:onclick="scwin.btn_excel_down_onclick" id="btn_excel_down" style=""
|
|
|
|
|
type="button">
|
|
|
|
|
<xf:label><![CDATA[엑셀다운로드]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act send" ev:onclick="scwin.btn_excel_up_onclick" id="btn_excel_up" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[지역주민 차량 엑셀 업로드]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act send" ev:onclick="scwin.excelUpTrigger1_onclick" id="excelUpTrigger1" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[지역주민 차량 엑셀 업로드 트리거]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
</xf:group>
|
|
|
|
|
<w2:textbox class="df_tt" id="" label="경차등록관리" style="" tagname="h2"></w2:textbox>
|
|
|
|
|
</xf:group>
|
|
|
|
|
<xf:group class="defaultbox" id="" style="">
|
|
|
|
|
<w2:textbox class="df_tt" id="" label="감면차량등록관리" style="" tagname="h2"></w2:textbox>
|
|
|
|
|
<xf:group class="fr" id="" style="">
|
|
|
|
|
<xf:trigger class="btn_act add" ev:onclick="scwin.btn_save_onclick" id="btn_save" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[경차 등록]]></xf:label>
|
|
|
|
|
</xf:trigger><xf:trigger class="btn_act del" ev:onclick="scwin.btn_del_onclick" id="btn_del" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[경차 삭제]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act exceldown" ev:onclick="scwin.btn_excel_down_onclick" id="btn_excel_down" style=""
|
|
|
|
|
type="button">
|
|
|
|
|
<xf:label><![CDATA[엑셀다운로드]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act send" ev:onclick="scwin.btn_excel_up_onclick" id="btn_excel_up" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[지역주민 차량 엑셀 업로드]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
<xf:trigger class="btn_act send" ev:onclick="scwin.excelUpTrigger1_onclick" id="excelUpTrigger1" style="" type="button">
|
|
|
|
|
<xf:label><![CDATA[지역주민 차량 엑셀 업로드 트리거]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
</xf:group>
|
|
|
|
|
</xf:group>
|
|
|
|
|
<w2:gridView autoFit="allColumn" autoFitMinWidth="600" class="cm_grid" dataList="data:resCode" fixedColumnWithHidden="true"
|
|
|
|
|
focusMode="row" id="grd_statList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
|
|
|
|
|
scrollByColumnAdaptive="false" style="height: 150px;" summaryAuto="false" useShiftKey="true" visibleRowNum="20" readOnly="true"
|
|
|
|
|
|