TermsAgreeAddInfoReg.jsp 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513
  1. <%--
  2. - FileName : TermsAgreeInfoReg.jsp
  3. - Author(s) : 이성민
  4. - Date : 2014.06.25
  5. -
  6. - Description: 사용자 등록
  7. --%>
  8. <%@ page contentType="text/html; charset=utf-8" %>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="kr.co.hsnc.common.util.*"%>
  12. <%@ page import="kr.co.hsnc.common.sql.*" %>
  13. <%@ include file="/jsp/work/taglib.jsp" %>
  14. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  15. <%
  16. ctx.init(request, response);
  17. HandlerStorage storage = ctx.getHandlerStorage();
  18. ValueObject params = storage.getParams();
  19. ValueObject user = storage.getUser();
  20. String event = storage.getEvent();
  21. ValueObject vo = storage.getValueObject("corpInfoVo");
  22. RowSet licMasterList = storage.getRowSet("licMasterList");
  23. String lic_code = "";
  24. String lic_name = "";
  25. for (int i = 0; i < licMasterList.size(); i++) {
  26. lic_code = lic_code + "|"
  27. + (licMasterList.getRow(i).get("LIC_CD"));
  28. lic_name = lic_name + "|"
  29. + (licMasterList.getRow(i).get("LIC_NM"));
  30. }
  31. boolean vo_edit_yn = false;
  32. if(vo.size() > 0){
  33. vo_edit_yn = true;
  34. }
  35. String yyyy = (new java.text.SimpleDateFormat ("yyyy")).format (new java.util.Date());
  36. int year = Integer.parseInt(yyyy);
  37. String yesrCombo = Integer.toString(year) + "|" + Integer.toString(year-1) + "|" + Integer.toString(year-2) + "|" + Integer.toString(year-3) + "|" + Integer.toString(year-4);
  38. String eval_cmp = params.get("eval_cmp");
  39. String eval_cmp_name = "";
  40. if(eval_cmp.equals("E"))
  41. {
  42. eval_cmp_name = "이크레더블";
  43. }
  44. else if(eval_cmp.equals("N"))
  45. {
  46. eval_cmp_name = "나이스디앤비";
  47. }
  48. else if(eval_cmp.equals("K"))
  49. {
  50. eval_cmp_name = "한국기업데이터";
  51. }
  52. else if(eval_cmp.equals("S"))
  53. {
  54. eval_cmp_name = "서울신용평가정보";
  55. }else if(eval_cmp.equals("M"))
  56. {
  57. eval_cmp_name = "나이스평가정보";
  58. }
  59. %>
  60. <style>
  61. <!--
  62. .input {
  63. font-family : "굴림", "verdana" ;
  64. font-size : 9pt ;
  65. border : #d0d7e4 ;
  66. border-style : solid ;
  67. border-top-width : 1px ;
  68. border-right-width : 1px ;
  69. border-bottom-width : 1px ;
  70. border-left-width : 1px ;
  71. color : #4063a2 ;
  72. padding-left : 3px;
  73. /* padding-top : 8px; */
  74. /* height : 22px; */
  75. }
  76. -->
  77. </style>
  78. <link href="/css/supplier/join/member_style.css" rel="stylesheet" type="text/css" />
  79. <script type="text/javascript">
  80. var credit_yn = "<%=params.get("credit_yn")%>";
  81. <!--
  82. $(document).ready(function(){
  83. var job_div = "<%=params.get("job_div")%>";
  84. var id_check_gubun = "<%=params.get("id_check_gubun")%>";
  85. var init_sheet = {};
  86. init_sheet.Cfg = {SearchMode:0, MergeSheet:msHeaderOnly, Page:10};
  87. if(job_div == "P")
  88. {
  89. init_sheet.Cols = [
  90. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  91. {Header:"납품처명", Type:"Text", SaveName:"DELI_CORP_NM", Width:120, Align:"Left"},
  92. {Header:"납품처사업자번호", Type:"Text", SaveName:"DELI_CORP_NO", Width:100, Align:"Center", Format:"SaupNo"},
  93. {Header:"품목명", Type:"Text", SaveName:"ITEM_NM", Width:100, Align:"Left"},
  94. {Header:"계약금액", Type:"Int", SaveName:"CONT_AMT", Width:100, Align:"Right", Format:"#,##0"},
  95. {Header:"수량", Type:"Int", SaveName:"QTY", Width:100, Align:"Right", Format:"#,##0"},
  96. {Header:"규격", Type:"Text", SaveName:"STD", Width:100, Align:"Left"},
  97. {Header:"납품시작일", Type:"Date", SaveName:"DELI_START_DY", Width:100, Align:"Center"}, //, Format:"Ym"
  98. {Header:"납품종료일", Type:"Date", SaveName:"DELI_END_DY", Width:100, Align:"Center"},
  99. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  100. ];
  101. }
  102. else
  103. {
  104. init_sheet.Cols = [
  105. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  106. <%-- {Header:"기준년도", Type:"Combo", SaveName:"BASE_YEAR", Width:100, Align:"Center", ComboText:"<%=yesrCombo%>", ComboCode:"<%=yesrCombo%>"}, --%>
  107. {Header:"기준년도", Type:"Text", SaveName:"BASE_YEAR", Width:100, Align:"Center"},
  108. <%-- {Header:"면허명", Type:"Combo", SaveName:"LIC_CD", Width:100, Align:"Left", ComboText:"<%=lic_name%>", ComboCode:"<%=lic_code%>"},
  109. {Header:"면허코드", Type:"Text", SaveName:"LIC_NM", Width:100, Align:"Left", Hidden:"True"},
  110. --%>
  111. {Header:"공사명", Type:"Text", SaveName:"CONT_NM", Width:120, Align:"Left"},
  112. {Header:"발주처명", Type:"Text", SaveName:"ORDR_ORG_NM", Width:100, Align:"Left"},
  113. {Header:"도급사", Type:"Text", SaveName:"ORDR_NM", Width:100, Align:"Left"},
  114. {Header:"당년도 계약금액", Type:"Int", SaveName:"CONT_AMT", Width:120, Align:"Right", Format:"#,##0"},
  115. {Header:"계약년월", Type:"Date", SaveName:"CONT_DY", Width:100, Align:"Left", Format:"Ym"},
  116. {Header:"착공년월", Type:"Date", SaveName:"CONT_STA_DY", Width:100, Align:"Left", Format:"Ym"},
  117. {Header:"준공년월", Type:"Date", SaveName:"CONT_END_DY", Width:100, Align:"Center", Format:"Ym"}, //, Format:"Ym"
  118. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  119. ];
  120. }
  121. init_sheet.HeaderMode = {Sort:1};
  122. IBS_InitSheet(sheet1, init_sheet);
  123. sheet1.SetDataAutoTrim(0);
  124. /* if(credit_yn == "Y")
  125. {
  126. sheet1.SetEditable(false);
  127. } */
  128. sheet1.FitColWidth();
  129. /**********************************sheet2*********************************************/
  130. var init_sheet = {};
  131. init_sheet.Cfg = {SearchMode:0, MergeSheet:msHeaderOnly, Page:10};
  132. if(job_div == "P")
  133. {
  134. init_sheet.Cols = [
  135. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  136. {Header:"종류", Type:"Combo", SaveName:"CERT_DIV_CD", Width:100, Align:"Center", ComboText:"ISO9001|ISO14000|KOSHA|KS|기타", ComboCode:"01|02|03|04|99"},
  137. {Header:"인증번호", Type:"Text", SaveName:"CERT_NO", Width:100, Align:"Left"},
  138. {Header:"인증명", Type:"Text", SaveName:"CERT_CTNT", Width:100, Align:"Left"},
  139. {Header:"인증범위", Type:"Text", SaveName:"CERT_SCOPE", Width:100, Align:"Left"},
  140. {Header:"인증기관", Type:"Text", SaveName:"CERT_GOV", Width:100, Align:"Left"},
  141. {Header:"취득일", Type:"Date", SaveName:"EXP_STA_DY", Width:100, Align:"Center"},
  142. {Header:"만기일", Type:"Date", SaveName:"EXP_END_DY", Width:100, Align:"Center"},
  143. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  144. ];
  145. }
  146. else
  147. {
  148. init_sheet.Cols = [
  149. {Header:"상태|상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  150. {Header:"기준년도|기준년도", Type:"Combo", SaveName:"BASE_YEAR", Width:100, Align:"Center", ComboText:"<%=yesrCombo%>", ComboCode:"<%=yesrCombo%>"},
  151. {Header:"면허명|면허명", Type:"Combo", SaveName:"LIC_CD", Width:100, Align:"Left", ComboText:"<%=lic_name%>", ComboCode:"<%=lic_code%>"},
  152. {Header:"면허코드|면허코드", Type:"Text", SaveName:"LIC_NM", Width:100, Align:"Left", Hidden:"True"},
  153. {Header:"면허번호|면허번호", Type:"Text", SaveName:"LIC_NO", Width:100, Align:"Left"},
  154. {Header:"취득일자|취득일자", Type:"Date", SaveName:"CONREYR", Width:100, Align:"Center"},
  155. {Header:"시공능력평가액|시공능력평가액", Type:"Int", SaveName:"CON_ABI_AMT", Width:100, Align:"Right", Format:"#,##0"},
  156. {Header:"지역순위|순위", Type:"Int", SaveName:"AREA_LANK", Width:100, Align:"Right"},
  157. {Header:"지역순위|전체", Type:"Int", SaveName:"AREA_ALL_LANK", Width:100, Align:"Right"},
  158. {Header:"전국순위|순위", Type:"Int", SaveName:"NATION_LANK", Width:100, Align:"Right"},
  159. {Header:"전국순위|전체", Type:"Int", SaveName:"NATION_ALL_LANK", Width:100, Align:"Right"},
  160. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  161. ];
  162. }
  163. init_sheet.HeaderMode = {Sort:1};
  164. IBS_InitSheet(sheet2, init_sheet);
  165. sheet2.SetDataAutoTrim(0);
  166. // sheet2.InitComboNoMatchText
  167. /* if(credit_yn == "Y")
  168. {
  169. sheet2.SetEditable(false);
  170. } */
  171. sheet2.FitColWidth();
  172. /**********************************sheet3(포상실적)*********************************************/
  173. var init_sheet = {};
  174. init_sheet.Cfg = {SearchMode:0, MergeSheet:msHeaderOnly, Page:10};
  175. if(job_div == "P")
  176. {
  177. init_sheet.Cols = [
  178. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  179. {Header:"수상일", Type:"Date", SaveName:"PRZ_DY", Width:100, Align:"Center"},
  180. {Header:"수상자", Type:"Text", SaveName:"PRZ_NM", Width:100, Align:"Center"},
  181. {Header:"수여자", Type:"Text", SaveName:"PRZ_GIVER", Width:100, Align:"Left"},
  182. {Header:"수상내용", Type:"Text", SaveName:"PRZ_INFO", Width:300, Align:"Left"},
  183. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  184. ];
  185. }
  186. else
  187. {
  188. init_sheet.Cols = [
  189. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  190. {Header:"이름", Type:"Text", SaveName:"NM", Width:100, Align:"Center"},
  191. {Header:"생년월일", Type:"Text", SaveName:"BIRTHDAY", Width:120, Align:"Center", Format:"Ymd"},
  192. {Header:"직위", Type:"Text", SaveName:"POSITION", Width:100, Align:"Left"},
  193. {Header:"자격종목 및 등급", Type:"Text", SaveName:"QUAL_ITEM_CLASS", Width:300, EditLen:"60", Align:"Left"},
  194. {Header:"등록번호", Type:"Text", SaveName:"REG_NO", Width:300, EditLen:"40", Align:"Left"},
  195. {Header:"분야", Type:"Text", SaveName:"FIELD", Width:300, Align:"Left"},
  196. {Header:"기술등급", Type:"Text", SaveName:"TECH_CLASS", Width:280, Align:"Left"},
  197. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  198. ];
  199. }
  200. init_sheet.HeaderMode = {Sort:1};
  201. IBS_InitSheet(sheet3, init_sheet);
  202. sheet3.SetDataAutoTrim(0);
  203. /* if(credit_yn == "Y")
  204. {
  205. sheet3.SetEditable(false);
  206. } */
  207. sheet3.FitColWidth();
  208. /**********************************sheet4(특허)*********************************************/
  209. var init_sheet = {};
  210. init_sheet.Cfg = {SearchMode:0, MergeSheet:msHeaderOnly, Page:10};
  211. if(job_div == "P")
  212. {
  213. init_sheet.Cols = [
  214. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  215. {Header:"산업재산권구분", Type:"Combo", SaveName:"PAT_CD", Width:100, Align:"Center", ComboText:"실용신안|의장권|특허권|상표권|기타", ComboCode:"01|02|03|04|99"},
  216. {Header:"특허일", Type:"Date", SaveName:"PAT_DY", Width:100, Align:"Center"},
  217. {Header:"명칭", Type:"Text", SaveName:"PAT_INFO", Width:300, Align:"Left"},
  218. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  219. ];
  220. }
  221. else
  222. {
  223. init_sheet.Cols = [
  224. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  225. {Header:"종류", Type:"Combo", SaveName:"CERT_DIV_CD", Width:100, Align:"Center", ComboText:"ISO9001|ISO14000|KOSHA|KS|기타", ComboCode:"01|02|03|04|99"},
  226. {Header:"인증번호", Type:"Text", SaveName:"CERT_NO", Width:100, Align:"Left"},
  227. {Header:"인증명", Type:"Text", SaveName:"CERT_CTNT", Width:100, Align:"Left"},
  228. {Header:"인증범위", Type:"Text", SaveName:"CERT_SCOPE", Width:100, Align:"Left"},
  229. {Header:"인증기관", Type:"Text", SaveName:"CERT_GOV", Width:100, Align:"Left"},
  230. {Header:"취득일", Type:"Date", SaveName:"EXP_STA_DY", Width:100, Align:"Center"},
  231. {Header:"만기일", Type:"Date", SaveName:"EXP_END_DY", Width:100, Align:"Center"},
  232. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  233. ];
  234. }
  235. init_sheet.HeaderMode = {Sort:1};
  236. IBS_InitSheet(sheet4, init_sheet);
  237. sheet4.SetDataAutoTrim(0);
  238. /* if(credit_yn == "Y")
  239. {
  240. sheet4.SetEditable(false);
  241. } */
  242. sheet4.FitColWidth();
  243. /**********************************sheet5(건설면허 2020.11.06 최훈석 추가)*********************************************/
  244. if(job_div == "P")
  245. {
  246. var init_sheet = {};
  247. init_sheet.Cfg = {SearchMode:0, MergeSheet:msHeaderOnly, Page:10};
  248. init_sheet.Cols = [
  249. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  250. {Header:"기준년도", Type:"Combo", SaveName:"BASE_YEAR", Width:100, Align:"Center", ComboText:"<%=yesrCombo%>", ComboCode:"<%=yesrCombo%>"},
  251. {Header:"면허명", Type:"Combo", SaveName:"LIC_CD", Width:100, Align:"Left", ComboText:"<%=lic_name%>", ComboCode:"<%=lic_code%>"},
  252. {Header:"면허코드", Type:"Text", SaveName:"LIC_NM", Width:100, Align:"Left", Hidden:"True"},
  253. {Header:"면허번호", Type:"Text", SaveName:"LIC_NO", Width:100, Align:"Left"},
  254. {Header:"취득일자", Type:"Date", SaveName:"CONREYR", Width:100, Align:"Center"},
  255. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  256. ];
  257. init_sheet.HeaderMode = {Sort:1};
  258. IBS_InitSheet(sheet5, init_sheet);
  259. sheet5.SetDataAutoTrim(0);
  260. sheet5.FitColWidth();
  261. }
  262. });
  263. $(function(){
  264. var job_div = "<%=params.get("job_div")%>";
  265. var id_check_gubun = "<%=params.get("id_check_gubun")%>";
  266. var credit_yn = $("#credit_yn").val();
  267. if(id_check_gubun == "Y")
  268. {
  269. /*
  270. $("#sheet1_btn").css("display", "none");
  271. $("#sheet2_btn").css("display", "none");
  272. $("#sheet3_btn").css("display", "none");
  273. $("#sheet4_btn").css("display", "none");
  274. $(".numberic").attr("readonly", true);
  275. sheet1.SetEditable(false);
  276. sheet2.SetEditable(false);
  277. sheet3.SetEditable(false);
  278. sheet4.SetEditable(false);
  279. */
  280. }
  281. if(<%=vo_edit_yn%>)
  282. {
  283. $('input:text').attr("readonly", true);
  284. $('input:text').css("background-color", "rgb(244, 242, 243)");
  285. }
  286. $(document).on("keyup", "input:text[number]", function()
  287. {
  288. $(this).val( $(this).val().replace(/[^0-9]/gi,"") ); //숫자만입력 정규식...
  289. });
  290. $(document).on("keyup", "input:text[numberOnly]", function()
  291. {
  292. $(this).val( $(this).val().replace(/[^0-9]/gi,"") ); //숫자만입력 정규식...
  293. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(',')); //콤마찍기 정규식...귀찮ㄹ타
  294. });
  295. var f = document.form1;
  296. $("#sheet1_add").click(function(){
  297. sheet1.DataInsert(-1);
  298. sheet1.SetCellValue(sheet1.LastRow(), "BASE_YEAR", "<%=Integer.toString(year - 1)%>");
  299. });
  300. $("#sheet1_del").click(function(){
  301. sheet1.RowDelete(sheet1.LastRow() , 0);
  302. });
  303. $("#sheet2_add").click(function(){
  304. sheet2.DataInsert(-1);
  305. // var info = {"ComboCode":"01|02|03|04|99","ComboText":"ISO9001|ISO14000|KOSHA|KS|기타"};
  306. // sheet2.CellComboItem(sheet2.LastRow(), "CERT_DIV_CD", info);
  307. });
  308. $("#sheet2_del").click(function(){
  309. sheet2.RowDelete(sheet2.LastRow() , 0);
  310. });
  311. $("#sheet3_add").click(function(){
  312. sheet3.DataInsert(-1);
  313. });
  314. $("#sheet3_del").click(function(){
  315. sheet3.RowDelete(sheet3.LastRow() , 0);
  316. });
  317. $("#sheet4_add").click(function(){
  318. sheet4.DataInsert(-1);
  319. // var info = {"ComboCode":"01|02|03|04|99","ComboText":"실용신안|의장권|특허권|상표권|기타"};
  320. // sheet4.CellComboItem(sheet4.LastRow(), "PAT_CD", info);
  321. });
  322. $("#sheet4_del").click(function(){
  323. sheet4.RowDelete(sheet4.LastRow() , 0);
  324. });
  325. $("#sheet5_add").click(function(){
  326. sheet5.DataInsert(-1);
  327. });
  328. $("#sheet5_del").click(function(){
  329. sheet5.RowDelete(sheet5.LastRow() , 0);
  330. });
  331. $("#btn_confim").click(function()
  332. {
  333. if(!$("#base_year").val())
  334. {
  335. alert("기준년도를 입력하세요");
  336. return $("#base_year").focus();
  337. }
  338. if(!$("#float_asset").val())
  339. {
  340. alert("유동자산을 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  341. return $("#float_asset").focus();
  342. }
  343. if(!$("#float_debt").val())
  344. {
  345. alert("유동부채를 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  346. return $("#float_debt").focus();
  347. }
  348. if(!$("#tot_cap").val())
  349. {
  350. alert("자본총계를 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  351. return $("#tot_cap").focus();
  352. }
  353. if(!$("#gross_asset").val())
  354. {
  355. alert("부채총계를 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  356. return $("#gross_asset").focus();
  357. }
  358. if(!$("#capital_amt").val())
  359. {
  360. alert("자본금을 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  361. return $("#capital_amt").focus();
  362. }
  363. if(!$("#cur_profit").val())
  364. {
  365. alert("당기순이익을 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  366. return $("#cur_profit").focus();
  367. }
  368. if(!$("#cur_sales_amt").val())
  369. {
  370. alert("당기매출액을 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  371. return $("#cur_sales_amt").focus();
  372. }
  373. if(!$("#pri_sales_amt").val())
  374. {
  375. alert("전기매출액을 입력하세요\n\n재무재표가 나오지 않은 신생업체의 경우 0을 입력하세요");
  376. return $("#pri_sales_amt").focus();
  377. }
  378. if($("#base_year").val()<1900)
  379. {
  380. alert("기준년도를 확인 해 주세요");
  381. return $("#base_year").focus();
  382. }
  383. // var param1 = sheet1.GetSaveString();
  384. // var rtnData = sheet1.GetSaveData(url + "?event=SAVE_DELIRESULT", param1);
  385. /*
  386. $("#form1").attr("action", "/join/TermsAgreeAddInfoRegEnd.screen");
  387. $("#form1").attr("target", "_self");
  388. $("#form1").attr("method", "post");
  389. $("#form1").submit();
  390. */
  391. //alert(sheet4.RowCount());
  392. var sAlert = "";
  393. if(job_div == "P")
  394. {
  395. if(sheet1.RowCount() < 1)
  396. {
  397. sAlert += "납품실적,";
  398. }
  399. if(sheet2.RowCount() < 1)
  400. {
  401. sAlert += "인증서 현황,";
  402. }
  403. if(sheet3.RowCount() < 1)
  404. {
  405. sAlert += "포상실적,";
  406. }
  407. if(sheet4.RowCount() < 1)
  408. {
  409. sAlert += "특허,";
  410. }
  411. if(sheet5.RowCount() < 1)
  412. {
  413. sAlert += "건설면허 현황,";
  414. }
  415. }else
  416. {
  417. if(sheet1.RowCount() < 1)
  418. {
  419. sAlert += "계약실적,";
  420. }
  421. if(sheet2.RowCount() < 1)
  422. {
  423. sAlert += "시공능력 및 면허,";
  424. }
  425. if(sheet3.RowCount() < 1)
  426. {
  427. sAlert += "인증서 현황,";
  428. }
  429. }
  430. if(sAlert.length > 0)
  431. {
  432. sAlert = sAlert.substring(0,sAlert.length-1);
  433. }
  434. if(sAlert.length > 0)
  435. {
  436. if(!confirm("부가정보 중 "+sAlert+"이 등록되지 않았습니다.\n\n가입신청을 완료하시겠습니까?")) return;
  437. }else
  438. {
  439. if(!confirm("가입신청을 완료하시겠습니까?")) return;
  440. }
  441. if(job_div == "P")
  442. {
  443. $("#fevent").val("SAVE_DELIRESULT");
  444. }
  445. else
  446. {
  447. $("#fevent").val("SAVE_CON_RESULT");
  448. }
  449. for(var i=1; i<=sheet1.LastRow(); i++)
  450. {
  451. sheet1.SetCellValue(i, "STATUS", "I");
  452. sheet1.SetSendComboData(i,"LIC_NM" , "Text");
  453. }
  454. for(var i=1; i<=sheet2.LastRow(); i++)
  455. {
  456. sheet2.SetCellValue(i, "STATUS", "I");
  457. }
  458. for(var i=1; i<=sheet3.LastRow(); i++)
  459. {
  460. sheet3.SetCellValue(i, "STATUS", "I");
  461. }
  462. for(var i=1; i<=sheet4.LastRow(); i++)
  463. {
  464. sheet4.SetCellValue(i, "STATUS", "I");
  465. }
  466. if(job_div == "P")
  467. {
  468. for(var i=1; i<=sheet5.LastRow(); i++)
  469. {
  470. sheet5.SetCellValue(i, "STATUS", "I");
  471. }
  472. }
  473. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  474. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  475. });
  476. /*
  477. $("#btn_confim").click(function(){
  478. if(job_div == "P")
  479. {
  480. $("#fevent").val("SAVE_DELIRESULT");
  481. }
  482. else
  483. {
  484. $("#fevent").val("SAVE_CON_RESULT");
  485. }
  486. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  487. var result = Modular.view.IBSheet7.doSave(sheet1, url, $("#form1"), false);
  488. });
  489. */
  490. $("#btn_back").click(function(){
  491. $("#fevent").val("BASIC_INFO_REG");
  492. $("#form1").attr("action", "/supplier/portal/join/TermsAgreeInfoReg.screen");
  493. $("#form1").attr("target", "_self");
  494. $("#form1").attr("method", "post");
  495. $("#form1").submit();
  496. // history.back();
  497. });
  498. $.getList = function()
  499. {
  500. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  501. if(job_div == "P")
  502. {
  503. $("#fevent").val("ADD_INFO_LIST_IN");
  504. Modular.view.IBSheet7.doSearch(sheet1, url, $("#form1"), 30, "");
  505. Modular.view.IBSheet7.doSearch(sheet2, url, $("#form1"), 30, "");
  506. Modular.view.IBSheet7.doSearch(sheet3, url, $("#form1"), 30, "");
  507. Modular.view.IBSheet7.doSearch(sheet4, url, $("#form1"), 30, "");
  508. Modular.view.IBSheet7.doSearch(sheet5, url, $("#form1"), 30, "");
  509. }
  510. else
  511. {
  512. $("#fevent").val("ADD_INFO_LIST_OUT");
  513. Modular.view.IBSheet7.doSearch(sheet1, url, $("#form1"), 30, "");
  514. Modular.view.IBSheet7.doSearch(sheet2, url, $("#form1"), 30, "");
  515. Modular.view.IBSheet7.doSearch(sheet3, url, $("#form1"), 30, "");
  516. Modular.view.IBSheet7.doSearch(sheet4, url, $("#form1"), 30, "");
  517. }
  518. // sheet1.DoSearch("/test/TestList_data.screen", $("#form1"));
  519. };
  520. $.getList();
  521. $(".numberic").each(function(){
  522. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  523. });
  524. });
  525. function sheet1_OnSearchEnd(code, msg)
  526. {
  527. var credit_end_dy = sheet1.GetCellValue(1,"CREDIT_YN");
  528. if(credit_end_dy == -1){
  529. <%if(params.get("job_div").equals("P")){ %>
  530. $("#edit_text_sheet1_p").append("(* 도급순위 100위 이상업체 및 대기업군에 대한 거래내용 기재, 금액단위:천원)");
  531. <%}else{ %>
  532. $("#edit_text_sheet1_o").append("(* 금액단위:천원)");
  533. <%}%>
  534. return;
  535. }else{
  536. $("#sheet1_btn").hide();
  537. sheet1.SetEditable(false);
  538. <%if(params.get("job_div").equals("P")){ %>
  539. $("#edit_text_sheet1_p").append("(* 도급순위 100위 이상업체 및 대기업군에 대한 거래내용 기재, <%=eval_cmp_name %>의 신용정보반영, 수정불가, 금액단위:천원)");
  540. <%}else{ %>
  541. $("#edit_text_sheet1_o").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가, 금액단위:천원)");
  542. <%}%>
  543. }
  544. }
  545. function sheet2_OnSearchEnd(code, msg)
  546. {
  547. var job_div = "<%=params.get("job_div")%>"; // 구매/외주 구분
  548. if(sheet2.RowCount() > 0)
  549. {
  550. if(job_div == "P")
  551. {
  552. $("#edit_text_sheet2").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가)");
  553. }else
  554. {
  555. $("#edit_text_sheet2").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가, 금액단위:천원)");
  556. }
  557. $("#sheet2_btn").hide();
  558. sheet2.SetEditable(false);
  559. }else
  560. {
  561. $("#edit_text_sheet2").append("(* 금액단위 : 천원)");
  562. }
  563. }
  564. function sheet3_OnSearchEnd(code, msg)
  565. {
  566. var credit_end_dy = sheet3.GetCellValue(1,"CREDIT_YN");
  567. if(credit_end_dy == -1){
  568. return;
  569. }else{
  570. $("#sheet3_btn").hide();
  571. $("#edit_text_sheet3").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가)");
  572. sheet3.SetEditable(false);
  573. }
  574. }
  575. function sheet4_OnSearchEnd(code, msg)
  576. {
  577. var credit_end_dy = sheet4.GetCellValue(1,"CREDIT_YN");
  578. if(credit_end_dy == -1){
  579. return;
  580. }else{
  581. $("#sheet4_btn").hide();
  582. $("#edit_text_sheet4").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가)");
  583. sheet4.SetEditable(false);
  584. }
  585. }
  586. function sheet5_OnSearchEnd(code, msg)
  587. {
  588. var job_div = "<%=params.get("job_div")%>"; // 구매/외주 구분
  589. if(sheet5.RowCount() > 0)
  590. {
  591. if(job_div == "P")
  592. {
  593. $("#edit_text_sheet5").append("(* <%=eval_cmp_name %>의 신용정보반영, 수정불가)");
  594. }
  595. $("#sheet5_btn").hide();
  596. sheet5.SetEditable(false);
  597. }
  598. }
  599. function sheet1_OnSaveEnd(code, msg)
  600. {
  601. var event = $("#fevent").val();
  602. var f = document.form1;
  603. document.form1.isSubmit = false;
  604. if(event == "SAVE_DELIRESULT")
  605. {
  606. if(code >= "0")
  607. {
  608. // alert("등록되었습니다. sheet1(구매)");
  609. $("#fevent").val("SAVE_CRET");
  610. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  611. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  612. }
  613. else
  614. {
  615. alert("등록실패.");
  616. }
  617. }
  618. else
  619. {
  620. if(code >= "0")
  621. {
  622. // alert("등록되었습니다. sheet1(외주)");
  623. $("#fevent").val("SAVE_CON_ABILLTY");
  624. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  625. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  626. }
  627. else
  628. {
  629. alert("등록실패.");
  630. }
  631. }
  632. }
  633. function sheet2_OnSaveEnd(code, msg)
  634. {
  635. var event = $("#fevent").val();
  636. var f = document.form1;
  637. document.form1.isSubmit = false;
  638. if(event == "SAVE_CRET")
  639. {
  640. if(code >= "0")
  641. {
  642. // alert("등록되었습니다. sheet2");
  643. $("#fevent").val("SAVE_PRIZE");
  644. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  645. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  646. }
  647. else
  648. {
  649. alert("등록실패.");
  650. }
  651. }
  652. else
  653. {
  654. if(code >= "0")
  655. {
  656. // alert("등록되었습니다. sheet2");
  657. $("#fevent").val("SAVE_TECH_MAN");
  658. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  659. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  660. }
  661. else
  662. {
  663. alert("등록실패.");
  664. }
  665. }
  666. }
  667. function sheet3_OnSaveEnd(code, msg)
  668. {
  669. var event = $("#fevent").val();
  670. var f = document.form1;
  671. document.form1.isSubmit = false;
  672. if(event == "SAVE_PRIZE")
  673. {
  674. if(code >= "0")
  675. {
  676. // alert("등록되었습니다. sheet3");
  677. $("#fevent").val("SAVE_PATENT");
  678. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  679. var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false); //2020.06.22 포상실적 이후 건설면허 저장
  680. }
  681. else
  682. {
  683. alert("등록실패.");
  684. }
  685. }
  686. else
  687. {
  688. if(code >= "0")
  689. {
  690. // alert("등록되었습니다. sheet3");
  691. $("#fevent").val("SAVE_CRET_OUT");
  692. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  693. var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false);
  694. }
  695. else
  696. {
  697. alert("등록실패.");
  698. }
  699. }
  700. }
  701. function sheet4_OnSaveEnd(code, msg)
  702. {
  703. var event = $("#fevent").val();
  704. var f = document.form1;
  705. document.form1.isSubmit = false;
  706. if(event == "SAVE_PATENT")
  707. {
  708. if(code >= "0")
  709. {
  710. // alert("등록되었습니다. sheet3");
  711. $("#fevent").val("SAVE_CRET2");
  712. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/portal/join/TermsAgreeAddInfoReg_sheet.screen";
  713. var result = Modular.view.IBSheet7.doSave(sheet5, url, $("#form1"), false); //2020.06.22 포상실적 이후 건설면허 저장
  714. }
  715. else
  716. {
  717. alert("등록실패.");
  718. }
  719. }
  720. else
  721. {
  722. if(code >= "0")
  723. {
  724. alert("부가정보가 성공적으로 등록되었습니다.");
  725. // $("#fevent").val("SAVE_FINANCE");
  726. // var url = Modular.model.PageContext.CONTEXT_ROOT + "/join/TermsAgreeAddInfoReg_sheet.screen";
  727. // var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false);
  728. $("#fevent").val("REG_COMPLETE");
  729. //$("#form1").attr("action", "/supplierLogin.screen");
  730. $("#form1").attr("action", "/supplier/portal/join/TermsAgreeAddInfoRegEnd.screen");
  731. $("#form1").attr("target", "_self");
  732. $("#form1").attr("method", "post");
  733. $("#form1").submit();
  734. }
  735. else
  736. {
  737. alert("등록실패.");
  738. }
  739. }
  740. }
  741. /* function sheet4_OnSaveEnd(code, msg)
  742. {
  743. var event = $("#fevent").val();
  744. var f = document.form1;
  745. document.form1.isSubmit = false;
  746. if(code >= "0")
  747. {
  748. alert("부가정보가 성공적으로 등록되었습니다.");
  749. // $("#fevent").val("SAVE_FINANCE");
  750. // var url = Modular.model.PageContext.CONTEXT_ROOT + "/join/TermsAgreeAddInfoReg_sheet.screen";
  751. // var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false);
  752. $("#fevent").val("REG_COMPLETE");
  753. //$("#form1").attr("action", "/supplierLogin.screen");
  754. $("#form1").attr("action", "/supplier/portal/join/TermsAgreeAddInfoRegEnd.screen");
  755. $("#form1").attr("target", "_self");
  756. $("#form1").attr("method", "post");
  757. $("#form1").submit();
  758. }
  759. else
  760. {
  761. alert("등록실패.");
  762. }
  763. } */
  764. function sheet5_OnSaveEnd(code, msg)
  765. {
  766. var event = $("#fevent").val();
  767. var f = document.form1;
  768. document.form1.isSubmit = false;
  769. if(code >= "0")
  770. {
  771. alert("부가정보가 성공적으로 등록되었습니다.");
  772. // $("#fevent").val("SAVE_FINANCE");
  773. // var url = Modular.model.PageContext.CONTEXT_ROOT + "/join/TermsAgreeAddInfoReg_sheet.screen";
  774. // var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false);
  775. $("#fevent").val("REG_COMPLETE");
  776. //$("#form1").attr("action", "/supplierLogin.screen");
  777. $("#form1").attr("action", "/supplier/portal/join/TermsAgreeAddInfoRegEnd.screen");
  778. $("#form1").attr("target", "_self");
  779. $("#form1").attr("method", "post");
  780. $("#form1").submit();
  781. }
  782. else
  783. {
  784. alert("등록실패.");
  785. }
  786. }
  787. function sheet1_OnChange(Row, Col)
  788. {
  789. sheet1.SetSendComboData(Row,"LIC_NM" , "Text");
  790. }
  791. function sheet2_OnChange(Row, Col)
  792. {
  793. if(sheet2.ColSaveName(Row, Col) == "LIC_CD")
  794. {
  795. sheet2.SetSendComboData(Row,"LIC_NM" , "Text");
  796. }
  797. }
  798. function sheet5_OnChange(Row, Col)
  799. {
  800. if(sheet5.ColSaveName(Row, Col) == "LIC_CD")
  801. {
  802. sheet5.SetSendComboData(Row,"LIC_NM" , "Text");
  803. }
  804. }
  805. function doResult(resultObj)
  806. {
  807. try
  808. {
  809. if( resultObj.getRequestEvent() == "")
  810. {
  811. }
  812. }
  813. catch(errorObject)
  814. {
  815. document.form1.isSubmit = false;
  816. showErrorDlg("doResult()", errorObject);
  817. }
  818. }
  819. //-->
  820. </script>
  821. <modular:search id="form1">
  822. <modular:key id="fevent" />
  823. </modular:search>
  824. <form id="form1" name="form1" method="post" modular:type="search">
  825. <input type="hidden" name="fevent" id="fevent" value="" />
  826. <input type="hidden" name="job_div" id="job_div" value="<%=params.get("job_div")%>" />
  827. <input type="hidden" name="credit_yn" id="credit_yn" value="<%=params.get("credit_yn")%>"/>
  828. <input type="hidden" name="id_check_gubun" id="id_check_gubun" value="N" />
  829. <input type="hidden" name="corp_id" id="corp_id" value="<%=params.get("corp_id")%>" />
  830. <input type="hidden" name="corp_reg_no" id="corp_reg_no" value="<%=params.get("corp_reg_no")%>" />
  831. <input type="hidden" name="corp_no" id="corp_no" value="<%=params.get("corp_reg_no")%>" />
  832. <input type="hidden" name="credit_corp_cd" id="credit_corp_cd" value="<%=params.get("credit_corp_cd")%>" />
  833. <div id="header" >
  834. <div id="supplier-main-menu">
  835. <ul class="main-menu">
  836. <li class="logo">
  837. <a href="/supplierLogin.screen"><img src="/img/supplier/portal_logo.png" /></a>
  838. </li>
  839. </ul>
  840. </div>
  841. </div>
  842. <div id="join_wrap" align="center" >
  843. <table width="920" border="0" cellspacing="0" cellpadding="0">
  844. <tr>
  845. <td height="10"></td>
  846. </tr>
  847. <tr>
  848. <td>
  849. <!--step01-->
  850. <div align="center">
  851. <img src="/img/buyer/title/join_step03.gif" />
  852. </div>
  853. </td>
  854. </tr>
  855. <tr>
  856. <td>&nbsp;</td>
  857. </tr>
  858. <tr>
  859. <td align="left">
  860. <!--소타이틀-->
  861. <table border="0" style="width:100%" cellpadding="0" cellspacing="0">
  862. <tr>
  863. <td>
  864. <%
  865. if(params.get("job_div").equals("P"))
  866. {
  867. %>
  868. <img src="/img/buyer/title/t_10.gif" alt="납품실적" style="width: 138px; height: 30px;" />
  869. <% }else
  870. {
  871. %>
  872. <img src="/img/buyer/title/t_16.gif" alt="계약실적" style="width: 138px; height: 30px;" />
  873. <%
  874. }
  875. %>
  876. </td>
  877. <td style="text-align:right;vertical-align: bottom;">
  878. <%
  879. if(params.get("job_div").equals("P"))
  880. {
  881. %>
  882. <span style="color: red; font-size: 11px;" id="edit_text_sheet1_p"></span>
  883. <% }else
  884. {
  885. %>
  886. <span style="color: red; font-size: 11px;" id="edit_text_sheet1_o"></span>
  887. <%
  888. }
  889. %>
  890. </td>
  891. <TD id="sheet1_btn" align="right" style="width:150px;vertical-align: bottom;">
  892. <img src="/img/buyer/btn/btn_add.gif" alt="추가" style="cursor: pointer;" id="sheet1_add" name="sheet1_add" />
  893. <img src="/img/buyer/btn/btn_del.gif" alt="삭제" style="cursor: pointer;" id="sheet1_del" name="sheet1_del" />
  894. </TD>
  895. </tr>
  896. </table>
  897. </td>
  898. </tr>
  899. <tr>
  900. <td>
  901. <div id="table01" style="width: 920px; height: 250px;">
  902. <script>createIBSheet("sheet1","100%", "100%");</script>
  903. </div>
  904. </td>
  905. </tr>
  906. <tr>
  907. <td>&nbsp;</td>
  908. </tr>
  909. <tr>
  910. <td align="left">
  911. <!--소타이틀-->
  912. <div id="title02" style="width: 100%;">
  913. <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
  914. <tr>
  915. <td>
  916. <%
  917. if(params.get("job_div").equals("P"))
  918. {
  919. %>
  920. <img src="/img/buyer/title/t_07.gif" alt="보유인증서" />
  921. <%
  922. }else
  923. {
  924. %>
  925. <img src="/img/buyer/title/t_08.gif" alt="시공능력" style="width: 138px; height: 30px;" />
  926. <%} %>
  927. </td>
  928. <td>
  929. <%
  930. if(params.get("job_div").equals("P"))
  931. {
  932. %>
  933. <span style="float: right; margin-top: 15px; font-size: 11px; color: red;" id="edit_text_sheet2"></span>
  934. <%
  935. }else
  936. {
  937. %>
  938. <span style="float: right; margin-top: 15px; font-size: 11px; color: red;" id="edit_text_sheet2"></span>
  939. <%} %>
  940. </td>
  941. <td id="sheet2_btn" style="vertical-align:bottom;text-align:right;width:150px">
  942. <img src="/img/buyer/btn/btn_add.gif" alt="추가" style="vertical-align: bottom; cursor: pointer;" id="sheet2_add" name="sheet2_add" />
  943. <img src="/img/buyer/btn/btn_del.gif" alt="삭제" style="vertical-align: bottom; cursor: pointer;" id="sheet2_del" name="sheet2_del" />
  944. </td>
  945. </tr>
  946. </table>
  947. </td>
  948. </tr>
  949. <tr>
  950. <td>
  951. <div id="table01" style="width: 920px; height: 250px;">
  952. <script>createIBSheet("sheet2","100%", "100%");</script>
  953. </div>
  954. </td>
  955. </tr>
  956. <tr>
  957. <td>&nbsp;</td>
  958. </tr>
  959. <tr>
  960. <td align="left">
  961. <!--소타이틀-->
  962. <div id="title02" style="width: 100%;">
  963. <span style="vertical-align: bottom;">
  964. <%if(params.get("job_div").equals("P")){ %>
  965. <%if(params.get("credit_yn").equals("Y")){ %>
  966. <img src="/img/buyer/title/t_14.gif" alt="포상실적" style="width: 138px; height: 30px;" />&nbsp;<span style="float: right; margin-top: 15px; font-size: 11px; color: red;" id="edit_text_sheet3"></span>
  967. <%}else{%>
  968. <img src="/img/buyer/title/t_14.gif" alt="포상실적" style="width: 138px; height: 30px;" />
  969. <%} %>
  970. <%}else{ %>
  971. <%if(params.get("credit_yn").equals("Y")){ %>
  972. <img src="/img/buyer/title/t_09.gif" alt="기술자격 보유인력" style="width: 138px; height: 30px;" />&nbsp;<span style="float: right; margin-top: 15px; font-size: 11px; color: red;" id="edit_text_sheet3"></span>
  973. <%}else{ %>
  974. <img src="/img/buyer/title/t_09.gif" alt="기술자격 보유인력" style="width: 138px; height: 30px;" />
  975. <%} %>
  976. <%} %>
  977. </span>
  978. <span style="vertical-align: bottom; float: right; margin-top: 10px;" id="sheet3_btn">
  979. <img src="/img/buyer/btn/btn_add.gif" alt="추가" style="vertical-align: bottom; cursor: pointer;" id="sheet3_add" name="sheet3_add" />
  980. <img src="/img/buyer/btn/btn_del.gif" alt="삭제" style="vertical-align: bottom; cursor: pointer;" id="sheet3_del" name="sheet3_del" />
  981. </span>
  982. </div> <!--소타이틀끝-->
  983. </div>
  984. </td>
  985. </tr>
  986. <tr>
  987. <td>
  988. <div id="table01" style="width: 920px; height: 250px;">
  989. <script>createIBSheet("sheet3","100%", "100%");</script>
  990. </div>
  991. </td>
  992. </tr>
  993. <tr>
  994. <td>&nbsp;</td>
  995. </tr>
  996. <tr>
  997. <td align="left">
  998. <table border="0" style="width:100%" cellpadding="0" cellspacing="0">
  999. <tr>
  1000. <td>
  1001. <%
  1002. if(params.get("job_div").equals("P"))
  1003. {
  1004. %>
  1005. <img src="/img/buyer/title/t_15.gif" alt="특허"/>
  1006. <%
  1007. }else
  1008. {
  1009. %>
  1010. <img src="/img/buyer/title/t_07.gif" alt="보유인증서"/>
  1011. <%
  1012. }
  1013. %>
  1014. </td>
  1015. <td style="text-align:right;vertical-align: bottom;">
  1016. <%
  1017. if(params.get("credit_yn").equals("Y"))
  1018. {
  1019. %>
  1020. <span style="font-size:11px;color:red;" id="edit_text_sheet4"></span>
  1021. <%
  1022. }
  1023. %>
  1024. </td>
  1025. <td style="text-align:right;vertical-align:bottom;width:150px" id="sheet4_btn">
  1026. <img src="/img/buyer/btn/btn_add.gif" alt="추가" style="cursor:pointer;" id="sheet4_add" name="sheet4_add" />
  1027. <img src="/img/buyer/btn/btn_del.gif" alt="삭제" style="cursor:pointer;" id="sheet4_del" name="sheet4_del" />
  1028. </TD>
  1029. </tr>
  1030. <table>
  1031. </td>
  1032. </tr>
  1033. <tr>
  1034. <td>
  1035. <div id="table01" style="width: 920px; height: 250px;">
  1036. <script>createIBSheet("sheet4","100%", "100%");</script>
  1037. </div>
  1038. </td>
  1039. </tr>
  1040. <tr>
  1041. <td>&nbsp;</td>
  1042. </tr>
  1043. <!--2020.06.22 최훈석 구매팀 건설면허 항목 추가요청 start-->
  1044. <!--
  1045. <%
  1046. if(params.get("job_div").equals("P"))
  1047. {
  1048. %>
  1049. <tr>
  1050. <td align="left">
  1051. <!--소타이틀-->
  1052. <div id="title02" style="width: 100%;">
  1053. <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
  1054. <tr>
  1055. <td>
  1056. <img src="/img/buyer/title/t_18.gif" alt="건설면허" style="width: 138px; height: 30px;" />
  1057. <span style="float: right; margin-top: 15px; font-size: 11px; color: red;" id="edit_text_sheet5"></span>
  1058. </td>
  1059. <td>
  1060. </td>
  1061. <td id="sheet5_btn" style="vertical-align:bottom;text-align:right;width:150px">
  1062. <img src="/img/buyer/btn/btn_add.gif" alt="추가" style="vertical-align: bottom; cursor: pointer;" id="sheet5_add" name="sheet5_add" />
  1063. <img src="/img/buyer/btn/btn_del.gif" alt="삭제" style="vertical-align: bottom; cursor: pointer;" id="sheet5_del" name="sheet5_del" />
  1064. </td>
  1065. </tr>
  1066. </table>
  1067. </td>
  1068. </tr>
  1069. <tr>
  1070. <td>
  1071. <div id="table01" style="width: 920px; height: 250px;">
  1072. <script>createIBSheet("sheet5","100%", "100%");</script>
  1073. </div>
  1074. </td>
  1075. </tr>
  1076. <%
  1077. }
  1078. %>
  1079. <!--2020.06.22 최훈석 구매팀 건설면허 항목 추가요청 end-->
  1080. <tr>
  1081. <td height="10"></td>
  1082. </tr>
  1083. <tr>
  1084. <td align="left">
  1085. <div style="margin-bottom: 0px; margin-top: 10px;" class="screen_title_text">
  1086. <%if(vo_edit_yn){ %>
  1087. <img src="/img/buyer/title/title_001.gif" alt="재무정보" style="width: 138px; height: 30px;" />&nbsp;<span style="float: right; margin-top: 0px; font-size: 11px; color: red;">(* <%=eval_cmp_name %>의 신용정보반영, 수정불가, 금액단위:원)</span>
  1088. <%}else{ %>
  1089. <img src="/img/buyer/title/title_001.gif" alt="재무정보" style="width: 138px; height: 30px;" />&nbsp;<span style="float: right; margin-top: 0px; font-size: 11px; color: red;">(* 금액단위:원)</span>
  1090. <%} %>
  1091. </div>
  1092. </td>
  1093. </tr>
  1094. <tr>
  1095. <td>
  1096. <div id="table01">
  1097. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  1098. <colgroup>
  1099. <col width="150"/>
  1100. <col width="1" bgcolor="#cccccc"/>
  1101. <col/>
  1102. <col width="1" bgcolor="#cccccc"/>
  1103. <col width="150"/>
  1104. <col width="1" bgcolor="#cccccc"/>
  1105. <col/>
  1106. </colgroup>
  1107. <tr>
  1108. <td>
  1109. <div class="td_title04 required">
  1110. <ul>
  1111. <li>기준년도</li>
  1112. </ul>
  1113. </div>
  1114. </td>
  1115. <td></td>
  1116. <td>
  1117. <div id="input01">
  1118. <ul>
  1119. <li><input type="text" id="base_year" name="base_year" style="width: 50px; text-align: center;" value="<%=vo.get("BASE_YEAR").equals("") ? Integer.parseInt(yyyy) - 1: vo.get("BASE_YEAR")%>" number="true" maxlength="4"/> 년도</li>
  1120. </ul>
  1121. </div>
  1122. </td>
  1123. </tr>
  1124. <tr>
  1125. <td height="1" bgcolor="#cccccc" colspan="7"></td>
  1126. </tr>
  1127. <tr>
  1128. <td>
  1129. <div class="td_title04 required">
  1130. <ul>
  1131. <li>유동자산</li>
  1132. </ul>
  1133. </div>
  1134. </td>
  1135. <td></td>
  1136. <td>
  1137. <div id="input01">
  1138. <ul>
  1139. <li><input type="text" class="numberic" name="float_asset" id="float_asset" value="<%=vo.get("FLOAT_ASSET")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;"/></li>
  1140. </ul>
  1141. </div>
  1142. </td>
  1143. <td></td>
  1144. <td>
  1145. <div class="td_title04 required">
  1146. <ul>
  1147. <li>유동부채</li>
  1148. </ul>
  1149. </div>
  1150. </td>
  1151. <td></td>
  1152. <td>
  1153. <div id="input01">
  1154. <ul>
  1155. <li><input type="text" class="numberic" name="float_debt" id="float_debt" value="<%=vo.get("FLOAT_DEBT")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1156. </ul>
  1157. </div>
  1158. </td>
  1159. </tr>
  1160. <tr>
  1161. <td height="1" bgcolor="#cccccc" colspan="7"></td>
  1162. </tr>
  1163. <tr>
  1164. <td>
  1165. <div class="td_title04 required">
  1166. <ul>
  1167. <li>자본총계</li>
  1168. </ul>
  1169. </div>
  1170. </td>
  1171. <td></td>
  1172. <td>
  1173. <div id="input01">
  1174. <ul>
  1175. <li><input type="text" class="numberic" name="tot_cap" id="tot_cap" value="<%=vo.get("TOT_CAP")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1176. </ul>
  1177. </div>
  1178. </td>
  1179. <td></td>
  1180. <td>
  1181. <div class="td_title04 required">
  1182. <ul>
  1183. <li>부채총계</li>
  1184. </ul>
  1185. </div>
  1186. </td>
  1187. <td></td>
  1188. <td>
  1189. <div id="sheet_td">
  1190. <ul>
  1191. <li><input type="text" class="numberic" name="gross_asset" id="gross_asset" value="<%=vo.get("GROSS_ASSET")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1192. </ul>
  1193. </div>
  1194. </td>
  1195. </tr>
  1196. <tr>
  1197. <td height="1" bgcolor="#cccccc" colspan="7"></td>
  1198. </tr>
  1199. <tr>
  1200. <td>
  1201. <div class="td_title04 required">
  1202. <ul>
  1203. <li>자본금</li>
  1204. </ul>
  1205. </div>
  1206. </td>
  1207. <td width="1" bgcolor="#cccccc"></td>
  1208. <td>
  1209. <div id="input01">
  1210. <ul>
  1211. <li><input type="text" class="numberic" name="capital_amt" id="capital_amt" value="<%=vo.get("CAPITAL_AMT")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1212. </ul>
  1213. </div>
  1214. </td>
  1215. <td width="1" bgcolor="#cccccc"></td>
  1216. <td>
  1217. <div class="td_title04 required">
  1218. <ul>
  1219. <li>당기순이익</li>
  1220. </ul>
  1221. </div>
  1222. </td>
  1223. <td bgcolor="#cccccc"></td>
  1224. <td>
  1225. <div id="input01">
  1226. <ul>
  1227. <li><input type="text" class="numberic" name="cur_profit" id="cur_profit" value="<%=vo.get("CUR_PROFIT")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1228. </ul>
  1229. </div>
  1230. </td>
  1231. </tr>
  1232. <tr>
  1233. <td height="1" bgcolor="#cccccc" colspan="7"></td>
  1234. </tr>
  1235. <tr>
  1236. <td>
  1237. <div class="td_title04 required">
  1238. <ul>
  1239. <li>당기매출액</li>
  1240. </ul>
  1241. </div>
  1242. </td>
  1243. <td width="1" bgcolor="#cccccc"></td>
  1244. <td>
  1245. <div id="input01">
  1246. <ul>
  1247. <li><input type="text" class="numberic" name="cur_sales_amt" id="cur_sales_amt" value="<%=vo.get("CUR_SALES_AMT")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" /></li>
  1248. </ul>
  1249. </div>
  1250. </td>
  1251. <td width="1" bgcolor="#cccccc"></td>
  1252. <td>
  1253. <div class="td_title04 required">
  1254. <ul>
  1255. <li>전기매출액</li>
  1256. </ul>
  1257. </div>
  1258. </td>
  1259. <td width="1" bgcolor="#cccccc"></td>
  1260. <td>
  1261. <div id="input01">
  1262. <ul>
  1263. <li>
  1264. <input type="text" class="numberic" name="pri_sales_amt" id="pri_sales_amt" value="<%=vo.get("PRI_SALES_AMT")%>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" />
  1265. <input type="hidden" name="own_cap" id="own_cap" value="<%=vo.get("OWN_CAP") %>"/>
  1266. <input type="hidden" name="sales_amt" id="sales_amt" value="<%=vo.get("SALES_AMT") %>"/>
  1267. </li>
  1268. </ul>
  1269. </div>
  1270. </td>
  1271. </tr>
  1272. </table>
  1273. </div>
  1274. </td>
  1275. </tr>
  1276. <tr>
  1277. <td>&nbsp;</td>
  1278. </tr>
  1279. <tr>
  1280. <td align="center" height="50">
  1281. <img src="/img/buyer/btn/btn_join04.gif" name="btn_back" id="btn_back" alt="이전" style="cursor: pointer;"/>
  1282. <!-- <img src="/img/buyer/btn/btn_join05.gif" name="btn_save" id="btn_save" alt="저장" style="cursor: pointer;"/> -->
  1283. <img src="/img/buyer/btn/btn_join06.gif" name="btn_confim" id="btn_confim" alt="가입신청완료" hspace="5" style="cursor: pointer;" />
  1284. </td>
  1285. </tr>
  1286. </table>
  1287. </div>
  1288. <div id="footer" >
  1289. <p><img src="/img/supplier/login/footer.gif"></p>
  1290. </div>
  1291. </form>