Rebid.jsp 68 KB

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