OrderReqeust.jsp 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.06.18
  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.hsnc.common.util.*"%>
  10. <%@ page import="kr.co.hsnc.common.sql.*" %>
  11. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  12. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  13. <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
  14. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  15. <%@ include file="/jsp/work/taglib.jsp" %>
  16. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  17. <%
  18. ctx.init(request, response);
  19. HandlerStorage storage = ctx.getHandlerStorage();
  20. ValueObject params = storage.getParams();
  21. ValueObject user = storage.getUser();
  22. RowSet CorpRowSet = storage.getRowSet("CorpRowSet");
  23. ValueObject Order = storage.getValueObject("Order");
  24. String RTN_REASON = "";
  25. boolean rtn = false;
  26. if(Order.get("RTN_REASON").length() > 0){
  27. RTN_REASON = Order.get("RTN_REASON");
  28. rtn = true;
  29. }
  30. ValueObject filein = storage.getValueObject("DEMANDED_INNER");
  31. ValueObject fileout = storage.getValueObject("DEMANDED_OUTER");
  32. ValueObject sign_info = storage.getValueObject("SIGN_INFO");
  33. //공통코드
  34. CommCodeManager commCodeManager = new CommCodeManager();
  35. InitCombo initCombo = new InitCombo();
  36. initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_SUPP_INFO_YN"), "NAME", "CODE");
  37. String BID_SUPP_INFO_CD = initCombo.getCode();
  38. String BID_SUPP_INFO_NM = initCombo.getCodeName();
  39. String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  40. %>
  41. <SCRIPT language="JavaScript">
  42. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  43. /*예약함수*/
  44. var sheet1 = new ibsheetObject();
  45. var sheet2 = new ibsheetObject();
  46. var sheet1Row;
  47. var sheet1PageNo = 1;
  48. var pageLastRowIndex = 1;
  49. var validationResult = false;
  50. var filterShow = false;
  51. function _onReady(){
  52. gridInit();
  53. doSearchSheetSupp();
  54. /**
  55. * Application Initialize
  56. */
  57. jQuery("#btn_list").click(function() {
  58. jQuery("#fevent").val("");
  59. jQuery("#form1").attr("action", "/bid/purchase/OrderReqeustList.screen");
  60. jQuery("#form1").attr("target", "_self");
  61. jQuery("#form1").attr("method", "post");
  62. jQuery("#form1").submit();
  63. });
  64. jQuery("#ONBID_YN1").click(function() {
  65. jQuery("#ONBID_YN1").attr("checked",true);
  66. jQuery("#ONBID_YN2").attr("checked",false);
  67. });
  68. jQuery("#ONBID_YN2").click(function() {
  69. jQuery("#ONBID_YN1").attr("checked",false);
  70. jQuery("#ONBID_YN2").attr("checked",true);
  71. });
  72. //2016.9.21 --2019.05.28 지정삭제
  73. <%-- if ("<%=Order.get("pay_div")%>" == "납품정산")
  74. {
  75. $("#pay_div_cd").val("1");
  76. }
  77. else{
  78. $("#pay_div_cd").val("2");
  79. } --%>
  80. jQuery("#btn_receipt").click(function() {
  81. var status = "<%=Order.get("DEMANDED_STATUS")%>";
  82. if(status != 4){
  83. if(ck()){
  84. alert("[온라인 입찰 여부]는 필수 입니다.");
  85. return;
  86. }
  87. if($(':radio[name=ONBID_YN]:checked').val())
  88. {
  89. var InfoYn = false;
  90. var rowcnt = sheet1.RowCount();
  91. if(rowcnt> 0){
  92. for(var r=0; r < rowcnt; r++)
  93. {
  94. if(sheet1.GetCellValue(r+1,"INFO_YN") != "Y"){
  95. InfoYn = true;
  96. }
  97. }
  98. }
  99. var sConfirm = "";
  100. if($("#DEMANDED_KIND").val() == "B"){
  101. $("#pay_div_cd").val("2"); //설치
  102. alert("배관자재는 계획분할로 진행됩니다."); //2018.4.2 배관자재 설치성
  103. }else{
  104. if ($("#pay_div_cd").val() == "") {
  105. alert("지급구분을 선택하십시요.");
  106. return
  107. }
  108. if(!confirm("지급구분을 확인하셨습니까?")) return; //2016.9.21
  109. }
  110. if($(':radio[name=ONBID_YN]:checked').val() == "Y")
  111. {
  112. if(InfoYn){
  113. sConfirm = "미가입된 업체가 있습니다.\n발주의뢰건을 접수하시겠습니까?\n접수후 온라인으로 입찰이 진행됩니다.";
  114. }else{
  115. sConfirm = "발주의뢰건을 접수하시겠습니까?\n접수후 온라인으로 입찰이 진행됩니다.";
  116. }
  117. }else
  118. {
  119. if(InfoYn){
  120. sConfirm = "미가입된 업체가 있습니다.\n발주의뢰건을 접수하시겠습니까?\n접수후 오프라인으로 입찰이 진행됩니다.";
  121. }else{
  122. sConfirm = "발주의뢰건을 접수하시겠습니까?\n접수후 오프라인으로 입찰이 진행됩니다.";
  123. }
  124. }
  125. if(!confirm(sConfirm)) return;
  126. var f = document.form1;
  127. jQuery("#DEMANDED_STATUS").val("4");//상태값 접수
  128. jQuery("#fevent").val("FROM_RECEIPT_UPDATE");
  129. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/OrderReqeust_sheet.screen";
  130. var result = Modular.view.IBSheet7.doSave(sheet1, url, jQuery("#form1"), false);
  131. //submitXmlRequest("/bid/purchase/OrderReqeust_form.screen", "FROM_RECEIPT_UPDATE", f);
  132. }
  133. }else{
  134. alert("접수된 발주 입니다.");
  135. }
  136. });
  137. jQuery("#btn_return").click(function() {
  138. if (confirm("반려 하시겠습니까?")){
  139. var win_id = "return_pop";
  140. var link = "/bid/purchase/RtnReasonPopup.screen";
  141. link += "?pop_win_id="+win_id+"&DEMANDED_ID="+$("#DEMANDED_ID").val()+"&DEMANDED_KIND="+$("#DEMANDED_KIND").val();
  142. fLayerPop(win_id, link, 600,180, '','', 'NO');
  143. }
  144. });
  145. var status_cd = "<%=Order.get("DEMANDED_STATUS")%>";
  146. if(status_cd == 4 || status_cd == 5){
  147. if ("<%=Order.get("pay_div")%>" == "납품정산")
  148. {
  149. $("#pay_div_cd").val("1");
  150. }
  151. else{
  152. $("#pay_div_cd").val("2");
  153. }
  154. $("#btn_receipt").hide();
  155. $("#btn_return").hide();
  156. $("#ONBID_YN1").attr("disabled",true);
  157. $("#ONBID_YN2").attr("disabled",true);
  158. }
  159. $("inner_remarks").after($("#inner_remarks_val").val());
  160. $("outer_remarks").after($("#outer_remarks_val").val());
  161. }
  162. function gridInit(){
  163. var init_sheet = {};
  164. init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly};
  165. init_sheet.HeaderMode = {Sort:1};
  166. init_sheet.Cols = [
  167. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  168. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  169. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  170. {Header:'자재코드|자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:60, Align:"Center"},
  171. {Header:'자재명|자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:220, Align:"Left"},
  172. {Header:'규격|규격', Type:"Text", SaveName:"MATERIAL_SPEC", Width:70, Align:"Left"},
  173. {Header:'단위|단위', Type:"Text", SaveName:"UNIT_KIND", Width:30, Align:"Center"},
  174. {Header:'발주의뢰수량|발주의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:40, Align:"Right"},
  175. {Header:'도급|단가', Type:"Int", SaveName:"CONT_PRI", Width:50, Align:"Right"},
  176. {Header:'도급|금액', Type:"Int", SaveName:"CONT_AMT", Width:50, Align:"Right", CalcLogic:"|CONT_PRI|*|DEMANDED_QTY|"},
  177. {Header:'실행|단가', Type:"Int", SaveName:"DEMANDED_PRI", Width:50, Align:"Right"},
  178. {Header:'실행|금액', Type:"Int", SaveName:"ACT_AMT", Width:50, Align:"Right", CalcLogic:"|DEMANDED_PRI|*|DEMANDED_QTY|"},
  179. {Header:'투입요청일|투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:40, Align:"Center", Format:"####-##-##"}
  180. ];
  181. IBS_InitSheet(sheet2, init_sheet);
  182. sheet2.SetDataAutoTrim(0);
  183. sheet2.SetEditable(false);
  184. var init_sheet2 = {};
  185. init_sheet2.Cfg = {SearchMode:2, Page:30};
  186. init_sheet2.HeaderMode = {Sort:1};
  187. init_sheet2.Cols = [
  188. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  189. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  190. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  191. {Header:'사업자번호', Type:"Text", SaveName:"VENDOR_ID", Width:80, Align:"Center", Format:"SaupNo"},
  192. {Header:'업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:80, Align:"Left"},
  193. {Header:'대표자명', Type:"Text", SaveName:"PRE_NM", Width:80, Align:"Center"},
  194. {Header:'담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:80, Align:"Center"},
  195. {Header:'핸드폰', Type:"Text", SaveName:"CHARGE_TEL", Width:80, Align:"Center"},
  196. {Header:'이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:80, Align:"Left"},
  197. {Header:'추천사유', Type:"Text", SaveName:"RECOMMEND_REASON", Width:80, Align:"Left"},
  198. {Header:'가입여부', Type:"Combo", SaveName:"INFO_YN", Width:80, Align:"Center", ComboText:"<%=BID_SUPP_INFO_NM%>", ComboCode:"<%=BID_SUPP_INFO_CD%>"}
  199. ];
  200. IBS_InitSheet(sheet1, init_sheet2);
  201. sheet1.SetDataAutoTrim(0);
  202. sheet1.SetEditable(false);
  203. setGridSize();
  204. }
  205. function ck(){
  206. if($("#ONBID_YN1").attr("checked") == "checked"){
  207. return false;
  208. }
  209. if($("#ONBID_YN2").attr("checked") == "checked"){
  210. return false;
  211. }
  212. return true;
  213. }
  214. function RtnReasonClose(returnValue){
  215. if(returnValue == null)
  216. setTimeout(function(){fLayerPopClose('return_pop'); },100);
  217. if(returnValue[0] == 0){
  218. setTimeout(function(){ fLayerPopClose('return_pop');},100);
  219. goListProc();
  220. }
  221. }
  222. function sheet1_OnSearchEnd(code, message) {
  223. var fevent = $("#fevent").val();
  224. if(code == 0) {
  225. if("GET_CORP_LIST" == fevent)
  226. doSearchSheetItem();
  227. for(var i=1;i <= sheet1.RowCount();i++){
  228. if(sheet1.GetCellValue(i,"INFO_YN") == "N"){
  229. sheet1.SetCellFontColor(i,10,"#FF0000");
  230. }else{
  231. sheet1.SetCellFontColor(i,10,"#0100FF");
  232. }
  233. }
  234. setGridSize();
  235. } else {
  236. //조회 에러 수행
  237. alert(message);
  238. }
  239. }
  240. function sheet2_OnSearchEnd(code, message) {
  241. if(code == 0) {
  242. setGridSize();
  243. } else {
  244. //조회 에러 수행
  245. alert(message);
  246. }
  247. }
  248. function sheet1_OnSaveEnd(code, msg)
  249. {
  250. var event = $("#fevent").val();
  251. if(code >= "0"){
  252. alert("접수 되었습니다.");
  253. goRefreshProc("1");
  254. }else{
  255. alert(msg);
  256. }
  257. }
  258. function goRefreshProc(code){
  259. if(code == "0"){
  260. jQuery("#fevent").val("FORM_SELECT");
  261. jQuery("#form1").attr("action", "/bid/purchase/OrderReqeust.screen");
  262. jQuery("#form1").attr("target", "_self");
  263. jQuery("#form1").attr("method", "post");
  264. jQuery("#form1").submit();
  265. }else if(code == "1"){
  266. jQuery("#fevent").val("FORM_SELECT");
  267. jQuery("#form1").attr("action", "/bid/purchase/OrderReqeust.screen");
  268. jQuery("#form1").attr("target", "_self");
  269. jQuery("#form1").attr("method", "post");
  270. jQuery("#form1").submit();
  271. }
  272. }
  273. /**
  274. * IBSheet size setting
  275. */
  276. function setGridSize() {
  277. sheet1.FitColWidth();
  278. sheet2.FitColWidth();
  279. }
  280. function goListProc(){
  281. var f = document.form1;
  282. f.fevent.value ="";
  283. f.action = "/bid/purchase/OrderReqeustList.screen";
  284. f.target = "_self";
  285. f.submit();
  286. }
  287. function doSearchSheetSupp(){
  288. jQuery("#fevent").val("GET_CORP_LIST");
  289. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/OrderReqeust_sheet.screen";
  290. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  291. }
  292. function doSearchSheetItem(){
  293. jQuery("#fevent").val("GET_ITEM_LIST");
  294. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/OrderReqeust_sheet.screen";
  295. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
  296. }
  297. //첨부파일
  298. function doAttachFile(obj,No) {
  299. if(obj==''){
  300. alert("After you have saved, you can attach a file.");
  301. }
  302. else if(obj != ''){
  303. if(No == 1){
  304. //viewFileList('DEMANDED_INNER', obj.value, document.form1.p_AttachFile1, "N", "N", "N", "N");
  305. viewFileListNew("DEMANDED_INNER", obj.value, document.form1.p_AttachFile1, "Y", "BD-001");
  306. }else{
  307. //viewFileList('DEMANDED_OUTER', obj.value, document.form1.p_AttachFile2, "N", "N", "N", "N");
  308. viewFileListNew("DEMANDED_OUTER", obj.value, document.form1.p_AttachFile2, "Y", "BD-001");
  309. }
  310. }
  311. }
  312. function sheet1_OnSmartResize(Width, Height) {
  313. sheet1.FitColWidth();
  314. autoResize();
  315. }
  316. function autoResize(){
  317. sheet1.SetSheetHeight(160);
  318. sheet2.SetSheetHeight(250);
  319. }
  320. function replace(content){
  321. content = content.replace(/\r\n/g, '<br>');
  322. content = content.replace(/\n/g, '<br>');
  323. content = content.replace(/\r/g, '<br>');
  324. return content;
  325. }
  326. function doSignFile(doc_id){
  327. //alert(doc_id);
  328. if(doc_id == ""){
  329. alert("결재 정보가 없습니다.");
  330. return;
  331. }
  332. var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
  333. doc_chk = doc_chk * 1;
  334. var link = "";
  335. var year = "<%=sign_info.get("year") %>";
  336. if (year > "20151213") {
  337. link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
  338. }
  339. else{
  340. link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
  341. }
  342. //var popOption = "width=400, height=450, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  343. window.open(link,"_viewDraft","");
  344. }
  345. </SCRIPT>
  346. <modular:search id="form1">
  347. <modular:key id="fevent" />
  348. </modular:search>
  349. <form id="form1" name="form1" method="post" modular:type="search">
  350. <!-- List Search -->
  351. <INPUT type="hidden" name="P_DEMANDED_TITLE" id="P_DEMANDED_TITLE" value="<%= params.get("P_DEMANDED_TITLE") %>">
  352. <INPUT type="hidden" name="P_DEMANDED_STATUS" id="P_DEMANDED_STATUS" value="<%= params.get("P_DEMANDED_STATUS") %>">
  353. <INPUT type="hidden" name="p_dept_nm" id="p_dept_nm" value="<%= params.get("p_dept_nm") %>">
  354. <INPUT type="hidden" name="p_dept_cd" id="p_dept_cd" value="<%= params.get("p_dept_cd") %>">
  355. <!-- List Search -->
  356. <INPUT type="hidden" name="fevent" id="fevent" value="<%= params.get("fevent") %>">
  357. <INPUT type="hidden" name="acct_id" value="<%= params.get("acct_id") %>">
  358. <INPUT type="hidden" name="dept_nm" value="<%= params.get("dept_nm") %>">
  359. <INPUT type="hidden" name="DEMANDED_STATUS" value="<%=Order.get("DEMANDED_STATUS")%>">
  360. <INPUT type="hidden" name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  361. <INPUT type="hidden" name="DEMANDED_KIND" value="<%=Order.get("DEMANDED_KIND")%>">
  362. <INPUT type="hidden" name="BUSEO" value="<%= user.get("BUSEO")%>"><!-- 부서code -->
  363. <INPUT type="hidden" name="BUSEO_NM" value="<%= Order.get("BUSEO_NM")%>"><!-- 부서NM -->
  364. <!-- 반려사유 -->
  365. <INPUT type="hidden" name="RTN_REASON" value="<%=Order.get("RTN_REASON")%>">
  366. <INPUT type="hidden" name="job_Cd" value="<%= user.get("PSOSO")%>">
  367. <INPUT type="hidden" name="buseo_Cd" value="<%= user.get("GRADE_CODE")%>">
  368. <INPUT type="hidden" name="inner_remarks_val" value="<%= StringUtils.cvtHTML(Order.get("inner_remarks"))%>">
  369. <INPUT type="hidden" name="outer_remarks_val" value="<%= StringUtils.cvtHTML(Order.get("outer_remarks"))%>">
  370. <!-- 제목 및 버튼 -->
  371. <table width="100%">
  372. <colgroup>
  373. <col width="500" />
  374. <col width="*" />
  375. </colgroup>
  376. <tr>
  377. <th>
  378. <div align="left" id="title" >
  379. <ul><li>구매_발주의뢰접수 상세<font style="font-size:11px">(<%=Order.get("DEMANDED_STATUS_NM")%>)</font></li></ul>
  380. </div>
  381. </th>
  382. <td align="right">
  383. <span class="btnSearch center" id="btn_receipt"><a href="javascript:void(0);">접수</a></span>
  384. <span class="btnSearch center" id="btn_return"><a href="javascript:void(0);">반려</a></span>
  385. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  386. </td>
  387. </tr>
  388. </table>
  389. <%if(rtn){ %>
  390. <TABLE class="form-table">
  391. <colgroup>
  392. <col width="150"/>
  393. <col />
  394. </colgroup>
  395. <TR height="25">
  396. <TH>반려일자</TH>
  397. <TD><%=Order.get("RTN_DATE")%></TD>
  398. </TR>
  399. <TR height="25">
  400. <TH>반려사유</TH>
  401. <TD><%=StringUtils.cvtHTML(RTN_REASON)%></TD>
  402. </TR>
  403. </TABLE>
  404. <%}%>
  405. <div class="application-info magT10">
  406. <div class="application-sub-title">
  407. <span class="title">발주의뢰정보</span>
  408. </div>
  409. </div>
  410. <!-- 발주의뢰정보 : 시작 -->
  411. <TABLE class="form-table">
  412. <colgroup>
  413. <col width="150"/>
  414. <col width="23%">
  415. <col width="150"/>
  416. <col width="23%">
  417. <col width="150"/>
  418. <col/>
  419. </colgroup>
  420. <TR height="25">
  421. <TH> 현장</TH>
  422. <TD><%=Order.get("dept_nm") %></TD>
  423. <TH> 발주의뢰번호</TH>
  424. <TD><a href="javascript:doSignFile('<%=sign_info.get("doc_id") %>');"><%=Order.get("DEMANDED_NO")%></a>
  425. <%-- <IMG id='search_spot_button' onClick="doSignFile('<%=sign_info.get("doc_id") %>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='SignFile Down' style='cursor:pointer;'> --%>
  426. </TD>
  427. <TH> 발주의뢰명</TH>
  428. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  429. </TR>
  430. <TR height="25">
  431. <TH> 발주의뢰일</TH>
  432. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  433. <TH> 발주의뢰부서</TH>
  434. <TD><%= Order.get("BUSEO_NM")%></TD>
  435. <TH> 발주의뢰자</TH>
  436. <TD><%= Order.get("EMP_NM")%></TD>
  437. </TR>
  438. <TR height="25">
  439. <TH> 접수일자</TH>
  440. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  441. <TH> 접수자</TH>
  442. <TD><%=Order.get("RECEIPT_NM") %></TD>
  443. <TH> Pay Item</TH>
  444. <TD><%= Order.get("PAY_ITEM_NM") %></TD>
  445. </TR>
  446. <TR height="25">
  447. <TH> 통화구분</TH>
  448. <TD><%= Order.get("CURRENCY_GB") %></TD>
  449. <TH> 도급금액 (원)</TH>
  450. <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0) %></TD>
  451. <TH> 실행금액 (원)</TH>
  452. <TD><%=Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
  453. </TR>
  454. <TR height="25">
  455. <TH> 도급대비 실행율(%)</TH>
  456. <TD colspan="5" ><%= Order.get("ACT_RATE")%></TD>
  457. </TR>
  458. <TR height="25">
  459. <TH class="required"> 온라인 입찰 여부</TH>
  460. <TD>
  461. <LABEL for="ONBID_YN1"><INPUT id="ONBID_YN1" type="radio" name="ONBID_YN" value="Y" <%=Order.get("ONBID_YN").equals("Y") ? "checked=\"checked\"" : "" %>>온라인</LABEL>
  462. <LABEL for="ONBID_YN2"><INPUT id="ONBID_YN2" type="radio" name="ONBID_YN" value="N" <%=Order.get("ONBID_YN").equals("N") ? "checked=\"checked\"" : "" %>>오프라인</LABEL>
  463. </TD>
  464. <TH> 견적설명회 여부</TH>
  465. <TD><%= Order.get("SITEDESC_FLAG")%></TD>
  466. <TH> 견적설명회 일시</TH>
  467. <TD><%=Order.get("SITEDESCDATE")%></TD>
  468. </TR>
  469. <TR height="25">
  470. <TH> 견적설명회 담당자</TH>
  471. <TD><%= Order.get("SITEDESC_CRG_NM")%></TD>
  472. <TH> 견적설명회 담당자 </br>전화번호</TH>
  473. <TD><%= Order.get("SITEDESCTELNO") %></TD>
  474. <TH> 견적설명회 담당자 </br>E-Mail</TH>
  475. <TD><%= Order.get("SITEDESCEMAIL") %></TD>
  476. </TR>
  477. <TR height="25">
  478. <TH> 견적설명회 장소</TH>
  479. <TD><%=Order.get("SITEDESCPLACE") %></TD>
  480. <TH> 기술검토 여부/일자</TH>
  481. <TD><%=Order.get("TBE_FLAG").equals("Y") ? "예" : "아니오"%> <%if(!Order.get("TBE_DATE").isEmpty()){ %> / <%= Order.get("TBE_DATE") %><%} %></TD>
  482. <TH> 지급구분</TH>
  483. <TD ><%-- <%=Order.get("PAY_DIV") %> --%>
  484. <select name="pay_div_cd" id="pay_div_cd" style="width: 25;">
  485. <option value=""></option>
  486. <option value="1">납품정산</option>
  487. <option value="2">계획분할</option>
  488. </select>
  489. </TD>
  490. </TR>
  491. <TR height="25">
  492. <TH> 납품기간</TH>
  493. <TD><%=Order.get("DELI_START_DT") %> <%if(!Order.get("DELI_START_DT").isEmpty()){ %>~ <%= Order.get("DELI_END_DT") %><%} %></TD>
  494. <TH> 납품장소</TH>
  495. <TD colspan="3"><%= Order.get("DELI_END_PLACE") %></TD>
  496. </TR>
  497. <!-- 발주의뢰정보 : 종료 -->
  498. </table>
  499. &nbsp;&nbsp;
  500. <TABLE class="form-table">
  501. <colgroup>
  502. <col width="150"/>
  503. <col width="150"/>
  504. <col width="29%"/>
  505. <col width="150"/>
  506. <col/>
  507. </colgroup>
  508. <TR height="25">
  509. <TH> 특이사항 내부</TH>
  510. <TD colspan="2"><inner_remarks></inner_remarks></TD>
  511. <TH> 특이사항 외부</TH>
  512. <TD><outer_remarks></outer_remarks></TD>
  513. </TR>
  514. <TR height="100">
  515. <TH> 내부자료</TH>
  516. <TD colspan="2">
  517. <TEXTAREA name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get("DEMANDED_INNER") %></TEXTAREA>
  518. <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;'>
  519. </TD>
  520. <TH> 외부자료</TH>
  521. <TD>
  522. <TEXTAREA name="p_AttachFile2" id="p_AttachFile2" style="width:85%;height:80px" rows="1" class="input" readOnly><%=fileout.get("DEMANDED_OUTER") %></TEXTAREA>
  523. <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;'>
  524. </TD>
  525. </TR>
  526. </TABLE>
  527. <div class="application-info magT10">
  528. <div class="application-sub-title">
  529. <span class="title">발주의뢰 내역</span>
  530. </div>
  531. <div class="application-location">
  532. </div>
  533. </div>
  534. <div id="sheet2_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  535. <script>createIBSheet('sheet2','100%', '200px');</script>
  536. </div>
  537. <div class="application-info magT10">
  538. <div class="application-sub-title">
  539. <span class="title">견적대상업체</span>
  540. </div>
  541. <div class="application-location">
  542. </div>
  543. </div>
  544. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  545. <script>createIBSheet('sheet1','100%', '150px');</script>
  546. </div>
  547. </form>