|
@@ -47,13 +47,13 @@
|
|
|
var init_sheet = {};
|
|
|
init_sheet.Cfg = {SearchMode:2, Page:10};
|
|
|
init_sheet.Cols = [
|
|
|
- {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:20, Align:"Center"},
|
|
|
+ {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:20, Align:"Center", Edit:"false"},
|
|
|
{Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"true"},
|
|
|
{Header:'계약서ID', Type:"Text", SaveName:"PRICE_SYS_ID", Width:0, Align:"Center", Hidden:"true"},
|
|
|
- {Header:'하도급대금 연동 여부', Type:"Combo", SaveName:"PRICE_SYS_YN", Width:30, Align:"Center", ComboText:"<%=PRICESYS_GB_NM%>", ComboCode:"<%=PRICESYS_GB_CD%>"},
|
|
|
- {Header:'미연동 대상 목적물 또는 물품 등의 명칭', Type:"Text", SaveName:"OBJECT_ITEM", Width:80, Align:"Center"},
|
|
|
- {Header:'[수급사업자] 미연동 사유', Type:"Text", SaveName:"SYS_REASON", Width:150, Align:"Center", EditLen:"500"},
|
|
|
- {Header:'☞사본', Type:"Text", SaveName:"FILE_YN", Width:30, Align:"center", Edit:"false", Cursor:'pointer'},
|
|
|
+ {Header:'하도급대금 연동 여부', Type:"Combo", SaveName:"PRICE_SYS_YN", Width:30, Align:"Center", Edit:"false", ComboText:"<%=PRICESYS_GB_NM%>", ComboCode:"<%=PRICESYS_GB_CD%>"},
|
|
|
+ {Header:'미연동 대상 목적물 또는 물품 등의 명칭', Type:"Text", SaveName:"OBJECT_NM", Width:80, Align:"Center", Edit:"false"},
|
|
|
+ {Header:'[수급사업자] 미연동 사유', Type:"Text", SaveName:"SYS_REASON", Width:150, Align:"Center", Edit:"false", EditLen:"500"},
|
|
|
+ {Header:'☞계약서', Type:"Text", SaveName:"FILE_YN", Width:30, Align:"center", Edit:"false", Cursor:'pointer'},
|
|
|
{Header:'FILE_ID', Type:"Text", SaveName:"FILE_ID", Width:0, Align:"center", Hidden:"true"},
|
|
|
];
|
|
|
|
|
@@ -89,7 +89,7 @@
|
|
|
sheet4.SetColFontColor("FILE_YN", "#0000ff");
|
|
|
|
|
|
for(i=1; i <= sheet4.RowCount(); i++){
|
|
|
- if(sheet4.GetCellValue(i, "FILE_ID")!=""){
|
|
|
+ if(sheet4.GetCellValue(i, "FILE_YN")!=""){
|
|
|
sheet4.InitCellProperty(i, "FILE_YN", info);
|
|
|
}
|
|
|
}
|
|
@@ -107,24 +107,20 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- function downPriceSysFile(){
|
|
|
- var url="/common/file/FileDownloadServlet?mode=fpDown";
|
|
|
- url += "&mode=fpDown";
|
|
|
- url += "&filePath=/pricesysDoc";
|
|
|
- url += "&fileName=" + encodeURI("에스지씨이앤씨_표준 미연동계약서.docx");
|
|
|
- url += "&fileRealName=pricesys_doc.docx";
|
|
|
-
|
|
|
- document.getElementById("fileDown").src=url;
|
|
|
- }
|
|
|
+ function sheet4_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
|
|
|
+ if(Row == 0)return;
|
|
|
+ if (sheet4.ColSaveName(Col) == "FILE_YN" && jQuery("#p_pricesys_gb").val() == '01') {
|
|
|
+
|
|
|
+ var reportInfo = new ReportInfo();
|
|
|
+ reportInfo.title = "표준 미연동 계약서";
|
|
|
+ reportInfo.reportName = "/report/mrd/buyer/supplier/purchase/PurPricesysCont.mrd";
|
|
|
+ reportInfo.set($("#PUR_CONT_MOD_ID").val()); // $1 contModId
|
|
|
+ reportInfo.width = 1500; // Default: 1024
|
|
|
+ reportInfo.height = 100; // Default: 768
|
|
|
+ reportInfo.showPopup();
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-/* function purPricesysPopSave() {
|
|
|
- if (confirm("저장하시겠습니까?")) {
|
|
|
- var f = document.form1;
|
|
|
- jQuery("#fevent").val("FORM_SAVE");
|
|
|
- submitXmlRequest("/portal/cont/PurPricesysPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
|
|
|
- }
|
|
|
-
|
|
|
- } */
|
|
|
|
|
|
/**
|
|
|
* IBSheet size setting
|
|
@@ -135,21 +131,15 @@
|
|
|
</SCRIPT>
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<div class="application-info magT10">
|
|
|
<div class="application-sub-title">
|
|
|
- <span class="title">표준 미연동 계약서</span><a href="javascript:priceSysDesc()"></a><a href="javascript:downPriceSysFile()"><IMG src='/img/buyer/button/bt_change.gif' align="absmiddle"></a>
|
|
|
+ <span class="title">표준 미연동 계약서</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 검색조건 시작 -->
|
|
|
<table id="search-table" class="search-form-table">
|
|
|
<tr height="25">
|
|
|
<td>연동제 구분: <%= HTMLMaker.getSelectTag(pricesysGbRow, "CODE", "NAME", "p_pricesys_gb", "style='width:100px;' ", "", ContInfo.get("PRICE_SYS_GB")) %></td>
|
|
|
-<!-- <td class="button" align="right" style="text-align: center;width: 95px">
|
|
|
- <span class="btnSearch center" id="btnPricesysAdd" ><a href="javascript:void(0);">추가</a></span>
|
|
|
- <span class="btnSearch center" id="btnSavePricesys" style="display: none;" ><a href="javascript:void(0);">저장</a></span>
|
|
|
- </td> -->
|
|
|
</tr>
|
|
|
</table>
|
|
|
<div id="sheet4_div" style="padding-top:5px; height: 157px; min-height: 157px; ">
|