SiteExplanPurchase.jsp 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.06.30
  4. - Description: 구매_입찰진행 현설의뢰
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  8. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  9. <%@ page import="kr.co.udapsoft.common.code.*" %>
  10. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  11. <%@ page import="kr.co.hsnc.common.util.*"%>
  12. <%@ page import="kr.co.hsnc.common.sql.*" %>
  13. <%@ include file="/jsp/work/taglib.jsp" %>
  14. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  15. <%
  16. ctx.init(request, response);
  17. HandlerStorage storage = ctx.getHandlerStorage();
  18. ValueObject params = storage.getParams();
  19. ValueObject user = storage.getUser();
  20. ValueObject Order = storage.getValueObject("Order");
  21. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  22. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  23. %>
  24. <SCRIPT language="JavaScript">
  25. /*예약함수*/
  26. var sheet1 = new ibsheetObject();
  27. var sheet1Row;
  28. var sheet1PageNo = 1;
  29. var pageLastRowIndex = 1;
  30. var validationResult = false;
  31. var filterShow = false;
  32. var must_msg = "(은)는 필수 입력 항목입니다.";
  33. function _onReady(){
  34. $("#SITE_ATTEND_YN option:eq(2)").remove(); // selectbox 에 NULL 값 제거
  35. $("#SITE_ATTEND_TABLE").hide();//불참 사유 숨김.
  36. $("#SITE_ATTEND_DIV").hide();//불참 사유 숨김.
  37. gridInit(sheet1);
  38. $("#btn_list").click(function() {
  39. $("#fevent").val("");
  40. $("#form1").attr("action", "/portal/bid/SiteExplanList.screen");
  41. $("#form1").attr("target", "_self");
  42. $("#form1").attr("method", "post");
  43. $("#form1").submit();
  44. });
  45. $("#btn_Save").click(function() {
  46. var msg = "저장 하시겠습니까?";
  47. if($("#SITE_ATTEND_YN").val() == ""){
  48. alert("견적설명회 참석의사를 선택하세요");
  49. $("#SITE_ATTEND_YN").focus();
  50. return;
  51. }else if($("#SITE_ATTEND_YN").val() == "Y"){
  52. msg = "견적설명회에 참석하시겠습니까?";
  53. }else if($("#SITE_ATTEND_YN").val() == "N"){
  54. msg = "견적설명회에 불참하시겠습니까?";
  55. if($("#SITE_ATTEND_REASON").val().length == 0){
  56. alert("견적설명회 불참사유는 필수입니다.");
  57. $("#SITE_ATTEND_REASON").focus();
  58. return;
  59. }
  60. }
  61. if(confirm(msg)){
  62. var f = document.form1;
  63. $("#fevent").val("FORM_UPDATE");
  64. submitXmlRequest("/portal/bid/SiteExplan_form.screen", "FORM_UPDATE", f);
  65. }
  66. });
  67. $("#SITE_ATTEND_YN").val("<%=Order.get("SITE_ATTEND_YN")%>");
  68. var statusCd = "<%=Order.get("STATUS_CD")%>";
  69. if(statusCd != "03"){
  70. $("#SITE_ATTEND_YN").attr("disabled",true);
  71. $("#btn_Save").hide();
  72. }
  73. $("#SITE_ATTEND_YN").change(function() {
  74. if($("#SITE_ATTEND_YN").val() == "N"){
  75. $("#SITE_ATTEND_TABLE").show();//불참 사유 숨김.
  76. $("#SITE_ATTEND_DIV").show();//불참 사유 숨김.
  77. }else{
  78. $("#SITE_ATTEND_TABLE").hide();//불참 사유 숨김.
  79. $("#SITE_ATTEND_DIV").hide();//불참 사유 숨김.
  80. }
  81. });
  82. if("<%=Order.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Order.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Order.get("CBC_DERECT_TERM_CD2")%>"!=""){
  83. $("#addGuar").attr("checked", true);
  84. $(".checkAdd").show();
  85. }
  86. $("#SITE_ATTEND_YN").change();
  87. doSearchSheetitem();
  88. }
  89. /**
  90. * IBSheet object initialize
  91. */
  92. function gridInit(sheetName){
  93. var init_sheet = {};
  94. init_sheet.Cfg = {SearchMode:2, Page:30};
  95. init_sheet.Cols = [
  96. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  97. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  98. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  99. {Header:'자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:60, Align:"Center"},
  100. {Header:'자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:220, Align:"Left"},
  101. {Header:'규격', Type:"Text", SaveName:"STD", Width:70, Align:"Left"},
  102. {Header:'단위', Type:"Text", SaveName:"UNIT_KIND", Width:40, Align:"Center"},
  103. {Header:'투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:50, Align:"Center"},
  104. {Header:'견적의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:50, Align:"Right"}
  105. ];
  106. init_sheet.HeaderMode = {Sort:1};
  107. IBS_InitSheet(sheetName, init_sheet);
  108. sheetName.SetDataAutoTrim(0);
  109. sheetName.SetEditable(false);
  110. setGridSize();
  111. }
  112. //첨부파일
  113. function doAttachFile(obj,No) {
  114. var file_div = "bid/purchase/"+"<%=Order.get("BID_NO")%>"+"/";
  115. if(obj==''){
  116. alert("After you have saved, you can attach a file.");
  117. }
  118. else if(obj != ''){
  119. viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", file_div);
  120. }
  121. }
  122. /**
  123. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  124. */
  125. function sheet1_OnSearchEnd(code, message) {
  126. if(code == 0) {
  127. setGridSize();
  128. sheet1.FitColWidth();
  129. var rowcnt = sheet1.RowCount();
  130. if(rowcnt> 0){
  131. for(var r=0; r < rowcnt; r++)
  132. {
  133. if(sheet1.GetCellValue(r+1,"SITE_ATTEND_YN") == "N"){
  134. sheet1.SetCellFont("FontColor", r+1, "SITE_ATTEND_YN", r+1, "SITE_ATTEND_YN", "blue");
  135. // sheet1.SetColCondProperty("SITE_ATTEND_YN","%d='N'",{FontColorT:"blue",CursorT:"Pointer"});
  136. }
  137. <%if("Y".equals(Order.get("DIV_PO_YN"))){ %>
  138. sheet1.SetCellValue(r+1,"DEMANDED_QTY",1);
  139. <%}%>
  140. }
  141. }
  142. } else {
  143. //조회 에러 수행
  144. alert(message);
  145. }
  146. }
  147. function doSearchSheetitem(){
  148. $("#fevent").val("GET_ITEM_LIST");
  149. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/QuotRequest_sheet.screen";
  150. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  151. }
  152. /**
  153. * IBSheet size setting
  154. */
  155. function setGridSize() {
  156. sheet1.FitColWidth();
  157. }
  158. function sheet1_OnSmartResize(Width, Height) {
  159. sheet1.FitColWidth();
  160. autoResize();
  161. }
  162. function autoResize(){ }
  163. function doResult(resultObj) {
  164. try {
  165. if( resultObj.getRequestEvent() == "FORM_UPDATE") {
  166. if( resultObj.getSuccess() ) {
  167. alert("견적설명회 참석의사가 저장되었습니다.");
  168. $("#fevent").val("FORM_SELECT");
  169. $("#form1").attr("action", "/portal/bid/SiteExplanPurchase.screen");
  170. $("#form1").attr("target", "_self");
  171. $("#form1").attr("method", "post");
  172. $("#form1").submit();
  173. }
  174. else {
  175. dlgErrorMsg(resultObj);
  176. }
  177. }
  178. } catch(errorObject) {
  179. showErrorDlg("doResult()", errorObject);
  180. }
  181. }
  182. </SCRIPT>
  183. <modular:search id="form1">
  184. <modular:key id="fevent" />
  185. </modular:search>
  186. <form id="form1" name="form1" method="post" modular:type="search">
  187. <INPUT type='hidden' name="fevent" id="fevent" value="">
  188. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  189. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  190. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  191. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  192. <INPUT type="hidden" name="VENDOR_CD" value="<%=user.get("CORP_ID")%>">
  193. <table width="100%">
  194. <colgroup>
  195. <col width="500" />
  196. <col width="*" />
  197. </colgroup>
  198. <tr>
  199. <th>
  200. <div align="left" id="title" >
  201. <ul><li>구매_견적설명회 상세 <font style="font-size:11px">(<%=Order.get("STATUS_NM")%>)</font></li></ul>
  202. </div>
  203. </th>
  204. <td align="right">
  205. <span class="btnSearch center" id="btn_Save"><a href="javascript:void(0);">저장</a></span>
  206. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  207. </td>
  208. </tr>
  209. </table>
  210. <!-- 발주의뢰정보 : 시작 -->
  211. <div class="application-info magT15" id=SITE_ATTEND_DIV>
  212. <div class="application-sub-title">
  213. <span class="title">견적설명회 불참사유</span>
  214. </div>
  215. </div>
  216. <TABLE class="form-table" id=SITE_ATTEND_TABLE>
  217. <colgroup>
  218. <col width="160"/>
  219. <col/>
  220. </colgroup>
  221. <TR height="25">
  222. <TH style="text-align:left">불참사유</TH>
  223. <TD><TEXTAREA name="SITE_ATTEND_REASON" id="SITE_ATTEND_REASON" style="width:99%;height:50px" rows="1" class="input" ><%=Order.get("SITE_ATTEND_REASON")%></TEXTAREA></TD>
  224. </TR>
  225. </TABLE>
  226. <!-- 발주의뢰정보 : 시작 -->
  227. <div class="application-info magT15">
  228. <div class="application-sub-title">
  229. <span class="title">발주의뢰정보</span>
  230. </div>
  231. </div>
  232. <TABLE class="form-table">
  233. <colgroup>
  234. <col width="160"/>
  235. <col width="160"/>
  236. <col width="29%"/>
  237. <col width="160"/>
  238. <col/>
  239. </colgroup>
  240. <TR height="25">
  241. <TH style="text-align:left"> 입찰번호-차수</TH>
  242. <TD colspan="2"><%=Order.get("bid_no") %> - <%=Order.get("bid_deg") %></TD>
  243. <TH style="text-align:left"> 온라인입찰여부</TH>
  244. <TD><%=Order.get("ONBID_YN_NM")%></TD>
  245. </TR>
  246. <TR height="25">
  247. <TH style="text-align:left">입찰명</TD>
  248. <TD colspan="2"><%=Order.get("BID_MASTER_NM")%></TD>
  249. <TH style="text-align:left">단가계약여부</TD>
  250. <TD colspan="2"><%=Order.get("DIV_PO_YN").equals("Y") ? "예" : "아니오" %></TD>
  251. </TR>
  252. <!-- 2020.06.16 협력업체포탈 정보 조회불가토록 변경 요청 -->
  253. <TR height="25">
  254. <%--<TH style="text-align:left"> 경쟁방법</TH>
  255. <TD colspan="2"><%=Order.get("CMPT_NM") %></TD>--%>
  256. <TH style="text-align:left"> 낙찰자선정방법</TH>
  257. <TD colspan="4"><%= Order.get("SUCC_NM") %></TD>
  258. </TR>
  259. <!-- 발주의뢰정보 : 종료 -->
  260. </table>
  261. <div class="application-info magT15">
  262. <div class="application-sub-title">
  263. <span class="title">입찰진행</span>
  264. </div>
  265. </div>
  266. <TABLE class="form-table">
  267. <colgroup>
  268. <col width="160"/>
  269. <col width="160"/>
  270. <col width="29%"/>
  271. <col width="160"/>
  272. <col/>
  273. </colgroup>
  274. <TR height="25">
  275. <TH style="text-align:left">공고일자</TH>
  276. <TD colspan="4"><%=Order.get("NOTI_DY_NM") %></TD>
  277. </TR>
  278. <TR height="25">
  279. <TH rowspan="4" style="text-align:left"> 견적설명회 정보</TH>
  280. <TH style="text-align:left"> 여부</TH>
  281. <TD><%=Order.get("SITEDESC_FLAG_NM")%></TD>
  282. <TH style="text-align:left"> 담당자</TH>
  283. <TD><%=Order.get("SITEDESCCHRGPRSNNM")%></TD>
  284. </TR>
  285. <TR height="25">
  286. <TH style="text-align:left"> 담당자 전화번호</TH>
  287. <TD><%=Order.get("SITEDESCTELNO")%></TD>
  288. <TH style="text-align:left"> 일시</TH>
  289. <TD><%=Order.get("SITEDESCDATE_NM")%></TD>
  290. </TR>
  291. <TR height="25">
  292. <TH style="text-align:left">담당자 E-Mail</TH>
  293. <TD><%=Order.get("SITEDESCEMAIL")%></TD>
  294. <TH style="text-align:left">장소</TH>
  295. <TD><%=Order.get("SITEDESCPLACE")%></TD>
  296. </TR>
  297. <TR height="25">
  298. <TH style="background:#ffe1b5;text-align:left">참석의사</TD>
  299. <TD> <%=CommCodeManager.getSelectCodeList("BID_SUPP_SITEPARTI","SITE_ATTEND_YN","height=18;","<option value=''>--선택--</option>", Order.get("SITE_ATTEND_YN")) %>
  300. </TD>
  301. <%
  302. String sitedescYn = "";
  303. if(Order.get("SITEDESC_YN").equals("Y"))
  304. {
  305. sitedescYn = "<font color='red'>"+Order.get("SITEDESC_YN_NM")+"</font>";
  306. }
  307. else
  308. {
  309. sitedescYn = "<font color='blue'>"+Order.get("SITEDESC_YN_NM")+"</font>";
  310. }
  311. %>
  312. <TH style="background:#ffe1b5;text-align:left">참여상태</TD>
  313. <TD><B><%=sitedescYn%></B></TD>
  314. </TR>
  315. <TR height="25">
  316. <TH rowspan="2" style="text-align:left">견적 의뢰</TH>
  317. <TH style="text-align:left"> 견적제출기간</TH>
  318. <TD colspan="3"><%=Order.get("BID_FROM_DT_NM")%> ~<%=Order.get("BID_TO_DT_NM")%></TD>
  319. </TR>
  320. <TR height="25">
  321. <TH style="text-align:left">구매담당자</TH>
  322. <TD><%=Order.get("PUREMPNM")%></TD>
  323. <TH style="text-align:left">구매담당자 전화번호</TH>
  324. <TD><%=Order.get("PO_EMPNM")%></TD>
  325. </TR>
  326. </TR>
  327. <TR height="25">
  328. <TH style="text-align:left">기술검토(TBE)</TH>
  329. <TH style="text-align:left">TBE 여부</TH>
  330. <TD><%=Order.get("TBE_FLAG").equals("Y") ? "예" : "아니오" %></TD>
  331. <TH style="text-align:left"> TBE 일자</TH>
  332. <TD><%=Order.get("SUPP_REQ_DY_NM")%></TD>
  333. </TR>
  334. <!-- 발주의뢰정보 : 종료 -->
  335. </table>
  336. <div class="application-info magT15">
  337. <div class="application-sub-title">
  338. <span class="title">입찰조건</span>
  339. </div>
  340. </div>
  341. <TABLE class="form-table">
  342. <colgroup>
  343. <col width="160"/>
  344. <col width="20%">
  345. <col width="160"/>
  346. <col width="20%">
  347. <col width="160"/>
  348. <col/>
  349. </colgroup>
  350. <TR height="25">
  351. <TH style="text-align:left">통화구분</TH>
  352. <TD colspan="5"><%=Order.get("CURRENCY_GB_NM") %> &nbsp&nbsp
  353. <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "[업체변경가능]" : "[업체변경불가능]" %>
  354. </TD>
  355. </TR>
  356. <TR height="25">
  357. <TH style="text-align:left">Installation</TH><!-- 설치비 포함여부 -->
  358. <TD><%=Order.get("PBC_INSTALL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  359. <TH style="text-align:left">Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  360. <TD><%=Order.get("PBC_COMMISS_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  361. <TH style="text-align:left">Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  362. <TD><%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  363. </TR>
  364. <TR height="25">
  365. <TH style="text-align:left">Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  366. <TD><%=Order.get("PBC_TEST_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  367. <TH style="text-align:left">Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  368. <TD><%=Order.get("PBC_DOC_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  369. <TH style="text-align:left">Packing cost</TH><!-- 포장비용 포함여부 -->
  370. <TD><%=Order.get("PBC_PACK_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  371. </TR>
  372. <TR height="25">
  373. <TH style="text-align:left">Inland Transportaion</TH><!-- 내륙운송비 -->
  374. <TD><%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  375. <TH style="text-align:left">Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  376. <TD colspan="3">
  377. <%if(!Order.get("DELIVERY_CONDITION_NM").isEmpty()){ %><%=Order.get("DELIVERY_CONDITION_NM") %>&nbsp&nbsp <%}%><%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "[업체변경가능]" : "[업체 변경 불가능]" %></TD>
  378. </TR>
  379. <TR height="25">
  380. <TH style="text-align:left">OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  381. <TD colspan="5">A. Supervision fee &nbsp <%=Order.get("PBC_FEE_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %>
  382. &nbsp&nbsp <%if(!Order.get("PBC_OPTION_COMMENT").isEmpty()){ %>B. <%= Order.get("PBC_OPTION_COMMENT")%> &nbsp<%=Order.get("PBC_OPTION_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %><%}%></TD>
  383. </TR>
  384. <TR height="25">
  385. <TH style="text-align:left">Liquidated Damages</TH><!-- 지체상금 fix -->
  386. <TD colspan="5"><%if(!Order.get("CBC_DAMAGE_RATE").isEmpty()){ %><%= Order.get("CBC_DAMAGE_RATE")%>% <%=Order.get("CBC_DAMAGE_NM") %>,<%}%>
  387. <%if(!Order.get("CBC_DAMAGE_MAXRATE").isEmpty()){ %> Max <%= Order.get("CBC_DAMAGE_MAXRATE")%>%<%}%></TD>
  388. </TR>
  389. <TR height="25">
  390. <TH style="text-align:left">선급금</TH>
  391. <TD><%if(!Order.get("CBC_FIRST_RATE").isEmpty()){ %><%=Order.get("CBC_FIRST_RATE") %>% <%}%><%= Order.get("PBC_FIRST_CONDI")%></TD>
  392. <TH style="text-align:left">중도금</TH>
  393. <TD><%if(!Order.get("CPC_MID_RATE").isEmpty()){ %><%= Order.get("CPC_MID_RATE")%>% <%}%><%=Order.get("PBC_MID_CONDI")%></TD>
  394. <TH style="text-align:left">잔금</TH>
  395. <TD><%if(!Order.get("PBC_REST_RATE").isEmpty()){ %><%= Order.get("PBC_REST_RATE") %>% <%}%><%=Order.get("PBC_REST_CONDI")%></TD>
  396. </TR>
  397. <TR height="25">
  398. <TH style="text-align:left">First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  399. <TD><%if(!Order.get("PBC_FRSTGUAR_RATE").isEmpty()){ %><%= Order.get("PBC_FRSTGUAR_RATE") %>% <%}%><%= Order.get("PBC_FRSTGUAR_CONDI")%></TD>
  400. <TH style="text-align:left">Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  401. <TD><%if(!Order.get("CONTFUL_RATE").isEmpty()){ %><%= Order.get("CONTFUL_RATE") %>%<%}%> <%=Order.get("CONTFUL_CONDI") %></TD>
  402. <TH style="text-align:left">Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  403. <TD><%if(!Order.get("WARR_RATE").isEmpty()){ %><%= Order.get("WARR_RATE") %>%<%}%> <%= Order.get("WARR_CONDI")%></TD>
  404. </TR>
  405. <TR height="25">
  406. <TH style="text-align:left">Guarantee Period</TH><!-- 하자보수기간 -->
  407. <TD colspan="3"><%=Order.get("PBC_DEFECT_CONDI") %> <%=Order.get("CBC_DEFECT_DAY") %>
  408. <%=Order.get("CBC_DERECT_TERM_NM") %>간
  409. <input type="checkbox" id="addGuar" style="margin-top:2px; display:none;">
  410. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  411. <%=Order.get("PBC_DEFECT_CONDI2") %> <%=Order.get("CBC_DEFECT_DAY2")%>
  412. <%if(Order.get("CBC_DERECT_TERM_CD2").equals("01")){%>
  413. <span>일 간 중 선도래일</span>
  414. <%}else if(Order.get("CBC_DERECT_TERM_CD2").equals("02")){%>
  415. <span>개월 간 중 선도래일</span>
  416. <%} %>
  417. </span>
  418. </TD>
  419. <TH style="text-align:left">Delivery Period</TH><!-- 납기일 fix -->
  420. <TD><%if(!Order.get("DELI_FROM_DY").isEmpty() || !Order.get("DELI_TO_DY").isEmpty()){ %>
  421. <%=Order.get("DELI_FROM_DY_NM") %> ~
  422. <%= Order.get("DELI_TO_DY_NM") %><%}%>
  423. </TD>
  424. </TR>
  425. </TABLE>
  426. <TABLE class="form-table" style="margin-top:5px">
  427. <colgroup>
  428. <col width="160"/>
  429. <col/>
  430. </colgroup>
  431. <TR height="25">
  432. <TH style="text-align:left">특이사항</TH>
  433. <TD >
  434. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  435. </TD>
  436. </TR>
  437. <TR height="100">
  438. <TH style="text-align:left">첨부파일</TH>
  439. <TD>
  440. <TEXTAREA name="p_AttachFile2" id="p_AttachFile2" style="width:85%;height:80px" rows="1" class="input" readOnly><%=fileout.get(Order.get("DOC_ETC_OUT")) %></TEXTAREA>
  441. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,2);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  442. </TD>
  443. </TR>
  444. </TABLE>
  445. <div class="application-info magT15">
  446. <div class="application-sub-title">
  447. <span class="title">견적의뢰 내역</span>
  448. </div>
  449. </div>
  450. <div id="sheet1_div" style="height:auto; min-height: 200px; overflow: auto;">
  451. <script>createIBSheet('sheet1','100%', '300px');</script>
  452. </div>
  453. </form>