TBECheck.jsp 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.07.22
  4. - Description: 구매_기술문서검토 상세
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="java.text.SimpleDateFormat" %>
  8. <%@ page import="java.util.Date" %>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="kr.co.udapsoft.common.code.*" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  15. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  16. <%@ include file="/jsp/work/taglib.jsp" %>
  17. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  18. <%
  19. ctx.init(request, response);
  20. HandlerStorage storage = ctx.getHandlerStorage();
  21. ValueObject params = storage.getParams();
  22. ValueObject user = storage.getUser();
  23. ValueObject Order = storage.getValueObject("Order");
  24. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  25. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  26. ValueObject filetot = storage.getValueObject(Order.get("TOT_FILE_GB"));
  27. RowSet Tbe_info = storage.getRowSet("TBE_INFO");
  28. boolean p_reason = false;
  29. boolean c_reason = false;
  30. boolean m_reason = false;
  31. boolean r_reason = false;
  32. if(Order.get("POSTPONE_REASON").length()> 0){
  33. p_reason = true;
  34. }
  35. if(Order.get("CANCEL_REASON").length()> 0){
  36. c_reason = true;
  37. }
  38. if(Order.get("MODIFY_REASON").length()> 0){
  39. m_reason = true;
  40. }
  41. if(Order.get("RTN_REASON").length()> 0){
  42. r_reason = true;
  43. }
  44. %>
  45. <SCRIPT language="JavaScript">
  46. function _onReady(){
  47. $("#btn_list").click(function() {
  48. $("#fevent").val("");
  49. $("#form1").attr("action", $("#p_list").val()); //"/bid/purchase/TBECheckList.screen");
  50. $("#form1").attr("target", "_self");
  51. $("#form1").attr("method", "post");
  52. $("#form1").submit();
  53. });
  54. $("#btn_save").click(function() {//저장
  55. $("#TBE_FIN_STATUS_CD").val("02");//작성중 상태 업데이트
  56. var f = document.form1;
  57. if (confirm("저장 하시겠습니까?")){
  58. submitXmlRequest("/bid/purchase/TBECheck_form.screen", "SAVE", f, "SUCCESS");
  59. }
  60. });
  61. $("#btn_tbe_fin").click(function() {//검토완료
  62. var f = document.form1;
  63. var success = true;
  64. <%
  65. if(Tbe_info.size() > 0){
  66. for(int i=0;i < Tbe_info.size();i++){
  67. %>
  68. var value = $(':radio[name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"]:checked').val();
  69. if(value == null ||value == "" ||value == undefined){
  70. if("<%=Tbe_info.getRow(i).get("BID_RNNC_DT")%>" ==""){
  71. alert("평가결과는 필수입니다.");
  72. $(':radio[name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"]').focus();
  73. return;
  74. }
  75. }
  76. if(value == "02"){
  77. if(<%=Tbe_info.size()%> != 1){
  78. if(f.EVAL_OPIN[<%=i%>].value == ""){
  79. alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
  80. f.EVAL_OPIN[<%=i%>].focus();
  81. return;
  82. }
  83. }else{
  84. if(f.EVAL_OPIN.value == ""){
  85. alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
  86. f.EVAL_OPIN.focus();
  87. return;
  88. }
  89. }
  90. }
  91. if(value == "03"){
  92. if(<%=Tbe_info.size()%> != 1){
  93. if(f.EVAL_OPIN[<%=i%>].value == ""){
  94. alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
  95. f.EVAL_OPIN[<%=i%>].focus();
  96. return;
  97. }
  98. }else{
  99. if(f.EVAL_OPIN.value == ""){
  100. alert("평가결과가 조건부 적합 또는 부적합일 경우 평가의견은 필수입니다.");
  101. f.EVAL_OPIN.focus();
  102. return;
  103. }
  104. }
  105. }
  106. if("<%=Tbe_info.getRow(i).get("STATUS_CD")%>" == "10"){
  107. success = false;
  108. }
  109. <%}%>
  110. <%}%>
  111. if(f.ONBID_YN_CD.value == "Y"){
  112. if(success){
  113. alert("검토 완료된 업체가 한 곳 이상이어야 합니다.");
  114. return;
  115. }
  116. }
  117. if(f.p_AttachFile3.value == ""){
  118. alert("종합의견 첨부파일은 필수입니다.");
  119. f.p_AttachFile3.focus();
  120. return;
  121. }
  122. if(f.TOT_OPIN.value == ""){
  123. alert("종합의견은 필수입니다.");
  124. f.TOT_OPIN.focus();
  125. return;
  126. }
  127. if (confirm("검토완료 하시겠습니까?")){
  128. $("#TBE_FIN_STATUS_CD").val("10");
  129. submitXmlRequest("/bid/purchase/TBECheck_form.screen", "TBE_FIN_SAVE", f, "SUCCESS");
  130. }
  131. });
  132. // 검토 완료 인경우 버튼 숨김..
  133. /* if(($("#STATUS_CD").val() == "06" || $("#TBE_STATUS_CD").val() == "10") && $("#ONBID_YN_CD").val() == "Y"){ */
  134. <%--
  135. if( $("#STATUS_CD").val() == "06" || $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>' ){
  136. $("#btn_save").hide();
  137. $("#btn_tbe_fin").hide();
  138. $("#btnevalemp").hide();
  139. $("#EVAL_TEL").attr("disabled",true);
  140. $("#EVAL_EMAIL").attr("disabled",true);
  141. }
  142. --%>
  143. if($("#ONBID_YN_CD").val() == "Y" && ($("#STATUS_CD").val() == "06" || $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>')){
  144. $("#btn_save").hide();
  145. $("#btn_tbe_fin").hide();
  146. $("#btnevalemp").hide();
  147. $("#EVAL_TEL").attr("disabled",true);
  148. $("#EVAL_EMAIL").attr("disabled",true);
  149. }
  150. if($("#ONBID_YN_CD").val() == "N" &&( $("#TBE_STATUS_CD").val() == "10" || '<%=user.get("ACCT_ID")%>' != '<%=Order.get("EVAL_EMPID")%>' )){
  151. $("#btn_save").hide();
  152. $("#btn_tbe_fin").hide();
  153. $("#btnevalemp").hide();
  154. $("#EVAL_TEL").attr("disabled",true);
  155. $("#EVAL_EMAIL").attr("disabled",true);
  156. }
  157. if("<%=Order.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Order.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Order.get("CBC_DERECT_TERM_CD2")%>"!=""){
  158. $("#addGuar").attr("checked", true);
  159. $(".checkAdd").show();
  160. }
  161. }
  162. //첨부파일
  163. function doAttachFile(obj,No) {
  164. var file_div = "bid/purchase/<%=Order.get("BID_NO")%>/TBE";
  165. var attch_yn = "N";
  166. if('<%=user.get("ACCT_ID")%>' == '<%=Order.get("EVAL_EMPID")%>'){
  167. attch_yn = "Y";
  168. }
  169. if(obj==''){
  170. alert("After you have saved, you can attach a file.");
  171. }
  172. else if(obj != ''){
  173. if(No == 1){
  174. viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "N", file_div);
  175. }else if(No == 2){
  176. viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "N", file_div);
  177. }else if(No == 3){
  178. if($("#TBE_STATUS_CD").val() == "10"){
  179. viewFileListNew('<%=Order.get("TOT_FILE_GB")%>', obj.value, document.form1.p_AttachFile3, "N", file_div);
  180. }else{
  181. viewFileListNew('<%=Order.get("TOT_FILE_GB")%>', obj.value, document.form1.p_AttachFile3, attch_yn, file_div);
  182. }
  183. }
  184. }
  185. }
  186. //첨부파일
  187. function doAttachFile_supp(obj,obj2,filegb) {
  188. var file_div = "bid/purchase/<%=Order.get("BID_NO")%>/TBE";
  189. if(obj==''){
  190. alert("After you have saved, you can attach a file.");
  191. }else if(obj != ''){
  192. viewFileListNew(filegb, obj.value, obj2, "N", file_div);
  193. }
  194. }
  195. function doResult(resultObj) {
  196. try {
  197. if( resultObj.getRequestEvent() == "SAVE") {
  198. if( resultObj.getSuccess() ) {
  199. alert("저장 되었습니다.");
  200. page();
  201. }
  202. else {
  203. dlgErrorMsg(resultObj);
  204. }
  205. }
  206. if( resultObj.getRequestEvent() == "FILE_REQUEST") {
  207. if( resultObj.getSuccess() ) {
  208. alert("문서요청 하였습니다.");
  209. page();
  210. }
  211. else {
  212. dlgErrorMsg(resultObj);
  213. }
  214. }
  215. if( resultObj.getRequestEvent() == "TBE_FIN_SAVE") {
  216. if( resultObj.getSuccess() ) {
  217. alert("검토완료 처리 되었습니다.");
  218. $("#btn_list").click();
  219. }
  220. else {
  221. dlgErrorMsg(resultObj);
  222. }
  223. }
  224. } catch(errorObject) {
  225. showErrorDlg("doResult()", errorObject);
  226. }
  227. }
  228. function page(){
  229. $("#fevent").val("FORM_SELECT");
  230. $("#form1").attr("action", "/bid/purchase/TBECheck.screen");
  231. $("#form1").attr("target", "_self");
  232. $("#form1").attr("method", "post");
  233. $("#form1").submit();
  234. }
  235. function tbe_detail(vendor_cd,filecnt,rnnc){
  236. if(Number(filecnt) > 0){
  237. if (confirm("기술검토 페이지로 이동하시겠습니까?")){
  238. $("#fevent").val("FORM_SELECT");
  239. $("#CORP_ID").val(vendor_cd);
  240. $("#form1").attr("action", "/bid/purchase/TBECheckDetail.screen");
  241. $("#form1").attr("target", "_self");
  242. $("#form1").attr("method", "post");
  243. $("#form1").submit();
  244. }
  245. }else{
  246. if(rnnc.length == 0){
  247. alert("기술검토 할 문서가 없습니다.\n해당 업체에 문서요청을 해주세요.");
  248. }else{
  249. alert("입찰포기한 업체 입니다.\n문서검토를 하실 수 없습니다.");
  250. }
  251. }
  252. }
  253. //업체 문서 요청
  254. function suppFileRequest(corp_id,req_deg,status){
  255. $("#FILE_REQUEST_SUPP").val(corp_id);
  256. $("#REQ_DEG").val(req_deg);
  257. $("#SUPP_STATUS_CD").val(status);
  258. $("#REQ_YN").val("Y");
  259. //$("#TBE_FIN_STATUS_CD").val("02");//작성중 상태 업데이트
  260. var f = document.form1;
  261. if (confirm("해당업체에 문서요청을 하시겠습니까?")){
  262. submitXmlRequest("/bid/purchase/TBECheck_form.screen", "FILE_REQUEST", f, "SUCCESS");
  263. }
  264. }
  265. function SearchUser(NAME,CODE){
  266. var win_id = "_searchUserPopup";
  267. var link = "/lib/dlgSearchUserPop.screen";
  268. link += "?pop_win_id="+win_id;
  269. fLayerPop(win_id, link, 700,400, '', '', 'NO');
  270. }
  271. function SearchUserClose(result){
  272. $("#EVAL_EMPID").val(result[9])//ACCT_ID
  273. $("#EVAL_EMPNM").val(result[1])//이름
  274. $("#EVAL_TEL").val(result[6])//연락처
  275. $("#EVAL_EMAIL").val(result[8])//이메일
  276. setTimeout(function(){fLayerPopClose('_searchUserPopup');},100);
  277. }
  278. </SCRIPT>
  279. <modular:search id="form1">
  280. <modular:key id="fevent" />
  281. </modular:search>
  282. <form id="form1" name="form1" method="post" modular:type="search">
  283. <!-- List Search -->
  284. <INPUT type="hidden" name="P_BID_MASTER_NM" id="P_BID_MASTER_NM" value="<%= params.get("P_BID_MASTER_NM") %>">
  285. <INPUT type="hidden" name="p_demanded_status" id="p_demanded_status" value="<%= params.get("p_demanded_status") %>">
  286. <INPUT type="hidden" name="p_dept_nm" id="p_dept_nm" value="<%= params.get("p_dept_nm") %>">
  287. <INPUT type="hidden" name="p_dept_cd" id="p_dept_cd" value="<%= params.get("p_dept_cd") %>">
  288. <INPUT type="hidden" name="p_list" id="p_list" value="<%= params.get("p_list") %>">
  289. <!-- List Search -->
  290. <INPUT type='hidden' name="fevent" id="fevent" value="">
  291. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  292. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  293. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  294. <INPUT type='hidden' name="TBE_FILE_GB" value="<%=Order.get("TBE_FILE_GB")%>">
  295. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  296. <INPUT type='hidden' name="TBE_STATUS_CD" value="<%=Order.get("TBE_STATUS_CD")%>">
  297. <INPUT type='hidden' name="OPEN_DT" value="<%=Order.get("OPEN_DT")%>">
  298. <INPUT type='hidden' name="CORP_ID" value="">
  299. <INPUT type='hidden' name="TBE_FIN_STATUS_CD" value="">
  300. <INPUT type='hidden' name="FILE_REQUEST_SUPP" value="">
  301. <INPUT type='hidden' name="REQ_DEG" value="">
  302. <INPUT type='hidden' name="REQ_YN" value="">
  303. <INPUT type='hidden' name="SUPP_STATUS_CD" value="">
  304. <INPUT type='hidden' name="TBESUPP_CNT" value="<%=Tbe_info.size() %>">
  305. <INPUT type='hidden' name="TOT_FILE_GB" value="<%=Order.get("TOT_FILE_GB")%>">
  306. <INPUT type='hidden' name="TOT_FILE_ID" value="<%=Order.get("TOT_FILE_ID")%>">
  307. <INPUT type='hidden' name="ONBID_YN_CD" id="ONBID_YN_CD" value="<%=Order.get("ONBID_YN_CD")%>">
  308. <table width="100%">
  309. <colgroup>
  310. <col width="*" />
  311. <col width="250" />
  312. </colgroup>
  313. <tr>
  314. <th>
  315. <div align="left" id="title">
  316. <ul><li>구매_기술문서검토 상세<font style="font-size:11px">(<%=Order.get("STATUS_NM")%>)</font></li></ul>
  317. </div>
  318. </th>
  319. <td align="right">
  320. <span class="btnSearch center" id="btn_save"><a href="javascript:void(0);">저장</a></span>
  321. <span class="btnSearch center" id="btn_tbe_fin"><a href="javascript:void(0);">검토완료</a></span>
  322. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  323. </td>
  324. </tr>
  325. </table>
  326. <%if(p_reason || m_reason || c_reason || r_reason){ %>
  327. <TABLE class="form-table">
  328. <colgroup>
  329. <col width="160">
  330. <col/>
  331. </colgroup>
  332. <%if(c_reason){ %>
  333. <TR height="25">
  334. <TH>취소사유</TH>
  335. <TD><%=StringUtils.cvtHTML(Order.get("CANCEL_REASON"))%></TD>
  336. </TR>
  337. <%} %>
  338. <%if(p_reason){ %>
  339. <TR height="25">
  340. <TH>연기사유</TH>
  341. <TD><%=StringUtils.cvtHTML(Order.get("POSTPONE_REASON"))%></TD>
  342. </TR>
  343. <%} %>
  344. <%if(m_reason){ %>
  345. <TR height="25">
  346. <TH>정정사유</TH>
  347. <TD><%=StringUtils.cvtHTML(Order.get("MODIFY_REASON"))%></TD>
  348. </TR>
  349. <%} %>
  350. <%if(r_reason){ %>
  351. <TR height="25">
  352. <TH>반려사유</TH>
  353. <TD><%=StringUtils.cvtHTML(Order.get("RTN_REASON"))%></TD>
  354. </TR>
  355. <%} %>
  356. </TABLE>
  357. <%}%>
  358. <div class="application-info magT15">
  359. <div class="application-sub-title">
  360. <span class="title">입찰기본정보</span>
  361. </div>
  362. </div>
  363. <TABLE class="form-table">
  364. <colgroup>
  365. <col width="160"/>
  366. <col width="38%"/>
  367. <col width="160"/>
  368. <col/>
  369. </colgroup>
  370. <TR height="25">
  371. <TH>입찰번호-차수</TH>
  372. <TD >
  373. <%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>
  374. </TD>
  375. <TH>온라인입찰여부</TH>
  376. <TD >
  377. <%=Order.get("ONBID_YN")%>
  378. </TD>
  379. </TR>
  380. <TR height="25">
  381. <TH>입찰명</TH>
  382. <TD colspan="3">
  383. <%=Order.get("BID_MASTER_NM")%>
  384. </TD>
  385. </TR>
  386. <TR height="25">
  387. <TH>경쟁방법</TH>
  388. <TD >
  389. <%=Order.get("CMPT_NM")%>
  390. </TD>
  391. <TH>낙찰자선정방법</TH>
  392. <TD >
  393. <%=Order.get("SUCC_NM") %>
  394. </TD>
  395. </TR>
  396. </table>
  397. <div class="application-info magT15">
  398. <div class="application-sub-title">
  399. <span class="title">입찰조건</span>
  400. </div>
  401. </div>
  402. <TABLE class="form-table">
  403. <colgroup>
  404. <col width="160"/>
  405. <col width="20%">
  406. <col width="160"/>
  407. <col width="20%">
  408. <col width="160"/>
  409. <col/>
  410. </colgroup>
  411. <TR height="25">
  412. <TH>통화구분</TH>
  413. <TD><%=Order.get("CURRENCY_GB_NM") %> &nbsp&nbsp
  414. <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "[업체변경가능]" : "[업체변경불가능]" %>
  415. </TD>
  416. <TH>CBE문서 TYPE</TH>
  417. <TD colspan="3">
  418. <%if(!Order.get("PBC_CBE_TYPE_CD").isEmpty()){ %><%=Order.get("PBC_CBE_TYPE_CD").equals("A") ? "A type" : "B type" %><%} %>
  419. </TD>
  420. </TR>
  421. <TR height="25">
  422. <TH>Installation</TH><!-- 설치비 포함여부 -->
  423. <TD><%=Order.get("PBC_INSTALL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  424. <TH>Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  425. <TD><%=Order.get("PBC_COMMISS_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  426. <TH>Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  427. <TD><%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  428. </TR>
  429. <TR height="25">
  430. <TH>Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  431. <TD><%=Order.get("PBC_TEST_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  432. <TH>Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  433. <TD><%=Order.get("PBC_DOC_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  434. <TH>Packing cost</TH><!-- 포장비용 포함여부 -->
  435. <TD><%=Order.get("PBC_PACK_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  436. </TR>
  437. <TR height="25">
  438. <TH>Inland Transportaion</TH><!-- 내륙운송비 -->
  439. <TD><%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %></TD>
  440. <TH>Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  441. <TD colspan="3">
  442. <%=Order.get("DELIVERY_CONDITION_NM") %>&nbsp&nbsp <%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "[업체변경가능]" : "[업체 변경 불가능]" %></TD>
  443. </TR>
  444. <TR height="25">
  445. <TH>OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  446. <TD colspan="5">A. Supervision fee &nbsp <%=Order.get("PBC_FEE_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %>
  447. <% if(!Order.get("PBC_OPTION_COMMENT").isEmpty()){ %>&nbsp&nbsp B. <%= Order.get("PBC_OPTION_COMMENT")%> &nbsp<%=Order.get("PBC_OPTION_YN").equals("Y") ? "업체 견적내용 반영" : "업체 견적내용 미반영" %><%} %></TD>
  448. </TR>
  449. <TR height="25">
  450. <TH>Liquidated Damages</TH><!-- 지체상금 fix -->
  451. <TD colspan="5"><% if(!Order.get("CBC_DAMAGE_RATE").isEmpty()){ %><%= Order.get("CBC_DAMAGE_RATE")%>% <%=Order.get("CBC_DAMAGE_NM")%>,<%} %>
  452. <% if(!Order.get("CBC_DAMAGE_MAXRATE").isEmpty()){ %> Max <%= Order.get("CBC_DAMAGE_MAXRATE")%>%<%} %></TD>
  453. </TR>
  454. <TR height="25">
  455. <TH>선급금</TH>
  456. <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){ %><%=Order.get("CBC_FIRST_RATE") %>% <%} %><%= Order.get("PBC_FIRST_CONDI")%></TD>
  457. <TH>중도금</TH>
  458. <TD><% if(!Order.get("CPC_MID_RATE").isEmpty()){ %><%= Order.get("CPC_MID_RATE")%>% <%} %><%=Order.get("PBC_MID_CONDI")%></TD>
  459. <TH>잔금</TH>
  460. <TD><% if(!Order.get("PBC_REST_RATE").isEmpty()){ %><%= Order.get("PBC_REST_RATE") %>% <%} %><%=Order.get("PBC_REST_CONDI")%></TD>
  461. </TR>
  462. <TR height="25">
  463. <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  464. <TD><% if(!Order.get("PBC_FRSTGUAR_RATE").isEmpty()){ %><%= Order.get("PBC_FRSTGUAR_RATE") %>% <%} %><%= Order.get("PBC_FRSTGUAR_CONDI")%></TD>
  465. <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  466. <TD><% if(!Order.get("CONTFUL_RATE").isEmpty()){ %><%= Order.get("CONTFUL_RATE") %>% <%} %><%=Order.get("CONTFUL_CONDI") %></TD>
  467. <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  468. <TD><% if(!Order.get("WARR_RATE").isEmpty()){ %><%= Order.get("WARR_RATE") %>%<%} %> <%= Order.get("WARR_CONDI")%></TD>
  469. </TR>
  470. <TR height="25">
  471. <TH>Guarantee Period</TH><!-- 하자보수기간 -->
  472. <TD colspan="3"><%=Order.get("PBC_DEFECT_CONDI") %> <%=Order.get("CBC_DEFECT_DAY") %>
  473. <% if(!Order.get("CBC_DERECT_TERM_NM").isEmpty()){ %><%=Order.get("CBC_DERECT_TERM_NM") %>간<%} %>
  474. <input type="checkbox" id="addGuar" style="margin-top:2px; display:none;">
  475. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  476. <%=Order.get("PBC_DEFECT_CONDI2") %> <%=Order.get("CBC_DEFECT_DAY2")%>
  477. <%if(Order.get("CBC_DERECT_TERM_CD2").equals("01")){%>
  478. <span>일 간 중 선도래일</span>
  479. <%}else if(Order.get("CBC_DERECT_TERM_CD2").equals("02")){%>
  480. <span>개월 간 중 선도래일</span>
  481. <%} %>
  482. </span>
  483. </TD>
  484. <TH>Delivery Period</TH><!-- 납기일 fix -->
  485. <TD>
  486. <% if(!Order.get("DELI_FROM_DY").isEmpty() && !Order.get("DELI_TO_DY").isEmpty()){ %><%=Order.get("DELI_FROM_DY") %> ~
  487. <%= Order.get("DELI_TO_DY") %><%} %>
  488. </TD>
  489. </TR>
  490. </TABLE>
  491. <TABLE class="form-table" style="margin-top:5px">
  492. <colgroup>
  493. <col width="160"/>
  494. <col width="38%"/>
  495. <col width="160"/>
  496. <col/>
  497. </colgroup>
  498. <TR height="25">
  499. <TH>주요발주내용</TH>
  500. <TD style="vertical-align: top">
  501. <%=StringUtils.cvtHTML(Order.get("MAIN_PR_CONTENTS"))%>
  502. </TD>
  503. <TH>입찰업체선정사유</TH>
  504. <TD style="vertical-align: top">
  505. <%=StringUtils.cvtHTML(Order.get("BID_SUPP_SELECT_REASON"))%>
  506. </TD>
  507. </TR>
  508. <TR height="25">
  509. <TH>특이사항 내부</TH>
  510. <TD style="vertical-align: top">
  511. <%=StringUtils.cvtHTML(Order.get("INNER_REMARKS"))%>
  512. </TD>
  513. <TH>특이사항 외부</TH>
  514. <TD style="vertical-align: top">
  515. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  516. </TD>
  517. </TR>
  518. <TR height="100">
  519. <TH>내부자료</TH>
  520. <TD >
  521. <TEXTAREA name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get(Order.get("DOC_ETC_IN")) %></TEXTAREA>
  522. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,1);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  523. </TD>
  524. <TH>외부자료</TH>
  525. <TD>
  526. <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>
  527. <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;'>
  528. </TD>
  529. </TR>
  530. </TABLE>
  531. <div class="application-info magT15">
  532. <div class="application-sub-title">
  533. <span class="title">기술검토 정보</span>
  534. </div>
  535. </div>
  536. <TABLE class="form-table">
  537. <colgroup>
  538. <col width="160"/>
  539. <col width="20%"/>
  540. <col width="160"/>
  541. <col width="26%"/>
  542. <col width="160"/>
  543. <col />
  544. </colgroup>
  545. <TR height="25">
  546. <TH>심사자 명</TH>
  547. <TD><INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>"><INPUT type='hidden' name="EVAL_EMPID_O" value="<%=Order.get("EVAL_EMPID")%>">
  548. <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %>
  549. <IMG id=btnevalemp src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('EVAL_EMPNM','EVAL_EMPID','N');">
  550. </TD>
  551. <TH>심사자 연락처</TH>
  552. <TD><%= InputText.get("EVAL_TEL", Order.get("EVAL_TEL"), 25, 20, "") %>
  553. </TD>
  554. <TH>심사자 이메일</TH>
  555. <TD><%= InputText.get("EVAL_EMAIL", Order.get("EVAL_EMAIL"), 55, 50, "") %>
  556. </TD>
  557. </TR>
  558. </TABLE>
  559. <% if(Order.get("ONBID_YN_CD").equals("Y")){ %>
  560. <TABLE class="list-form-table" style="margin-top:5px">
  561. <colgroup>
  562. <col width="70"/>
  563. <col width="70"/>
  564. <col width="40%"/>
  565. <col width="50"/>
  566. <col width="50"/>
  567. <col width="70"/>
  568. <col width="70"/>
  569. <col width="60"/>
  570. </colgroup>
  571. <TR height="25">
  572. <TH>사업자번호</TH>
  573. <TH>업체명</TH>
  574. <TH>검토완료문서</TH>
  575. <TH>전체문서</TH>
  576. <TH>검토완료</TH>
  577. <TH>문서요청일</TH>
  578. <TH>제출일</TH>
  579. <TH>상태</TH>
  580. </TR>
  581. <%
  582. if(Tbe_info.size() > 0){
  583. for(int i=0;i < Tbe_info.size();i++){
  584. %>
  585. <TR height="25">
  586. <TD style="text-align:center"><%=StringUtils.getBizNo(Tbe_info.getRow(i).get("VENDOR_NO"))%></TD>
  587. <TD style="text-align:center"><a href="javascript:tbe_detail('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>','<%=Tbe_info.getRow(i).get("FILE_CNT")%>','<%=Tbe_info.getRow(i).get("BID_RNNC_DT")%>');"><%=Tbe_info.getRow(i).get("VENDOR_NAME")%></a></TD>
  588. <TD><TEXTAREA name="p_File_Supp<%=i %>" id="p_File_Supp<%=i %>" style="width:90%;height:40px" rows="1" class="input" readOnly><%=Tbe_info.getRow(i).get("FILE_LIST") %></TEXTAREA>
  589. <IMG id='search_spot_button' onClick="doAttachFile_supp(document.form1.DEMANDED_ID,document.form1.p_File_Supp<%=i %>,'<%=Tbe_info.getRow(i).get("FIN_FILE_GB")%>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'></TD>
  590. <TD style="text-align:center"><%=Tbe_info.getRow(i).get("FILE_CNT")%></TD>
  591. <TD style="text-align:center"><%=Tbe_info.getRow(i).get("CL_CNT")%></TD>
  592. <TD style="text-align:center"><%=Tbe_info.getRow(i).get("REG_DT")%></TD>
  593. <TD style="text-align:center"><%=Tbe_info.getRow(i).get("DOC_DT")%></TD>
  594. <TD style="text-align:center">
  595. <%-- <%if("문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM"))&& !"10".equals(Order.get("TBE_STATUS_CD"))){%><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');"><%=Tbe_info.getRow(i).get("STATUS_NM")%></a></span><%}else{%><%=Tbe_info.getRow(i).get("STATUS_NM")%><%} %> --%>
  596. <%-- <%if("91".equals(Order.get("TBE_STATUS_CD")) && !"Y".equals(Tbe_info.getRow(i).get("REQ_YN"))&& !"문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM"))){%><br><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');">문서요청</a></span><%} %> --%>
  597. <%if("문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM"))&& !"10".equals(Order.get("TBE_STATUS_CD")) && !"Y".equals(Tbe_info.getRow(i).get("REQ_YN")) && Order.get("EVAL_EMPID").equals(user.get("ACCT_ID"))){%><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');"><%=Tbe_info.getRow(i).get("STATUS_NM")%></a></span><%}else{%><%=Tbe_info.getRow(i).get("STATUS_NM")%><%} %>
  598. <%if("91".equals(Order.get("TBE_STATUS_CD")) && !"Y".equals(Tbe_info.getRow(i).get("REQ_YN"))&& !"문서요청".equals(Tbe_info.getRow(i).get("STATUS_NM")) && Order.get("EVAL_EMPID").equals(user.get("ACCT_ID")) ){%><br><span class="btnSearch center" id="btn_tbe_supp"><a href="javascript:suppFileRequest('<%=Tbe_info.getRow(i).get("VENDOR_CD")%>',<%=Tbe_info.getRow(i).get("REQ_DEG")%>,'04');">문서요청</a></span><%} %>
  599. </TD>
  600. </TR>
  601. <% }
  602. }else{%>
  603. <TR height="25">
  604. <TD colspan="8" style="text-align:center">기술 검토 대상 업체가 없습니다.</TD>
  605. </TR>
  606. <%}%>
  607. </TABLE>
  608. <%} %>
  609. <div class="application-info magT15">
  610. <div class="application-sub-title">
  611. <span class="title">기술검토 결과</span>
  612. </div>
  613. </div>
  614. <TABLE class="form-table" style="margin-top:5px">
  615. <colgroup>
  616. <col width="145"/>
  617. <col width="145"/>
  618. <col width="200"/>
  619. <col />
  620. </colgroup>
  621. <TR height="25">
  622. <TH style="text-align:center;padding-right:20px">사업자번호</TH>
  623. <TH style="text-align:center;padding-right:20px">업체명</TH>
  624. <TH style="text-align:center;padding-right:20px">평가결과</TH>
  625. <TH style="text-align:center;padding-right:20px">평가의견</TH>
  626. </TR>
  627. <%
  628. if(Tbe_info.size() > 0){
  629. for(int i=0;i < Tbe_info.size();i++){
  630. %>
  631. <TR height="25">
  632. <TD style="text-align:center"><%=StringUtils.getBizNo(Tbe_info.getRow(i).get("VENDOR_NO"))%><INPUT type="hidden" id="VENDOR_CD" name="VENDOR_CD" value="<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"></TD>
  633. <TD style="text-align:center"><%=Tbe_info.getRow(i).get("VENDOR_NAME")%></TD>
  634. <TD style="text-align:center"><%if(Tbe_info.getRow(i).get("BID_RNNC_DT").isEmpty()){ %>
  635. <%-- <INPUT type="hidden" id="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value=""> --%>
  636. <LABEL for="eval_result_1<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_1<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="01" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("01") ? "checked=\"checked\"" : "" %> <%if(("06".equals(Order.get("STATUS_CD"))||"10".equals(Order.get("TBE_STATUS_CD"))) && "Y".equals(Order.get("ONBID_YN_CD"))){%>disabled<%} %>>적합</LABEL>
  637. <LABEL for="eval_result_2<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_2<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="02" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("02") ? "checked=\"checked\"" : "" %> <%if(("06".equals(Order.get("STATUS_CD"))||"10".equals(Order.get("TBE_STATUS_CD"))) && "Y".equals(Order.get("ONBID_YN_CD"))){%>disabled<%} %>>조건부 적합</LABEL>
  638. <LABEL for="eval_result_3<%=Tbe_info.getRow(i).get("VENDOR_CD")%>"><INPUT id="eval_result_3<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" type="radio" name="EVAL_RESULT_<%=Tbe_info.getRow(i).get("VENDOR_CD")%>" value="03" desc="평가결과" <%=Tbe_info.getRow(i).get("EVAL_RESULT").equals("03") ? "checked=\"checked\"" : "" %> <%if(("06".equals(Order.get("STATUS_CD"))||"10".equals(Order.get("TBE_STATUS_CD"))) && "Y".equals(Order.get("ONBID_YN_CD"))){%>disabled<%} %>>부적합</LABEL>
  639. <%}else{ %>입찰포기<%} %>
  640. </TD>
  641. <TD ><textarea name="EVAL_OPIN" id="EVAL_OPIN" style="width:98%; height:40px; overflow-y:auto;" maxlength="1000" class="input byteChk ctrlTarget" <%if(("06".equals(Order.get("STATUS_CD"))||"10".equals(Order.get("TBE_STATUS_CD"))) && "Y".equals(Order.get("ONBID_YN_CD"))){%>readOnly<%} %>><%=Tbe_info.getRow(i).get("EVAL_OPIN")%></textarea></TD>
  642. </TR>
  643. <% } %>
  644. <TR height="25">
  645. <TH style="text-align:center;padding-right:20px" rowspan="2">종합의견<br>(TBE 결과등록)</TH>
  646. <TD colspan="2"><TEXTAREA name="p_AttachFile3" id="p_AttachFile3" style="width:85%;height:40px" rows="1" class="input" readOnly><%=filetot.get(Order.get("TOT_FILE_GB")) %></TEXTAREA>
  647. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,3);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'></TD>
  648. <TD rowspan="2"><textarea name="TOT_OPIN" id="TOT_OPIN" style="width:98%; height:65px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" <%if("10".equals(Order.get("TBE_STATUS_CD"))){%>readOnly<%} %>><%=Order.get("TOT_OPIN")%></textarea></TD>
  649. <TR height="25">
  650. <TD colspan="2"><font color="red">결재된 기술검토서를 스캔하여 첨부바랍니다.</font></TD>
  651. <% }else{%>
  652. <TR height="25">
  653. <TD colspan="4" style="text-align:center">기술 검토 대상 업체가 없습니다.</TD>
  654. </TR>
  655. <%}%>
  656. </TABLE>
  657. </form>