SiteExplanIng.jsp 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263
  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="kr.co.hsnc.common.util.*"%>
  11. <%@ page import="kr.co.hsnc.common.sql.*" %>
  12. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  13. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  14. <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
  15. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  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. //공통코드
  27. CommCodeManager commCodeManager = new CommCodeManager();
  28. InitCombo initCombo = new InitCombo();
  29. initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_SUPP_SITEPARTI"), "NAME", "CODE");
  30. String BID_SUPP_SITEPARTI_CD = initCombo.getCode();
  31. String BID_SUPP_SITEPARTI_NM = initCombo.getCodeName();
  32. InitCombo initCombo2 = new InitCombo();
  33. initCombo2.makeComboData(commCodeManager.getCodeRowSet("BID_SUPP_SITEPARTI","CHG_CODE01","1"), "DETAILNM", "DETAILCD");
  34. String BID_SUPP_SITEPARTI_CD2 = initCombo2.getCode();
  35. String BID_SUPP_SITEPARTI_NM2 = initCombo2.getCodeName();
  36. %>
  37. <SCRIPT language="JavaScript">
  38. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  39. /*예약함수*/
  40. var sheet1 = new ibsheetObject();
  41. var sheet2 = new ibsheetObject();
  42. var sheet3 = new ibsheetObject();
  43. var pageLastRowIndex = 1;
  44. var validationResult = false;
  45. var filterShow = false;
  46. var btn_act = "";
  47. var must_msg = "(은)는 필수 입력 항목입니다.";
  48. function _onReady(){
  49. /**
  50. * IBSheet object initialize
  51. */
  52. gridInit(sheet1);
  53. gridInit(sheet2);
  54. gridInit(sheet3);
  55. /**
  56. * Application Initialize
  57. */
  58. $("#btn_list").click(function() {
  59. jQuery("#fevent").val("");
  60. jQuery("#form1").attr("action", "/bid/purchase/BidIngList.screen");
  61. jQuery("#form1").attr("target", "_self");
  62. jQuery("#form1").attr("method", "post");
  63. jQuery("#form1").submit();
  64. });
  65. // 저장
  66. $("#btn_Save").click(function() {
  67. if(must_ck("0")){
  68. var f = document.form1;
  69. btn_act = "to_save";
  70. $("#fevent").val("UPDATE");
  71. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
  72. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  73. }
  74. });
  75. //견적설명 완료
  76. $("#btn_completion").click(function() {
  77. if(must_ck("1")){
  78. if (confirm("견적설명 완료처리를 하시겠습니까?\n견적설명 완료처리를 하시면 참여한 업체를 대상으로 견적의뢰를 하게 됩니다.")){
  79. var f = document.form1;
  80. btn_act = "to_completion";
  81. $("#fevent").val("COMPLETION");
  82. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
  83. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  84. }
  85. }
  86. });
  87. $("#sitedesc_flag_1").click(function() {
  88. $("#SITEDESCCHRGPRSNID").attr("disabled",false);
  89. $("#SITEDESCTELNO").attr("disabled",false);
  90. $("#SITEDESCDATE").attr("disabled",false);
  91. $("#SITEDESCDATE_HH").attr("disabled",false);
  92. $("#SITEDESCDATE_MI").attr("disabled",false);
  93. $("#SITEDESCEMAIL").attr("disabled",false);
  94. $("#SITEDESCPLACE").attr("disabled",false);
  95. $("#btn_sitedescchrgprsnid").show();
  96. $("#calendar_sitedescdate").show();
  97. });
  98. $("#sitedesc_flag_2").click(function() {
  99. $("#SITEDESCCHRGPRSNID").attr("disabled",true);
  100. $("#SITEDESCCHRGPRSNID").val("");
  101. $("#SITEDESCTELNO").attr("disabled",true);
  102. $("#SITEDESCTELNO").val("");
  103. $("#SITEDESCDATE").attr("disabled",true);
  104. $("#SITEDESCDATE").val("");
  105. $("#SITEDESCDATE_HH").attr("disabled",true);
  106. $("#SITEDESCDATE_HH").val("");
  107. $("#SITEDESCDATE_MI").attr("disabled",true);
  108. $("#SITEDESCDATE_MI").val("");
  109. $("#SITEDESCEMAIL").attr("disabled",true);
  110. $("#SITEDESCEMAIL").val("");
  111. $("#SITEDESCPLACE").attr("disabled",true);
  112. $("#SITEDESCPLACE").val("");
  113. $("#btn_sitedescchrgprsnid").hide();
  114. $("#calendar_sitedescdate").hide();
  115. });
  116. $("#sort_gb_3").click(function() {
  117. $("#TBE_DATE").attr("disabled",false);
  118. $("#SUPP_REQ_DY").attr("disabled",false);
  119. $("#EVAL_EMPNM").attr("disabled",false);
  120. $("#btnevalemp").show();
  121. $("#calender_supp_req").show();
  122. });
  123. $("#sort_gb_4").click(function() {
  124. $("#TBE_DATE").attr("disabled",true);
  125. $("#TBE_DATE").val("");
  126. $("#SUPP_REQ_DY").attr("disabled",true);
  127. $("#SUPP_REQ_DY").val("");
  128. $("#EVAL_EMPNM").attr("disabled",true);
  129. $("#EVAL_EMPNM").val("");
  130. $("#EVAL_EMPID").attr("disabled",true);
  131. $("#EVAL_EMPID").val("");
  132. $("#btnevalemp").hide();
  133. $("#calender_supp_req").hide();
  134. });
  135. //보고자 조회
  136. doSearchSheet3();
  137. //라디오 박스 체크 여부 // N 일경우 비활성화
  138. if($("#sitedesc_flag_2").attr("checked") == "checked")
  139. $("#sitedesc_flag_2").click();
  140. if($("#sort_gb_4").attr("checked") == "checked")
  141. $("#sort_gb_4").click();
  142. //업체공지일자 변경
  143. $("#NOTI_DY").change(function() {
  144. if($("#BID_FROM_DT").val().length> 0){
  145. if($("#NOTI_DY").val()> $("#BID_FROM_DT").val()){
  146. alert("업체공지일자는 견적제출일이전이어야 합니다.\n- 견적제출일:"+$("#BID_FROM_DT").val());
  147. $("#NOTI_DY").val("");
  148. return;
  149. }
  150. }
  151. if($("#SITEDESCDATE").val().length> 0){
  152. if($("#NOTI_DY").val()> $("#SITEDESCDATE").val()){
  153. alert("업체공지일자는 견적설명일 이전이어야 합니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  154. $("#NOTI_DY").val("");
  155. return;
  156. }
  157. }
  158. });
  159. //견적제출기간 변경
  160. $("#BID_FROM_DT").change(function() {
  161. if($("#SITEDESCDATE").val().length> 0){
  162. if($("#BID_FROM_DT").val() < $("#SITEDESCDATE").val()){
  163. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  164. $("#BID_FROM_DT").val("");
  165. return;
  166. }
  167. }
  168. if($("#NOTI_DY").val().length> 0){
  169. if($("#BID_FROM_DT").val() < $("#NOTI_DY").val()){
  170. alert("견적제출기간은 업체공지일 이전 일 수 없습니다.\n- 업체공지일:"+$("#NOTI_DY").val());
  171. $("#BID_FROM_DT").val("");
  172. return;
  173. }
  174. }
  175. if($("#BID_TO_DT").val().length> 0){
  176. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  177. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  178. $("#BID_FROM_DT").val("");
  179. return;
  180. }
  181. }
  182. });
  183. //견적제출기간 변경
  184. $("#BID_TO_DT").change(function() {
  185. if($("#BID_FROM_DT").val().length> 0){
  186. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  187. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  188. $("#BID_TO_DT").val("");
  189. return;
  190. }
  191. }
  192. if($("#SITEDESCDATE").val().length> 0){
  193. if($("#BID_TO_DT").val() < $("#SITEDESCDATE").val()){
  194. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  195. $("#BID_TO_DT").val("");
  196. return;
  197. }
  198. }
  199. });
  200. //견적제출기간 변경
  201. $("#DELI_START_DT").change(function() {
  202. if($("#DELI_END_DT").val().length> 0){
  203. if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
  204. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  205. $("#DELI_START_DT").val("");
  206. return;
  207. }
  208. }
  209. });
  210. //견적제출기간 변경
  211. $("#DELI_END_DT").change(function() {
  212. if($("#DELI_START_DT").val().length> 0){
  213. if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
  214. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  215. $("#DELI_END_DT").val("");
  216. return;
  217. }
  218. }
  219. });
  220. jQuery("#btn_row_del").click(function() {
  221. if(confirm("선택된 견적대상업체를 삭제 하시겠습니까?")){
  222. var rowcnt = sheet1.RowCount();
  223. if(rowcnt> 0){
  224. for(var r=0; r < rowcnt; r++)
  225. {
  226. if(sheet1.GetCellValue(r+1,"DEL_CHECK") == true){
  227. sheet1.SetCellValue(r+1,"STATUS","D");
  228. }
  229. }
  230. }
  231. jQuery("#fevent").val("SET_CORP_DELETE");
  232. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
  233. var result = Modular.view.IBSheet7.doSave(sheet1, url, jQuery("#form1"), false);
  234. }
  235. });
  236. $("#corp_add").click(function(){
  237. var win_id = "corp";
  238. var outitem = "<%=Order.get("OUT_ITEM_CD")%>";
  239. var link = "/common/corp/SuppChoicePop.screen";
  240. link += "?pop_win_id="+win_id+"&BID_KIND=P&OUT_ITEM_CD="+outitem;
  241. link += "&MATERIAL_GB="+$("#MATERIAL_GB").val();
  242. fLayerPop(win_id, link, 800,400, '','', 'NO');
  243. });
  244. $.test = function(resultVal)
  245. {
  246. for(var i=0; i < resultVal[0].length; i++)
  247. {
  248. var rowcnt = sheet1.RowCount();
  249. if(rowcnt> 0){
  250. for(var r=0; r < rowcnt; r++)
  251. {
  252. var vendor_no = sheet1.GetCellValue(r+1,"VENDOR_NO");
  253. if(vendor_no == resultVal[1][i]){
  254. alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
  255. return;
  256. }
  257. var vendor_nm = sheet1.GetCellValue(r+1,"VENDOR_NAME");
  258. if(vendor_nm == resultVal[2][i]){
  259. alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
  260. return;
  261. }
  262. }
  263. }
  264. //sheetObj.DataAutoTrim = false;
  265. var row = sheet1.DataInsert(-1);
  266. sheet1.SetCellValue(row,3,"구매팀");
  267. sheet1.SetCellValue(row,4,resultVal[1][i]);//corp_reg_no
  268. sheet1.SetCellValue(row,5,resultVal[2][i]);//corp_kor
  269. sheet1.SetCellValue(row,6,resultVal[3][i]);//rep_name
  270. sheet1.SetCellValue(row,7,resultVal[4][i]);//user_name
  271. sheet1.SetCellValue(row,9,resultVal[6][i]);//h_phon
  272. sheet1.SetCellValue(row,10,resultVal[7][i]);//email
  273. sheet1.SetCellValue(row,12,'');
  274. sheet1.SetCellValue(row,13,'');
  275. sheet1.SetCellValue(row,15,resultVal[0][i]);//corp_id
  276. sheet1.SetCellValue(row,14,"1720");
  277. }
  278. sheet1.FitColWidth();
  279. setTimeout(function(){ fLayerPopClose('corp');},100);
  280. };
  281. $("#CURRENCY_GB_YN").click(function() {if($(':checkbox[name="CURRENCY_GB_YN"]:checked').val() != "Y")$("#CURRENCY_GB_YN").val("N"); });
  282. $("#PBC_INSTALL_YN").click(function() {if($(':checkbox[name="PBC_INSTALL_YN"]:checked').val() != "Y")$("#PBC_INSTALL_YN").val("N"); });
  283. $("#PBC_COMMISS_YN").click(function() {if($(':checkbox[name="PBC_COMMISS_YN"]:checked').val() != "Y")$("#PBC_COMMISS_YN").val("N"); });
  284. $("#PBC_SPETOOL_YN").click(function() {if($(':checkbox[name="PBC_SPETOOL_YN"]:checked').val() != "Y")$("#PBC_SPETOOL_YN").val("N"); });
  285. $("#PBC_TEST_YN").click(function() {if($(':checkbox[name="PBC_TEST_YN"]:checked').val() != "Y")$("#PBC_TEST_YN").val("N"); });
  286. $("#PBC_DOC_YN").click(function() {if($(':checkbox[name="PBC_DOC_YN"]:checked').val() != "Y")$("#PBC_DOC_YN").val("N"); });
  287. $("#PBC_PACK_YN").click(function() {if($(':checkbox[name="PBC_PACK_YN"]:checked').val() != "Y")$("#PBC_PACK_YN").val("N"); });
  288. $("#PBC_LANDTRAN_YN").click(function() {if($(':checkbox[name="PBC_LANDTRAN_YN"]:checked').val() != "Y")$("#PBC_LANDTRAN_YN").val("N"); });
  289. $("#DELIVERY_CONDITION_YN").click(function() {if($(':checkbox[name="DELIVERY_CONDITION_YN"]:checked').val() != "Y")$("#DELIVERY_CONDITION_YN").val("N"); });
  290. $("#PBC_FEE_YN").click(function() {if($(':checkbox[name="PBC_FEE_YN"]:checked').val() != "Y")$("#PBC_FEE_YN").val("N"); });
  291. $("#PBC_OPTION_YN").click(function() {if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() != "Y")$("#PBC_OPTION_YN").val("N"); });
  292. /* 단가계약여부 예일경우 */
  293. if($("#div_po_flag_1").attr("checked") == "checked")
  294. $("#CURRENCY_GB_YN").attr("checked", false);
  295. if("Y" == "<%=Order.get("DIV_PO_YN")%>"){
  296. $("#CURRENCY_GB_YN").attr("checked", false);
  297. $("#CURRENCY_GB_YN").attr("disabled", true);
  298. }
  299. if($("#CMPT_CD").val() == "01"){
  300. $("#corp_add").hide();
  301. $("#btn_row_del").hide();
  302. }
  303. if("<%=Order.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Order.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Order.get("CBC_DERECT_TERM_CD2")%>"!=""){
  304. $("#addGuar").attr("checked", true);
  305. $(".checkAdd").show();
  306. }
  307. $("#addGuar").click(function(){
  308. var chk = $("#addGuar").is(":checked");
  309. if(chk){
  310. $(".checkAdd").show();
  311. }else{
  312. $(".checkAdd").hide();
  313. $("#PBC_DEFECT_CONDI2").val("");
  314. $("#CBC_DEFECT_DAY2").val("");
  315. $("#CBC_DERECT_TERM_CD2").val("");
  316. }
  317. });
  318. $("#report_emp_add").click(function(){
  319. SearchUser('REPORT_EMP','REPORT_EMP','N');
  320. });
  321. $("#report_emp_del").click(function() {
  322. if(confirm("삭제 하시겠습니까?")){
  323. $("#fevent").val("SET_REPORT_EMP_DELETE");
  324. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
  325. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  326. }
  327. });
  328. }
  329. function doSearchSheet(){
  330. $("#fevent").val("GET_CORP_LIST");
  331. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
  332. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  333. }
  334. function doSearchSheetitem(){
  335. $("#fevent").val("GET_ITEM_LIST");
  336. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/SiteExplanIng_sheet.screen";
  337. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
  338. }
  339. function doSearchSheet3(){
  340. $("#fevent").val("GET_REPORT_EMP_LIST");
  341. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
  342. Modular.view.IBSheet7.doSearch(sheet3, url, jQuery("#form1"), 30, "");
  343. }
  344. function doSaveSheet3(){
  345. $("#fevent").val("REPORT_EMP_UPDATE");
  346. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidPlan_sheet.screen";
  347. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  348. }
  349. function SearchUser(NAME,CODE,DEPT_YN){
  350. var GB = "";
  351. if(CODE == "PUREMPNO"){
  352. CODE = "";
  353. NAME = "";
  354. GB = "PUREMP";
  355. }else if(CODE == "REPORT_EMP"){
  356. CODE = "";
  357. NAME = "";
  358. GB = "REPORT_EMP";
  359. }
  360. var win_id = "_searchUserPopup";
  361. var link = "/lib/dlgSearchUserPop.screen";
  362. link += "?pop_win_id="+win_id;
  363. link += "&NAME="+NAME;
  364. link += "&CODE="+CODE;
  365. link += "&GB="+GB;
  366. if(DEPT_YN == "Y")
  367. link += "&deptNameYn=purchase";
  368. fLayerPop(win_id, link, 700,400, '', '', 'NO');
  369. }
  370. function SearchUserClose(result){
  371. if(result[10] == "PUREMP"){
  372. $("#PUREMPNO").val(result[9])//ACCT_ID
  373. $("#PUREMPNM").val(result[1])//이름
  374. $("#PO_EMPNM").val(result[6])//연락처
  375. }else if(result[10] == "REPORT_EMP"){
  376. var rowcnt = sheet3.RowCount();
  377. if(rowcnt> 0){
  378. for(var r=0; r < rowcnt; r++)
  379. {
  380. var acct_id = sheet3.GetCellValue(r+1,"ACCT_ID");
  381. if(acct_id == result[9]){
  382. alert(result[1]+" " +result[5]+ "님은 이미 등록된 보고자 입니다.");
  383. return;
  384. }
  385. }
  386. }
  387. //sheetObj.DataAutoTrim = false;
  388. var row = sheet3.DataInsert(-1);
  389. sheet3.SetCellValue(row,"ACCT_ID",result[9]);
  390. sheet3.SetCellValue(row,"USER_NAME",result[1]);
  391. sheet3.SetCellValue(row,"BUSEO_NAME",result[3]);
  392. sheet3.SetCellValue(row,"GRADE_NAME",result[5]);
  393. }
  394. setTimeout(function(){ fLayerPopClose('_searchUserPopup');},100);
  395. }
  396. /**
  397. * IBSheet object initialize
  398. */
  399. function gridInit(sheetName){
  400. var init_sheet = {};
  401. if(sheetName.id == "sheet1"){
  402. init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly};
  403. init_sheet.Cols = [
  404. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
  405. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  406. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  407. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_NM", Width:100, Align:"Center", Edit:false},
  408. {Header:'사업자번호', Type:"Text", SaveName:"VENDOR_NO", Width:100, Align:"Center", Edit:false,Format:"SaupNo"},
  409. {Header:'업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:100, Align:"Left", Edit:false},
  410. {Header:'대표자명', Type:"Text", SaveName:"REPRE_NO", Width:100, Align:"Center", Edit:false},
  411. {Header:'담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:100, Align:"Center", Edit:false},
  412. {Header:'전화번호', Type:"Text", SaveName:"CORP_TEL", Width:100, Align:"Center"},
  413. {Header:'핸드폰', Type:"Text", SaveName:"CHAGE_HP", Width:100, Align:"Center", Edit:false},
  414. {Header:'이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:130, Align:"Left", Edit:false},
  415. {Header:'추천사유', Type:"Text", SaveName:"RECOMMEND_REASON", Width:180, Align:"Left", Edit:false},
  416. {Header:'참석의사', Type:"Combo", SaveName:"SITE_ATTEND_YN", Width:80, Align:"Center", ComboText:"<%=BID_SUPP_SITEPARTI_NM%>", ComboCode:"<%=BID_SUPP_SITEPARTI_CD%>", Edit:false},
  417. {Header:'참석여부', Type:"Combo", SaveName:"SITEPARTI_YN", Width:80, Align:"Center", ComboText:"<%=BID_SUPP_SITEPARTI_NM2%>", ComboCode:"<%=BID_SUPP_SITEPARTI_CD2%>"},
  418. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_ID", Width:0, Align:"Center", Hidden:"True"},
  419. {Header:'고객사코드', Type:"Text", SaveName:"VENDOR_CD", Width:0, Align:"Center", Hidden:"True"},
  420. {Header:'불참사유', Type:"Text", SaveName:"SITE_ATTEND_REASON", Width:0, Align:"Center", Hidden:"True"}
  421. ];
  422. }else if(sheetName.id == "sheet2"){
  423. init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly};
  424. init_sheet.Cols = [
  425. {Header:'Del', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  426. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  427. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  428. {Header:'자재코드|자재코드', Type:"Text", SaveName:"MATERIAL_CD", Width:80, Align:"Center"},
  429. {Header:'자재명|자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:120, Align:"Left"},
  430. {Header:'규격|규격', Type:"Text", SaveName:"STD", Width:60, Align:"Left"},
  431. {Header:'단위|단위', Type:"Text", SaveName:"UNIT_KIND", Width:40, Align:"Center"},
  432. {Header:'도급|단가', Type:"Int", SaveName:"CONT_UNIT_AMT", Width:60, Align:"Right"},
  433. {Header:'도급|금액', Type:"Int", SaveName:"CONT_AMT", Width:60, Align:"Right", CalcLogic:"|CONT_UNIT_AMT|*|DEMANDED_QTY|"},
  434. {Header:'실행|단가', Type:"Int", SaveName:"ACT_UNIT_AMT", Width:60, Align:"Right"},
  435. {Header:'실행|금액', Type:"Int", SaveName:"ACT_AMT", Width:60, Align:"Right", CalcLogic:"|ACT_UNIT_AMT|*|DEMANDED_QTY|"},
  436. {Header:'견적의뢰수량|견적의뢰수량', Type:"Float", SaveName:"DEMANDED_QTY", Width:40, Align:"Right"},
  437. {Header:'투입요청일|투입요청일', Type:"Text", SaveName:"REQUEST_DATE", Width:40, Align:"Center", Format:"####-##-##"}
  438. ];
  439. sheetName.SetEditable(false);
  440. }else{
  441. init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly,SizeMode:1};
  442. init_sheet.Cols = [
  443. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
  444. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  445. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  446. {Header:'계정ID', Type:"Text", SaveName:"ACCT_ID", Width:0, Align:"Center", Hidden:"True"},
  447. {Header:'이름', Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center", Edit:false},
  448. {Header:'부서명', Type:"Text", SaveName:"BUSEO_NAME", Width:150, Align:"Left", Edit:false},
  449. {Header:'직위명', Type:"Text", SaveName:"GRADE_NAME", Width:100, Align:"Center", Edit:false}
  450. ];
  451. }
  452. init_sheet.HeaderMode = {Sort:1};
  453. IBS_InitSheet(sheetName, init_sheet);
  454. sheetName.SetDataAutoTrim(0);
  455. setGridSize();
  456. }
  457. function sheet1_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  458. var Sn = sheet1.GetCellProperty(Row, Col, "SaveName");
  459. if(Sn == "SITE_ATTEND_YN"){
  460. if(sheet1.GetCellValue(Row,"SITE_ATTEND_YN") == "불참" ||sheet1.GetCellValue(Row,"SITE_ATTEND_YN") == "N"){
  461. var win_id = "_SitePop";
  462. var link = "/bid/purchase/BidSitePop.screen";
  463. link += "?pop_win_id="+win_id;
  464. link += "&VENDOR_CD="+sheet1.GetCellValue(Row,"VENDOR_CD");
  465. link += "&BID_NO="+$("#BID_NO").val();
  466. link += "&BID_DEG="+$("#BID_DEG").val();
  467. fLayerPop(win_id, link, 600,110, '', '', 'NO');
  468. }
  469. }
  470. }
  471. /**
  472. * IBSheet Event: Click
  473. */
  474. function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  475. }
  476. /**
  477. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  478. */
  479. function sheet1_OnSearchEnd(code, message) {
  480. var fevent = $("#fevent").val();
  481. if(code == 0) {
  482. setGridSize();
  483. if(fevent == "GET_CORP_LIST")
  484. doSearchSheetitem();
  485. } else {
  486. //조회 에러 수행
  487. alert(message);
  488. }
  489. }
  490. /**
  491. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  492. */
  493. function sheet2_OnSearchEnd(code, message) {
  494. if(code == 0) {
  495. sheet2.FitColWidth();
  496. } else {
  497. //조회 에러 수행
  498. alert(message);
  499. }
  500. }
  501. /**
  502. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  503. */
  504. function sheet3_OnSearchEnd(code, message) {
  505. if(code == 0) {
  506. //sheet3.FitColWidth();
  507. //견적대상 업체 조회
  508. doSearchSheet();
  509. } else {
  510. //조회 에러 수행
  511. alert(message);
  512. }
  513. }
  514. /**
  515. * IBSheet size setting
  516. */
  517. function setGridSize() {
  518. sheet1.FitColWidth();
  519. sheet2.FitColWidth();
  520. }
  521. function cmpt_must_ck(){
  522. var rowcnt = sheet1.RowCount();
  523. if($("#CMPT_CD").val() == "03"){//수의계약
  524. if(rowcnt != 1){
  525. alert("견적 대상 업체가 1개 이어야 합니다.");
  526. $("#sheet1_div").focus();
  527. return true;
  528. }
  529. }else if($("#CMPT_CD").val() == "01" || $("#CMPT_CD").val() == "02"){//지명경쟁 공개경쟁
  530. if(rowcnt < 2){
  531. alert("견적 대상 업체가 2개 이상 있어야 합니다.");
  532. $("#sheet1_div").focus();
  533. return true;
  534. }
  535. }
  536. return false;
  537. }
  538. function must_ck(code){
  539. if(must_ck_val("BID_FROM_DT",""))return false;
  540. if(time_ck("BID_FROM_HH","HH"))return false;
  541. if(time_ck("BID_FROM_MI","MI"))return false;
  542. if(must_ck_val("BID_TO_DT",""))return false;
  543. if(time_ck("BID_TO_HH","HH"))return false;
  544. if(time_ck("BID_TO_MI","MI"))return false;
  545. if(jQuery("#BID_FROM_DT").val() == jQuery("#BID_TO_DT").val()){
  546. var fromitme = jQuery("#BID_FROM_HH").val()+jQuery("#BID_FROM_MI").val();
  547. var toitme = jQuery("#BID_TO_HH").val()+jQuery("#BID_TO_MI").val();
  548. if(toitme <= fromitme){
  549. alert("견적제출기간 시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  550. jQuery("#BID_FROM_HH").focus();
  551. return false;
  552. }
  553. }
  554. if(must_ck_val("PUREMPNM",""))return false;
  555. if(must_ck_val("PO_EMPNM",""))return false;
  556. if(must_ck_val("OPEN_EMPNM",""))return false;
  557. if(report_emp_must_ck())return false;
  558. if(must_ck_radio("TBE_FLAG","TBE여부"))return false;
  559. if($(':radio[name="TBE_FLAG"]:checked').val() == "Y"){
  560. if(must_ck_val("SUPP_REQ_DY",""))return false;
  561. if(must_ck_val("EVAL_EMPNM",""))return false;
  562. }
  563. if($("#CURRENCY_GB").val()==""){
  564. alert("통화구분은 필수입니다.");
  565. $("#CURRENCY_GB").focus();
  566. return false;
  567. }
  568. if($(':radio[name="PBC_CBE_TYPE_CD"]:checked').val() == undefined){
  569. alert("CBE문서TYPE은 필수입니다.");
  570. $("#PBC_CBE_TYPE_CD").focus();
  571. return false;
  572. }
  573. if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() == "Y"){
  574. if($("#PBC_OPTION_COMMENT").val() == ""){
  575. alert("업체 견적내용 반영일 경우 내용을 입력하셔야 합니다.");
  576. $("#PBC_OPTION_COMMENT").focus();
  577. return false;
  578. }
  579. }
  580. if(code == "1"){
  581. var rowcnt = sheet1.RowCount();
  582. for(var r=0; r < rowcnt; r++)
  583. {
  584. if(sheet1.GetCellValue(r+1,"SITEPARTI_YN") == ""){
  585. alert(sheet1.GetCellValue(r+1,"VENDOR_NAME") + " 참석여부는 필수 입니다.");
  586. return false;
  587. }
  588. }
  589. }
  590. if($(':checkbox[name="CURRENCY_GB_YN"]:checked').val() != "Y")$("#CURRENCY_GB_YN").val("N");
  591. if($(':checkbox[name="PBC_INSTALL_YN"]:checked').val() != "Y")$("#PBC_INSTALL_YN").val("N");
  592. if($(':checkbox[name="PBC_COMMISS_YN"]:checked').val() != "Y")$("#PBC_COMMISS_YN").val("N");
  593. if($(':checkbox[name="PBC_SPETOOL_YN"]:checked').val() != "Y")$("#PBC_SPETOOL_YN").val("N");
  594. if($(':checkbox[name="PBC_TEST_YN"]:checked').val() != "Y")$("#PBC_TEST_YN").val("N");
  595. if($(':checkbox[name="PBC_DOC_YN"]:checked').val() != "Y")$("#PBC_DOC_YN").val("N");
  596. if($(':checkbox[name="PBC_PACK_YN"]:checked').val() != "Y")$("#PBC_PACK_YN").val("N");
  597. if($(':checkbox[name="PBC_LANDTRAN_YN"]:checked').val() != "Y")$("#PBC_LANDTRAN_YN").val("N");
  598. if($(':checkbox[name="DELIVERY_CONDITION_YN"]:checked').val() != "Y")$("#DELIVERY_CONDITION_YN").val("N");
  599. if($(':checkbox[name="PBC_FEE_YN"]:checked').val() != "Y")$("#PBC_FEE_YN").val("N");
  600. if($(':checkbox[name="PBC_OPTION_YN"]:checked').val() != "Y")$("#PBC_OPTION_YN").val("N");
  601. return true;
  602. }
  603. // value 값 체크
  604. function must_ck_val(obj,desc){
  605. if($("#"+obj).val().length == 0){
  606. if(desc.length> 0){
  607. alert(desc+must_msg);
  608. }else{
  609. alert($("#"+obj).attr("desc")+must_msg);
  610. }
  611. $("#"+obj).focus();
  612. return true;
  613. }
  614. return false;
  615. }
  616. // radio 박스 체크
  617. function must_ck_radio(obj,name){
  618. var value = $(':radio[name='+obj+']:checked').val();
  619. if(value == undefined){
  620. alert(name+must_msg);
  621. $("#"+obj).focus();
  622. return true;
  623. }
  624. return false;
  625. }
  626. function time_ck(obj,type){
  627. if(must_ck_val(obj,""))return true;
  628. if(!isNumber($("#"+obj).val())){
  629. alert("숫자만 입력 가능합니다.");
  630. $("#"+obj).focus();
  631. return true;
  632. }else{
  633. var time = Number($("#"+obj).val());
  634. if(type == "HH"){
  635. if(time < -1 || time>= 24){
  636. alert("0~23 까지 입력 가능합니다.");
  637. $("#"+obj).focus();
  638. return true;
  639. }
  640. }else if(type == "MI"){
  641. if(time < -1 || time> 59){
  642. alert("0~59 까지 입력 가능합니다.");
  643. $("#"+obj).focus();
  644. return true;
  645. }
  646. }
  647. }
  648. if($("#"+obj).val().length == 1){
  649. var timelength = $("#"+obj).val();
  650. $("#"+obj).val("0"+timelength);
  651. }
  652. return false;
  653. }
  654. //보고자 체크
  655. function report_emp_must_ck(){
  656. var rowcnt = sheet3.RowCount();
  657. if(rowcnt < 1){
  658. alert("보고자는 필수입니다.");
  659. $("#sheet3_div").focus();
  660. return true;
  661. }
  662. return false;
  663. }
  664. //첨부파일
  665. function doAttachFile(obj,No) {
  666. if(obj==''){
  667. alert("After you have saved, you can attach a file.");
  668. }
  669. else if(obj != ''){
  670. if(No == 1){
  671. //viewFileList("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", "N", "Y", "N");
  672. viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "Y", "BD-001");
  673. }else{
  674. //viewFileList("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", "N", "Y", "N");
  675. viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "Y", "BD-001");
  676. }
  677. }
  678. }
  679. //견적대상업체 추가
  680. function doInsert(sheetObj) {
  681. sheetObj.DataAutoTrim = false;
  682. var rowIndex = sheet1.DataInsert(-1);
  683. sheet1.SetColProperty(rowIndex,3,info);
  684. sheet1.SetColProperty(rowIndex,4,info);
  685. sheet1.SetColProperty(rowIndex,5,info);
  686. sheet1.SetColProperty(rowIndex,6,info);
  687. sheet1.SetRowEditable(rowIndex,1);
  688. var info= {Edit:true};
  689. }
  690. function doResult(resultObj) {
  691. try {
  692. if( resultObj.getRequestEvent() == "FORM_UPDATE") {
  693. if( resultObj.getSuccess() ) {
  694. alert("저장 되었습니다.");
  695. $("#btn_list").click();
  696. }
  697. else {
  698. dlgErrorMsg(resultObj);
  699. }
  700. }
  701. if( resultObj.getRequestEvent() == "FORM_DELETE") {
  702. if( resultObj.getSuccess() ) {
  703. alert("삭제 되었습니다.");
  704. $("#btn_list").click();
  705. }
  706. else {
  707. dlgErrorMsg(resultObj);
  708. }
  709. }
  710. } catch(errorObject) {
  711. showErrorDlg("doResult()", errorObject);
  712. }
  713. }
  714. function sheet1_OnSmartResize(Width, Height) {
  715. sheet1.FitColWidth();
  716. sheet2.FitColWidth();
  717. autoResize();
  718. }
  719. function autoResize(){
  720. sheet1.SetSheetHeight(300);
  721. sheet2.SetSheetHeight(300);
  722. }
  723. function sheet1_OnSaveEnd(code, msg)
  724. {
  725. var event = $("#fevent").val();
  726. if(event == "COMPLETION"){
  727. doSaveSheet3();
  728. }else if(event == "COMPLETION"){
  729. alert("삭제되었습니다.");
  730. }else{
  731. if(code>= "0"){
  732. doSaveSheet3();
  733. }else{
  734. alert("에러가 발생하였습니다.\n"+msg);
  735. }
  736. }
  737. }
  738. function sheet3_OnSaveEnd(code, msg)
  739. {
  740. var event = $("#fevent").val();
  741. if(event == "SET_REPORT_EMP_DELETE"){
  742. if(code>= "0"){
  743. alert("삭제되었습니다.");
  744. doSearchSheet3();
  745. }else{
  746. alert("에러가 발생하였습니다.\n"+msg);
  747. document.form1.isSubmit = false;
  748. }
  749. }else if(event == "REPORT_EMP_UPDATE"){
  750. if(code>= "0"){
  751. if(btn_act == "to_completion"){
  752. alert("견적설명완료 처리를 하였습니다.");
  753. $("#btn_list").click();
  754. } else {
  755. alert("저장되었습니다.");
  756. $("#fevent").val("FORM_SELECT_SITE");
  757. $("#form1").attr("action", "/bid/purchase/SiteExplanIng.screen");
  758. $("#form1").attr("target", "_self");
  759. $("#form1").attr("method", "post");
  760. $("#form1").submit();
  761. }
  762. }else{
  763. alert("에러가 발생하였습니다.\n"+msg);
  764. }
  765. }
  766. }
  767. </SCRIPT>
  768. <modular:search id="form1">
  769. <modular:key id="fevent" />
  770. </modular:search>
  771. <form id="form1" name="form1" method="post" modular:type="search">
  772. <INPUT type='hidden' name="fevent" id="fevent" value="">
  773. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  774. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  775. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  776. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  777. <INPUT type='hidden' name="SITEDESCDATE" value="<%=Order.get("SITEDESCDT")%>">
  778. <INPUT type='hidden' name="NOTI_DY" value="<%=Order.get("NOTI_DY")%>">
  779. <INPUT type='hidden' name="DIV_PO_YN" value="<%=Order.get("DIV_PO_YN")%>">
  780. <INPUT type='hidden' name="CMPT_CD" value="<%=Order.get("CMPT_CD")%>">
  781. <INPUT type='hidden' name="MATERIAL_GB" value="<%=Order.get("MATERIAL_GB")%>">
  782. <!-- 제목 및 버튼 -->
  783. <table width="100%">
  784. <colgroup>
  785. <col width="500" />
  786. <col width="*" />
  787. </colgroup>
  788. <tr>
  789. <th>
  790. <div align="left" id="title">
  791. <ul>
  792. <li>구매_입찰진행 상세<font style="font-size:11px"> (<%=Order.get("STATUS_NM")%>)</font></li>
  793. </ul>
  794. </div>
  795. </th>
  796. <td align="right">
  797. <span class="btnSearch center" id="btn_Save"><a href="javascript:void(0);">저장</a></span>
  798. <span class="btnSearch center" id="btn_completion"><a href="javascript:void(0);">견적설명완료</a></span>
  799. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  800. </td>
  801. </tr>
  802. </table>
  803. <div class="application-info magT10">
  804. <div class="application-sub-title">
  805. <span class="title">발주의뢰정보</span>
  806. </div>
  807. <div class="application-location">
  808. </div>
  809. </div>
  810. <!-- 발주의뢰정보 : 시작 -->
  811. <TABLE class="form-table">
  812. <colgroup>
  813. <col width="160"/>
  814. <col width="20%">
  815. <col width="160"/>
  816. <col width="20%">
  817. <col width="160"/>
  818. <col/>
  819. </colgroup>
  820. <TR height="25">
  821. <TH> 현장</TH>
  822. <TD><%=Order.get("dept_nm") %></TD>
  823. <TH> 발주의뢰번호</TH>
  824. <TD><%=Order.get("DEMANDED_NO")%></TD>
  825. <TH> 발주의뢰명</TH>
  826. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  827. </TR>
  828. <TR height="25">
  829. <TH> 발주의뢰일</TH>
  830. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  831. <TH> 발주의뢰부서</TH>
  832. <TD><%= Order.get("REQ_DEPT_NM")%></TD>
  833. <TH> 발주의뢰자</TH>
  834. <TD><%= Order.get("EMP_NM")%></TD>
  835. </TR>
  836. <TR height="25">
  837. <TH> 발주접수일자</TH>
  838. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  839. <TH> Pay Item</TH>
  840. <TD><%= Order.get("PAY_ITEM_NM") %></TD>
  841. <TH> 구매예산 (원)</TH>
  842. <TD><%=Formatter2.currency(Order.get("PUR_AMT"),0) %></TD> <!-- 2015.3.2 외주예산추가 MKLEE -->
  843. </TR>
  844. <TR height="25">
  845. <TH> 도급금액 (원)</TH>
  846. <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0) %></TD>
  847. <TH> 실행예산 (원)</TH>
  848. <TD><%=Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
  849. <TH> 도급대비실행율(%)</TH>
  850. <TD><%= Order.get("ACT_RATE")%></TD>
  851. </TR>
  852. <!-- 발주의뢰정보 : 종료 -->
  853. </table>
  854. <div class="application-info magT20">
  855. <div class="application-sub-title">
  856. <span class="title">입찰기본정보</span>
  857. </div>
  858. </div>
  859. <TABLE class="form-table">
  860. <colgroup>
  861. <col width="160"/>
  862. <col width="160"/>
  863. <col width="29%"/>
  864. <col width="160"/>
  865. <col />
  866. </colgroup>
  867. <TR height="25">
  868. <TH> 입찰번호-차수</TH>
  869. <TD colspan="2"><%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%></TD>
  870. <TH> 온라인입찰여부</TH>
  871. <TD><%=Order.get("ONBID_YN")%></TD>
  872. </TR>
  873. <TR height="25">
  874. <TH> 입찰명</TH>
  875. <TD colspan="2"><%=Order.get("BID_MASTER_NM")%></TD>
  876. <TH> 단가계약여부</TH>
  877. <TD><%if(!Order.get("DIV_PO_YN").isEmpty()){%><%=Order.get("DIV_PO_YN").equals("Y") ? "예" : "아니오" %><%}%></TD>
  878. </TR>
  879. <TR height="25">
  880. <TH> 경쟁방법</TH>
  881. <TD colspan="2"><%=Order.get("CMPT_NM")%></TD>
  882. <TH> 낙찰자선정방법</TH>
  883. <TD><%=Order.get("SUCC_NM")%></TD>
  884. </TR>
  885. <!-- 발주의뢰정보 : 종료 -->
  886. </table>
  887. <div class="application-info magT20">
  888. <div class="application-sub-title">
  889. <span class="title">입찰진행</span>
  890. </div>
  891. </div>
  892. <TABLE class="form-table">
  893. <colgroup>
  894. <col width="160"/>
  895. <col width="160"/>
  896. <col width="29%"/>
  897. <col width="160"/>
  898. <col />
  899. </colgroup>
  900. <TR height="25">
  901. <TH>업체공지일자</TH>
  902. <TD colspan="4"><%=Order.get("NOTI_DY")%></TD>
  903. </TR>
  904. <TR height="25">
  905. <TH rowspan="3"> 견적설명회 정보</TH>
  906. <TH> 여부</TH>
  907. <TD>
  908. <%=Order.get("SITEDESC_FLAG")%>
  909. </TD>
  910. <TH> 담당자</TD>
  911. <TD>
  912. <%=Order.get("SITEDESCCHRGPRSNNM")%><INPUT type='hidden' name="SITEDESCCHRGPRSNID" id="SITEDESCCHRGPRSNID" value="<%=Order.get("SITEDESCCHRGPRSNID")%>">
  913. </TD>
  914. </TR>
  915. <TR height="25">
  916. <TH> 담당자 전화번호</TH>
  917. <TD><%= Order.get("SITEDESCTELNO")%></TD>
  918. <TH> 일시</TH>
  919. <TD><%=Order.get("SITEDESCDATE")%></TD>
  920. </TR>
  921. <TR height="25">
  922. <TH> 담당자 E-Mail</TH>
  923. <TD><%=Order.get("SITEDESCEMAIL")%></TD>
  924. <TH> 장소</TH>
  925. <TD><%=Order.get("SITEDESCPLACE")%></TD>
  926. </TR>
  927. <TR height="25">
  928. <TH rowspan="4"> 견적 의뢰</TH>
  929. <TH class="required"> 견적제출기간</TH>
  930. <TD colspan="3">
  931. <%= InputText.get("BID_FROM_DT", Order.get("BID_FROM_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
  932. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_FROM_DT');">
  933. <%= InputText.get("BID_FROM_HH", Order.get("BID_FROM_HH"), 2, 2, "desc=견적제출기간,Time") %> :
  934. <%= InputText.get("BID_FROM_MI", Order.get("BID_FROM_MI"), 2, 2, "desc=견적제출기간,Time") %> ~
  935. <%= InputText.get("BID_TO_DT", Order.get("BID_TO_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
  936. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_TO_DT');">
  937. <%= InputText.get("BID_TO_HH", Order.get("BID_TO_HH"), 2, 2, "desc=견적제출기간,Time") %> :
  938. <%= InputText.get("BID_TO_MI", Order.get("BID_TO_MI"), 2, 2, "desc=견적제출기간,Time") %>
  939. </TD>
  940. </TR>
  941. <TR height="25">
  942. <TH class="required"> 구매담당자</TH>
  943. <TD>
  944. <%= InputText.get("PUREMPNM", Order.get("PUREMPNM"), 21, 60, "desc=구매담당자,readOnly") %><INPUT type='hidden' name="PUREMPNO" id="PUREMPNO" value="<%=Order.get("PUREMPNO")%>">
  945. <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('PUREMPNM','PUREMPNO','Y');">
  946. </TD>
  947. <TH class="required"> 구매담당자 전화번호</TH>
  948. <TD><%= InputText.get("PO_EMPNM", Order.get("PO_EMPNM"), 15, 13, "desc=구매담당자 전화번호") %> ex)02-0000-0000</TD>
  949. </TR>
  950. <TR height="25">
  951. <TH class="required"> 개찰자</TH>
  952. <TD colspan="3">
  953. <%= InputText.get("OPEN_EMPNM", Order.get("OPEN_EMPNM"), 21, 60, "desc=개찰자,readOnly") %><INPUT type='hidden' name="OPEN_EMPID" id="OPEN_EMPID" value="<%=Order.get("OPEN_EMPID")%>">
  954. <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('OPEN_EMPNM','OPEN_EMPID','N');">
  955. </TD>
  956. </TR>
  957. <TR height="25">
  958. <TH class="required"> 보고자</TH>
  959. <TD colspan="3">
  960. <div id="report_emp_btn" style="width:410px; margin-top:5px; text-align: right; height: 25px; vertical-align: top;">
  961. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_add">추가</a></span>
  962. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_del">삭제</a></span>
  963. </div>
  964. <div id="sheet3_div" style="width: 100%; height: 100%;">
  965. <script>createIBSheet('sheet3','100%', '100px');</script>
  966. </div>
  967. </TD>
  968. </TR>
  969. <TR height="25">
  970. <TH rowspan="2">기술검토(TBE)</TD>
  971. <TH class="required"> TBE 여부</TH>
  972. <TD>
  973. <LABEL for="sort_gb_3"><INPUT id="sort_gb_3" type="radio" name="TBE_FLAG" value="Y" desc="TBE 여부" <%=Order.get("TBE_FLAG").equals("Y") ? "checked=\"checked\"" : "" %>>예</LABEL>
  974. <LABEL for="sort_gb_4"><INPUT id="sort_gb_4" type="radio" name="TBE_FLAG" value="N" desc="TBE 여부" <%=Order.get("TBE_FLAG").equals("N") ? "checked=\"checked\"" : "" %>>아니오</LABEL>
  975. </TD>
  976. <TH class="required"> TBE 일자</TH>
  977. <TD><%= InputText.get("SUPP_REQ_DY", Order.get("SUPP_REQ_DY"), 15, 10, "persize,desc=TBE일자,readOnly") %>
  978. <IMG name="calender_supp_req" id="calender_supp_req" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('SUPP_REQ_DY');">
  979. </TD>
  980. </TR>
  981. <TR height="25">
  982. <TH class="required"> TBE 심사자</TH>
  983. <TD colspan="3">
  984. <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %><INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>">
  985. <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');">
  986. </TD>
  987. </TR>
  988. <!-- 발주의뢰정보 : 종료 -->
  989. </table>
  990. <div class="application-info magT20">
  991. <div class="application-sub-title">
  992. <span class="title">입찰조건</span>
  993. </div>
  994. </div>
  995. <TABLE class="form-table">
  996. <colgroup>
  997. <col width="160"/>
  998. <col width="20%">
  999. <col width="160"/>
  1000. <col width="20%">
  1001. <col width="160"/>
  1002. <col/>
  1003. </colgroup>
  1004. <TR height="25">
  1005. <TH class="required">통화구분</TH>
  1006. <TD>
  1007. <LABEL for="CURRENCY_GB_YN"><INPUT type="checkbox" id="CURRENCY_GB_YN" name="CURRENCY_GB_YN" value="Y" <%=Order.get("CURRENCY_GB_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체변경가능</LABEL>
  1008. <%=CommCodeManager.getSelectCodeList("911","CURRENCY_GB","height=18;","<option value=''>--선택--</option>",Order.get("CURRENCY_GB")) %>
  1009. </TD>
  1010. <TH class="required">CBE문서 TYPE</TH>
  1011. <TD colspan="3">
  1012. <LABEL for="pbc_cbe_type_1"><INPUT id="pbc_cbe_type_1" type="radio" name="PBC_CBE_TYPE_CD" value="A" desc="CBE문서" <%=Order.get("PBC_CBE_TYPE_CD").equals("A") ? "checked=\"checked\"" : "" %> > A type</LABEL>
  1013. <LABEL for="pbc_cbe_type_2"><INPUT id="pbc_cbe_type_2" type="radio" name="PBC_CBE_TYPE_CD" value="B" desc="CBE문서" <%=Order.get("PBC_CBE_TYPE_CD").equals("B") ? "checked=\"checked\"" : "" %> > B type</LABEL>
  1014. </TD>
  1015. </TR>
  1016. <TR height="25">
  1017. <TH>Installation</TH><!-- 설치비 포함여부 -->
  1018. <TD><LABEL for="PBC_INSTALL_YN"><INPUT type="checkbox" id="PBC_INSTALL_YN" name="PBC_INSTALL_YN" value="Y" <%=Order.get("PBC_INSTALL_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1019. <TH>Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  1020. <TD><LABEL for="PBC_COMMISS_YN"><INPUT type="checkbox" id="PBC_COMMISS_YN" name="PBC_COMMISS_YN" value="Y" <%=Order.get("PBC_COMMISS_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1021. <TH>Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  1022. <TD><LABEL for="PBC_SPETOOL_YN"><INPUT type="checkbox" id="PBC_SPETOOL_YN" name="PBC_SPETOOL_YN" value="Y" <%=Order.get("PBC_SPETOOL_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1023. </TR>
  1024. <TR height="25">
  1025. <TH>Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  1026. <TD><LABEL for="PBC_TEST_YN"><INPUT type="checkbox" id="PBC_TEST_YN" name="PBC_TEST_YN" value="Y" <%=Order.get("PBC_TEST_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1027. <TH>Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  1028. <TD><LABEL for="PBC_DOC_YN"><INPUT type="checkbox" id="PBC_DOC_YN" name="PBC_DOC_YN" value="Y" <%=Order.get("PBC_DOC_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1029. <TH>Packing cost</TH><!-- 포장비용 포함여부 -->
  1030. <TD><LABEL for="PBC_PACK_YN"><INPUT type="checkbox" id="PBC_PACK_YN" name="PBC_PACK_YN" value="Y" <%=Order.get("PBC_PACK_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1031. </TR>
  1032. <TR height="25">
  1033. <TH>Inland Transportaion</TH><!-- 내륙운송비 -->
  1034. <TD><LABEL for="PBC_LANDTRAN_YN"><INPUT type="checkbox" id="PBC_LANDTRAN_YN" name="PBC_LANDTRAN_YN" value="Y" <%=Order.get("PBC_LANDTRAN_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1035. <TH>Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  1036. <TD colspan="3"><LABEL for="DELIVERY_CONDITION_YN"><INPUT type="checkbox" id="DELIVERY_CONDITION_YN" name="DELIVERY_CONDITION_YN" value="Y" <%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체변경가능</LABEL>
  1037. <%=CommCodeManager.getSelectCodeList("PUR_LEAD_GB","DELIVERY_CONDITION","height=18;","<option value=''>--선택--</option>",Order.get("DELIVERY_CONDITION")) %></TD>
  1038. </TR>
  1039. <TR height="25">
  1040. <TH>OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  1041. <TD colspan="5">A. Supervision fee &nbsp<LABEL for="PBC_FEE_YN"><INPUT type="checkbox" id="PBC_FEE_YN" name="PBC_FEE_YN" value="Y" <%=Order.get("PBC_FEE_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL>
  1042. &nbsp&nbsp B. <%= InputText.get("PBC_OPTION_COMMENT", Order.get("PBC_OPTION_COMMENT"), 15, 50, "") %> &nbsp<LABEL for="PBC_OPTION_YN"><INPUT type="checkbox" id="PBC_OPTION_YN" name="PBC_OPTION_YN" value="Y" <%=Order.get("PBC_OPTION_YN").equals("Y") ? "checked=\"checked\"" : "" %>> 업체 견적내용 반영</LABEL></TD>
  1043. </TR>
  1044. <TR height="25">
  1045. <TH>Liquidated Damages</TH><!-- 지체상금 fix -->
  1046. <TD colspan="5"><%= InputText.get("CBC_DAMAGE_RATE", Order.get("CBC_DAMAGE_RATE"), 5, 6, "Right,Float","Float") %>% <%=CommCodeManager.getSelectCodeList("LIQ_DMG_CD","CBC_DAMAGE_CD","height=18;","",Order.get("CBC_DAMAGE_CD")) %>, Max <%= InputText.get("CBC_DAMAGE_MAXRATE", Order.get("CBC_DAMAGE_MAXRATE"), 5, 6, "Right,Float","Float") %>%</TD>
  1047. </TR>
  1048. <TR height="25">
  1049. <TH>선급금</TH>
  1050. <TD><%= InputText.get("CBC_FIRST_RATE", Order.get("CBC_FIRST_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FIRST_CONDI", Order.get("PBC_FIRST_CONDI"), 20, 50, "") %></TD>
  1051. <TH>중도금</TH>
  1052. <TD><%= InputText.get("CPC_MID_RATE", Order.get("CPC_MID_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_MID_CONDI", Order.get("PBC_MID_CONDI"), 20, 50, "") %></TD>
  1053. <TH>잔금</TH>
  1054. <TD><%= InputText.get("PBC_REST_RATE", Order.get("PBC_REST_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_REST_CONDI", Order.get("PBC_REST_CONDI"), 20, 50, "") %></TD>
  1055. </TR>
  1056. <TR height="25">
  1057. <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  1058. <TD><%= InputText.get("PBC_FRSTGUAR_RATE", Order.get("PBC_FRSTGUAR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FRSTGUAR_CONDI", Order.get("PBC_FRSTGUAR_CONDI"), 20, 50, "") %></TD>
  1059. <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  1060. <TD><%= InputText.get("CONTFUL_RATE", Order.get("CONTFUL_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("CONTFUL_CONDI", Order.get("CONTFUL_CONDI"), 20, 50, "") %></TD>
  1061. <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  1062. <TD><%= InputText.get("WARR_RATE", Order.get("WARR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("WARR_CONDI", Order.get("WARR_CONDI"), 20, 50, "") %></TD>
  1063. </TR>
  1064. <TR height="25">
  1065. <TH>Guarantee Period</TH><!-- 하자보수기간 -->
  1066. <TD colspan="3"><%= InputText.get("PBC_DEFECT_CONDI", Order.get("PBC_DEFECT_CONDI"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY", Order.get("CBC_DEFECT_DAY"), 2, 2, "Number","Number") %>
  1067. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD","height=18;","<option value=''>--선택--</option>",Order.get("CBC_DERECT_TERM_CD")) %> 간
  1068. <input type="checkbox" id="addGuar" style="margin-top:2px">
  1069. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  1070. <%= InputText.get("PBC_DEFECT_CONDI2", Order.get("PBC_DEFECT_CONDI2"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY2", Order.get("CBC_DEFECT_DAY2"), 2, 2, "Number","Number") %>
  1071. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD2","height=18;","<option value=''>--선택--</option>",Order.get("CBC_DERECT_TERM_CD2")) %> 간 선도래일
  1072. </span>
  1073. </TD>
  1074. <TH>Delivery Period</TH><!-- 납기일 fix -->
  1075. <TD>
  1076. <%= InputText.get("DELI_FROM_DY", Order.get("DELI_FROM_DY"), 10, 10, "desc=Delivery Period From,center,readOnly") %>
  1077. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');"> ~
  1078. <%= InputText.get("DELI_TO_DY", Order.get("DELI_TO_DY"), 10, 10, "desc=Delivery Period To,center,readOnly") %>
  1079. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
  1080. </TD>
  1081. </TR>
  1082. </TABLE>
  1083. <TABLE class="form-table" style="margin-top: 10px">
  1084. <col width="160px"/>
  1085. <col width="160px"/>
  1086. <col width="29%"/>
  1087. <col width="160px"/>
  1088. <col/>
  1089. <TR height="25">
  1090. <TH>주요발주내용</TH>
  1091. <TD colspan="2">
  1092. <textarea name="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
  1093. </TD>
  1094. <TH>입찰업체선정사유</TH>
  1095. <TD>
  1096. <textarea name="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
  1097. </TD>
  1098. </TR>
  1099. <TR height="25">
  1100. <TH>특이사항 내부</TH>
  1101. <TD colspan="2">
  1102. <textarea name="INNER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("INNER_REMARKS")%></textarea>
  1103. </TD>
  1104. <TH> 특이사항 외부</TH>
  1105. <TD>
  1106. <textarea name="OUTER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("OUTER_REMARKS")%></textarea>
  1107. </TD>
  1108. </TR>
  1109. <TR height="100">
  1110. <TH> 내부자료</TH>
  1111. <TD colspan="2">
  1112. <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>
  1113. <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;'>
  1114. </TD>
  1115. <TH> 외부자료</TH>
  1116. <TD>
  1117. <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>
  1118. <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;'>
  1119. </TD>
  1120. </TR>
  1121. </TABLE>
  1122. <table id=item_list width="100%">
  1123. <colgroup>
  1124. <col width="500" />
  1125. <col width="*" />
  1126. </colgroup>
  1127. <tr>
  1128. <th>
  1129. <div class="application-info magT20">
  1130. <div class="application-sub-title">
  1131. <span class="title">견적의뢰내역</span>
  1132. </div>
  1133. </div>
  1134. </th>
  1135. <td align="right">
  1136. </td>
  1137. </tr>
  1138. </table>
  1139. <div id="sheet2_div" style="height: auto; min-height: 200px; overflow: auto;">
  1140. <script>createIBSheet('sheet2','100%', '200px');</script>
  1141. </div>
  1142. <table width="100%" id="copr_list">
  1143. <colgroup>
  1144. <col width="500" />
  1145. <col width="*" />
  1146. </colgroup>
  1147. <tr>
  1148. <th>
  1149. <div class="application-info magT15">
  1150. <div class="application-sub-title">
  1151. <span class="title">견적대상업체</span>
  1152. </div>
  1153. </div>
  1154. </th>
  1155. <td align="right">
  1156. <span class="btnSearch center" id="corp_add"><a href="javascript:void(0);">추가</a></span>
  1157. <span class="btnSearch center" id="btn_row_del"><a href="javascript:void(0);">삭제</a></span>
  1158. </td>
  1159. </tr>
  1160. </table>
  1161. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  1162. <script>createIBSheet('sheet1','100%', '200px');</script>
  1163. </div>
  1164. </form>