OutEstmWritePurchaseView.jsp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.07.02
  4. - Description: 구매_견적서작성
  5. --%>
  6. <%@page import="monfox.toolkit.snmp.agent.modules.SnmpV2Mib.SysOREntry"%>
  7. <%@ page contentType="text/html; charset=utf-8" %>
  8. <%@ page import="java.text.SimpleDateFormat" %>
  9. <%@ page import="java.util.Date" %>
  10. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  11. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  12. <%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
  13. <%@ page import="kr.co.udapsoft.common.code.*" %>
  14. <%@ page import="kr.co.hsnc.common.util.*"%>
  15. <%@ page import="kr.co.hsnc.common.sql.*" %>
  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 file = storage.getValueObject(Order.get("FILE_GB"));
  25. %>
  26. <SCRIPT language="JavaScript">
  27. var sheet1 = new ibsheetObject();
  28. var sheet2 = new ibsheetObject();
  29. var pageLastRowIndex = 1;
  30. var validationResult = false;
  31. var filterShow = false;
  32. var must_msg = "(은)는 필수 입력 항목입니다.";
  33. function _onReady(){
  34. gridInit(sheet1);
  35. <%if(!"Y".equals(Order.get("DIV_PO_YN"))){ %>
  36. sheet1.SetSumValue(5,"합 계");
  37. <%}%>
  38. /**
  39. * Application Initialize
  40. */
  41. $("#btn_back").click(function() {
  42. $("#fevent").val("FORM_SELECT");
  43. $("#form1").attr("action", "/portal/bid/SuppBidResult.screen");
  44. $("#form1").attr("target", "_self");
  45. $("#form1").attr("method", "post");
  46. $("#form1").submit();
  47. });
  48. $("#btn_signdata").click(function() {
  49. if(makecheck()){
  50. fMakeItemInfo();
  51. }
  52. });
  53. $("#btnExcelDown").click(function(){
  54. <%if("Y".equals(Order.get("DIV_PO_YN"))){ %>
  55. var params = { FileName : "(<%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>)견적서.xls", SheetName : "(<%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>)견적서", SheetDesign:1 ,DownSum:false, DownCols:"MATERIAL_NAME|STD|UNIT_KIND|QTY|UNIT_COST"
  56. , TitleText : "<%=Order.get("BID_MASTER_NM")%> 견적서 \r\n| |*단가 항목만 수정하여 업로드 바랍니다."
  57. , UserMerge : "0,0,1,6 3,1,1,4"
  58. };
  59. <%}else{%>
  60. var params = { FileName : "(<%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>)견적서.xls", SheetName : "(<%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>)견적서", SheetDesign:1 ,DownSum:false, DownCols:"MATERIAL_NAME|STD|UNIT_KIND|QTY|UNIT_COST|ROW_SUM_AMT"
  61. , TitleText : "<%=Order.get("BID_MASTER_NM")%> 견적서 \r\n| |*단가 항목만 수정하여 업로드 바랍니다."
  62. , UserMerge : "0,0,1,6 1,2,1,4"
  63. };
  64. <%}%>
  65. sheet1.Down2Excel(params);
  66. });
  67. doSearchSheet();
  68. <%if(!"Y".equals(Order.get("CURRENCY_GB_YN"))){%>
  69. $("#CURRENCY_GB").attr("disabled",true);
  70. <%}%>
  71. <%if(!"Y".equals(Order.get("DELIVERY_CONDITION_YN"))){%>
  72. $("#DELIVERY_CONDITION").attr("disabled",true);
  73. <%}%>
  74. $("#sheet2_div").hide();
  75. }
  76. function doSearchSheet(){
  77. $("#fevent").val("GET_ITEM_LIST");
  78. var url = Modular.model.PageContext.CONTEXT_ROOT + "/portal/bid/OutEstmWriteView_sheet.screen";
  79. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  80. }
  81. function gridInit(sheetName){
  82. var init_sheet = {};
  83. init_sheet.Cfg = {SearchMode:2, Page:30};
  84. if(sheetName.id == "sheet1"){
  85. init_sheet.Cols = [
  86. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  87. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  88. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  89. {Header:'자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:100, Align:"Left", Hidden:"True"},
  90. {Header:'자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:140, Align:"Left"},
  91. {Header:'규격', Type:"Text", SaveName:"STD", Width:80, Align:"Left"},
  92. {Header:'단위', Type:"Text", SaveName:"UNIT_KIND", Width:50, Align:"Center"},
  93. {Header:'수량', Type:"Float", SaveName:"QTY", Width:50, Align:"Right"},
  94. {Header:'단가', Type:"Float", SaveName:"UNIT_COST", Width:80, Align:"Right", PointCount:<%=Order.get("PointCount")%>},
  95. <%if(!"Y".equals(Order.get("DIV_PO_YN"))){ %>
  96. {Header:'금액', Type:"AutoSum", SaveName:"ROW_SUM_AMT", Width:80, Align:"Right", CalcLogic:"|QTY|*|UNIT_COST|", PointCount:<%=Order.get("PointCount")%>}
  97. <%}%>
  98. ];
  99. }
  100. init_sheet.HeaderMode = {Sort:1};
  101. IBS_InitSheet(sheetName, init_sheet);
  102. sheetName.SetDataAutoTrim(0);
  103. sheetName.SetFocusEditMode(1);
  104. sheetName.SetEditEnterBehavior("down");
  105. sheetName.SetEditable(false);
  106. setGridSize();
  107. }
  108. /**
  109. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  110. */
  111. function sheet1_OnSearchEnd(code, message) {
  112. if(code == 0) {
  113. /**
  114. * 단가 계약일경우 모든 수량을 1로 변경
  115. **/
  116. <%if("Y".equals(Order.get("DIV_PO_YN"))){ %>
  117. var GrowCount = sheet1.LastRow();
  118. for(var i=0; i < GrowCount; i++)
  119. {
  120. sheet1.SetCellValue(i+1,"QTY",1);
  121. }
  122. <%}%>
  123. } else {
  124. //조회 에러 수행
  125. alert(message);
  126. }
  127. var GrowCount = sheet1.LastRow();
  128. var amt = sheet1.GetCellValue(GrowCount,"UNIT_COST");
  129. if(amt != ""){
  130. $("#TOT_AMT_CK").val(amt);
  131. var arrAmt = $("#TOT_AMT_CK").val().split(".");
  132. if(arrAmt.length > 1){
  133. $("#TOT_AMT").val(formatComma(amt,cost_point));
  134. }else{
  135. $("#TOT_AMT").val(amt);
  136. $("#TOT_AMT").val($("#TOT_AMT").val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  137. }
  138. }
  139. sheet1.FitColWidth();
  140. //크롬 문제
  141. if(sheet1.GetSheetWidth() > 450){
  142. sheet1.SetSheetWidth(450);
  143. sheet1.SetSheetWidth($("#sheettable").width());
  144. sheet1.FitColWidth();
  145. }
  146. autoResize();
  147. }
  148. /**
  149. * IBSheet Event: Click
  150. */
  151. function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  152. //alert("Row :" + Row + " Col : " +Col);
  153. }
  154. /**
  155. * IBSheet size setting
  156. */
  157. function setGridSize() {
  158. sheet1.FitColWidth();
  159. }
  160. function sheet1_OnChange(Row, Col, Value) {
  161. }
  162. function numberFormat(num) {
  163. var pattern = /(-?[0-9]+)([0-9]{3})/;
  164. while(pattern.test(num)) {
  165. num = num.replace(pattern,"$1,$2");
  166. }
  167. return num;
  168. }
  169. //첨부파일
  170. function doAttachFile(obj) {
  171. if(obj==''){
  172. alert("After you have saved, you can attach a file.");
  173. }else if(obj != ''){
  174. viewFileListNew("<%=Order.get("FILE_GB")%>", obj.value, document.form1.p_AttachFile, "N", "bid/outside/<%=Order.get("BID_NO")%>/<%=Order.get("VENDOR_CD")%>/");
  175. }
  176. }
  177. function doResult(resultObj) {
  178. }
  179. function sheet1_OnSmartResize(Width, Height) {
  180. sheet1.FitColWidth();
  181. autoResize();
  182. }
  183. function autoResize(){
  184. var setheight = $("#table_a").height() - $("#table_b").height() - 50;
  185. sheet1.SetSheetHeight(setheight);
  186. sheet1.SetSheetWidth($("#sheettable").width());
  187. }
  188. // radio 박스 체크
  189. function must_ck_radio(obj,name){
  190. var value = $(':radio[name='+obj+']:checked').val();
  191. if(value == undefined){
  192. alert("["+name+"] 항목에 견적포함여부 혹은 수용여부를 선택해주세요.");
  193. var id = $(':radio[name='+obj+']').attr("id");
  194. $("#"+id).focus();
  195. return true;
  196. }
  197. return false;
  198. }
  199. function AddZero(str){
  200. if((str+"").length==1){
  201. return "0"+str;
  202. }
  203. return str;
  204. }
  205. function sheet1_OnSaveEnd(code, msg)
  206. {
  207. var event = $("#fevent").val();
  208. }
  209. function isEmptyVal( value ) {
  210. if(value.length == 0){
  211. return true;
  212. }
  213. if( value == "" ) {
  214. return true;
  215. }
  216. return false;
  217. }
  218. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  219. </SCRIPT>
  220. <modular:search id="form1">
  221. <modular:key id="fevent" />
  222. </modular:search>
  223. <form id="form1" name="form1" method="post" modular:type="search">
  224. <INPUT type='hidden' name="fevent" id="fevent" value="">
  225. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  226. <INPUT type='hidden' name="DEMANDED_KIND" value="<%=Order.get("DEMANDED_KIND")%>">
  227. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  228. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  229. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  230. <INPUT type='hidden' name="VENDOR_CD" value="<%=user.get("CORP_ID")%>">
  231. <INPUT type='hidden' name="FILE_GB" value="<%=Order.get("FILE_GB")%>">
  232. <INPUT type='hidden' name="ATT_ID" value="<%=Order.get("ATT_ID")%>">
  233. <INPUT type='hidden' name="ESTI_SIGNDATA" value="">
  234. <INPUT type='hidden' name="sItemInfo" value="">
  235. <INPUT type='hidden' name="signeddata" value="">
  236. <table width="100%">
  237. <colgroup>
  238. <col width="*" />
  239. <col width="130" />
  240. </colgroup>
  241. <tr>
  242. <th>
  243. <div align="left" id="title" >
  244. <ul><li>제출견적보기</li></ul>
  245. </div>
  246. </th>
  247. <td align="right">
  248. <span class="btnSearch center" id="btn_back"><a href="javascript:void(0);">이전</a></span>
  249. </td>
  250. </tr>
  251. </table>
  252. <div class="application-info magT10" >
  253. <div class="application-sub-title">
  254. <span class="title">견적정보</span>
  255. </div>
  256. </div>
  257. <TABLE class="form-table" style="margin-top:3px">
  258. <colgroup>
  259. <col width="160">
  260. <col/>
  261. </colgroup>
  262. <TR height="25">
  263. <TH style="text-align:left">사업자번호</TH>
  264. <TD><%=StringUtils.getBizNo(user.get("CORP_REG_NO")) %></TD>
  265. </TR>
  266. <TR height="25">
  267. <TH style="text-align:left"> 업체명</TH>
  268. <TD><%=user.get("CORP_KOR")%></TD>
  269. </TR>
  270. <%if(!"Y".equals(Order.get("DIV_PO_YN"))){ %>
  271. <TR height="25">
  272. <TH style="text-align:left"> 견적합계금액</TH>
  273. <TD><%= Order.get("ESTI_TOT_AMT") %></TD>
  274. </TR>
  275. <%} %>
  276. <TR height="25">
  277. <TH style="text-align:left"> 견적제출기간</TH>
  278. <TD><%=Order.get("BID_FROM_DT")%> ~<%=Order.get("BID_TO_DT")%></TD>
  279. </TR>
  280. </table>
  281. <TABLE width="100%">
  282. <colgroup>
  283. <col width="50%">
  284. <col width="50%"/>
  285. </colgroup>
  286. <tr><td valign="top" rowspan="2" >
  287. <div class="application-info magT10" >
  288. <div class="application-sub-title">
  289. <span class="title">견적조건</span>
  290. </div>
  291. </div>
  292. <TABLE class="form-table" id="table_a" style="min-width:600px ">
  293. <colgroup>
  294. <col width="160">
  295. <col width="30%">
  296. <col/>
  297. </colgroup>
  298. <TR height="25">
  299. <TH style="text-align:left">견적통화</TH>
  300. <TD colspan="2"><%=Order.get("VIEW_CURRENCY_GB")%><%if("Y".equals(Order.get("CURRENCY_GB_YN"))){%>&nbsp;(견적의뢰 통화 : <%=Order.get("CURRENCY_GB_NM")%>) * 업체 변경가능<%} %></TD>
  301. </TR>
  302. <% if("Y".equals(Order.get("PBC_INSTALL_YN"))){ %>
  303. <TR height="25">
  304. <TH style="text-align:left">Installation</TH>
  305. <TD colspan="2">
  306. <%=Order.get("INSTALL_YN").equals("Y") ? "included" : "not included" %>
  307. </TD>
  308. </TR>
  309. <%} if("Y".equals(Order.get("PBC_COMMISS_YN"))){ %>
  310. <TR height="25">
  311. <TH style="text-align:left">Spare parts for<br>Commissioning</TH>
  312. <TD colspan="2"><%=Order.get("COMMISS_YN").equals("Y") ? "included" : "not included" %>
  313. </TD>
  314. </TR>
  315. <%} if("Y".equals(Order.get("PBC_SPETOOL_YN"))){ %>
  316. <TR height="25">
  317. <TH style="text-align:left">Special Tool</TH>
  318. <TD colspan="2"><%=Order.get("SPETOOL_YN").equals("Y") ? "included" : "not included" %>
  319. </TD>
  320. </TR>
  321. <%} if("Y".equals(Order.get("PBC_TEST_YN"))){ %>
  322. <TR height="25">
  323. <TH style="text-align:left">Test & Inspection at<br>Fabrication shop</TH>
  324. <TD colspan="2"><%=Order.get("SPETOOL_YN").equals("Y") ? "included" : "not included" %>
  325. </TD>
  326. </TR>
  327. <%} if("Y".equals(Order.get("PBC_DOC_YN"))){ %>
  328. <TR height="25">
  329. <TH style="text-align:left">Documentation</TH>
  330. <TD colspan="2"><%=Order.get("DOC_YN").equals("Y") ? "included" : "not included" %>
  331. </TD>
  332. </TR>
  333. <%} if("Y".equals(Order.get("PBC_PACK_YN"))){ %>
  334. <TR height="25">
  335. <TH style="text-align:left">Packing cost</TH>
  336. <TD colspan="2"><%=Order.get("PACK_YN").equals("Y") ? "included" : "not included" %>
  337. </TD>
  338. </TR>
  339. <%} if("Y".equals(Order.get("PBC_LANDTRAN_YN"))){ %>
  340. <TR height="25">
  341. <TH style="text-align:left">Inland Transportaion</TH>
  342. <TD colspan="2"><%=Order.get("LANDTRAN_YN").equals("Y") ? "included" : "not included" %>
  343. </TD>
  344. </TR>
  345. <%} if("Y".equals(Order.get("DELIVERY_CONDITION_YN"))){ %>
  346. <TR height="25">
  347. <TH style="text-align:left">Delivery Condition</TH>
  348. <TD colspan="2"><%=Order.get("DELIVERY_CONDITION")%>
  349. </TD>
  350. </TR>
  351. <%} if("Y".equals(Order.get("PBC_FEE_YN"))){ %>
  352. <TR height="25">
  353. <TH style="text-align:left">Supervision fee</TH>
  354. <TD colspan="2"><%=Order.get("FEE_NOTI")%>
  355. </TD>
  356. </TR>
  357. <%} if("Y".equals(Order.get("PBC_OPTION_YN"))){ %>
  358. <TR height="25">
  359. <TH style="text-align:left"><%=Order.get("PBC_OPTION_COMMENT")%></TH>
  360. <TD colspan="2"><%=Order.get("OPTION_NOTI")%>
  361. </TD>
  362. </TR>
  363. <%} %>
  364. <TR height="25">
  365. <TH style="text-align:left">Quotation No</TH>
  366. <TD colspan="2"><%=Order.get("QUOT_NO")%>
  367. </TD>
  368. </TR>
  369. <TR height="25">
  370. <TH style="text-align:left">Payment Condition</TH>
  371. <TD><%=Order.get("PAYCONDI_YN").equals("Y") ? "accept" : "not accept" %>
  372. <%if(!Order.get("CBC_FIRST_RATE").isEmpty()){%><br>선급금 : <%=Order.get("CBC_FIRST_RATE") %>%(계약금액 기준)<%} %>
  373. <%if(!Order.get("CPC_MID_RATE").isEmpty()){%><br>중도금 : <%=Order.get("CPC_MID_RATE") %>%(계약금액 기준)<%} %>
  374. <%if(!Order.get("PBC_REST_RATE").isEmpty()){%><br>잔 금 &nbsp;&nbsp;: <%=Order.get("PBC_REST_RATE") %>%(계약금액 기준)<%} %>
  375. </TD>
  376. <TD><TEXTAREA name="PAYCONDI_NOT_NOTI" id="PAYCONDI_NOT_NOTI" style="width:91%;height:50px" rows="1" class="input" readOnly><%=Order.get("PAYCONDI_NOT_NOTI") %></TEXTAREA></TD>
  377. </TR>
  378. <TR height="25">
  379. <TH style="text-align:left">Performance Bond</TH>
  380. <TD colspan="2"><%=Order.get("CONTFUL_RATE") %>%(계약금액 기준) <%=Order.get("CONTFUL_YN").equals("Y") ? "accept" : "not accept" %>
  381. <br/><TEXTAREA name="CONTFUL_NOT_NOTI" id="CONTFUL_NOT_NOTI" style="width:95%;height:30px" rows="1" class="input" readOnly><%=Order.get("CONTFUL_NOT_NOTI") %></TEXTAREA>
  382. </TD>
  383. </TR>
  384. <TR height="25">
  385. <TH style="text-align:left">First Payment Bond</TH>
  386. <TD colspan="2">
  387. <%=Order.get("PBC_FRSTGUAR_RATE") %>%(계약금액 기준) <%=Order.get("FRSTGUAR_YN").equals("Y") ? "accept" : "not accept" %>
  388. <br/><TEXTAREA name="FRSTGUAR_NOT_NOTI" id="FRSTGUAR_NOT_NOTI" style="width:95%;height:30px" rows="1" class="input" readOnly><%=Order.get("FRSTGUAR_NOT_NOTI") %></TEXTAREA>
  389. </TD>
  390. </TR>
  391. <TR height="25">
  392. <TH style="text-align:left">Guarantee Bond</TH>
  393. <TD colspan="2"><%=Order.get("WARR_RATE") %>%(계약금액 기준) <%=Order.get("WARR_YN").equals("Y") ? "accept" : "not accept" %>
  394. <br/><TEXTAREA name="WARR_NOT_NOTI" id="WARR_NOT_NOTI" style="width:95%;height:30px" rows="1" class="input" readOnly><%=Order.get("WARR_NOT_NOTI") %></TEXTAREA>
  395. </TD>
  396. </TR>
  397. <TR height="25">
  398. <TH style="text-align:left">Guarantee Period</TH>
  399. <TD colspan="2">설치완료일로부터 <%=Order.get("CBC_DEFECT_DAY") %><%=Order.get("CBC_DERECT_TERM_NM") %>간 <%=Order.get("DEFECT_YN").equals("Y") ? "accept" : "not accept" %>
  400. <br/><TEXTAREA name="DEFECT_NOT_NOTI" id="DEFECT_NOT_NOTI" style="width:95%;height:30px;" rows="1" class="input" readOnly><%=Order.get("DEFECT_NOT_NOTI") %></TEXTAREA>
  401. </TD>
  402. </TR>
  403. <TR height="50">
  404. <TH style="text-align:left">OTHERS TO BE<br>CONFIRMED</TH>
  405. <TD colspan="2">
  406. <TEXTAREA name="BID_CONDI_NOTI" id="BID_CONDI_NOTI" style="width:95%;height:30px" rows="1" class="input" readOnly><%=Order.get("BID_CONDI_NOTI") %></TEXTAREA>
  407. </TD>
  408. </TR>
  409. </TABLE>
  410. </TD>
  411. <TD style="padding-left:5px;" valign="top">
  412. <table id=sheettable style="width:100%;height:25px;margin-top:-4px;">
  413. <colgroup>
  414. <col width="*" />
  415. <col width="200" />
  416. </colgroup>
  417. <tr heigth="25">
  418. <th>
  419. <div class="application-info magT10">
  420. <div class="application-sub-title">
  421. <span class="title">견적내역(부가세별도)</span>
  422. </div>
  423. </div>
  424. </th>
  425. <td align="right">
  426. <span class="btnSearch center" id="btnExcelDown"><a href="javascript:void(0);">Excel Down</a></span>
  427. </td>
  428. </tr>
  429. </table>
  430. <div id="sheet1_div" style="height: auto; min-height:100px;width:100%; overflow: auto;height:100%">
  431. <script>createIBSheet('sheet1','100%', '450px');</script>
  432. </div>
  433. </TD>
  434. </TR>
  435. <TR><TD style="padding-left:5px;" valign="bottom" width="*">
  436. <div class="application-info magT10" >
  437. <div class="application-sub-title">
  438. <span class="title">첨부파일</span>
  439. </div>
  440. </div>
  441. <TABLE class="form-table" id="table_b">
  442. <colgroup>
  443. <col width="160">
  444. <col/>
  445. </colgroup>
  446. <TR height="100">
  447. <TH style="text-align:left"> 첨부파일</TD>
  448. <TD>
  449. <TEXTAREA name="p_AttachFile" id="p_AttachFile" style="width:85%;height:80px" rows="1" class="input" readOnly><%=file.get(Order.get("FILE_GB")) %></TEXTAREA>
  450. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  451. </TD>
  452. </TR>
  453. </TABLE>
  454. </TD>
  455. </TR>
  456. </TABLE>
  457. </form>
  458. </div>