BidModify.jsp 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027
  1. <%--
  2. - Author(s) : Hyung min Son
  3. - Date : 2014.08.05
  4. - Description: 정정공고
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  8. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  9. <%@ page import="kr.co.udapsoft.common.code.*" %>
  10. <%@ page import="kr.co.hsnc.common.util.*"%>
  11. <%@ page import="kr.co.hsnc.common.sql.*" %>
  12. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  13. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  14. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. ValueObject Order = storage.getValueObject("Order");
  22. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  23. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  24. %>
  25. <SCRIPT language="JavaScript">
  26. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  27. /*예약함수*/
  28. var sheet1 = new ibsheetObject();
  29. var sheet1Row;
  30. var sheet1PageNo = 1;
  31. var pageLastRowIndex = 1;
  32. var validationResult = false;
  33. var filterShow = false;
  34. var must_msg = "(은)는 필수 입력 항목입니다.";
  35. function _onReady(){
  36. /**
  37. * IBSheet object initialize
  38. */
  39. gridInit(sheet1);
  40. /**
  41. * Application Initialize
  42. */
  43. //취소
  44. $("#btn_cancel").click(function() {
  45. $("#fevent").val("FORM_SELECT");
  46. $("#form1").attr("action", "/bid/outside/BidIng.screen");
  47. $("#form1").attr("target", "_self");
  48. $("#form1").attr("method", "post");
  49. $("#form1").submit();
  50. });
  51. // 정정공고
  52. $("#btn_modify").click(function() {
  53. if(must_ck()){
  54. if (confirm("정정공고를 하시겠습니까?")){
  55. var f = document.form1;
  56. $("#fevent").val("UPDATE");
  57. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidModify_sheet.screen";
  58. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  59. }
  60. }
  61. });
  62. $("#sitedesc_flag_1").click(function() {
  63. $("#SITEDESCCHRGPRSNID").attr("disabled",false);
  64. $("#SITEDESCTELNO").attr("disabled",false);
  65. $("#SITEDESCDATE").attr("disabled",false);
  66. $("#SITEDESCDATE_HH").attr("disabled",false);
  67. $("#SITEDESCDATE_MI").attr("disabled",false);
  68. $("#SITEDESCEMAIL").attr("disabled",false);
  69. $("#SITEDESCPLACE").attr("disabled",false);
  70. $("#btn_sitedescchrgprsnid").show();
  71. $("#calendar_sitedescdate").show();
  72. });
  73. $("#sitedesc_flag_2").click(function() {
  74. $("#SITEDESCCHRGPRSNID").attr("disabled",true);
  75. $("#SITEDESCCHRGPRSNID").val("");
  76. $("#SITEDESCTELNO").attr("disabled",true);
  77. $("#SITEDESCTELNO").val("");
  78. $("#SITEDESCDATE").attr("disabled",true);
  79. $("#SITEDESCDATE").val("");
  80. $("#SITEDESCDATE_HH").attr("disabled",true);
  81. $("#SITEDESCDATE_HH").val("");
  82. $("#SITEDESCDATE_MI").attr("disabled",true);
  83. $("#SITEDESCDATE_MI").val("");
  84. $("#SITEDESCEMAIL").attr("disabled",true);
  85. $("#SITEDESCEMAIL").val("");
  86. $("#SITEDESCPLACE").attr("disabled",true);
  87. $("#SITEDESCPLACE").val("");
  88. $("#btn_sitedescchrgprsnid").hide();
  89. $("#calendar_sitedescdate").hide();
  90. });
  91. $("#sort_gb_3").click(function() {
  92. $("#TBE_DATE").attr("disabled",false);
  93. $("#EVAL_TEL").attr("disabled",false);
  94. $("#EVAL_EMPNM").attr("disabled",false);
  95. $("#btnevalemp").show();
  96. $("#calender_supp_req").show();
  97. });
  98. $("#sort_gb_4").click(function() {
  99. $("#TBE_DATE").attr("disabled",true);
  100. $("#TBE_DATE").val("");
  101. $("#EVAL_TEL").attr("disabled",true);
  102. $("#EVAL_TEL").val("");
  103. $("#EVAL_EMPNM").attr("disabled",true);
  104. $("#EVAL_EMPNM").val("");
  105. $("#EVAL_EMPID").attr("disabled",true);
  106. $("#EVAL_EMPID").val("");
  107. $("#btnevalemp").hide();
  108. $("#calender_supp_req").hide();
  109. });
  110. //견적대상 업체 조회
  111. doSearchSheet();
  112. //라디오 박스 체크 여부 // N 일경우 비활성화
  113. if($("#sitedesc_flag_2").attr("checked") == "checked")
  114. $("#sitedesc_flag_2").click();
  115. if($("#sort_gb_4").attr("checked") == "checked")
  116. $("#sort_gb_4").click();
  117. //업체공지일자 변경
  118. $("#NOTI_DY").change(function() {
  119. if($("#BID_FROM_DT").val().length> 0){
  120. if($("#NOTI_DY").val()> $("#BID_FROM_DT").val()){
  121. alert("업체공지일자는 견적제출일이전이어야 합니다.\n- 견적제출일:"+$("#BID_FROM_DT").val());
  122. $("#NOTI_DY").val("");
  123. return;
  124. }
  125. }
  126. if($("#SITEDESCDATE").val().length> 0){
  127. if($("#NOTI_DY").val()> $("#SITEDESCDATE").val()){
  128. alert("업체공지일자는 견적설명일이전이어야 합니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  129. $("#NOTI_DY").val("");
  130. return;
  131. }
  132. }
  133. });
  134. //견적제출기간 변경
  135. $("#BID_FROM_DT").change(function() {
  136. if($("#SITEDESCDATE").val().length> 0){
  137. if($("#BID_FROM_DT").val() < $("#SITEDESCDATE").val()){
  138. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  139. $("#BID_FROM_DT").val("");
  140. return;
  141. }
  142. }
  143. if($("#NOTI_DY").val().length> 0){
  144. if($("#BID_FROM_DT").val() < $("#NOTI_DY").val()){
  145. alert("견적제출기간은 업체공지일 이전 일 수 없습니다.\n- 업체공지일:"+$("#NOTI_DY").val());
  146. $("#BID_FROM_DT").val("");
  147. return;
  148. }
  149. }
  150. if($("#BID_TO_DT").val().length> 0){
  151. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  152. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  153. $("#BID_FROM_DT").val("");
  154. return;
  155. }
  156. }
  157. });
  158. //견적제출기간 변경
  159. $("#BID_TO_DT").change(function() {
  160. if($("#BID_FROM_DT").val().length> 0){
  161. if($("#BID_TO_DT").val() < $("#BID_FROM_DT").val()){
  162. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  163. $("#BID_TO_DT").val("");
  164. return;
  165. }
  166. }
  167. if($("#SITEDESCDT").val().length> 0){
  168. if($("#BID_TO_DT").val() < $("#SITEDESCDT").val()){
  169. alert("견적제출기간은 견적설명일 이전 일 수 없습니다.\n- 견적설명일:"+$("#SITEDESCDATE").val());
  170. $("#BID_TO_DT").val("");
  171. return;
  172. }
  173. }
  174. });
  175. //견적제출기간 변경
  176. $("#DELI_START_DT").change(function() {
  177. if($("#DELI_END_DT").val().length> 0){
  178. if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
  179. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  180. $("#DELI_START_DT").val("");
  181. return;
  182. }
  183. }
  184. });
  185. //견적제출기간 변경
  186. $("#DELI_END_DT").change(function() {
  187. if($("#DELI_START_DT").val().length> 0){
  188. if($("#DELI_START_DT").val()>= $("#DELI_END_DT").val()){
  189. alert("시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  190. $("#DELI_END_DT").val("");
  191. return;
  192. }
  193. }
  194. });
  195. $("#OBC_FRST_CONT_RATE").focusout(function(){
  196. if($("#OBC_FRST_CONT_RATE").val() > 0){
  197. $("#OBC_FRST_CONDI").val("보증서 제출일로부터 15일 내 지급");
  198. $("#OBC_FRST_CNT_CONDI").val("1회 (계약 금액 변경시 추가 청구 가능)");
  199. }else{
  200. $("#OBC_FRST_CONDI").val("");
  201. $("#OBC_FRST_CNT_CONDI").val("");
  202. }
  203. });
  204. $("#OBC_MID_CASH_RATE").focusout(function() {
  205. cash_bill_sum("OBC_MID_CASH_RATE","OBC_MID_BILL_RATE");
  206. });
  207. $("#OBC_MID_BILL_RATE").focusout(function() {
  208. cash_bill_sum("OBC_MID_CASH_RATE","OBC_MID_BILL_RATE");
  209. });
  210. $("#OBC_FIN_CASH_RATE").focusout(function() {
  211. cash_bill_sum("OBC_FIN_CASH_RATE","OBC_FIN_BILL_RATE");
  212. if($("#OBC_FIN_CASH_RATE").val() != "" || $("#OBC_FIN_BILL_RATE").val() != ""){
  213. //$("#OBC_FIN_CONDI").val("1회 준공 해당월 말일에 청구");
  214. }else{
  215. //$("#OBC_FIN_CONDI").val("");
  216. }
  217. });
  218. $("#OBC_FIN_BILL_RATE").focusout(function() {
  219. cash_bill_sum("OBC_FIN_CASH_RATE","OBC_FIN_BILL_RATE");
  220. if($("#OBC_FIN_CASH_RATE").val() != "" || $("#OBC_FIN_BILL_RATE").val() != ""){
  221. //$("#OBC_FIN_CONDI").val("1회 준공 해당월 말일에 청구");
  222. }else{
  223. //$("#OBC_FIN_CONDI").val("");
  224. }
  225. });
  226. $("#OBC_EMP_YN").click(function() {if($(':checkbox[name="OBC_EMP_YN"]:checked').val() != "Y")$("#OBC_EMP_YN").val("N"); });
  227. $("#OBC_PENSION_YN").click(function() {if($(':checkbox[name="OBC_PENSION_YN"]:checked').val() != "Y")$("#OBC_PENSION_YN").val("N"); });
  228. $("#OBC_HEALTH_YN").click(function() {if($(':checkbox[name="OBC_HEALTH_YN"]:checked').val() != "Y")$("#OBC_HEALTH_YN").val("N"); });
  229. $("#OBC_ELDER_YN").click(function() {if($(':checkbox[name="OBC_ELDER_YN"]:checked').val() != "Y")$("#OBC_ELDER_YN").val("N"); });
  230. $("#OBC_WORK_YN").click(function() {if($(':checkbox[name="OBC_WORK_YN"]:checked').val() != "Y")$("#OBC_WORK_YN").val("N"); });
  231. $("#OBC_RESIGN_YN").click(function() {if($(':checkbox[name="OBC_RESIGN_YN"]:checked').val() != "Y")$("#OBC_RESIGN_YN").val("N"); });
  232. $("#OBC_SAFE_YN").click(function() {if($(':checkbox[name="OBC_SAFE_YN"]:checked').val() != "Y")$("#OBC_SAFE_YN").val("N"); });
  233. $("#OBC_ENV_YN").click(function() {if($(':checkbox[name="OBC_ENV_YN"]:checked').val() != "Y")$("#OBC_ENV_YN").val("N"); });
  234. $("#OBC_SITE_YN").click(function() {if($(':checkbox[name="OBC_SITE_YN"]:checked').val() != "Y")$("#OBC_SITE_YN").val("N"); });
  235. $("#OBC_DUTY_YN").click(function() {if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() != "Y")$("#OBC_DUTY_YN").val("N"); });
  236. $("#OBC_WARR_YN").click(function() {if($(':checkbox[name="OBC_WARR_YN"]:checked').val() != "Y")$("#OBC_WARR_YN").val("N"); });
  237. $("#CPC_MID_RATE").focusout(function() {
  238. cash_bill_sum("CPC_MID_RATE","PBC_REST_RATE");
  239. });
  240. $("#PBC_REST_RATE").focusout(function() {
  241. cash_bill_sum("PBC_REST_RATE","CPC_MID_RATE");
  242. });
  243. }
  244. function cash_bill_sum(col1,col2){
  245. var amt1 = Number($("#"+col1).val());
  246. if(amt1 > 100){
  247. alert("100%를 넘을 수 없습니다.");
  248. $("#"+col1).val("");
  249. $("#"+col1).focus();
  250. return;
  251. }
  252. var sum = 100-amt1;
  253. $("#"+col2).val(sum);
  254. if(amt1 == ""){
  255. $("#"+col1).val(0);
  256. }
  257. }
  258. function doSearchSheet(){
  259. $("#fevent").val("GET_CORP_LIST");
  260. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/outside/BidModify_sheet.screen";
  261. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  262. }
  263. function SearchUser(NAME,CODE,DEPT_YN){
  264. var GB = "";
  265. if(CODE == "PUREMPNO"){
  266. CODE = "";
  267. NAME = "";
  268. GB = "PUREMP";
  269. }
  270. var win_id = "_searchUserPopup";
  271. var link = "/lib/dlgSearchUserPop.screen";
  272. link += "?pop_win_id="+win_id;
  273. link += "&NAME="+NAME;
  274. link += "&CODE="+CODE;
  275. link += "&GB="+GB;
  276. if(DEPT_YN == "Y")
  277. link += "&deptNameYn=outside";
  278. fLayerPop(win_id, link, 700,400, '', '', 'NO');
  279. }
  280. function SearchUserClose(result){
  281. if(result[10] == "PUREMP"){
  282. $("#PUREMPNO").val(result[9])//ACCT_ID
  283. $("#PUREMPNM").val(result[1])//이름
  284. $("#PO_EMPNM").val(result[6])//연락처
  285. }
  286. setTimeout(function(){fLayerPopClose('_searchUserPopup');},100);
  287. }
  288. /**
  289. * IBSheet object initialize
  290. */
  291. function gridInit(sheetName){
  292. var init_sheet = {};
  293. init_sheet.Cfg = {SearchMode:2, Page:30};
  294. init_sheet.Cols = [
  295. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center", Hidden:"True"},
  296. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  297. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  298. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_NM", Width:100, Align:"Center", Edit:false},
  299. {Header:'사업자번호', Type:"Text", SaveName:"VENDOR_NO", Width:100, Align:"Center", Edit:false,Format:"SaupNo"},
  300. {Header:'업체명', Type:"Text", SaveName:"VENDOR_NAME", Width:100, Align:"Left", Edit:false},
  301. {Header:'대표자명', Type:"Text", SaveName:"REPRE_NO", Width:100, Align:"Center", Edit:false},
  302. {Header:'담당자명', Type:"Text", SaveName:"CHARGE_NAME", Width:100, Align:"Center", Edit:false},
  303. {Header:'핸드폰', Type:"Text", SaveName:"CHAGE_HP", Width:100, Align:"Center", Edit:false},
  304. {Header:'이메일', Type:"Text", SaveName:"CHARGE_EMAIL", Width:130, Align:"Left", Edit:false},
  305. {Header:'추천사유', Type:"Text", SaveName:"RECOMMEND_REASON", Width:180, Align:"Left", Edit:false},
  306. {Header:'추천부서', Type:"Text", SaveName:"RECM_DEPT_ID", Width:0, Align:"Center", Hidden:"True"},
  307. {Header:'고객사코드', Type:"Text", SaveName:"VENDOR_CD", Width:0, Align:"Center", Hidden:"True"},
  308. {Header:'견적설명참여여부', Type:"Text", SaveName:"SITEPARTI_YN", Width:100, Align:"Center", Hidden:"True"}
  309. ];
  310. init_sheet.HeaderMode = {Sort:1};
  311. IBS_InitSheet(sheetName, init_sheet);
  312. sheetName.SetDataAutoTrim(0);
  313. sheetName.SetEditable(false);
  314. setGridSize();
  315. }
  316. /**
  317. * IBSheet Event: Click
  318. */
  319. function sheet1_OnClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  320. }
  321. /**
  322. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  323. */
  324. function sheet1_OnSearchEnd(code, message) {
  325. if(code == 0) {
  326. setGridSize();
  327. } else {
  328. //조회 에러 수행
  329. alert(message);
  330. }
  331. }
  332. /**
  333. * IBSheet size setting
  334. */
  335. function setGridSize() {
  336. sheet1.FitColWidth();
  337. }
  338. function cmpt_must_ck(){
  339. var rowcnt = sheet1.RowCount();
  340. if($("#CMPT_CD").val() == "03"){//수의계약
  341. if(rowcnt != 1){
  342. alert("견적 대상 업체가 1개 이어야 합니다.");
  343. $("#sheet1_div").focus();
  344. return true;
  345. }
  346. }else if($("#CMPT_CD").val() == "01" || $("#CMPT_CD").val() == "02"){//지명경쟁 공개경쟁
  347. if(rowcnt < 2){
  348. alert("견적 대상 업체가 2개 이상 있어야 합니다.");
  349. $("#sheet1_div").focus();
  350. return true;
  351. }
  352. }
  353. return false;
  354. }
  355. function must_ck(){
  356. if(must_ck_val("MODIFY_REASON","정정사유"))return false;
  357. if(must_ck_val("BID_FROM_DT",""))return false;
  358. if(time_ck("BID_FROM_HH","HH"))return false;
  359. if(time_ck("BID_FROM_MI","MI"))return false;
  360. if(must_ck_val("BID_TO_DT",""))return false;
  361. if(time_ck("BID_TO_HH","HH"))return false;
  362. if(time_ck("BID_TO_MI","MI"))return false;
  363. if(jQuery("#BID_FROM_DT").val() == jQuery("#BID_TO_DT").val()){
  364. var fromitme = jQuery("#BID_FROM_HH").val()+jQuery("#BID_FROM_MI").val();
  365. var toitme = jQuery("#BID_TO_HH").val()+jQuery("#BID_TO_MI").val();
  366. if(toitme <= fromitme){
  367. alert("견적제출기간 시작 또는 종료(마감) 일시가 잘못 입력되었습니다.");
  368. jQuery("#BID_FROM_HH").focus();
  369. return false;
  370. }
  371. }
  372. if(must_ck_val("PUREMPNM",""))return false;
  373. if(must_ck_val("PO_EMPNM",""))return false;
  374. if(must_ck_val("OPEN_EMPNM",""))return false;
  375. if(must_ck_radio("TBE_FLAG","TBE여부"))return false;
  376. if($(':radio[name="TBE_FLAG"]:checked').val() == "Y"){
  377. /* if(must_ck_val("SUPP_REQ_DY",""))return false; */
  378. if(must_ck_val("EVAL_TEL",""))return false;
  379. if(must_ck_val("EVAL_EMPNM",""))return false;
  380. }
  381. if($("#CURRENCY_GB").val()==""){
  382. alert("통화구분은 필수입니다.");
  383. $("#CURRENCY_GB").focus();
  384. return false;
  385. }
  386. if("<%=Order.get("SITEDESC_FLAG")%>"=="예"){
  387. var rowcnt = sheet1.RowCount();
  388. for(var r=0; r < rowcnt; r++)
  389. {
  390. if(sheet1.GetCellValue(r+1,"SITEPARTI_YN") == ""){
  391. alert(sheet1.GetCellValue(r+1,"VENDOR_NAME") + " 참석여부는 필수 입니다.");
  392. return false;
  393. }
  394. }
  395. }
  396. if($(':checkbox[name="OBC_EMP_YN"]:checked').val() != "Y")$("#OBC_EMP_YN").val("N");
  397. if($(':checkbox[name="OBC_PENSION_YN"]:checked').val() != "Y")$("#OBC_PENSION_YN").val("N");
  398. if($(':checkbox[name="OBC_HEALTH_YN"]:checked').val() != "Y")$("#OBC_HEALTH_YN").val("N");
  399. if($(':checkbox[name="OBC_ELDER_YN"]:checked').val() != "Y")$("#OBC_ELDER_YN").val("N");
  400. if($(':checkbox[name="OBC_WORK_YN"]:checked').val() != "Y")$("#OBC_WORK_YN").val("N");
  401. if($(':checkbox[name="OBC_RESIGN_YN"]:checked').val() != "Y")$("#OBC_RESIGN_YN").val("N");
  402. if($(':checkbox[name="OBC_SAFE_YN"]:checked').val() != "Y")$("#OBC_SAFE_YN").val("N");
  403. if($(':checkbox[name="OBC_ENV_YN"]:checked').val() != "Y")$("#OBC_ENV_YN").val("N");
  404. if($(':checkbox[name="OBC_SITE_YN"]:checked').val() != "Y")$("#OBC_SITE_YN").val("N");
  405. if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() != "Y")$("#OBC_DUTY_YN").val("N");
  406. if($(':checkbox[name="OBC_WARR_YN"]:checked').val() != "Y")$("#OBC_WARR_YN").val("N");
  407. if($(':checkbox[name="OBC_DUTY_YN"]:checked').val() == "Y")if(must_ck_val("OBC_DUTY_RATE",""))return false;
  408. return true;
  409. }
  410. // value 값 체크
  411. function must_ck_val(obj,desc){
  412. if($("#"+obj).val().length == 0){
  413. if(desc.length> 0){
  414. alert(desc+must_msg);
  415. }else{
  416. alert($("#"+obj).attr("desc")+must_msg);
  417. }
  418. $("#"+obj).focus();
  419. return true;
  420. }
  421. return false;
  422. }
  423. // radio 박스 체크
  424. function must_ck_radio(obj,name){
  425. var value = $(':radio[name='+obj+']:checked').val();
  426. if(value == undefined){
  427. alert(name+must_msg);
  428. $("#"+obj).focus();
  429. return true;
  430. }
  431. return false;
  432. }
  433. function time_ck(obj,type){
  434. if(must_ck_val(obj,""))return true;
  435. if(!isNumber($("#"+obj).val())){
  436. alert("숫자만 입력 가능합니다.");
  437. $("#"+obj).focus();
  438. return true;
  439. }else{
  440. var time = Number($("#"+obj).val());
  441. if(type == "HH"){
  442. if(time < -1 || time> 23){
  443. alert("0~23 까지 입력 가능합니다.");
  444. $("#"+obj).focus();
  445. return true;
  446. }
  447. }else if(type == "MI"){
  448. if(time < -1 || time> 59){
  449. alert("0~59 까지 입력 가능합니다.");
  450. $("#"+obj).focus();
  451. return true;
  452. }
  453. }
  454. }
  455. if($("#"+obj).val().length == 1){
  456. var timelength = $("#"+obj).val();
  457. $("#"+obj).val("0"+timelength);
  458. }
  459. return false;
  460. }
  461. //첨부파일
  462. function doAttachFile(obj,No) {
  463. var file_div = "bid/outside/<%=Order.get("BID_NO")%>/";
  464. if(obj==''){
  465. alert("After you have saved, you can attach a file.");
  466. }
  467. else if(obj != ''){
  468. if(No == 1){
  469. //viewFileList("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", "N", "Y", "N");
  470. viewFileListNew('<%=Order.get("DOC_ETC_IN")%>', obj.value, document.form1.p_AttachFile1, "Y", file_div);
  471. }else{
  472. //viewFileList("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", "N", "Y", "N");
  473. viewFileListNew('<%=Order.get("DOC_ETC_OUT")%>', obj.value, document.form1.p_AttachFile2, "Y", file_div);
  474. }
  475. }
  476. }
  477. //견적대상업체 추가
  478. function doInsert(sheetObj) {
  479. sheetObj.DataAutoTrim = false;
  480. var rowIndex = sheet1.DataInsert(-1);
  481. sheet1.SetColProperty(rowIndex,3,info);
  482. sheet1.SetColProperty(rowIndex,4,info);
  483. sheet1.SetColProperty(rowIndex,5,info);
  484. sheet1.SetColProperty(rowIndex,6,info);
  485. sheet1.SetRowEditable(rowIndex,1);
  486. var info= {Edit:true};
  487. }
  488. function doResult(resultObj) {
  489. try {
  490. if( resultObj.getRequestEvent() == "UPDATE") {
  491. if( resultObj.getSuccess() ) {
  492. alert("정정공고 하였습니다.");
  493. }
  494. else {
  495. dlgErrorMsg(resultObj);
  496. }
  497. }
  498. if( resultObj.getRequestEvent() == "FORM_DELETE") {
  499. if( resultObj.getSuccess() ) {
  500. alert("삭제 되었습니다.");
  501. go_list();
  502. }
  503. else {
  504. dlgErrorMsg(resultObj);
  505. }
  506. }
  507. } catch(errorObject) {
  508. showErrorDlg("doResult()", errorObject);
  509. }
  510. }
  511. function sheet1_OnSmartResize(Width, Height) {
  512. sheet1.FitColWidth();
  513. autoResize();
  514. }
  515. function autoResize(){
  516. /* var t1_height = document.getElementById("search-table").scrollHeight + document.getElementById("title").scrollHeight + 24;
  517. var iframeHeight= document.body.scrollHeight - t1_height;
  518. var iframeWidth= document.body.scrollWidth;
  519. */
  520. sheet1.SetSheetHeight(300);
  521. }
  522. function sheet1_OnSaveEnd(code, msg)
  523. {
  524. var event = $("#fevent").val();
  525. if(event == "UPDATE"){
  526. alert("정정공고 하였습니다.");
  527. $("#fevent").val("FORM_SELECT");
  528. $("#form1").attr("action", "/bid/outside/BidIng.screen");
  529. $("#form1").attr("target", "_self");
  530. $("#form1").attr("method", "post");
  531. $("#form1").submit();
  532. }else{
  533. if(code>= "0"){
  534. alert("저장되었습니다.");
  535. }else{
  536. alert("에러가 발생하였습니다.\n"+msg);
  537. }
  538. }
  539. }
  540. function go_list(){
  541. $("#fevent").val("");
  542. $("#form1").attr("action", "/bid/purchase/BidIngList.screen");
  543. $("#form1").attr("target", "_self");
  544. $("#form1").attr("method", "post");
  545. $("#form1").submit();
  546. }
  547. </SCRIPT>
  548. <modular:search id="form1">
  549. <modular:key id="fevent" />
  550. </modular:search>
  551. <form id="form1" name="form1" method="post" modular:type="search">
  552. <INPUT type='hidden' name="fevent" id="fevent" value="">
  553. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  554. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  555. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  556. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  557. <INPUT type='hidden' name="SITEDESCDATE" value="<%=Order.get("SITEDESCDATE")%>">
  558. <INPUT type='hidden' name="SITEDESCDT" value="<%=Order.get("SITEDESCDT")%>">
  559. <INPUT type='hidden' name="NOTI_DY" value="<%=Order.get("NOTI_DY")%>">
  560. <INPUT type='hidden' name="MODIFYREASON" value="">
  561. <!-- 제목 및 버튼 -->
  562. <table width="100%">
  563. <colgroup>
  564. <col width="500" />
  565. <col width="*" />
  566. </colgroup>
  567. <tr>
  568. <th>
  569. <div align="left" id="title">
  570. <ul>
  571. <li>외주_입찰진행 상세<font style="font-size:11px"> (정정공고)</font></li>
  572. </ul>
  573. </div>
  574. </th>
  575. <td align="right">
  576. <span class="btnSearch center" id="btn_cancel"><a href="javascript:void(0);">취소</a></span>
  577. <span class="btnSearch center" id="btn_modify"><a href="javascript:void(0);">정정공고</a></span>
  578. </td>
  579. </tr>
  580. </table>
  581. <div class="application-info magT10">
  582. <div class="application-sub-title">
  583. <span class="title">정정사유</span>
  584. </div>
  585. <div class="application-location">
  586. </div>
  587. </div>
  588. <TABLE class="form-table">
  589. <colgroup>
  590. <col width="145"/>
  591. <col/>
  592. </colgroup>
  593. <TR height="100">
  594. <TH>정정사유</TH>
  595. <TD><textarea name="MODIFY_REASON" id="MODIFY_REASON" style="width:95%; height:98px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MODIFY_REASON")%></textarea> </TD>
  596. </TR>
  597. </TABLE>
  598. <div class="application-info magT10">
  599. <div class="application-sub-title">
  600. <span class="title">발주의뢰정보</span>
  601. </div>
  602. <div class="application-location">
  603. </div>
  604. </div>
  605. <!-- 발주의뢰정보 : 시작 -->
  606. <TABLE class="form-table">
  607. <colgroup>
  608. <col width="145"/>
  609. <col width="23%">
  610. <col width="145"/>
  611. <col width="23%">
  612. <col width="145"/>
  613. <col/>
  614. </colgroup>
  615. <TR height="25">
  616. <TH> 현장</TH>
  617. <TD><%=Order.get("dept_nm") %></TD>
  618. <TH> 발주의뢰번호</TH>
  619. <TD><%=Order.get("DEMANDED_NO")%></TD>
  620. <TH> 발주의뢰명</TH>
  621. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  622. </TR>
  623. <TR height="25">
  624. <TH> 발주의뢰일</TH>
  625. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  626. <TH> 발주의뢰부서</TH>
  627. <TD><%= Order.get("REQ_DEPT_NM")%></TD>
  628. <TH> 발주의뢰자</TH>
  629. <TD><%= Order.get("EMP_NM")%></TD>
  630. </TR>
  631. <TR height="25">
  632. <TH> 발주접수일자</TH>
  633. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  634. <TH> Pay Item</TH>
  635. <TD colspan="3"><%= Order.get("PAY_ITEM_NM") %></TD>
  636. </TR>
  637. <TR height="25">
  638. <TH> 도급금액 (원)</TH>
  639. <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0) %></TD>
  640. <TH> 실행금액 (원)</TH>
  641. <TD><%=Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
  642. <TH> 도급대비실행율(%)</TH>
  643. <TD><%= Order.get("ACT_RATE")%></TD>
  644. </TR>
  645. <TR height="25">
  646. <TH>공사기간</TH>
  647. <TD><%= InputText.get("DELI_FROM_DY", Order.get("DELI_FROM_DY"), 10, 10, "desc=공사기간,readOnly,center") %>
  648. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');">
  649. <%if(!Order.get("DELI_FROM_DY").isEmpty()||!Order.get("DELI_TO_DY").isEmpty()){ %>~<%} %>
  650. <%= InputText.get("DELI_TO_DY", Order.get("DELI_TO_DY"), 10, 10, "desc=공사기간,readOnly,center") %>
  651. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
  652. </TD>
  653. <TH>공사장소</TH>
  654. <TD><%= Order.get("DELIVERY_PLACE") %></TD>
  655. <TH>공종</TH>
  656. <TD><%= Order.get("OUT_ITEM_NM") %></TD>
  657. </TR>
  658. <!-- 발주의뢰정보 : 종료 -->
  659. </table>
  660. <div class="application-info magT20">
  661. <div class="application-sub-title">
  662. <span class="title">입찰기본정보</span>
  663. </div>
  664. </div>
  665. <TABLE class="form-table">
  666. <colgroup>
  667. <col width="145"/>
  668. <col width="145"/>
  669. <col width="29%"/>
  670. <col width="145"/>
  671. <col />
  672. </colgroup>
  673. <TR height="25">
  674. <TH> 입찰번호-차수</TH>
  675. <TD colspan="2"><%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%></TD>
  676. <TH> 온라인입찰여부</TH>
  677. <TD><%=Order.get("ONBID_YN")%></TD>
  678. </TR>
  679. <TR height="25">
  680. <TH> 입찰명</TH>
  681. <TD colspan="4"><%=Order.get("BID_MASTER_NM")%></TD>
  682. </TR>
  683. <TR height="25">
  684. <TH> 경쟁방법</TH>
  685. <TD colspan="2"><%=Order.get("CMPT_NM")%></TD>
  686. <TH> 낙찰자선정방법</TH>
  687. <TD><%=Order.get("SUCC_NM")%></TD>
  688. </TR>
  689. <!-- 발주의뢰정보 : 종료 -->
  690. </table>
  691. <div class="application-info magT20">
  692. <div class="application-sub-title">
  693. <span class="title">입찰진행</span>
  694. </div>
  695. </div>
  696. <TABLE class="form-table">
  697. <colgroup>
  698. <col width="145"/>
  699. <col width="145"/>
  700. <col width="29%"/>
  701. <col width="145"/>
  702. <col />
  703. </colgroup>
  704. <TR height="25">
  705. <TH>업체공지일자</TH>
  706. <TD colspan="4"><%=Order.get("NOTI_DY")%></TD>
  707. </TR>
  708. <TR height="25">
  709. <TH rowspan="3"> 견적설명회 정보</TH>
  710. <TH> 여부</TH>
  711. <TD>
  712. <%=Order.get("SITEDESC_FLAG")%>
  713. </TD>
  714. <TH> 담당자</TD>
  715. <TD>
  716. <%=Order.get("SITEDESCCHRGPRSNNM")%><INPUT type='hidden' name="SITEDESCCHRGPRSNID" id="SITEDESCCHRGPRSNID" value="<%=Order.get("SITEDESCCHRGPRSNID")%>">
  717. </TD>
  718. </TR>
  719. <TR height="25">
  720. <TH> 담당자 전화번호</TH>
  721. <TD><%= Order.get("SITEDESCTELNO")%></TD>
  722. <TH> 일시</TH>
  723. <TD><%=Order.get("SITEDESCDATE")%></TD>
  724. </TR>
  725. <TR height="25">
  726. <TH> 담당자 E-Mail</TH>
  727. <TD><%=Order.get("SITEDESCEMAIL")%></TD>
  728. <TH> 장소</TH>
  729. <TD><%=Order.get("SITEDESCPLACE")%></TD>
  730. </TR>
  731. <TR height="25">
  732. <TH rowspan="3"> 견적 의뢰</TH>
  733. <TH class="required"> 견적제출기간</TH>
  734. <TD colspan="3">
  735. <%= InputText.get("BID_FROM_DT", Order.get("BID_FROM_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
  736. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_FROM_DT');">
  737. <%= InputText.get("BID_FROM_HH", Order.get("BID_FROM_HH"), 2, 2, "desc=견적제출기간,Time") %> :
  738. <%= InputText.get("BID_FROM_MI", Order.get("BID_FROM_MI"), 2, 2, "desc=견적제출기간,Time") %> ~
  739. <%= InputText.get("BID_TO_DT", Order.get("BID_TO_DT"), 10, 10, "desc=견적제출기간,readOnly") %>
  740. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('BID_TO_DT');">
  741. <%= InputText.get("BID_TO_HH", Order.get("BID_TO_HH"), 2, 2, "desc=견적제출기간,Time") %> :
  742. <%= InputText.get("BID_TO_MI", Order.get("BID_TO_MI"), 2, 2, "desc=견적제출기간,Time") %>
  743. </TD>
  744. </TR>
  745. <TR height="25">
  746. <TH class="required"> 외주담당자</TH>
  747. <TD>
  748. <%= InputText.get("PUREMPNM", Order.get("PUREMPNM"), 7, 10, "desc=외주담당자,readOnly") %><INPUT type='hidden' name="PUREMPNO" id="PUREMPNO" value="<%=Order.get("PUREMPNO")%>">
  749. <IMG src="/img/buyer/button/bt_search_right.gif" alt="담당자" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:SearchUser('PUREMPNM','PUREMPNO','Y');">
  750. </TD>
  751. <TH class="required"> 외주담당자 전화번호</TH>
  752. <TD><%= InputText.get("PO_EMPNM", Order.get("PO_EMPNM"), 15, 13, "desc=외주담당자 전화번호") %> ex)02-0000-0000</TD>
  753. </TR>
  754. <TR height="25">
  755. <TH class="required"> 개찰자</TH>
  756. <TD colspan="3">
  757. <%= InputText.get("OPEN_EMPNM", Order.get("OPEN_EMPNM"), 7, 10, "desc=개찰자,readOnly") %><INPUT type='hidden' name="OPEN_EMPID" id="OPEN_EMPID" value="<%=Order.get("OPEN_EMPID")%>">
  758. <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');">
  759. </TD>
  760. </TR>
  761. <TR height="25">
  762. <TH rowspan="2">기술검토(TBE)</TD>
  763. <TH class="required"> TBE 여부</TH>
  764. <TD colspan="3" colspan="3">
  765. <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>
  766. <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>
  767. </TD>
  768. </TR>
  769. <TR height="25">
  770. <TH class="required"> TBE 심사자</TH>
  771. <TD>
  772. <%= InputText.get("EVAL_EMPNM", Order.get("EVAL_EMPNM"), 21, 60, "desc=TBE심사자,readOnly") %><INPUT type='hidden' name="EVAL_EMPID" value="<%=Order.get("EVAL_EMPID")%>">
  773. <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');">
  774. </TD>
  775. <TH class="required"> TBE 담당자 연락처</TH>
  776. <TD>
  777. <%= InputText.get("EVAL_TEL", Order.get("EVAL_TEL"), 15, 13, "desc=TBE 담당자 연락처") %> ex)02-0000-0000
  778. </TD>
  779. </TR>
  780. <!-- 발주의뢰정보 : 종료 -->
  781. </table>
  782. <div class="application-info magT20">
  783. <div class="application-sub-title">
  784. <span class="title">입찰조건</span>
  785. </div>
  786. </div>
  787. <TABLE class="form-table">
  788. <colgroup>
  789. <col width="145"/>
  790. <col width="145"/>
  791. <col width="29%"/>
  792. <col width="145"/>
  793. <col/>
  794. </colgroup>
  795. <TR height="25">
  796. <TH class="required">통화구분</TH>
  797. <TD colspan="4">
  798. <%=CommCodeManager.getSelectCodeList("911","CURRENCY_GB","height=18;","<option value=''>--선택--</option>",Order.get("CURRENCY_GB")) %>
  799. </TD>
  800. </TR>
  801. <TR height="25">
  802. <TH>계약형태</TH>
  803. <TD colspan="4">
  804. <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><!-- 총액계약(도면견적 기준,총액입찰) 2015.9.17 여부장님 수정요청 -->
  805. <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>
  806. </TD>
  807. </TR>
  808. <TR height="75">
  809. <TH rowspan="2">공사대금</TH>
  810. <TH>선급금</TH>
  811. <TD> 계약금액의 : <%= InputText.get("OBC_FRST_CONT_RATE", Order.get("OBC_FRST_CONT_RATE"), 4, 3, "Number,Right","Number") %>%<br>
  812. <%= InputText.get("OBC_FRST_CONDI", Order.get("OBC_FRST_CONDI"), 40, 250, "readOnly") %> <br>
  813. <%= InputText.get("OBC_FRST_CNT_CONDI", Order.get("OBC_FRST_CNT_CONDI"), 40, 250, "readOnly") %></TD>
  814. <TH>기성금</TH>
  815. <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>
  816. 세금계산서 발행일로부터 <%= InputText.get("OBC_MID_PAYDAY", Order.get("OBC_MID_PAYDAY"), 10, 50, "Number,Right","Number") %>일 내 지급<br>
  817. <%= 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") %>회 말일에 청구
  818. </TD>
  819. </TR>
  820. <TR height="25">
  821. <TH>준공금</TH>
  822. <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") %>%
  823. <%-- <br>세금계산서 발행일로부터 <%= InputText.get("OBC_FIN_PAYDAY", Order.get("OBC_FIN_PAYDAY"), 10, 10, "desc=준공금 날짜,Number,Right","Number") %>일 내 지급<br>
  824. <%= InputText.get("OBC_FIN_CONDI", Order.get("OBC_FIN_CONDI"), 40, 250, "readOnly") %></TD> --%>
  825. </TR>
  826. <TR height="25">
  827. <TH rowspan="2">보증조건</TH>
  828. <TH>선급금보증</TH>
  829. <TD>계약금액의<%= InputText.get("CBC_FIRST_RATE", Order.get("CBC_FIRST_RATE"), 4, 3, "Number,Right","Number") %>%</TD>
  830. <TH>계약이행 보증</TH>
  831. <TD>계약금액의<%= InputText.get("CONTFUL_RATE", Order.get("CONTFUL_RATE"), 4, 3, "Number,Right","Number") %>%</TD>
  832. </TR>
  833. <TR height="25">
  834. <TH>하자이행 보증</TH>
  835. <TD>준공금액의<%= InputText.get("WARR_RATE", Order.get("WARR_RATE"), 4, 3, "Number,Right","Number") %>%</TD>
  836. <TH>하자담보기간</TH>
  837. <TD>준공일로부터<%= InputText.get("CBC_DEFECT_DAY", Order.get("CBC_DEFECT_DAY"), 4, 3, "Number,Right","Number") %> 개월</TD>
  838. </TR>
  839. <TR height="25">
  840. <TH>기타조건</TH>
  841. <TH>하도급대금<br>연동 기준비율</TH>
  842. <TD><%= InputText.get("PAY_CON_RATE", Order.get("PAY_CON_RATE"), 4, 5, "Float,Right","Float") %>%</TD>
  843. <TH>지체상금</TH>
  844. <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>
  845. </TR>
  846. <TR height="25">
  847. <TH rowspan="6">간접비 견적조건</TH>
  848. <TH>고용보험료</TH>
  849. <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
  850. <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>
  851. <TH>연금보험료</TH>
  852. <TD>직접노무비 <%= InputText.get("OBC_PENSION_RATE", Order.get("OBC_PENSION_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp&nbsp&nbsp
  853. <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>
  854. </TR>
  855. <TR height="25">
  856. <TH>건강보험료</TH>
  857. <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
  858. <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>
  859. <TH>노인장기보험료</TH>
  860. <TD>건강보험료 * <%= InputText.get("OBC_ELDER_RATE", Order.get("OBC_ELDER_RATE"), 10, 50, "Left") %> % &nbsp &nbsp&nbsp&nbsp
  861. <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>
  862. </TR>
  863. <TR height="25">
  864. <TH>산재보험료</TH>
  865. <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
  866. <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>
  867. <TH>퇴직공제부금</TH>
  868. <TD>노무비 * <%= InputText.get("OBC_RESIGN_RATE", Order.get("OBC_RESIGN_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  869. <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>
  870. </TR>
  871. <TR height="25">
  872. <TH>안전관리비</TH>
  873. <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
  874. <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>
  875. <TH>환경관리비</TH>
  876. <TD>재료비 * <%= InputText.get("OBC_ENV_RATE", Order.get("OBC_ENV_RATE"), 10, 50, "Left") %> % &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  877. <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>
  878. </TR>
  879. <TR height="25">
  880. <TH>현장관리비</TH>
  881. <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
  882. <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>
  883. <TH>매입부가세</TH>
  884. <TD>재료비 * 매입세율 <%= InputText.get("OBC_DUTY_RATE", Order.get("OBC_DUTY_RATE"), 4, 5, "desc=매입세율,float,Center","float") %> %
  885. <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>
  886. </TR>
  887. <TR height="25">
  888. <TH>간접비 정산조건</TH>
  889. <TD>
  890. <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>
  891. <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>
  892. </TD>
  893. <TH>건설기계 수수료</TH>
  894. <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>
  895. </TD>
  896. </TR>
  897. </TABLE>
  898. <TABLE class="form-table" style="margin-top:5px">
  899. <colgroup>
  900. <col width="145"/>
  901. <col width="145"/>
  902. <col width="29%"/>
  903. <col width="145"/>
  904. <col/>
  905. </colgroup>
  906. <TR height="100">
  907. <TH>특이사항 내부</TH>
  908. <TD colspan="2">
  909. <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>
  910. </TD>
  911. <TH>특이사항 외부</TH>
  912. <TD>
  913. <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>
  914. </TD>
  915. </TR>
  916. <TR height="100">
  917. <TH>내부자료</TH>
  918. <TD colspan="2">
  919. <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>
  920. <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;'>
  921. </TD>
  922. <TH>외부자료</TH>
  923. <TD>
  924. <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>
  925. <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;'>
  926. </TD>
  927. </TR>
  928. </TABLE>
  929. <table width="100%">
  930. <colgroup>
  931. <col width="500" />
  932. <col width="*" />
  933. </colgroup>
  934. <tr>
  935. <th>
  936. <div class="application-info magT15">
  937. <div class="application-sub-title">
  938. <span class="title">견적대상업체</span>
  939. </div>
  940. </div>
  941. </th>
  942. <td align="right">
  943. </td>
  944. </tr>
  945. </table>
  946. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  947. <script>createIBSheet('sheet1','100%', '200px');</script>
  948. </div>
  949. </form>