SuccessBid.jsp 66 KB

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