SiteExplanIng.jsp 51 KB

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