OfflineBid.jsp 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.08.12
  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. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. ValueObject Order = storage.getValueObject("Order");
  22. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  23. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  24. ValueObject sign_info = storage.getValueObject("SIGN_INFO");
  25. String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  26. %>
  27. <SCRIPT language="JavaScript">
  28. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  29. /*예약함수*/
  30. var sheet1 = new ibsheetObject();
  31. var sheet2 = new ibsheetObject();
  32. var sheet1Row;
  33. var sheet1PageNo = 1;
  34. var pageLastRowIndex = 1;
  35. var validationResult = false;
  36. var filterShow = false;
  37. var btn_act = "";
  38. var must_msg = "(은)는 필수 입력 항목입니다.";
  39. function _onReady(){
  40. /**
  41. * IBSheet object initialize
  42. */
  43. gridInit(sheet1);
  44. gridInit(sheet2);
  45. autoResize();
  46. /**
  47. * Application Initialize
  48. */
  49. $("#btn_list").click(function() {
  50. <%if(Order.get("BID_APP_NO").isEmpty()){%>
  51. jQuery("#fevent").val("");
  52. jQuery("#form1").attr("action", "/bid/outside/BidPlanList.screen");
  53. jQuery("#form1").attr("target", "_self");
  54. jQuery("#form1").attr("method", "post");
  55. jQuery("#form1").submit();
  56. <%}else{%>
  57. jQuery("#fevent").val("");
  58. jQuery("#form1").attr("action", "/bid/outside/SuccessBidList.screen");
  59. jQuery("#form1").attr("target", "_self");
  60. jQuery("#form1").attr("method", "post");
  61. jQuery("#form1").submit();
  62. <%}%>
  63. });
  64. $("#btn_item").click(function() {
  65. var win_id = "ItemPop";
  66. var link = "/bid/outside/BidItemPopup.screen";
  67. link += "?pop_win_id="+win_id+"&BID_NO="+$("#BID_NO").val() + "&BID_DEG="+$("#BID_DEG").val() ;
  68. fLayerPop(win_id, link, 650,500, '','', 'NO');
  69. });
  70. $("#btn_back").click(function() {
  71. jQuery("#fevent").val("FORM_SELECT");
  72. jQuery("#form1").attr("action", "/bid/outside/SuccessBid.screen");
  73. jQuery("#form1").attr("target", "_self");
  74. jQuery("#form1").attr("method", "post");
  75. jQuery("#form1").submit();
  76. });
  77. $("#btn_Save").click(function() {
  78. var f = document.form1;
  79. submitXmlRequest("/bid/signidentify.screen", "CHK", f, "SUCCESS");
  80. btn_act = "to_save";
  81. });
  82. $("#btn_del").click(function() {
  83. var f = document.form1;
  84. submitXmlRequest("/bid/signidentify.screen", "CHK", f, "SUCCESS");
  85. btn_act = "to_del";
  86. });
  87. $("#btn_authorization").click(function() {
  88. var f = document.form1;
  89. submitXmlRequest("/bid/signidentify.screen", "CHK", f, "SUCCESS");
  90. btn_act = "to_offsign";
  91. });
  92. $("#sitedesc_flag_1").click(function() {
  93. $("#SITEDESCCHRGPRSNNM").attr("disabled",false);
  94. $("#SITEDESCCHRGPRSNID").attr("disabled",false);
  95. $("#SITEDESCTELNO").attr("disabled",false);
  96. $("#SITEDESCDATE").attr("disabled",false);
  97. $("#SITEDESCDATE_HH").attr("disabled",false);
  98. $("#SITEDESCDATE_MI").attr("disabled",false);
  99. $("#SITEDESCEMAIL").attr("disabled",false);
  100. $("#SITEDESCPLACE").attr("disabled",false);
  101. $("#btn_sitedescchrgprsnid").show();
  102. $("#calendar_sitedescdate").show();
  103. });
  104. $("#sitedesc_flag_2").click(function() {
  105. $("#SITEDESCCHRGPRSNNM").attr("disabled",true);
  106. $("#SITEDESCCHRGPRSNNM").val("");
  107. $("#SITEDESCCHRGPRSNID").attr("disabled",true);
  108. $("#SITEDESCCHRGPRSNID").val("");
  109. $("#SITEDESCTELNO").attr("disabled",true);
  110. $("#SITEDESCTELNO").val("");
  111. $("#SITEDESCDATE").attr("disabled",true);
  112. $("#SITEDESCDATE").val("");
  113. $("#SITEDESCDATE_HH").attr("disabled",true);
  114. $("#SITEDESCDATE_HH").val("");
  115. $("#SITEDESCDATE_MI").attr("disabled",true);
  116. $("#SITEDESCDATE_MI").val("");
  117. $("#SITEDESCEMAIL").attr("disabled",true);
  118. $("#SITEDESCEMAIL").val("");
  119. $("#SITEDESCPLACE").attr("disabled",true);
  120. $("#SITEDESCPLACE").val("");
  121. $("#btn_sitedescchrgprsnid").hide();
  122. $("#calendar_sitedescdate").hide();
  123. });
  124. //보고자 조회
  125. doSearchSheet2();
  126. //라디오 박스 체크 여부 // N 일경우 비활성화
  127. if($("#sitedesc_flag_2").attr("checked") == "checked")
  128. $("#sitedesc_flag_2").click();
  129. if($("#sort_gb_4").attr("checked") == "checked")
  130. tbe_radio("N");
  131. //업체공지일자 변경
  132. $("#NOTI_DY").change(function() {
  133. if($("#BID_FROM_DT").val().length> 0){
  134. if($("#NOTI_DY").val()> $("#BID_FROM_DT").val()){
  135. alert("업체공지일자는 견적제출일이전이어야 합니다.\n- 견적제출일:"+$("#BID_FROM_DT").val());
  136. $("#NOTI_DY").val("");
  137. return;
  138. }
  139. }
  140. if($("#SITEDESCDATE").val().length> 0){
  141. if($("#NOTI_DY").val()> $("#SITEDESCDATE").val()){
  142. alert("업체공지일자는 견적설명일 이전이어야 합니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  143. $("#NOTI_DY").val("");
  144. return;
  145. }
  146. }
  147. });
  148. //견적제출기간 변경
  149. $("#BID_FROM_DT").change(function() {
  150. if($("#SITEDESCDATE").val().length> 0){
  151. if($("#BID_FROM_DT").val() < $("#SITEDESCDATE").val()){
  152. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  153. $("#BID_FROM_DT").val("");
  154. return;
  155. }
  156. }
  157. if($("#NOTI_DY").val().length> 0){
  158. if($("#BID_FROM_DT").val() < $("#NOTI_DY").val()){
  159. alert("견적제출기간은 업체공지일 이전 일 수 없습니다.\n- 업체공지일:"+$("#NOTI_DY").val());
  160. $("#BID_FROM_DT").val("");
  161. return;
  162. }
  163. }
  164. if($("#BID_TO_DT").val().length> 0){
  165. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  166. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  167. $("#BID_FROM_DT").val("");
  168. return;
  169. }
  170. }
  171. });
  172. //견적제출기간 변경
  173. $("#BID_TO_DT").change(function() {
  174. if($("#BID_FROM_DT").val().length> 0){
  175. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  176. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  177. $("#BID_TO_DT").val("");
  178. return;
  179. }
  180. }
  181. if($("#SITEDESCDATE").val().length> 0){
  182. if($("#BID_TO_DT").val() < $("#SITEDESCDATE").val()){
  183. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  184. $("#BID_TO_DT").val("");
  185. return;
  186. }
  187. }
  188. });
  189. //견적제출기간 변경
  190. $("#DELI_START_DT").change(function() {
  191. if($("#DELI_END_DT").val().length> 0){
  192. if($("#DELI_START_DT").val()> $("#DELI_END_DT").val()){
  193. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  194. $("#DELI_START_DT").val("");
  195. return;
  196. }
  197. }
  198. });
  199. //견적제출기간 변경
  200. $("#DELI_END_DT").change(function() {
  201. if($("#DELI_START_DT").val().length> 0){
  202. if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
  203. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  204. $("#DELI_END_DT").val("");
  205. return;
  206. }
  207. }
  208. });
  209. //TBE일자 tbe일자 >= 견적제출시작일
  210. $("#SUPP_REQ_DY").change(function() {
  211. if($("#SUPP_REQ_DY").val().length> 0){
  212. if($("#SUPP_REQ_DY").val() < $("#BID_FROM_DT").val()){
  213. alert("견적제출시작일 보다 작을 수 없습니다.");
  214. $("#SUPP_REQ_DY").val("");
  215. return;
  216. }
  217. }
  218. });
  219. $("#btn_row_del").click(function() {
  220. if(confirm("삭제 하시겠습니까?")){
  221. $("#fevent").val("SET_CORP_DELETE");
  222. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/OfflineBid_sheet.screen";
  223. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  224. }
  225. });
  226. $("#corp_add").click(function(){
  227. var win_id = "corp";
  228. var outitem = "<%=Order.get("OUT_ITEM_CD")%>";
  229. var link = "/common/corp/SuppChoicePop.screen";
  230. link += "?pop_win_id="+win_id+"&BID_KIND=O&OUT_ITEM_CD="+outitem;
  231. fLayerPop(win_id, link, 800,400, '','', 'NO');
  232. });
  233. $.test = function(resultVal)
  234. {
  235. for(var i=0; i < resultVal[0].length; i++)
  236. {
  237. var rowcnt = sheet1.RowCount();
  238. if(rowcnt> 0){
  239. for(var r=0; r < rowcnt; r++)
  240. {
  241. var vendor_no = sheet1.GetCellValue(r+1,"VENDOR_CD");
  242. if(vendor_no == resultVal[0][i]){
  243. alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
  244. return;
  245. }
  246. var vendor_nm = sheet1.GetCellValue(r+1,"VENDOR_NAME");
  247. if(vendor_nm == resultVal[2][i]){
  248. alert(resultVal[2][i]+"는 이미 등록된 업체 입니다.");
  249. return;
  250. }
  251. }
  252. }
  253. //sheetObj.DataAutoTrim = false;
  254. var row = sheet1.DataInsert(-1);
  255. sheet1.SetCellValue(row,"RECM_DEPT_NM","외주팀");
  256. sheet1.SetCellValue(row,"VENDOR_NO",resultVal[1][i]);
  257. sheet1.SetCellValue(row,"VENDOR_NAME",resultVal[2][i]);
  258. sheet1.SetCellValue(row,"REPRE_NO",resultVal[3][i]);
  259. sheet1.SetCellValue(row,"CHARGE_NAME",resultVal[4][i]);
  260. sheet1.SetCellValue(row,"TEL_NUM",resultVal[5][i]);
  261. sheet1.SetCellValue(row,"CHAGE_HP",resultVal[6][i]);
  262. sheet1.SetCellValue(row,"CHARGE_EMAIL",resultVal[7][i]);
  263. sheet1.SetCellValue(row,"VENDOR_CD",resultVal[0][i]);
  264. sheet1.SetCellValue(row,"RECM_DEPT_ID","1725");
  265. sheet1.SetCellValue(row,"IMG_GB","1");
  266. }
  267. setGridSize();
  268. setTimeout(function(){fLayerPopClose('corp');},100);
  269. };
  270. /* 경쟁방법 - 공개경쟁 삭제 */
  271. ///$("#CMPT_CD option:eq(1)").remove();
  272. $("#CONT_AMT").keyup(function(){act_rate();});
  273. $("#ACT_AMT").keyup(function(){act_rate();});
  274. $("#SUCC_CD").change(function() {
  275. if($("#SUCC_CD").val() == "02"){
  276. $("#sort_gb_4").removeAttr('disabled');
  277. $("#sort_gb_4").click();
  278. $("[name='TBE_FLAG']:not(:checked)").attr('disabled','disabled');
  279. tbe_radio("N");
  280. }else if($("#SUCC_CD").val() == "01"){
  281. $("#sort_gb_3").removeAttr('disabled');
  282. $("#sort_gb_3").click();
  283. $("[name='TBE_FLAG']:not(:checked)").attr('disabled','disabled');
  284. tbe_radio("Y");
  285. }else{
  286. $("#sort_gb_3").removeAttr('disabled');
  287. $("#sort_gb_4").removeAttr('disabled');
  288. }
  289. });
  290. $("#sort_gb_3").click(function(){
  291. if($("#LAST_EVAL_EMPNM").val()!=""){
  292. $("#EVAL_EMPNM").val($("#LAST_EVAL_EMPNM").val());
  293. $("#EVAL_EMPID").val($("#LAST_EVAL_EMPID").val());
  294. }else if($("#EVAL_EMPNM").val()==""){
  295. $("#EVAL_EMPNM").val("<%=Order.get("EMP_NM")%>");
  296. $("#EVAL_EMPID").val("<%=Order.get("EMP_NO")%>");
  297. }
  298. $("#SUCC_CD").val("01");
  299. tbe_radio("Y");
  300. });
  301. $("#sort_gb_4").click(function(){
  302. if($("#EVAL_EMPNM").val()!=""){
  303. $("#LAST_EVAL_EMPNM").val($("#EVAL_EMPNM").val());
  304. $("#LAST_EVAL_EMPID").val($("#EVAL_EMPID").val());
  305. }
  306. $("#SUCC_CD").val("02");
  307. tbe_radio("N");
  308. });
  309. $("#SITEDESCEMAIL").change(function() {
  310. if(!checkEmail($("#SITEDESCEMAIL").val())){
  311. alert("이메일 형식이 올바르지 않습니다.");
  312. $("#SITEDESCEMAIL").focus();
  313. }
  314. });
  315. $("#OBC_FRST_CONT_RATE").focusout(function(){
  316. if($("#OBC_FRST_CONT_RATE").val() > 0){
  317. $("#OBC_FRST_CONDI").val("보증서 제출일로부터 60일 내 지급");
  318. $("#OBC_FRST_CNT_CONDI").val("1회 (계약 금액 변경시 추가 청구 가능)");
  319. }else{
  320. $("#OBC_FRST_CONDI").val("");
  321. $("#OBC_FRST_CNT_CONDI").val("");
  322. }
  323. });
  324. $("#OBC_MID_CASH_RATE").focusout(function() {
  325. cash_bill_sum2("OBC_MID_CASH_RATE","OBC_MID_BILL_RATE");
  326. });
  327. $("#OBC_MID_BILL_RATE").focusout(function() {
  328. cash_bill_sum2("OBC_MID_BILL_RATE","OBC_MID_CASH_RATE");
  329. });
  330. $("#OBC_FIN_CASH_RATE").focusout(function() {
  331. cash_bill_sum2("OBC_FIN_CASH_RATE","OBC_FIN_BILL_RATE");
  332. if($("#OBC_FIN_CASH_RATE").val() != "" || $("#OBC_FIN_BILL_RATE").val() != ""){
  333. //$("#OBC_FIN_CONDI").val("1회 준공 해당월 말일에 청구");
  334. }else{
  335. //$("#OBC_FIN_CONDI").val("");
  336. }
  337. });
  338. $("#OBC_FIN_BILL_RATE").focusout(function() {
  339. cash_bill_sum2("OBC_FIN_BILL_RATE","OBC_FIN_CASH_RATE");
  340. if($("#OBC_FIN_CASH_RATE").val() != "" || $("#OBC_FIN_BILL_RATE").val() != ""){
  341. //$("#OBC_FIN_CONDI").val("1회 준공 해당월 말일에 청구");
  342. }else{
  343. //$("#OBC_FIN_CONDI").val("");
  344. }
  345. });
  346. /*입찰 조건 체크박스 */
  347. $("#OBC_EMP_YN").click(function() {if($(':checkbox[name="OBC_EMP_YN"]:checked').val() != "Y")$("#OBC_EMP_YN").val("N"); });
  348. $("#OBC_PENSION_YN").click(function() {if($(':checkbox[name="OBC_PENSION_YN"]:checked').val() != "Y")$("#OBC_PENSION_YN").val("N"); });
  349. $("#OBC_HEALTH_YN").click(function() {if($(':checkbox[name="OBC_HEALTH_YN"]:checked').val() != "Y")$("#OBC_HEALTH_YN").val("N"); });
  350. $("#OBC_ELDER_YN").click(function() {if($(':checkbox[name="OBC_ELDER_YN"]:checked').val() != "Y")$("#OBC_ELDER_YN").val("N"); });
  351. $("#OBC_WORK_YN").click(function() {if($(':checkbox[name="OBC_WORK_YN"]:checked').val() != "Y")$("#OBC_WORK_YN").val("N"); });
  352. $("#OBC_RESIGN_YN").click(function() {if($(':checkbox[name="OBC_RESIGN_YN"]:checked').val() != "Y")$("#OBC_RESIGN_YN").val("N"); });
  353. $("#OBC_SAFE_YN").click(function() {if($(':checkbox[name="OBC_SAFE_YN"]:checked').val() != "Y")$("#OBC_SAFE_YN").val("N"); });
  354. $("#OBC_ENV_YN").click(function() {if($(':checkbox[name="OBC_ENV_YN"]:checked').val() != "Y")$("#OBC_ENV_YN").val("N"); });
  355. $("#OBC_SITE_YN").click(function() {if($(':checkbox[name="OBC_SITE_YN"]:checked').val() != "Y")$("#OBC_SITE_YN").val("N"); });
  356. $("#OBC_DUTY_YN").click(function() {if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() != "Y")$("#OBC_DUTY_YN").val("N"); });
  357. $("#OBC_WARR_YN").click(function() {if($(':checkbox[name="OBC_WARR_YN"]:checked').val() != "Y")$("#OBC_WARR_YN").val("N"); });
  358. $("#CPC_MID_RATE").focusout(function() {
  359. cash_bill_sum2("CPC_MID_RATE","PBC_REST_RATE");
  360. });
  361. $("#PBC_REST_RATE").focusout(function() {
  362. cash_bill_sum2("PBC_REST_RATE","CPC_MID_RATE");
  363. });
  364. $(document).on("blur", "#OBC_FRST_CONT_RATE", function() {
  365. var pattern=/^[0-9]{1,3}\.[0-9]{0,2}$/;
  366. var str=$("#OBC_FRST_CONT_RATE");
  367. if(pattern.test(str.val())){
  368. if(str.val()>100){
  369. str.val("");
  370. }
  371. }else{
  372. if(str.val()>100||str.val().indexOf(".")==0){
  373. str.val("");
  374. }else if(str.val()==100){
  375. return;
  376. }else{
  377. str.val(str.val().substring(0,str.val().indexOf(".")+3));
  378. }
  379. }
  380. });
  381. $(document).on("blur", "#CBC_FIRST_RATE", function() {
  382. var pattern=/^[0-9]{1,3}\.[0-9]{0,2}$/;
  383. var str=$("#CBC_FIRST_RATE");
  384. if(pattern.test(str.val())){
  385. if(str.val()>100){
  386. str.val("");
  387. }
  388. }else{
  389. if(str.val()>100||str.val().indexOf(".")==0){
  390. str.val("");
  391. }else if(str.val()==100){
  392. return;
  393. }else{
  394. str.val(str.val().substring(0,str.val().indexOf(".")+3));
  395. }
  396. }
  397. });
  398. $("#report_emp_add").click(function(){
  399. SearchUser('REPORT_EMP','REPORT_EMP','N');
  400. });
  401. $("#report_emp_del").click(function() {
  402. if(confirm("삭제 하시겠습니까?")){
  403. $("#fevent").val("SET_REPORT_EMP_DELETE");
  404. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidPlan_sheet.screen";
  405. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  406. }
  407. });
  408. }
  409. function cash_bill_sum2(col1,col2){
  410. var amt1 = Number($("#"+col1).val());
  411. if(amt1 > 100){
  412. alert("100%를 넘을 수 없습니다.");
  413. $("#"+col1).val("");
  414. $("#"+col1).focus();
  415. return;
  416. }
  417. var sum = 100-amt1;
  418. $("#"+col2).val(sum);
  419. if(amt1 == ""){
  420. $("#"+col1).val(0);
  421. }
  422. }
  423. function cash_bill_sum(col1,col2){
  424. var cash = Number($("#"+col1).val());
  425. var bill = Number($("#"+col2).val());
  426. if(cash > 0 || bill > 0){
  427. if((cash+bill) > 100){
  428. alert("현금과 어음의 합은 100%를 넘을 수 없습니다.");
  429. $("#"+col1).val("");$("#"+col2).val("");
  430. return;
  431. }
  432. }
  433. }
  434. function cash_bill_sum_check(col1,col2){
  435. var cash = Number($("#"+col1).val());
  436. var bill = Number($("#"+col2).val());
  437. if(cash > 0 || bill > 0){
  438. if((cash+bill) != 100){
  439. alert("현금과 어음의 합은 100%가 되어야 합니다.");
  440. $("#"+col1).focus();
  441. return true;
  442. }
  443. }
  444. return false;
  445. }
  446. function tbe_radio(val){
  447. if(val == "Y"){
  448. $("#TBE_DATE").attr("disabled",false);
  449. $("#SUPP_REQ_DY").attr("disabled",false);
  450. $("#EVAL_EMPNM").attr("disabled",false);
  451. $("#btnevalemp").show();
  452. $("#calender_supp_req").show();
  453. }else if(val == "N"){
  454. $("#TBE_DATE").attr("disabled",true);
  455. $("#TBE_DATE").val("");
  456. $("#SUPP_REQ_DY").attr("disabled",true);
  457. $("#SUPP_REQ_DY").val("");
  458. $("#EVAL_EMPNM").attr("disabled",true);
  459. $("#EVAL_EMPNM").val("");
  460. $("#EVAL_EMPID").attr("disabled",true);
  461. $("#EVAL_EMPID").val("");
  462. $("#btnevalemp").hide();
  463. $("#calender_supp_req").hide();
  464. }
  465. }
  466. function SearchUser(NAME,CODE,DEPT_YN){
  467. var GB = "";
  468. if(CODE == "PUREMPNO"){
  469. CODE = "";
  470. NAME = "";
  471. GB = "PUREMP";
  472. }else if(CODE == "SITEDESCCHRGPRSNID"){
  473. CODE = "";
  474. NAME = "";
  475. GB = "SITEDESCCHRGPRSN";
  476. }else if(CODE == "EVAL_EMPID"){
  477. CODE = "";
  478. NAME = "";
  479. GB = "EVAL_EMP";
  480. }else if(CODE == "REPORT_EMP"){
  481. CODE = "";
  482. NAME = "";
  483. GB = "REPORT_EMP";
  484. }
  485. var win_id = "_searchUserPopup";
  486. var link = "/lib/dlgSearchUserPop.screen";
  487. link += "?pop_win_id="+win_id;
  488. link += "&NAME="+NAME;
  489. link += "&CODE="+CODE;
  490. link += "&GB="+GB;
  491. if(DEPT_YN == "Y")
  492. link += "&deptNameYn=outside";
  493. fLayerPop(win_id, link, 700,400, '', '', 'NO');
  494. }
  495. function SearchUserClose(result){
  496. if(result[10] == "PUREMP"){
  497. $("#PUREMPNO").val(result[9])//ACCT_ID
  498. $("#PUREMPNM").val(result[1])//이름
  499. $("#PO_EMPNM").val(result[6])//연락처
  500. }else if(result[10] == "SITEDESCCHRGPRSN"){
  501. $("#SITEDESCCHRGPRSNID").val(result[9])//ACCT_ID
  502. $("#SITEDESCCHRGPRSNNM").val(result[1])//이름
  503. $("#SITEDESCTELNO").val(result[6])//연락처
  504. $("#SITEDESCEMAIL").val(result[8])//이메일
  505. }else if(result[10] == "EVAL_EMP"){
  506. $("#EVAL_EMPID").val(result[9])//ACCT_ID
  507. $("#EVAL_EMPNM").val(result[1])//이름
  508. $("#EVAL_TEL").val(result[6])//연락처
  509. }else if(result[10] == "REPORT_EMP"){
  510. var rowcnt = sheet2.RowCount();
  511. if(rowcnt> 0){
  512. for(var r=0; r < rowcnt; r++)
  513. {
  514. var acct_id = sheet2.GetCellValue(r+1,"ACCT_ID");
  515. if(acct_id == result[9]){
  516. alert(result[1]+" " +result[5]+ "님은 이미 등록된 보고자 입니다.");
  517. return;
  518. }
  519. }
  520. }
  521. //sheetObj.DataAutoTrim = false;
  522. var row = sheet2.DataInsert(-1);
  523. sheet2.SetCellValue(row,"ACCT_ID",result[9]);
  524. sheet2.SetCellValue(row,"USER_NAME",result[1]);
  525. sheet2.SetCellValue(row,"BUSEO_NAME",result[3]);
  526. sheet2.SetCellValue(row,"GRADE_NAME",result[5]);
  527. }
  528. setTimeout(function(){fLayerPopClose('_searchUserPopup');},100);
  529. }
  530. function sheet1_OnChange(Row, Col, Value) {
  531. if(Col == 10){//전화번호 형식 체크
  532. if(Value != ""){
  533. if(!checkTelno(Value)){
  534. alert("전화번호 형식이 올바르지 않습니다.");
  535. sheet1.SetCellValue(Row,Col,"");
  536. }
  537. }
  538. }
  539. if(Col == 11){//이메일 형식 체크
  540. if(Value != ""){
  541. if(!checkEmail(Value)){
  542. alert("이메일 형식이 올바르지 않습니다.");
  543. sheet1.SetCellValue(Row,Col,"");
  544. }
  545. }
  546. }
  547. }
  548. function searchAccDept(p_dept_cd, p_dept_nm){
  549. var win_id = "_searchDept";
  550. var link = "/lib/dlgSearchAccDept.screen";
  551. link += "?pop_win_id="+win_id;
  552. //link += "&{{query}}";
  553. fLayerPop(win_id, link, 600,400, '', '', 'NO');
  554. }
  555. function searchAccDeptClose(result){
  556. if( result == null ){
  557. p_dept_cd.value = ""; //부서코드
  558. p_dept_nm.value = ""; //부서명
  559. }else{
  560. p_dept_cd.value = result[0]; //부서코드
  561. p_dept_nm.value = result[1]; //부서명
  562. }
  563. setTimeout(function(){fLayerPopClose('_searchDept');},100);
  564. }
  565. function doSearchSheet(){
  566. $("#fevent").val("GET_CORP_LIST");
  567. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidPlan_sheet.screen";
  568. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  569. }
  570. function doSearchSheet2(){
  571. $("#fevent").val("GET_REPORT_EMP_LIST");
  572. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidPlan_sheet.screen";
  573. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form1"), 30, "");
  574. }
  575. function doSaveSheet2(){
  576. $("#fevent").val("REPORT_EMP_UPDATE");
  577. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidPlan_sheet.screen";
  578. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  579. }
  580. /**
  581. * IBSheet object initialize
  582. */
  583. function gridInit(sheetName){
  584. var init_sheet = {};
  585. if(sheetName.id == "sheet1"){
  586. init_sheet.Cfg = {SearchMode:2, Page:30, MergeSheet:msHeaderOnly};
  587. init_sheet.Cols = [
  588. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
  589. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  590. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  591. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_NM", Width:100, Align:"Center", Edit:false},
  592. {Header:'추천부서', Type:"Image", SaveName:"IMG_GB", Width:18, Align:"Center" , Edit:"false", Cursor:'pointer'},
  593. {Header:'사업자번호', Type:"Text", SaveName:"VENDOR_NO", Width:100, Align:"Center", Format:"SaupNo", Edit:false},
  594. {Header:'업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:100, Align:"Left", Edit:false},
  595. {Header:'대표자명', Type:"Text", SaveName:"REPRE_NO", Width:100, Align:"Center", Edit:false},
  596. {Header:'담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:100, Align:"Center"},
  597. {Header:'전화번호', Type:"Text", SaveName:"TEL_NUM", Width:100, Align:"Center", Edit:false},
  598. {Header:'핸드폰', Type:"Text", SaveName:"CHAGE_HP", Width:100, Align:"Center"},
  599. {Header:'이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:100, Align:"Left"},
  600. {Header:'추천사유', Type:"Text", SaveName:"RECOMMEND_REASON", Width:150, Align:"Left"},
  601. {Header:'추천부서', Type:"Text", SaveName:"VENDOR_CD", Width:0, Align:"Center", Hidden:"True"},
  602. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_ID", Width:0, Align:"Center", Hidden:"True"},
  603. {Header:'BIDNO', Type:"Text", SaveName:"BID_NO", Width:10, Align:"Center", Hidden:"True"},
  604. {Header:'BIDDEG', Type:"Text", SaveName:"BID_DEG", Width:10, Align:"Center", Hidden:"True"}
  605. ];
  606. }else{
  607. init_sheet.Cfg = {SearchMode:2, Page:30, MergeSheet:msHeaderOnly,SizeMode:1};
  608. init_sheet.Cols = [
  609. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
  610. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  611. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  612. {Header:'계정ID', Type:"Text", SaveName:"ACCT_ID", Width:0, Align:"Center", Hidden:"True"},
  613. {Header:'이름', Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center", Edit:false},
  614. {Header:'부서명', Type:"Text", SaveName:"BUSEO_NAME", Width:150, Align:"Left", Edit:false},
  615. {Header:'직위명', Type:"Text", SaveName:"GRADE_NAME", Width:100, Align:"Center", Edit:false}
  616. ];
  617. }
  618. init_sheet.HeaderMode = {Sort:1};
  619. IBS_InitSheet(sheetName, init_sheet);
  620. sheetName.SetDataAutoTrim(0);
  621. sheetName.SetImageList(1,"/img/buyer/button/bt_search_right.gif");
  622. //sheetName.SizeMode(0);
  623. setGridSize();
  624. }
  625. /**
  626. * IBSheet Event: Click
  627. */
  628. function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  629. }
  630. /**
  631. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  632. */
  633. function sheet1_OnSearchEnd(code, message) {
  634. if(code == 0) {
  635. setGridSize();
  636. } else {
  637. //조회 에러 수행
  638. alert(message);
  639. }
  640. }
  641. /**
  642. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  643. */
  644. function sheet2_OnSearchEnd(code, message) {
  645. if(code == 0) {
  646. //sheet2.FitColWidth();
  647. //견적대상 업체 조회
  648. doSearchSheet();
  649. } else {
  650. //조회 에러 수행
  651. alert(message);
  652. }
  653. }
  654. /**
  655. * IBSheet size setting
  656. */
  657. function setGridSize() {
  658. sheet1.FitColWidth();
  659. }
  660. function cmpt_must_ck(){
  661. var rowcnt = sheet1.RowCount();
  662. if($("#CMPT_CD").val() == "03"){//수의계약
  663. if(rowcnt != 1){
  664. alert("견적 대상 업체가 1개 이어야 합니다.");
  665. $("#sheet1_div").focus();
  666. return true;
  667. }
  668. }else if($("#CMPT_CD").val() == "02"){//지명경쟁
  669. if(rowcnt < 2){
  670. alert("견적 대상 업체가 2개 이상 있어야 합니다.");
  671. $("#sheet1_div").focus();
  672. return true;
  673. }
  674. }
  675. return false;
  676. }
  677. function must_ck(){
  678. if(must_ck_val("CONT_AMT",""))return false;
  679. if(must_ck_val("ACT_AMT",""))return false;
  680. if(must_ck_val("BID_MASTER_NM",""))return false;
  681. if(must_ck_val("CMPT_CD","경쟁방법"))return false;
  682. //if(cmpt_must_ck())return false; 2015-03-27 경쟁방법 validation 막음
  683. if(must_ck_val("SUCC_CD","낙찰자선정방법"))return false;
  684. if(must_ck_val("NOTI_DY",""))return false;
  685. if(must_ck_val("CONT_APP_REQ_DATE","시행결의요청일"))return false;
  686. if(must_ck_radio("SITEDESC_FLAG","견적설명회여부"))return false;
  687. if($(':radio[name="SITEDESC_FLAG"]:checked').val() == "Y"){
  688. if(must_ck_val("SITEDESCCHRGPRSNNM",""))return false;
  689. if(must_ck_val("SITEDESCTELNO",""))return false;
  690. if(must_ck_val("SITEDESCDATE",""))return false;
  691. if(time_ck("SITEDESCDATE_HH","HH"))return false;
  692. if(time_ck("SITEDESCDATE_MI","MI"))return false;
  693. if(must_ck_val("SITEDESCPLACE",""))return false;
  694. }
  695. if(must_ck_val("BID_FROM_DT",""))return false;
  696. if(time_ck("BID_FROM_HH","HH"))return false;
  697. if(time_ck("BID_FROM_MI","MI"))return false;
  698. if(must_ck_val("BID_TO_DT",""))return false;
  699. if(time_ck("BID_TO_HH","HH"))return false;
  700. if(time_ck("BID_TO_MI","MI"))return false;
  701. if(jQuery("#BID_FROM_DT").val() == jQuery("#BID_TO_DT").val()){
  702. var fromitme = jQuery("#BID_FROM_HH").val()+jQuery("#BID_FROM_MI").val();
  703. var toitme = jQuery("#BID_TO_HH").val()+jQuery("#BID_TO_MI").val();
  704. if(toitme <= fromitme){
  705. alert("견적제출기간 시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  706. jQuery("#BID_FROM_HH").focus();
  707. return false;
  708. }
  709. }
  710. if(must_ck_val("PUREMPNM",""))return false;
  711. if(must_ck_val("PO_EMPNM",""))return false;
  712. if(must_ck_val("OPEN_EMPNM",""))return false;
  713. if(report_emp_must_ck())return false;
  714. if(must_ck_radio("TBE_FLAG","TBE여부"))return false;
  715. if($(':radio[name="TBE_FLAG"]:checked').val() == "Y"){
  716. /* if(must_ck_val("SUPP_REQ_DY",""))return false; */
  717. if(must_ck_val("EVAL_TEL",""))return false;
  718. if(must_ck_val("EVAL_EMPNM",""))return false;
  719. }
  720. if($("#CURRENCY_GB").val()==""){
  721. alert("통화구분은 필수입니다.");
  722. $("#CURRENCY_GB").focus();
  723. return false;
  724. }
  725. if(cash_bill_sum_check("OBC_MID_CASH_RATE","OBC_MID_BILL_RATE"))return false;
  726. if(cash_bill_sum_check("OBC_FIN_CASH_RATE","OBC_FIN_BILL_RATE"))return false;
  727. if($(':checkbox[name="OBC_EMP_YN"]:checked').val() != "Y")$("#OBC_EMP_YN").val("N");
  728. if($(':checkbox[name="OBC_PENSION_YN"]:checked').val() != "Y")$("#OBC_PENSION_YN").val("N");
  729. if($(':checkbox[name="OBC_HEALTH_YN"]:checked').val() != "Y")$("#OBC_HEALTH_YN").val("N");
  730. if($(':checkbox[name="OBC_ELDER_YN"]:checked').val() != "Y")$("#OBC_ELDER_YN").val("N");
  731. if($(':checkbox[name="OBC_WORK_YN"]:checked').val() != "Y")$("#OBC_WORK_YN").val("N");
  732. if($(':checkbox[name="OBC_RESIGN_YN"]:checked').val() != "Y")$("#OBC_RESIGN_YN").val("N");
  733. if($(':checkbox[name="OBC_SAFE_YN"]:checked').val() != "Y")$("#OBC_SAFE_YN").val("N");
  734. if($(':checkbox[name="OBC_ENV_YN"]:checked').val() != "Y")$("#OBC_ENV_YN").val("N");
  735. if($(':checkbox[name="OBC_SITE_YN"]:checked').val() != "Y")$("#OBC_SITE_YN").val("N");
  736. if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() != "Y")$("#OBC_DUTY_YN").val("N");
  737. if($(':checkbox[name="OBC_WARR_YN"]:checked').val() != "Y")$("#OBC_WARR_YN").val("N");
  738. if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() == "Y")if(must_ck_val("OBC_DUTY_RATE",""))return false;
  739. return true;
  740. }
  741. // value 값 체크
  742. function must_ck_val(obj,desc){
  743. if($("#"+obj).val().length == 0){
  744. if(desc.length> 0){
  745. alert(desc+must_msg);
  746. }else{
  747. alert($("#"+obj).attr("desc")+must_msg);
  748. }
  749. $("#"+obj).focus();
  750. return true;
  751. }
  752. return false;
  753. }
  754. // radio 박스 체크
  755. function must_ck_radio(obj,name){
  756. var value = $(':radio[name='+obj+']:checked').val();
  757. if(value == undefined){
  758. alert(name+must_msg);
  759. $("#"+obj).focus();
  760. return true;
  761. }
  762. return false;
  763. }
  764. function time_ck(obj,type){
  765. if(must_ck_val(obj,""))return true;
  766. if(!isNumber($("#"+obj).val())){
  767. alert("숫자만 입력 가능합니다.");
  768. $("#"+obj).focus();
  769. return true;
  770. }else{
  771. var time = Number($("#"+obj).val());
  772. if(type == "HH"){
  773. if(time < -1 || time> 23){
  774. alert("0~23 까지 입력 가능합니다.");
  775. $("#"+obj).focus();
  776. return true;
  777. }
  778. }else if(type == "MI"){
  779. if(time < -1 || time> 59){
  780. alert("0~59 까지 입력 가능합니다.");
  781. $("#"+obj).focus();
  782. return true;
  783. }
  784. }
  785. }
  786. if($("#"+obj).val().length == 1){
  787. var timelength = $("#"+obj).val();
  788. $("#"+obj).val("0"+timelength);
  789. }
  790. return false;
  791. }
  792. //보고자 체크
  793. function report_emp_must_ck(){
  794. var rowcnt = sheet2.RowCount();
  795. var rst = 0;
  796. if(rowcnt < 1){
  797. alert("보고자는 필수입니다.");
  798. $("#sheet2_div").focus();
  799. return true;
  800. }
  801. if($("#CMPT_CD").val() == "03"){//수의계약
  802. if(rowcnt != 1){
  803. if (confirm("보고자가 1명이 아닙니다.\n진행하시겠습니까?")){
  804. }else{
  805. $("#sheet2_div").focus();
  806. return true;
  807. }
  808. }
  809. for(var r=0; r < rowcnt; r++){
  810. var acct_id = sheet2.GetCellValue(r+1,"ACCT_ID");
  811. if(acct_id == <%=Order.get("OUT_LEADER") %>){
  812. rst = rst+1;
  813. }
  814. }
  815. if(rst == 0){
  816. if (confirm("외주 팀장이 보고자에 없습니다.\n진행하시겠습니까?")){
  817. }else{
  818. $("#sheet2_div").focus();
  819. return true;
  820. }
  821. }
  822. }
  823. return false;
  824. }
  825. //첨부파일
  826. function doAttachFile(obj,No) {
  827. var file_div = "bid/outside/"+"<%=Order.get("BID_NO")%>"+"/";
  828. var fileName = "<%=Order.get("DEMANDED_NO")%>" + "(" + "<%=Order.get("DEMANDED_TITLE")%>" + ")_";
  829. if(obj==''){
  830. alert("After you have saved, you can attach a file.");
  831. }
  832. else if(obj != ''){
  833. if(No == 1){
  834. fileName += "내부자료";
  835. <%-- viewFileListNew("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "Y", file_div); --%>
  836. viewFileListNew("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "Y", file_div, null, null, null, null, "Y", fileName);
  837. }else{
  838. fileName += "외부자료";
  839. <%-- viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "Y", file_div); --%>
  840. viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "Y", file_div, null, null, null, null, "Y", fileName);
  841. }
  842. }
  843. }
  844. //견적대상업체 추가
  845. function doInsert(sheetObj) {
  846. sheetObj.DataAutoTrim = false;
  847. var rowIndex = sheet1.DataInsert(-1);
  848. sheet1.SetColProperty(rowIndex,3,info);
  849. sheet1.SetColProperty(rowIndex,4,info);
  850. sheet1.SetColProperty(rowIndex,5,info);
  851. sheet1.SetColProperty(rowIndex,6,info);
  852. sheet1.SetRowEditable(rowIndex,1);
  853. var info= {Edit:true};
  854. }
  855. function doResult(resultObj) {
  856. try {
  857. if( resultObj.getRequestEvent() == "CHK") {
  858. document.form1.isSubmit = false;
  859. if( resultObj.getSuccess() ) {
  860. if(btn_act == "to_offsign"){
  861. if(must_ck()){
  862. if (confirm("결재 하시겠습니까?")){
  863. $("#STATUS_CD").val("01");
  864. var f = document.form1;
  865. $("#fevent").val("MASTER_UPDATE");
  866. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/OfflineBid_sheet.screen";
  867. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  868. }
  869. }
  870. }else if(btn_act == "to_del"){
  871. if (confirm("삭제 하시겠습니까?")){
  872. var f = document.form1;
  873. $("#fevent").val("FORM_DELETE");
  874. submitXmlRequest("/bid/outside/OfflineBid_form.screen", "FORM_DELETE", f);
  875. }
  876. }else if(btn_act == "to_save"){
  877. var f = document.form1;
  878. if($("#BID_APP_NO").val() == "")
  879. {
  880. $("#STATUS_CD").val("01");
  881. }else
  882. {
  883. $("#STATUS_CD").val("06");
  884. }
  885. if(must_ck()){
  886. if (confirm("저장 하시겠습니까?")){
  887. $("#fevent").val("UPDATE");
  888. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/OfflineBid_sheet.screen";
  889. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  890. }
  891. }
  892. }
  893. }
  894. else {
  895. alert("입찰실시중 입니다.");
  896. }
  897. }
  898. if( resultObj.getRequestEvent() == "FORM_UPDATE") {
  899. if( resultObj.getSuccess() ) {
  900. alert("저장 되었습니다.");
  901. $("#btn_list").click();
  902. }
  903. else {
  904. dlgErrorMsg(resultObj);
  905. }
  906. }
  907. if( resultObj.getRequestEvent() == "FORM_DELETE") {
  908. if( resultObj.getSuccess() ) {
  909. alert("삭제 되었습니다.");
  910. $("#btn_list").click();
  911. }
  912. else {
  913. dlgErrorMsg(resultObj);
  914. }
  915. }
  916. } catch(errorObject) {
  917. showErrorDlg("doResult()", errorObject);
  918. }
  919. }
  920. function sheet1_OnSaveEnd(code, msg)
  921. {
  922. var event = $("#fevent").val();
  923. if(code>= "0"){
  924. if(event == "SET_CORP_DELETE"){
  925. alert("삭제되었습니다.");
  926. }else if(event == "MASTER_UPDATE"){
  927. doSaveSheet2();
  928. }else if(event == "UPDATE"){
  929. doSaveSheet2();
  930. }else{
  931. alert("저장되었습니다.");
  932. refresh();
  933. }
  934. }else{
  935. alert("에러가 발생하였습니다.\n"+msg);
  936. }
  937. }
  938. function sheet2_OnSaveEnd(code, msg)
  939. {
  940. var event = $("#fevent").val();
  941. if(code>= "0"){
  942. if(event == "SET_REPORT_EMP_DELETE"){
  943. alert("삭제 되었습니다.");
  944. doSearchSheet2();
  945. }else if(event == "REPORT_EMP_UPDATE"){
  946. if(code>= "0"){
  947. if(btn_act == "to_offsign"){
  948. document.form1.isSubmit = false;
  949. var f = document.form1;
  950. var sign_bid_no = $("#BID_NO").val();
  951. var sign_bid_deg = $("#BID_DEG").val();
  952. dlgSignForm('ebid_oinqD', '/bid/outside/BidPlanSign.screen?sign_bid_no='+sign_bid_no+'^sign_bid_deg='+sign_bid_deg+'^acct_id='+"<%=user.get("ACCT_ID")%>");
  953. //alert("낙찰업체선정 페이지에서\n 견적작성을 해 주세요.");
  954. //refresh2();
  955. }else{
  956. alert("저장 되었습니다.");
  957. if($("#BID_APP_NO").val() != ""){
  958. $("#fevent").val("FORM_SELECT");
  959. $("#form1").attr("action", "/bid/outside/SuccessBid.screen");
  960. $("#form1").attr("target", "_self");
  961. $("#form1").attr("method", "post");
  962. $("#form1").submit();
  963. }else{
  964. refresh();
  965. }
  966. }
  967. }else{
  968. alert("에러가 발생하였습니다.\n"+msg);
  969. document.form1.isSubmit = false;
  970. }
  971. }
  972. }else{
  973. alert("에러가 발생하였습니다.\n"+msg);
  974. }
  975. }
  976. function refresh(){//저장
  977. $("#fevent").val("FORM_SELECT");
  978. $("#form1").attr("action", "/bid/outside/OfflineBid.screen");
  979. $("#form1").attr("target", "_self");
  980. $("#form1").attr("method", "post");
  981. $("#form1").submit();
  982. }
  983. function refresh2(){//결재
  984. //업체선정으로 이동
  985. $("#fevent").val("");
  986. $("#form1").attr("action", "/bid/outside/SuccessBidList.screen");
  987. $("#form1").attr("target", "_self");
  988. $("#form1").attr("method", "post");
  989. $("#form1").submit();
  990. }
  991. function sheet1_OnSmartResize(Width, Height) {
  992. sheet1.FitColWidth();
  993. autoResize();
  994. }
  995. function autoResize(){
  996. sheet1.SetSheetHeight(200);
  997. }
  998. function act_rate(){
  999. var cont = $("#CONT_AMT").val();
  1000. if(cont == "")
  1001. cont = 0;
  1002. else
  1003. cont = cont.replace(/,/gi,"");
  1004. var act = $("#ACT_AMT").val();
  1005. if(act == "")
  1006. act = 0;
  1007. else
  1008. act = act.replace(/,/gi,"");
  1009. if(cont > 0 && act > 0){
  1010. var rate = Number(act)/Number(cont) * 100;
  1011. $("#ACT_RATE").val(Math.round(rate *10)/10);
  1012. }else{
  1013. $("#ACT_RATE").val("");
  1014. }
  1015. $("#PUR_AMT").val(Math.round(Number(act) * 0.95)); //2018.04.25
  1016. jQuery("#PUR_AMT").each(function(index){
  1017. jQuery(this).val(jQuery(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  1018. });
  1019. }
  1020. /**
  1021. * IBSheet Event: Click
  1022. */
  1023. function sheet1_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  1024. if(Row == 0)return;
  1025. if( Col == 11){//견적금액
  1026. var win_id = "_BidAmtPop";
  1027. var link = "/bid/outside/BidOfflineAmtPop.screen";
  1028. link += "?pop_win_id="+win_id;
  1029. link += "&ROW="+Row;
  1030. link += "&VENDOR_CD="+sheet1.GetCellValue(Row,"VENDOR_CD");
  1031. link += "&VENDOR_NO="+sheet1.GetCellValue(Row,"VENDOR_NO");
  1032. link += "&ESTI_TOT_AMT="+sheet1.GetCellValue(Row,"ESTI_TOT_AMT");
  1033. link += "&BID_NO="+$("#BID_NO").val();
  1034. link += "&BID_DEG="+$("#BID_DEG").val();
  1035. link += "&FILE_GB="+sheet1.GetCellValue(Row,"FILE_GB");
  1036. link += "&DEMANDED_ID="+$("#DEMANDED_ID").val();
  1037. link += "&OBC_EMP_YN="+$("#OBC_EMP_YN").val();
  1038. link += "&OBC_PENSION_YN="+$("#OBC_PENSION_YN").val();
  1039. link += "&OBC_HEALTH_YN="+$("#OBC_HEALTH_YN").val();
  1040. link += "&OBC_ELDER_YN="+$("#OBC_ELDER_YN").val();
  1041. link += "&OBC_WORK_YN="+$("#OBC_WORK_YN").val();
  1042. link += "&OBC_RESIGN_YN="+$("#OBC_RESIGN_YN").val();
  1043. link += "&OBC_SAFE_YN="+$("#OBC_SAFE_YN").val();
  1044. link += "&OBC_ENV_YN="+$("#OBC_ENV_YN").val();
  1045. link += "&OBC_SITE_YN="+$("#OBC_SITE_YN").val();
  1046. link += "&OBC_DUTY_YN="+$("#OBC_DUTY_YN").val();
  1047. link += "&OBC_WARR_YN="+$("#OBC_WARR_YN").val();
  1048. link += "&OBC_DUTY_RATE="+$("#OBC_DUTY_RATE").val();
  1049. fLayerPop(win_id, link, 1200,690, '', '', 'NO');
  1050. }
  1051. }
  1052. //결재
  1053. function dlgSignForm( sign_class_cd, uri ) {
  1054. var f = document.form1;
  1055. var sheet1 = document.all.sheet1;
  1056. var url = "/bidOutsideSign/BidPlanSign_form.screen";
  1057. url += "?sign_class_cd=" + sign_class_cd;
  1058. url += "&uri=" + uri;
  1059. url += "&sign_bid_no=" + $("#BID_NO").val();
  1060. url += "&sign_bid_deg=" + $("#BID_DEG").val();
  1061. url += "&acct_type=1";
  1062. window.open(url, "_blank","width=200,height=100,SCROLLBARS=no");
  1063. }
  1064. function doSignFile(doc_id){
  1065. //alert(doc_id);
  1066. if(doc_id == ""){
  1067. alert("결재 정보가 없습니다.");
  1068. return;
  1069. }
  1070. var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
  1071. doc_chk = doc_chk * 1;
  1072. //var popOption = "width=400, height=450, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  1073. var link = "";
  1074. var year = "<%=sign_info.get("year") %>";
  1075. if (year > "20151213"){
  1076. link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
  1077. }
  1078. else
  1079. {
  1080. link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
  1081. }
  1082. window.open(link,"_viewDraft","");
  1083. }
  1084. function sheet1_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  1085. if(Row == 0)return;
  1086. if( Col == 4){//추천부서
  1087. searchAccDept();
  1088. $("#TEMP_ROW").val(Row);
  1089. }
  1090. }
  1091. function searchAccDept(p_dept_cd, p_dept_nm){
  1092. var win_id = "_searchDept";
  1093. var link = "/lib/dlgSearchAccDept.screen";
  1094. link += "?pop_win_id="+win_id;
  1095. //link += "&{{query}}";
  1096. fLayerPop(win_id, link, 600,400, '', '', 'NO');
  1097. }
  1098. function searchAccDeptClose(result){
  1099. if( result == null ){
  1100. }else{
  1101. sheet1.SetCellValue($("#TEMP_ROW").val(),"RECM_DEPT_ID",result[0]); //부서코드
  1102. sheet1.SetCellValue($("#TEMP_ROW").val(),"RECM_DEPT_NM", result[1]); //부서명
  1103. }
  1104. setTimeout(function(){ fLayerPopClose('_searchDept');},100);
  1105. }
  1106. //2019.11.22 전산요구사항으로 추가
  1107. function textareaResize(obj) {
  1108. obj.style.height = "80px";
  1109. obj.style.height = obj.scrollHeight+"px";
  1110. }
  1111. </SCRIPT>
  1112. <modular:search id="form1">
  1113. <modular:key id="fevent" />
  1114. </modular:search>
  1115. <form id="form1" name="form1" method="post" modular:type="search">
  1116. <INPUT type='hidden' name="fevent" id="fevent" value="">
  1117. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  1118. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  1119. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  1120. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  1121. <INPUT type='hidden' name="SAVE" value="">
  1122. <INPUT type='hidden' name="DOC_ETC_IN" value="<%=Order.get("DOC_ETC_IN")%>">
  1123. <INPUT type='hidden' name="DOC_ETC_OUT" value="<%=Order.get("DOC_ETC_OUT")%>">
  1124. <INPUT type='hidden' name="ONBID_YN" value="<%=Order.get("ONBID_YN")%>">
  1125. <INPUT type='hidden' name="BID_APP_NO" value="<%=Order.get("BID_APP_NO")%>">
  1126. <INPUT type='hidden' name="signClass" value="ebid_oinqD">
  1127. <INPUT type='hidden' name="LAST_EVAL_EMPNM" value="">
  1128. <INPUT type='hidden' name="LAST_EVAL_EMPID" value="">
  1129. <INPUT type='hidden' name="TEMP_ROW" value="">
  1130. <!-- 제목 및 버튼 -->
  1131. <table width="100%">
  1132. <colgroup>
  1133. <col width="500" />
  1134. <col width="*" />
  1135. </colgroup>
  1136. <tr>
  1137. <th>
  1138. <div align="left" id="title">
  1139. <ul><li>외주_오프라인입찰상세<font style="font-size:11px">(<%=Order.get("STATUS_NM")%>)</font></li></ul>
  1140. </div>
  1141. </th>
  1142. <td align="right">
  1143. <span class="btnSearch center" id="btn_Save"><a href="javascript:void(0);">저장</a></span>
  1144. <%if(Order.get("BID_APP_NO").isEmpty()){%><!-- 결재가된 입찰건인경우 저장만 가능하게.. -->
  1145. <span class="btnSearch center" id="btn_del"><a href="javascript:void(0);">삭제</a></span>
  1146. <span class="btnSearch center" id="btn_authorization"><a href="javascript:void(0);">결재</a></span>
  1147. <%}%>
  1148. <%if(!Order.get("BID_APP_NO").isEmpty()){%>
  1149. <span class="btnSearch center" id="btn_back"><a href="javascript:void(0);">이전</a></span>
  1150. <%}%>
  1151. <span class="btnSearch center" id="btn_item"><a href="javascript:void(0);">입찰내역</a></span>
  1152. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  1153. </td>
  1154. </tr>
  1155. </table>
  1156. <!-- 발주의뢰정보 : 시작 -->
  1157. <div class="application-info magT10">
  1158. <div class="application-sub-title">
  1159. <span class="title">발주의뢰정보</span>
  1160. </div>
  1161. </div>
  1162. <TABLE class="form-table">
  1163. <colgroup>
  1164. <col width="145px"/>
  1165. <col width="19%">
  1166. <col width="145px"/>
  1167. <col width="19%">
  1168. <col width="145px"/>
  1169. <col/>
  1170. </colgroup>
  1171. <TR height="25">
  1172. <TH> 현장</TH>
  1173. <TD><%=Order.get("dept_nm") %></TD>
  1174. <TH> 발주의뢰번호</TH>
  1175. <TD><a href="javascript:doSignFile('<%=sign_info.get("doc_id") %>');"><%=Order.get("DEMANDED_NO")%></a>
  1176. </TD>
  1177. <TH> 발주의뢰명</TH>
  1178. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  1179. </TR>
  1180. <TR height="25">
  1181. <TH> 발주의뢰일</TH>
  1182. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  1183. <TH> 발주의뢰부서</TH>
  1184. <TD><%= Order.get("REQ_DEPT_NM")%></TD>
  1185. <TH> 발주의뢰자</TH>
  1186. <TD><%= Order.get("EMP_NM")%></TD>
  1187. </TR>
  1188. <TR height="25">
  1189. <TH> 발주접수일자</TH>
  1190. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  1191. <TH> Pay Item</TH>
  1192. <TD><%= Order.get("PAY_ITEM_NM") %></TD>
  1193. <TH class="required"> 외주예산 (원)</TH>
  1194. <TD><%= InputText.get("PUR_AMT", Formatter2.currency(Order.get("PUR_AMT"),0), 13, 300, "desc=예산금액,Number,right,readOnly","Number") %></TD> <!-- 2015.3.2 외주예산추가 MKLEE -->
  1195. </TR>
  1196. <TR height="25">
  1197. <TH class="required"> 도급금액 (원)</TH>
  1198. <TD><%= InputText.get("CONT_AMT", Formatter2.currency(Order.get("CONT_AMT"),0), 13, 300, "desc=도급금액,Number,right","Number") %></TD>
  1199. <TH class="required"> 실행예산 (원)</TH>
  1200. <TD><%= InputText.get("ACT_AMT", Formatter2.currency(Order.get("ACT_AMT"),0), 13, 300, "desc=실행금액,Number,right","Number") %></TD>
  1201. <TH> 도급대비실행율(%)</TH>
  1202. <TD><%= InputText.get("ACT_RATE", Order.get("ACT_RATE"), 50, 300, "class=input_blank,desc=실행금액,left,readOnly=white") %></TD>
  1203. </TR>
  1204. <TR height="25">
  1205. <TH>공사기간</TH>
  1206. <TD><%= InputText.get("DELI_FROM_DY", Order.get("DELI_FROM_DY"), 10, 10, "desc=공사기간,readOnly,center") %>
  1207. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');">
  1208. <%if(!Order.get("DELI_FROM_DY").isEmpty()||!Order.get("DELI_TO_DY").isEmpty()){ %>~<%} %>
  1209. <%= InputText.get("DELI_TO_DY", Order.get("DELI_TO_DY"), 10, 10, "desc=공사기간,readOnly,center") %>
  1210. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
  1211. <TH>공사장소</TH>
  1212. <TD><%= Order.get("DELIVERY_PLACE") %></TD>
  1213. <TH>공종</TH>
  1214. <TD><%= Order.get("OUT_ITEM_NM") %></TD>
  1215. </TR>
  1216. </table>
  1217. <div class="application-info magT20">
  1218. <div class="application-sub-title">
  1219. <span class="title">입찰기본정보</span>
  1220. </div>
  1221. </div>
  1222. <TABLE class="form-table">
  1223. <colgroup>
  1224. <col width="145"/>
  1225. <col width="145"/>
  1226. <col width="29%"/>
  1227. <col width="145"/>
  1228. <col/>
  1229. </colgroup>
  1230. <TR height="25">
  1231. <TH> 입찰번호-차수</TH>
  1232. <TD colspan="2"><%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%></TD>
  1233. <TH> 온라인입찰여부</TH>
  1234. <TD><%=Order.get("ONBID_YN_NM")%></TD>
  1235. </TR>
  1236. <TR height="25">
  1237. <TH class="required"> 입찰명</TH>
  1238. <TD colspan="5"><%= InputText.get("BID_MASTER_NM", Order.get("BID_MASTER_NM"), 85, 300, "desc=입찰명") %></TD>
  1239. </TR>
  1240. <TR height="25">
  1241. <TH class="required"> 경쟁방법</TH>
  1242. <TD colspan="2">
  1243. <%=CommCodeManager.getSelectCodeList("CMPT_CD","CMPT_CD","height=18;","<option value=''>--선택--</option>",Order.get("CMPT_CD")) %>
  1244. </TD>
  1245. <TH class="required"> 낙찰자선정방법</TH>
  1246. <TD colspan="3"><%=CommCodeManager.getSelectCodeList("SUCC_CD","SUCC_CD","height=18;","<option value=''>--선택--</option>",Order.get("SUCC_CD")) %></TD>
  1247. </TR>
  1248. <!-- 발주의뢰정보 : 종료 -->
  1249. </table>
  1250. <div class="application-info magT20">
  1251. <div class="application-sub-title">
  1252. <span class="title">입찰진행</span>
  1253. </div>
  1254. </div>
  1255. <TABLE class="form-table">
  1256. <colgroup>
  1257. <col width="145"/>
  1258. <col width="145"/>
  1259. <col width="29%"/>
  1260. <col width="145"/>
  1261. <col/>
  1262. </colgroup>
  1263. <TR height="25">
  1264. <TH class="required">업체공지일자</TH>
  1265. <TD colspan="2"><%= InputText.get("NOTI_DY", Order.get("NOTI_DY"), 10, 10, "desc=업체공지일자,center,readOnly") %>
  1266. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('NOTI_DY');"></TD>
  1267. <TH class="required">시행결의요청일</TH>
  1268. <TD colspan="2"><%= InputText.get("CONT_APP_REQ_DATE", Order.get("CONT_APP_REQ_DATE"), 10, 10, "desc=시행결의요청일,center,readOnly") %>
  1269. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('CONT_APP_REQ_DATE');"></TD>
  1270. </TR>
  1271. <TR height="25">
  1272. <TH rowspan="3"> 견적설명회 정보</TH>
  1273. <TH class="required"> 여부</TH>
  1274. <TD>
  1275. <LABEL for="sitedesc_flag_1"><INPUT id="sitedesc_flag_1" type="radio" name="SITEDESC_FLAG" value="Y" desc="견적설명회 여부" <%=Order.get("SITEDESC_FLAG").equals("Y") ? "checked=\"checked\"" : "" %>> 예</LABEL>
  1276. <LABEL for="sitedesc_flag_2"><INPUT id="sitedesc_flag_2" type="radio" name="SITEDESC_FLAG" value="N" desc="견적설명회 여부" <%=Order.get("SITEDESC_FLAG").equals("N") ? "checked=\"checked\"" : "" %>> 아니오</LABEL>
  1277. </TD>
  1278. <TH class="required"> 담당자</TH>
  1279. <TD>
  1280. <%= InputText.get("SITEDESCCHRGPRSNNM", Order.get("SITEDESCCHRGPRSNNM"), 21, 50, "desc=견적설명회 담당자,readOnly") %><INPUT type='hidden' name="SITEDESCCHRGPRSNID" value="<%=Order.get("SITEDESCCHRGPRSNID")%>">
  1281. <IMG id="btn_sitedescchrgprsnid" src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('SITEDESCCHRGPRSNNM','SITEDESCCHRGPRSNID','N');">
  1282. </TD>
  1283. </TR>
  1284. <TR height="25">
  1285. <TH class="required"> 담당자 전화번호</TH>
  1286. <TD><%= InputText.get("SITEDESCTELNO", Order.get("SITEDESCTELNO"), 15, 20, "desc=견적설명회 담당자 전화번호") %> ex)02-0000-0000</TD>
  1287. <TH class="required"> 일시</TH>
  1288. <TD>
  1289. <%= InputText.get("SITEDESCDATE", Order.get("SITEDESCDATE"), 10, 10, "desc=견적설명회 일시,readOnly,center") %>
  1290. <IMG name="calendar_sitedescdate" id="calendar_sitedescdate" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('SITEDESCDATE');">
  1291. <%= InputText.get("SITEDESCDATE_HH", Order.get("SITEDESCDATE_HH"), 2, 2, "desc=견적설명회 일시,Number,center","Number") %> : <%= InputText.get("SITEDESCDATE_MI", Order.get("SITEDESCDATE_MI"), 2, 2,"desc=견적설명회 일시,Number,center","Number") %>
  1292. </TD>
  1293. </TR>
  1294. <TR height="25">
  1295. <TH> 담당자 E-Mail</TH>
  1296. <TD><%= InputText.get("SITEDESCEMAIL", Order.get("SITEDESCEMAIL"), 50, 50, "") %></TD>
  1297. <TH class="required"> 장소</TH>
  1298. <TD><%= InputText.get("SITEDESCPLACE", Order.get("SITEDESCPLACE"), 60, 200, "desc=견적설명회 장소") %></TD>
  1299. </TR>
  1300. <TR height="25">
  1301. <TH rowspan="4"> 견적 의뢰</TH>
  1302. <TH class="required"> 견적제출기간</TH>
  1303. <TD colspan="3">
  1304. <%= InputText.get("BID_FROM_DT", Order.get("BID_FROM_DT"), 10, 10, "desc=견적제출기간,readOnly,center") %>
  1305. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_FROM_DT');">
  1306. <%= InputText.get("BID_FROM_HH", Order.get("BID_FROM_HH"), 2, 2, "desc=견적제출기간,Time,center") %> :
  1307. <%= InputText.get("BID_FROM_MI", Order.get("BID_FROM_MI"), 2, 2, "desc=견적제출기간,Time,center") %> ~
  1308. <%= InputText.get("BID_TO_DT", Order.get("BID_TO_DT"), 10, 10, "desc=견적제출기간,readOnly,center") %>
  1309. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_TO_DT');">
  1310. <%= InputText.get("BID_TO_HH", Order.get("BID_TO_HH"), 2, 2, "desc=견적제출기간,Time,center") %> :
  1311. <%= InputText.get("BID_TO_MI", Order.get("BID_TO_MI"), 2, 2, "desc=견적제출기간,Time,center") %>
  1312. </TD>
  1313. </TR>
  1314. <TR height="25">
  1315. <TH class="required"> 외주담당자</TH>
  1316. <TD>
  1317. <%= InputText.get("PUREMPNM", Order.get("PUREMPNM"), 21, 60, "desc=외주담당자,readOnly") %><INPUT type='hidden' name="PUREMPNO" desc="외주담당자" value="<%=Order.get("PUREMPNO")%>">
  1318. <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('PUREMPNM','PUREMPNO','Y');">
  1319. </TD>
  1320. <TH class="required"> 외주담당자 전화번호</TH>
  1321. <TD>
  1322. <%= InputText.get("PO_EMPNM", Order.get("PO_EMPNM"), 15, 13, "desc=외주담당자 전화번호") %> ex)02-0000-0000
  1323. </TD>
  1324. </TR>
  1325. <TR height="25">
  1326. <TH class="required"> 개찰자</TH>
  1327. <TD colspan="3">
  1328. <%= InputText.get("OPEN_EMPNM", Order.get("OPEN_EMPNM"), 21, 60, "desc=개찰자,readOnly") %><INPUT type='hidden' name="OPEN_EMPID" value="<%=Order.get("OPEN_EMPID")%>">
  1329. <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');">
  1330. </TD>
  1331. <!-- <TD></TD>
  1332. <TD></TD> -->
  1333. </TR>
  1334. <TR height="25">
  1335. <TH class="required"> 보고자</TH>
  1336. <TD colspan="3">
  1337. <div id="report_emp_btn" style="width:410px; margin-top:5px; text-align: right; height: 25px; vertical-align: top;">
  1338. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_add">추가</a></span>
  1339. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_del">삭제</a></span>
  1340. </div>
  1341. <div id="sheet2_div" style="width: 100%; height: 100%;">
  1342. <script>createIBSheet('sheet2','100%', '100px');</script>
  1343. </div>
  1344. </TD>
  1345. </TR>
  1346. <TR height="25">
  1347. <TH rowspan="2">기술검토(TBE)</TH>
  1348. <TH class="required"> TBE 여부</TH>
  1349. <TD colspan="3">
  1350. <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>
  1351. <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>
  1352. </TD>
  1353. </TR>
  1354. <TR height="25">
  1355. <TH class="required"> TBE 심사자</TH>
  1356. <TD>
  1357. <%if(Order.get("EVAL_EMPNM").equals("")){%><!-- 심사자가 없을때 발주의뢰자의 이름과 번호 가져옴 -->
  1358. <INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EMP_NO")%>">
  1359. <%= InputText.get("EVAL_EMPNM", Order.get("EMP_NM"), 21, 60, "desc=TBE심사자,readOnly") %>
  1360. <%}else{ %>
  1361. <INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>">
  1362. <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %>
  1363. <%} %>
  1364. <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');">
  1365. </TD>
  1366. <TH class="required"> TBE 담당자 연락처</TH>
  1367. <TD>
  1368. <%= InputText.get("EVAL_TEL", Order.get("EVAL_TEL"), 15, 13, "desc=TBE 담당자 연락처") %> ex)02-0000-0000
  1369. </TD>
  1370. </TR>
  1371. <!-- 발주의뢰정보 : 종료 -->
  1372. </table>
  1373. <div class="application-info magT20">
  1374. <div class="application-sub-title">
  1375. <span class="title">입찰조건</span>
  1376. </div>
  1377. </div>
  1378. <TABLE class="form-table">
  1379. <colgroup>
  1380. <col width="145"/>
  1381. <col width="145"/>
  1382. <col width="29%"/>
  1383. <col width="145"/>
  1384. <col/>
  1385. </colgroup>
  1386. <TR height="25">
  1387. <TH class="required">통화구분</TH>
  1388. <TD colspan="4">
  1389. <%=CommCodeManager.getSelectCodeList("911","CURRENCY_GB","height=18;","<option value=''>--선택--</option>",Order.get("CURRENCY_GB")) %>
  1390. </TD>
  1391. </TR>
  1392. <TR height="25">
  1393. <TH>계약형태</TH>
  1394. <TD colspan="4">
  1395. <LABEL for="obc_cont_type_1"><INPUT id="obc_cont_type_1" type="radio" name="OBC_CONT_TYPE_CD" value="01" desc="계약형태" <%=Order.get("OBC_CONT_TYPE_CD").equals("01") ? "checked=\"checked\"" : "" %>>도면견적 기준</LABEL><!-- 총액계약(도면견적 기준,총액입찰) -->
  1396. <LABEL for="obc_cont_type_2"><INPUT id="obc_cont_type_2" type="radio" name="OBC_CONT_TYPE_CD" value="02" desc="계약형태" <%=Order.get("OBC_CONT_TYPE_CD").equals("02") ? "checked=\"checked\"" : "" %>>단가계약(공내역 물량 기준,단가입찰)</LABEL>
  1397. </TD>
  1398. </TR>
  1399. <TR height="75">
  1400. <TH rowspan="2">공사대금</TH>
  1401. <TH>선급금</TH>
  1402. <TD> 계약금액의 : <%= InputText.get("OBC_FRST_CONT_RATE", Order.get("OBC_FRST_CONT_RATE"), 6, 6, "Float,Right","Float") %>%<br>
  1403. <%= InputText.get("OBC_FRST_CONDI", Order.get("OBC_FRST_CONDI"), 40, 250, "readOnly") %> <br>
  1404. <%= InputText.get("OBC_FRST_CNT_CONDI", Order.get("OBC_FRST_CNT_CONDI"), 40, 250, "readOnly") %></TD>
  1405. <TH>기성금</TH>
  1406. <TD> 계약금액의 : <%= InputText.get("CPC_MID_RATE", Order.get("CPC_MID_RATE"), 4, 3, "Number,Right","Number") %>% , 현금 : <%= InputText.get("OBC_MID_CASH_RATE", Order.get("OBC_MID_CASH_RATE"), 4, 3, "Number,Right","Number") %>% , 어음 : <%= InputText.get("OBC_MID_BILL_RATE", Order.get("OBC_MID_BILL_RATE"), 4, 3, "Number,Right","Number") %>%<br>
  1407. 세금계산서 발행일로부터 <%= InputText.get("OBC_MID_PAYDAY", Order.get("OBC_MID_PAYDAY"), 10, 50, "Number,Right","Number") %>일 내 지급<br>
  1408. 어음일 경우, 어음 만기일은 목적물 수령일로부터 (<%= InputText.get("OBC_MID_BILL_DATE", Order.get("OBC_MID_BILL_DATE"), 10, 50, "Number,Right","Number") %>)일<br>
  1409. <%= InputText.get("OBC_MID_REQ_MONTH", Order.get("OBC_MID_REQ_MONTH"), 10, 10, "Number,Right","Number") %>개월 당<%= InputText.get("OBC_MID_CNT", Order.get("OBC_MID_CNT"), 10, 10, "Number,Right","Number") %>회 말일에 청구
  1410. </TD>
  1411. </TR>
  1412. <TR height="25">
  1413. <TH>준공금</TH>
  1414. <TD colspan="3"> 계약금액의 : <%= InputText.get("PBC_REST_RATE", Order.get("PBC_REST_RATE"), 4, 3, "Number,Right","Number") %>% , 현금 : <%= InputText.get("OBC_FIN_CASH_RATE", Order.get("OBC_FIN_CASH_RATE"), 4, 3, "Number,Right","Number") %>% , 어음 : <%= InputText.get("OBC_FIN_BILL_RATE", Order.get("OBC_FIN_BILL_RATE"), 4, 3, "Number,Right","Number") %>%
  1415. <%-- <br>세금계산서 발행일로부터 <%= InputText.get("OBC_FIN_PAYDAY", Order.get("OBC_FIN_PAYDAY"), 10, 10, "desc=준공금 날짜,Number,Right","Number") %>일 내 지급<br>
  1416. <%= InputText.get("OBC_FIN_CONDI", Order.get("OBC_FIN_CONDI"), 40, 250, "readOnly") %></TD> --%>
  1417. </TR>
  1418. <TR height="25">
  1419. <TH rowspan="2">보증조건</TH>
  1420. <TH>선급금보증</TH>
  1421. <TD>계약금액의<%= InputText.get("CBC_FIRST_RATE", Order.get("CBC_FIRST_RATE"), 6, 6, "Float,Right","Float") %>%</TD>
  1422. <TH>계약이행 보증</TH>
  1423. <TD>계약금액의<%= InputText.get("CONTFUL_RATE", Order.get("CONTFUL_RATE"), 4, 5, "Float,Right","Float") %>%</TD>
  1424. </TR>
  1425. <TR height="25">
  1426. <TH>하자이행 보증</TH>
  1427. <TD>준공금액의<%= InputText.get("WARR_RATE", Order.get("WARR_RATE"), 4, 5, "Float,Right","Float") %>%</TD>
  1428. <TH>하자담보기간</TH>
  1429. <TD>준공일로부터<%= InputText.get("CBC_DEFECT_DAY", Order.get("CBC_DEFECT_DAY"), 4, 3, "Number,Right","Number") %> 개월</TD>
  1430. </TR>
  1431. <TR height="25">
  1432. <TH>기타조건</TH>
  1433. <TH>하도급대금<br>연동 기준비율</TH>
  1434. <TD><%= InputText.get("PAY_CON_RATE", Order.get("PAY_CON_RATE"), 4, 5, "Float,Right","Float") %>%</TD>
  1435. <TH>지체상금</TH>
  1436. <TD>일당 계약금액의<%= InputText.get("CBC_DAMAGE_RATE", Order.get("CBC_DAMAGE_RATE"), 4, 5, "float,Right","float") %>%, 최대<%= InputText.get("CBC_DAMAGE_MAXRATE", Order.get("CBC_DAMAGE_MAXRATE"), 4, 5, "float,Right","float") %>%</TD>
  1437. </TR>
  1438. <TR height="25">
  1439. <TH rowspan="6">간접비 견적조건</TH>
  1440. <TH>고용보험료</TH>
  1441. <TD>노무비 * <%= InputText.get("OBC_EMP_RATE", Order.get("OBC_EMP_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1442. <LABEL for="OBC_EMP_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_EMP_YN" name="OBC_EMP_YN" value="Y" <%=Order.get("OBC_EMP_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1443. <TH>연금보험료</TH>
  1444. <TD>직접노무비 <%= InputText.get("OBC_PENSION_RATE", Order.get("OBC_PENSION_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp&nbsp&nbsp
  1445. <LABEL for="OBC_PENSION_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_PENSION_YN" name="OBC_PENSION_YN" value="Y" <%=Order.get("OBC_PENSION_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1446. </TR>
  1447. <TR height="25">
  1448. <TH>건강보험료</TH>
  1449. <TD>직접노무비 * <%= InputText.get("OBC_HEALTH_RATE", Order.get("OBC_HEALTH_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1450. <LABEL for="OBC_HEALTH_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_HEALTH_YN" name="OBC_HEALTH_YN" value="Y" <%=Order.get("OBC_HEALTH_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1451. <TH>노인장기보험료</TH>
  1452. <TD>건강보험료 * <%= InputText.get("OBC_ELDER_RATE", Order.get("OBC_ELDER_RATE"), 10, 50, "Left") %> % &nbsp &nbsp&nbsp&nbsp
  1453. <LABEL for="OBC_ELDER_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_ELDER_YN" name="OBC_ELDER_YN" value="Y" <%=Order.get("OBC_ELDER_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1454. </TR>
  1455. <TR height="25">
  1456. <TH>산재보험료</TH>
  1457. <TD>노무비 * <%= InputText.get("OBC_WORK_RATE", Order.get("OBC_WORK_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1458. <LABEL for="OBC_WORK_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_WORK_YN" name="OBC_WORK_YN" value="Y" <%=Order.get("OBC_WORK_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1459. <TH>퇴직공제부금</TH>
  1460. <TD>노무비 * <%= InputText.get("OBC_RESIGN_RATE", Order.get("OBC_RESIGN_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1461. <LABEL for="OBC_RESIGN_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_RESIGN_YN" name="OBC_RESIGN_YN" value="Y" <%=Order.get("OBC_RESIGN_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1462. </TR>
  1463. <TR height="25">
  1464. <TH>안전관리비</TH>
  1465. <TD>노무비 * <%= InputText.get("OBC_SAFE_RATE", Order.get("OBC_SAFE_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1466. <LABEL for="OBC_SAFE_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_SAFE_YN" name="OBC_SAFE_YN" value="Y" <%=Order.get("OBC_SAFE_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1467. <TH>환경관리비</TH>
  1468. <TD>재료비 * <%= InputText.get("OBC_ENV_RATE", Order.get("OBC_ENV_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1469. <LABEL for="OBC_ENV_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_ENV_YN" name="OBC_ENV_YN" value="Y" <%=Order.get("OBC_ENV_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1470. </TR>
  1471. <TR height="25">
  1472. <TH>현장관리비</TH>
  1473. <TD>직접비 * <%= InputText.get("OBC_SITE_RATE", Order.get("OBC_SITE_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  1474. <LABEL for="OBC_SITE_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_SITE_YN" name="OBC_SITE_YN" value="Y" <%=Order.get("OBC_SITE_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1475. <TH>매입부가세</TH>
  1476. <TD>재료비 * 매입세율 <%= InputText.get("OBC_DUTY_RATE", Order.get("OBC_DUTY_RATE"), 5, 6, "desc=매입세율,float,Center","float") %> %
  1477. <LABEL for="OBC_DUTY_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_DUTY_YN" name="OBC_DUTY_YN" value="Y" <%=Order.get("OBC_DUTY_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1478. </TR>
  1479. <TR height="25">
  1480. <TH>간접비 정산조건</TH>
  1481. <TD><LABEL for="obc_ind_type_1"><INPUT id="obc_ind_type_1" type="radio" name="OBC_IND_YN" value="Y" desc="간접비 정산조건" <%=Order.get("OBC_IND_YN").equals("Y") ? "checked=\"checked\"" : "" %>>실적정산</LABEL>
  1482. <LABEL for="obc_ind_type_2"><INPUT id="obc_ind_type_2" type="radio" name="OBC_IND_YN" value="N" desc="간접비 정산조건" <%=Order.get("OBC_IND_YN").equals("N") ? "checked=\"checked\"" : "" %>>비례정산</LABEL></TD>
  1483. <TH>건설기계 수수료</TH>
  1484. <TD>
  1485. <LABEL for="OBC_WARR_YN">견적포함&nbsp<INPUT type="checkbox" id="OBC_WARR_YN" name="OBC_WARR_YN" value="Y" <%=Order.get("OBC_WARR_YN").equals("Y") ? "checked=\"checked\"" : "" %>></LABEL></TD>
  1486. </TR>
  1487. </TABLE>
  1488. <TABLE class="form-table" style="margin-top:5px">
  1489. <colgroup>
  1490. <col width="145"/>
  1491. <col width="145"/>
  1492. <col width="29%"/>
  1493. <col width="145"/>
  1494. <col/>
  1495. </colgroup>
  1496. <TR height="100">
  1497. <TH>주요발주내용</TH>
  1498. <TD colspan="2">
  1499. <textarea name="MAIN_PR_CONTENTS" id="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" onkeyup="textareaResize(this)"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
  1500. </TD>
  1501. <TH>입찰업체선정사유</TH>
  1502. <TD>
  1503. <textarea name="BID_SUPP_SELECT_REASON" id="BID_SUPP_SELECT_REASON" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" onkeyup="textareaResize(this)"><%=Order.get("BID_SUPP_SELECT_REASON")%></textarea>
  1504. </TD>
  1505. </TR>
  1506. <TR height="100">
  1507. <TH>특이사항 내부</TH>
  1508. <TD colspan="2">
  1509. <textarea name="INNER_REMARKS" id="INNER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" onkeyup="textareaResize(this)"><%=Order.get("INNER_REMARKS")%></textarea>
  1510. </TD>
  1511. <TH>특이사항 외부</TH>
  1512. <TD>
  1513. <textarea name="OUTER_REMARKS" id="OUTER_REMARKS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget" onkeyup="textareaResize(this)"><%=Order.get("OUTER_REMARKS")%></textarea>
  1514. </TD>
  1515. </TR>
  1516. <TR height="100">
  1517. <TH>내부자료</TH>
  1518. <TD colspan="2">
  1519. <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>
  1520. <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;'>
  1521. </TD>
  1522. <TH>외부자료</TH>
  1523. <TD>
  1524. <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>
  1525. <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;'>
  1526. </TD>
  1527. </TR>
  1528. </TABLE>
  1529. <table id=copr_list width="100%">
  1530. <colgroup>
  1531. <col width="500" />
  1532. <col width="*" />
  1533. </colgroup>
  1534. <tr>
  1535. <th>
  1536. <div class="application-info magT20">
  1537. <div class="application-sub-title">
  1538. <span class="title">입찰대상업체</span>
  1539. </div>
  1540. </div>
  1541. </th>
  1542. <td align="right">
  1543. <span class="btnSearch center"><a href="javascript:void(0);" id="corp_add">추가</a></span>
  1544. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_row_del">삭제</a></span>
  1545. </td>
  1546. </tr>
  1547. </table>
  1548. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  1549. <script>createIBSheet('sheet1','100%', '100px');</script>
  1550. </div>
  1551. </form>