OutSuppFixApprPop.jsp 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027
  1. <%--
  2. - FileName : OutSuppFixApprPop.jsp
  3. --%>
  4. <%@ page contentType="text/html; charset=utf-8" %>
  5. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  6. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  7. <%@ page import="com.udapsoft.waf.common.util.DateUtil"%>
  8. <%@ page import="kr.co.hsnc.common.util.*"%>
  9. <%@ page import="kr.co.hsnc.common.sql.*" %>
  10. <%@ include file="/jsp/work/taglib.jsp" %>
  11. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  12. <%
  13. ctx.init(request, response);
  14. HandlerStorage storage = ctx.getHandlerStorage();
  15. ValueObject params = storage.getParams();
  16. String event = storage.getEvent();
  17. ValueObject vo = storage.getValueObject("getAppr");
  18. RowSet getApprSrdList = storage.getRowSet("getApprSrdList");
  19. String status_cd = params.get("status_cd");
  20. String yyyymmdd = (new java.text.SimpleDateFormat ("yyyy년 MM월 dd일")).format (new java.util.Date());
  21. String appr_date = (new java.text.SimpleDateFormat ("yyyyMMdd")).format (new java.util.Date());
  22. %>
  23. <script type="text/javascript">
  24. var chkVal = 0;
  25. function test(obj, code) {
  26. var id = document.getElementById(obj.getAttribute("id")).getAttribute("id");
  27. var cnt = obj.name.substring(obj.name.lastIndexOf("_")+1, obj.name.length);
  28. document.getElementById("result_" + cnt).innerHTML = obj.value;
  29. var cnt2 = id.substring(id.indexOf("_")+1, id.lastIndexOf("_"));
  30. var appr_cd = "";
  31. var idx = 0;
  32. var idx2 = 0;
  33. var total_1 = 0;
  34. var total_2 = 0;
  35. var total_3 = 0;
  36. var total_4 = 0;
  37. var total_5 = 0;
  38. var total_6 = 0;
  39. <%
  40. for(int k=0; k < getApprSrdList.size(); k++)
  41. {
  42. %>
  43. if("01" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>") {
  44. total_1 += Number(document.getElementById("result_" + idx).innerHTML);
  45. document.getElementById("totalAll_0").innerHTML = total_1;
  46. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  47. {
  48. if(cnt2 == "1")
  49. {
  50. document.form1.chkResultCd_<%=k%>.value = "S";
  51. }
  52. else if(cnt2 == "2")
  53. {
  54. document.form1.chkResultCd_<%=k%>.value = "A";
  55. }
  56. else if(cnt2 == "3")
  57. {
  58. document.form1.chkResultCd_<%=k%>.value = "B";
  59. }
  60. else if(cnt2 == "4")
  61. {
  62. document.form1.chkResultCd_<%=k%>.value = "C";
  63. }
  64. else if(cnt2 == "5")
  65. {
  66. document.form1.chkResultCd_<%=k%>.value = "D";
  67. }
  68. else
  69. {
  70. document.form1.chkResultCd_<%=k%>.value = "D";
  71. }
  72. }
  73. idx++;
  74. }
  75. else if("02" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  76. {
  77. total_2 += Number(document.getElementById("result_" + idx).innerHTML);
  78. document.getElementById("totalAll_1").innerHTML = total_2;
  79. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  80. {
  81. if(cnt2 == "1")
  82. {
  83. document.form1.chkResultCd_<%=k%>.value = "S";
  84. }
  85. else if(cnt2 == "2")
  86. {
  87. document.form1.chkResultCd_<%=k%>.value = "A";
  88. }
  89. else if(cnt2 == "3")
  90. {
  91. document.form1.chkResultCd_<%=k%>.value = "B";
  92. }
  93. else if(cnt2 == "4")
  94. {
  95. document.form1.chkResultCd_<%=k%>.value = "C";
  96. }
  97. else if(cnt2 == "5")
  98. {
  99. document.form1.chkResultCd_<%=k%>.value = "D";
  100. }
  101. }
  102. idx++;
  103. }
  104. else if("03" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  105. {
  106. total_3 += Number(document.getElementById("result_" + idx).innerHTML);
  107. document.getElementById("totalAll_2").innerHTML = total_3;
  108. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  109. {
  110. if(cnt2 == "1")
  111. {
  112. document.form1.chkResultCd_<%=k%>.value = "S";
  113. }
  114. else if(cnt2 == "2")
  115. {
  116. document.form1.chkResultCd_<%=k%>.value = "A";
  117. }
  118. else if(cnt2 == "3")
  119. {
  120. document.form1.chkResultCd_<%=k%>.value = "B";
  121. }
  122. else if(cnt2 == "4")
  123. {
  124. document.form1.chkResultCd_<%=k%>.value = "C";
  125. }
  126. else if(cnt2 == "5")
  127. {
  128. document.form1.chkResultCd_<%=k%>.value = "D";
  129. }
  130. }
  131. idx++;
  132. }
  133. else if("04" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  134. {
  135. total_4 += Number(document.getElementById("result_" + idx).innerHTML);
  136. document.getElementById("totalAll_3").innerHTML = total_4;
  137. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  138. {
  139. if(cnt2 == "1")
  140. {
  141. document.form1.chkResultCd_<%=k%>.value = "S";
  142. }
  143. else if(cnt2 == "2")
  144. {
  145. document.form1.chkResultCd_<%=k%>.value = "A";
  146. }
  147. else if(cnt2 == "3")
  148. {
  149. document.form1.chkResultCd_<%=k%>.value = "B";
  150. }
  151. else if(cnt2 == "4")
  152. {
  153. document.form1.chkResultCd_<%=k%>.value = "C";
  154. }
  155. else if(cnt2 == "5")
  156. {
  157. document.form1.chkResultCd_<%=k%>.value = "D";
  158. }
  159. }
  160. idx++;
  161. }
  162. else if("05" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  163. {
  164. total_5 += Number(document.getElementById("result_" + idx).innerHTML);
  165. document.getElementById("totalAll_4").innerHTML = total_5;
  166. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  167. {
  168. if(cnt2 == "1")
  169. {
  170. document.form1.chkResultCd_<%=k%>.value = "S";
  171. }
  172. else if(cnt2 == "2")
  173. {
  174. document.form1.chkResultCd_<%=k%>.value = "A";
  175. }
  176. else if(cnt2 == "3")
  177. {
  178. document.form1.chkResultCd_<%=k%>.value = "B";
  179. }
  180. else if(cnt2 == "4")
  181. {
  182. document.form1.chkResultCd_<%=k%>.value = "C";
  183. }
  184. else if(cnt2 == "5")
  185. {
  186. document.form1.chkResultCd_<%=k%>.value = "D";
  187. }
  188. }
  189. idx++;
  190. }
  191. else if("06" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  192. {
  193. total_6 += Number(document.getElementById("result_" + idx).innerHTML);
  194. document.getElementById("totalAll_5").innerHTML = total_6;
  195. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  196. {
  197. if(cnt2 == "1")
  198. {
  199. document.form1.chkResultCd_<%=k%>.value = "S";
  200. }
  201. else if(cnt2 == "2")
  202. {
  203. document.form1.chkResultCd_<%=k%>.value = "A";
  204. }
  205. else if(cnt2 == "3")
  206. {
  207. document.form1.chkResultCd_<%=k%>.value = "B";
  208. }
  209. else if(cnt2 == "4")
  210. {
  211. document.form1.chkResultCd_<%=k%>.value = "C";
  212. }
  213. else if(cnt2 == "5")
  214. {
  215. document.form1.chkResultCd_<%=k%>.value = "D";
  216. }
  217. }
  218. idx++;
  219. }
  220. <%
  221. }
  222. %>
  223. document.getElementById("total_rate_all").innerHTML = total_1 + total_2 + total_3 + total_4 + total_5;
  224. document.getElementById("total_value").innerHTML = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  225. document.form1.appr_tot_rate.value = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  226. var total_test_value = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  227. if(total_test_value >= 92)
  228. {
  229. document.getElementById("total_level").innerHTML = "S등급";
  230. document.form1.item_std_cd.value = "S";
  231. }
  232. else if(total_test_value >= 84)
  233. {
  234. document.getElementById("total_level").innerHTML = "A등급";
  235. document.form1.item_std_cd.value = "A";
  236. }
  237. else if(total_test_value >= 76)
  238. {
  239. document.getElementById("total_level").innerHTML = "B등급";
  240. document.form1.item_std_cd.value = "B";
  241. }
  242. else if(total_test_value >= 68)
  243. {
  244. document.getElementById("total_level").innerHTML = "C등급";
  245. document.form1.item_std_cd.value = "C";
  246. }
  247. else
  248. {
  249. document.getElementById("total_level").innerHTML = "D등급";
  250. document.form1.item_std_cd.value = "D";
  251. }
  252. }
  253. function test2(id, code)
  254. {
  255. var id = document.getElementById(obj.getAttribute("id")).getAttribute("id");
  256. var cnt = obj.name.substring(obj.name.lastIndexOf("_")+1, obj.name.length);
  257. document.getElementById("result_" + cnt).innerHTML = obj.value;
  258. var cnt2 = id.substring(id.indexOf("_")+1, id.lastIndexOf("_"));
  259. var appr_cd = "";
  260. var idx = 0;
  261. var idx2 = 0;
  262. var total_1 = 0;
  263. var total_2 = 0;
  264. var total_3 = 0;
  265. var total_4 = 0;
  266. var total_5 = 0;
  267. var total_6 = 0;
  268. <%
  269. for(int k=0; k < getApprSrdList.size(); k++)
  270. {
  271. %>
  272. if("01" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  273. {
  274. total_1 += Number(document.getElementById("result_" + idx).innerHTML);
  275. document.getElementById("totalAll_0").innerHTML = total_1;
  276. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  277. {
  278. if(cnt2 == "1")
  279. {
  280. document.form1.chkResultCd_<%=k%>.value = "S";
  281. }
  282. else if(cnt2 == "2")
  283. {
  284. document.form1.chkResultCd_<%=k%>.value = "A";
  285. }
  286. else if(cnt2 == "3")
  287. {
  288. document.form1.chkResultCd_<%=k%>.value = "B";
  289. }
  290. else if(cnt2 == "4")
  291. {
  292. document.form1.chkResultCd_<%=k%>.value = "C";
  293. }
  294. else if(cnt2 == "5")
  295. {
  296. document.form1.chkResultCd_<%=k%>.value = "D";
  297. }
  298. else
  299. {
  300. document.form1.chkResultCd_<%=k%>.value = "D";
  301. }
  302. }
  303. idx++;
  304. }
  305. else if("02" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  306. {
  307. total_2 += Number(document.getElementById("result_" + idx).innerHTML);
  308. document.getElementById("totalAll_1").innerHTML = total_2;
  309. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  310. {
  311. if(cnt2 == "1")
  312. {
  313. document.form1.chkResultCd_<%=k%>.value = "S";
  314. }
  315. else if(cnt2 == "2")
  316. {
  317. document.form1.chkResultCd_<%=k%>.value = "A";
  318. }
  319. else if(cnt2 == "3")
  320. {
  321. document.form1.chkResultCd_<%=k%>.value = "B";
  322. }
  323. else if(cnt2 == "4")
  324. {
  325. document.form1.chkResultCd_<%=k%>.value = "C";
  326. }
  327. else if(cnt2 == "5")
  328. {
  329. document.form1.chkResultCd_<%=k%>.value = "D";
  330. }
  331. }
  332. idx++;
  333. }
  334. else if("03" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  335. {
  336. total_3 += Number(document.getElementById("result_" + idx).innerHTML);
  337. document.getElementById("totalAll_2").innerHTML = total_3;
  338. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  339. {
  340. if(cnt2 == "1")
  341. {
  342. document.form1.chkResultCd_<%=k%>.value = "S";
  343. }
  344. else if(cnt2 == "2")
  345. {
  346. document.form1.chkResultCd_<%=k%>.value = "A";
  347. }
  348. else if(cnt2 == "3")
  349. {
  350. document.form1.chkResultCd_<%=k%>.value = "B";
  351. }
  352. else if(cnt2 == "4")
  353. {
  354. document.form1.chkResultCd_<%=k%>.value = "C";
  355. }
  356. else if(cnt2 == "5")
  357. {
  358. document.form1.chkResultCd_<%=k%>.value = "D";
  359. }
  360. }
  361. idx++;
  362. }
  363. else if("04" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  364. {
  365. total_4 += Number(document.getElementById("result_" + idx).innerHTML);
  366. document.getElementById("totalAll_3").innerHTML = total_4;
  367. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  368. {
  369. if(cnt2 == "1")
  370. {
  371. document.form1.chkResultCd_<%=k%>.value = "S";
  372. }
  373. else if(cnt2 == "2")
  374. {
  375. document.form1.chkResultCd_<%=k%>.value = "A";
  376. }
  377. else if(cnt2 == "3")
  378. {
  379. document.form1.chkResultCd_<%=k%>.value = "B";
  380. }
  381. else if(cnt2 == "4")
  382. {
  383. document.form1.chkResultCd_<%=k%>.value = "C";
  384. }
  385. else if(cnt2 == "5")
  386. {
  387. document.form1.chkResultCd_<%=k%>.value = "D";
  388. }
  389. }
  390. idx++;
  391. }
  392. else if("05" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  393. {
  394. total_5 += Number(document.getElementById("result_" + idx).innerHTML);
  395. document.getElementById("totalAll_4").innerHTML = total_5;
  396. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  397. {
  398. if(cnt2 == "1")
  399. {
  400. document.form1.chkResultCd_<%=k%>.value = "S";
  401. }
  402. else if(cnt2 == "2")
  403. {
  404. document.form1.chkResultCd_<%=k%>.value = "A";
  405. }
  406. else if(cnt2 == "3")
  407. {
  408. document.form1.chkResultCd_<%=k%>.value = "B";
  409. }
  410. else if(cnt2 == "4")
  411. {
  412. document.form1.chkResultCd_<%=k%>.value = "C";
  413. }
  414. else if(cnt2 == "5")
  415. {
  416. document.form1.chkResultCd_<%=k%>.value = "D";
  417. }
  418. }
  419. idx++;
  420. }
  421. else if("06" == "<%=getApprSrdList.getRow(k).get("APPR_CD").substring(0,2)%>")
  422. {
  423. total_6 += Number(document.getElementById("result_" + idx).innerHTML);
  424. document.getElementById("totalAll_5").innerHTML = total_6;
  425. if(document.getElementById("test_"+cnt2+"_" + idx).checked)
  426. {
  427. if(cnt2 == "1")
  428. {
  429. document.form1.chkResultCd_<%=k%>.value = "S";
  430. }
  431. else if(cnt2 == "2")
  432. {
  433. document.form1.chkResultCd_<%=k%>.value = "A";
  434. }
  435. else if(cnt2 == "3")
  436. {
  437. document.form1.chkResultCd_<%=k%>.value = "B";
  438. }
  439. else if(cnt2 == "4")
  440. {
  441. document.form1.chkResultCd_<%=k%>.value = "C";
  442. }
  443. else if(cnt2 == "5")
  444. {
  445. document.form1.chkResultCd_<%=k%>.value = "D";
  446. }
  447. }
  448. idx++;
  449. }
  450. <%
  451. }
  452. %>
  453. document.getElementById("total_rate_all").innerHTML = total_1 + total_2 + total_3 + total_4 + total_5;
  454. document.getElementById("total_value").innerHTML = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  455. document.form1.appr_tot_rate.value = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  456. var total_test_value = total_1 + total_2 + total_3 + total_4 + total_5 + total_6;
  457. if(total_test_value >= 92)
  458. {
  459. document.getElementById("total_level").innerHTML = "S등급";
  460. document.form1.item_std_cd.value = "S";
  461. }
  462. else if(total_test_value >= 84)
  463. {
  464. document.getElementById("total_level").innerHTML = "A등급";
  465. document.form1.item_std_cd.value = "A";
  466. }
  467. else if(total_test_value >= 76)
  468. {
  469. document.getElementById("total_level").innerHTML = "B등급";
  470. document.form1.item_std_cd.value = "B";
  471. }
  472. else if(total_test_value >= 68)
  473. {
  474. document.getElementById("total_level").innerHTML = "C등급";
  475. document.form1.item_std_cd.value = "C";
  476. }
  477. else
  478. {
  479. document.getElementById("total_level").innerHTML = "D등급";
  480. document.form1.item_std_cd.value = "D";
  481. }
  482. }
  483. function loadTest()
  484. {
  485. <%
  486. for (int ll = 0; ll < getApprSrdList.size(); ll++)
  487. {
  488. %>
  489. var index = $(':radio[name="test_<%=ll%>"]').index($(':radio[name="test_<%=ll%>"]:checked')) +1;
  490. if(index == "1")
  491. {
  492. $("#test_1_<%=ll%>").click();
  493. }
  494. else if(index == "2")
  495. {
  496. $("#test_2_<%=ll%>").click();
  497. }
  498. else if(index == "3")
  499. {
  500. $("#test_3_<%=ll%>").click();
  501. }
  502. else if(index == "4")
  503. {
  504. $("#test_4_<%=ll%>").click();
  505. }
  506. else if(index == "5")
  507. {
  508. $("#test_5_<%=ll%>").click();
  509. }
  510. <%
  511. }
  512. %>
  513. }
  514. function doSave()
  515. {
  516. var f = document.form1;
  517. $("#fevent").val("GET_SAVE");
  518. //20118.2.19
  519. if (f.item_std_cd.value == "C"){
  520. if (!confirm("입력하신 해당업체의 준공평가 결과는 C등급으로 당사에서 수행하는 모든 프로젝트의 입찰이 1년간 제한됩니다.<br>저장하시겠습니까?")){
  521. return
  522. }
  523. }else if (f.item_std_cd.value == "D"){
  524. if (!confirm("입력하신 해당업체의 준공평가 결과는 D등급으로 협력업체 등록 취소 및 당사에서 수행하는 모든 프로젝트 입찰이 영구 제한됩니다.<br>저장하시겠습니까?")){
  525. return
  526. }
  527. }else {
  528. if (!confirm("저장하시겠습니까?")){
  529. return
  530. }
  531. }
  532. submitXmlRequest("/supplier/outside/OutSuppFixApprPopSave.screen", "GET_SAVE", f);
  533. }
  534. function doResult(resultObj) {
  535. var f = document.form1;
  536. try
  537. {
  538. document.form1.isSubmit = false;
  539. if(resultObj.getRequestEvent() == "GET_SAVE")
  540. {
  541. if (resultObj.getSuccess())
  542. {
  543. alert("저장완료");
  544. }
  545. else
  546. {
  547. dlgErrorMsg( resultObj );
  548. }
  549. }
  550. }
  551. catch(errorObject) {
  552. showErrorDlg("doResult()", errorObject);
  553. }
  554. }
  555. $(document).ready(function(){
  556. loadTest();
  557. //페이지 로드시 콤마 찍어주기.
  558. $(".numberic").each(function(){
  559. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  560. });
  561. });
  562. $(window).load(function () {
  563. $(".gubun").each(function () {
  564. var rows = $(".gubun:contains('" + $(this).text() + "')");
  565. if (rows.length > 1) {
  566. rows.eq(0).attr("rowspan", rows.length);
  567. rows.not(":eq(0)").remove();
  568. }
  569. });
  570. });
  571. $(function(){
  572. $(document).on("keyup", "input:text[numberOnly]", function(){
  573. $(this).val( $(this).val().replace(/[^0-9]/gi,"") );
  574. });
  575. $(document).on("keyup", ".numberic", function(){
  576. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(',')); //콤마찍기 정규식...귀찮ㄹ타
  577. });
  578. });
  579. </script>
  580. <modular:search id="form1">
  581. <modular:key id="fevent" />
  582. </modular:search>
  583. <form name="form1" method="post" action="" >
  584. <input type="hidden" name="fevent" id="fevent" value="" />
  585. <input type="hidden" name="listSize" id="listSize" value="<%=getApprSrdList.size() %>" />
  586. <input type="hidden" name="corp_id" id="corp_id" value="<%=params.get("corp_id") %>" />
  587. <input type="hidden" name="corp_no" id="corp_no" value="<%=params.get("corp_no") %>" />
  588. <input type="hidden" name="appr_date" id="appr_date" value="<%=appr_date %>" />
  589. <input type="hidden" name="item_std_cd" id="item_std_cd" value="" />
  590. <input type="hidden" name="appr_tot_rate" id="appr_tot_rate" value="" />
  591. <input type="hidden" name="doc_cd" id="doc_cd" value="<%=params.get("p_doc_cd") %>" />
  592. <input type="hidden" name="dept_cd" id="dept_cd" value="<%=params.get("dept_cd") %>" />
  593. <input type="hidden" name="dept_name" id="dept_name" value="<%=params.get("dept_name") %>" />
  594. <input type="hidden" name="acmp_id" id="acmp_id" value="<%=params.get("acmp_id") %>" />
  595. <input type="hidden" name="arr_id" id="arr_id" value="<%=vo.get("arr_id") %>" />
  596. <input type="hidden" name="USER_SABUN" id="USER_SABUN" value="<%=params.get("USER_SABUN") %>" />
  597. <input type="hidden" name="subContId" id="subContId" value="<%=params.get("subContId") %>" />
  598. <input type="hidden" name="out_item_cd" id="out_item_cd" value="01" />
  599. <div style="width: 100%; text-align: center; margin-top: 10px; margin-bottom: 15px;" >
  600. <span style="font-size: 15px; font-weight: bold;">협력업체 준공평가표 (공사)</span>
  601. </div>
  602. <div style="width: 100%;">
  603. <div style="text-align: left; width:50%; float: left;">현장명 : <%=params.get("dept_name") %></div>
  604. <div style="text-align: right; width:50%; float: left;"><%=yyyymmdd %> 현재</div>
  605. </div>
  606. <TABLE cellspacing="0" cellpadding="0" border="1" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" class="input_table" style="width:100%;">
  607. <col width="25%" />
  608. <col width="25%" />
  609. <col width="25%" />
  610. <!-- <col width="20%" />
  611. <col width="13%" /> -->
  612. <col width="*" />
  613. <tr>
  614. <td class="insert_table_title" style="text-align: center;">협력업체명<br/>/연락처</td>
  615. <td class="search_table_input2">
  616. <input type="text" name="corp_kor" id="corp_kor" value="<%=vo.get("corp_kor") %>" class="input required" style="width: 99%;"/><br/>
  617. <input type="text" name="corp_tel" id="corp_tel" value="<%=vo.get("corp_tel") %>" class="input required" style="width: 99%;"/>
  618. </td>
  619. <td class="insert_table_title" style="text-align: center;">협력업체소장<br/>/대표자</td>
  620. <td class="search_table_input2">
  621. <input type="text" name="corp_manager" id="corp_manager" value="<%=vo.get("corp_manager") %>" class="input required" style="width: 99%;"/><br/>
  622. <input type="text" name="rep_name" id="rep_name" value="<%=vo.get("rep_name") %>"class="input required" style="width: 99%;" />
  623. </td>
  624. <%-- <td class="insert_table_title" align="center">
  625. <div>3년평균</div>
  626. <div>매출액</div>
  627. </td>
  628. <td class="search_table_input2">
  629. <input type="text" name="sales_3year" id="sales_3year" value="<%=vo.get("sales_3year") %>" class="input required numberic" numberOnly="true" style="width: 95%; text-align: right;"/>
  630. </td> --%>
  631. </tr>
  632. <tr>
  633. <td class="insert_table_title" style="text-align: center;">공 종 명</td>
  634. <td class="search_table_input2">
  635. <input type="text" name="item_name" id="item_name" value="<%=vo.get("item_name") %>" class="input required" style="width: 99%;"/>
  636. </td>
  637. <td class="insert_table_title" style="text-align: center;">계약금액(VAT별도)</td>
  638. <td class="search_table_input2">
  639. <input type="text" name="con_amt" id="con_amt" value="<%=vo.get("con_amt").equals("") ? params.get("con_supply_amt") : vo.get("con_supply_tamt")%>" class="input required numberic" numberOnly="true" style="width: 99%; text-align: right;"/>
  640. </td>
  641. </tr>
  642. <tr>
  643. <td class="insert_table_title" style="text-align: center;">계약공기</td>
  644. <td class="search_table_input2">
  645. <input type="text" name="start_work_date" id="start_work_date" value="<%=vo.get("start_work_date").equals("") ? params.get("startWorkDate") : vo.get("start_work_date") %>" class="input required" style="width: 35%; text-align: center;"/>
  646. <A href="JavaScript:dlgCalendar('start_work_date');"><IMG src="/img/supplier/template/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>~
  647. <input type="text" name="end_work_date" id="end_work_date" value="<%=vo.get("end_work_date").equals("") ? params.get("endWorkDate") : vo.get("end_work_date") %>" class="input required" style="width: 35%; text-align: center;" />
  648. <A href="JavaScript:dlgCalendar('end_work_date');"><IMG src="/img/supplier/template/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  649. </td>
  650. <td class="insert_table_title" style="text-align: center;">실공기</td>
  651. <td class="search_table_input2">
  652. <input type="text" name="start_real_date" id="start_real_date" value="<%=vo.get("start_real_date") %>" class="input required" style="width: 35%; text-align: center;" />
  653. <A href="JavaScript:dlgCalendar('start_real_date');"><IMG src="/img/supplier/template/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>~
  654. <input type="text" name="end_real_date" id="end_real_date" value="<%=vo.get("end_real_date") %>" class="input required" style="width: 35%; text-align: center;" />
  655. <A href="JavaScript:dlgCalendar('end_real_date');"><IMG src="/img/supplier/template/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  656. </td>
  657. </tr>
  658. <tr>
  659. <td class="insert_table_title" style="text-align: center;">작 성 자</td>
  660. <td class="search_table_input2" style="text-align: center;">
  661. <%=vo.get("USER_NAME") %> (인) <br/>
  662. <input type="hidden" name="write_no" id="write_no" value="<%=vo.get("USER_NAME") %>" class="input required" style="width: 95%;" />
  663. </td>
  664. <td class="insert_table_title" style="text-align: center;">평가구분</td>
  665. <td class="search_table_input2" style="text-align: center;">
  666. 연평가, 준공평가
  667. </td>
  668. </tr>
  669. </table>
  670. <table cellspacing="0" cellpadding="0" border="1" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" class="input_table" style="width:100%;">
  671. <col width="15%" />
  672. <col width="*" />
  673. <col width="7%" />
  674. <col width="8%" />
  675. <col width="8%" />
  676. <col width="8%" />
  677. <col width="8%" />
  678. <!--<col width="8%" /> -->
  679. <col width="15%" />
  680. <tr>
  681. <td class="insert_table_title" colspan="2" rowspan="2" style="text-align: center;">평 가 항 목</td>
  682. <td class="insert_table_title" rowspan="2" style="text-align: center;">배점</td>
  683. <td class="insert_table_title" rowspan="2" style="text-align: center; text-indent : 0px;">평가점수</td>
  684. <td class="insert_table_title" colspan="4" style="text-align: center;">평 가 등 급</td>
  685. </tr>
  686. <tr>
  687. <td class="insert_table_title" style="text-align: center;"><div>E</div>(Exceed)</td>
  688. <td class="insert_table_title" style="text-align: center;"><div>M</div>(Meet)</td>
  689. <td class="insert_table_title" style="text-align: center;"><div>B</div>(Below)</td>
  690. <td class="insert_table_title" style="text-align: center;"><div>평가사유</div></td>
  691. <!-- <td class="insert_table_title" style="text-align: center;"><div>C</div>(미흡)</td>
  692. <td class="insert_table_title" style="text-align: center;"><div>D</div>(불량)</td> -->
  693. </tr>
  694. <%
  695. String chk = "";
  696. int idx = 0;
  697. int sum_stock_rate = 0;
  698. int all_sum_stock_rate = 0;
  699. String appr_cd = "";
  700. for(int i=0; i < getApprSrdList.size(); i++) {
  701. %>
  702. <%
  703. if(!appr_cd.equals("") && !appr_cd.equals(getApprSrdList.getRow(i).get("APPR_CD").substring(0,2))) {
  704. %>
  705. <tr height="25">
  706. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i-1).get("GUBUN_1") %></td>
  707. <td class="insert_table_title" style="text-align: center; text-indent: 0px;">소 계</td>
  708. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=sum_stock_rate %></td>
  709. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div id="totalAll_<%=idx%>">0</div></td>
  710. <td class="insert_table_title" style="text-align: center; text-indent: 0px;" colspan="4">&nbsp;</td>
  711. </tr>
  712. <%
  713. if(!getApprSrdList.getRow(i).get("APPR_CD").substring(0,2).equals("06")) {
  714. %>
  715. <tr>
  716. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_1") %></td>
  717. <td class="insert_table_title" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_2") %></td>
  718. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=getApprSrdList.getRow(i).get("STOCK_RATE") %></td>
  719. <td style="text-align: center; text-indent: 0px;">
  720. <div id="result_<%=i%>">0</div>
  721. <div style="display: none;"><input type="hidden" name="appr_cd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_CD") %>" /></div>
  722. <div style="display: none;"><input type="hidden" name="chkResultCd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_RESULT_CD") %>" /></div>
  723. </td>
  724. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_1_<%=i %>" value="<%=getApprSrdList.getRow(i).get("A_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("A_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%> /><div>(<%=getApprSrdList.getRow(i).get("A_RATE") %>)</div></td>
  725. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_2_<%=i %>" value="<%=getApprSrdList.getRow(i).get("B_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("B_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("B_RATE") %>)</div></td>
  726. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_3_<%=i %>" value="<%=getApprSrdList.getRow(i).get("C_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("C_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("C_RATE") %>)</div></td>
  727. <td style="text-align: left; text-indent: 0px;"><textarea maxlength="250" cols="95%" name="appr_reason_<%=i %>" id="appr_reason_<%=i %>" style="width:98%" ><%=getApprSrdList.getRow(i).get("APPR_REASON") %></textarea></td>
  728. <%-- <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_5_<%=i %>" value="<%=getApprSrdList.getRow(i).get("E_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("E_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("E_RATE") %>)</div></td> --%>
  729. </tr>
  730. <%
  731. }
  732. all_sum_stock_rate += sum_stock_rate;
  733. sum_stock_rate = 0;
  734. idx++;
  735. }else{
  736. if(!getApprSrdList.getRow(i).get("APPR_CD").substring(0,2).equals("06")) {
  737. %>
  738. <tr>
  739. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_1") %></td>
  740. <td class="insert_table_title" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_2") %></td>
  741. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=getApprSrdList.getRow(i).get("STOCK_RATE") %></td>
  742. <td style="text-align: center; text-indent: 0px;">
  743. <div id="result_<%=i%>">0</div>
  744. <div style="display: none;"><input type="hidden" name="appr_cd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_CD") %>" /></div>
  745. <div style="display: none;"><input type="hidden" name="chkResultCd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_RESULT_CD") %>" /></div>
  746. </td>
  747. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_1_<%=i %>" value="<%=getApprSrdList.getRow(i).get("A_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("A_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%> /><div>(<%=getApprSrdList.getRow(i).get("A_RATE") %>)</div></td>
  748. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_2_<%=i %>" value="<%=getApprSrdList.getRow(i).get("B_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("B_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("B_RATE") %>)</div></td>
  749. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_3_<%=i %>" value="<%=getApprSrdList.getRow(i).get("C_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("C_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("C_RATE") %>)</div></td>
  750. <td style="text-align: left; text-indent: 0px;"><textarea maxlength="250" cols="95%" name="appr_reason_<%=i %>" id="appr_reason_<%=i %>" style="width:98%" ><%=getApprSrdList.getRow(i).get("APPR_REASON") %></textarea></td>
  751. <%-- <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_5_<%=i %>" value="<%=getApprSrdList.getRow(i).get("E_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("E_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("E_RATE") %>)</div></td> --%>
  752. </tr>
  753. <%
  754. }
  755. }
  756. %>
  757. <%
  758. appr_cd = getApprSrdList.getRow(i).get("APPR_CD").substring(0,2);
  759. sum_stock_rate += Integer.parseInt(getApprSrdList.getRow(i).get("STOCK_RATE"));
  760. }
  761. %>
  762. <tr height="25">
  763. <td class="insert_table_title gubun" colspan="2" align="center" style="text-indent: 0px;">합계</td>
  764. <td style="text-align: center;" class="insert_table_title" style="text-indent: 0px;">
  765. <div name="total_rate" id="total_rate">
  766. <%=all_sum_stock_rate %>
  767. </div>
  768. </td>
  769. <td style="text-align: center;" class="insert_table_title" style="text-indent: 0px;">
  770. <div name="total_rate_all" id="total_rate_all">
  771. 0
  772. </div>
  773. </td>
  774. <td style="text-align: center;" class="insert_table_title" style="text-indent: 0px;" colspan="4">
  775. &nbsp;
  776. </td>
  777. </tr>
  778. </table>
  779. <div style="margin-top: 15px; width:100%; text-align: left;">
  780. <span style="font-weight: bold;">추가 평가 [협력회사 경영진의 현장지원에 대한 적극성 조사]</span>
  781. </div>
  782. <table cellspacing="0" cellpadding="0" border="1" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" class="input_table" style="width:100%;">
  783. <col width="15%" />
  784. <col width="20%" />
  785. <col width="7%" />
  786. <col width="8%" />
  787. <col width="8%" />
  788. <col width="8%" />
  789. <col width="8%" />
  790. <!-- <col width="8%" /> -->
  791. <col width="15%" />
  792. <tr>
  793. <td class="insert_table_title" colspan="2" rowspan="2" style="text-align: center; text-indent: 0px;">평 가 항 목</td>
  794. <td class="insert_table_title" rowspan="2" style="text-align: center; text-indent: 0px;">배점</td>
  795. <td class="insert_table_title" rowspan="2" style="text-align: center; text-indent: 0px;">평가점수</td>
  796. <td class="insert_table_title" colspan="4" style="text-align: center; text-indent: 0px;">평 가 등 급</td>
  797. </tr>
  798. <tr>
  799. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div>높음</div></td>
  800. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div>양호</div></td>
  801. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div>없음</div></td>
  802. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div>평가사유</div></td>
  803. <!--<td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div>D</div>(불량)</td> -->
  804. </tr>
  805. <%
  806. chk = "";
  807. sum_stock_rate = 0;
  808. appr_cd = "";
  809. for(int i=0; i < getApprSrdList.size(); i++)
  810. {
  811. if(getApprSrdList.getRow(i).get("APPR_CD").substring(0,2).equals("06"))
  812. {
  813. %>
  814. <%
  815. if(i == getApprSrdList.size()-1)
  816. {
  817. %>
  818. <tr>
  819. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_1") %></td>
  820. <td class="insert_table_title" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_2") %></td>
  821. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=getApprSrdList.getRow(i).get("STOCK_RATE") %></td>
  822. <td style="text-align: center; text-indent: 0px;">
  823. <div id="result_<%=i%>">0</div>
  824. <div style="display: none;"><input type="hidden" name="appr_cd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_CD") %>" /></div>
  825. <div style="display: none;"><input type="hidden" name="chkResultCd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_RESULT_CD") %>" /></div>
  826. </td>
  827. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_1_<%=i %>" value="<%=getApprSrdList.getRow(i).get("A_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("A_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%> /><div>(<%=getApprSrdList.getRow(i).get("A_RATE") %>)</div></td>
  828. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_2_<%=i %>" value="<%=getApprSrdList.getRow(i).get("B_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("B_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("B_RATE") %>)</div></td>
  829. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_3_<%=i %>" value="<%=getApprSrdList.getRow(i).get("C_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("C_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("C_RATE") %>)</div></td>
  830. <td style="text-align: left; text-indent: 0px;"><textarea maxlength="250" cols="95%" name="appr_reason_<%=i %>" id="appr_reason_<%=i %>" style="width:98%" ><%=getApprSrdList.getRow(i).get("APPR_REASON") %></textarea></td>
  831. <%-- <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_5_<%=i %>" value="<%=getApprSrdList.getRow(i).get("E_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("E_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("E_RATE") %>)</div></td> --%>
  832. </tr>
  833. <tr height="25">
  834. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i-1).get("GUBUN_1") %></td>
  835. <td class="insert_table_title" style="text-align: center; text-indent: 0px;">소 계</td>
  836. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=sum_stock_rate %></td>
  837. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><div id="totalAll_<%=idx%>">0</div></td>
  838. <td class="insert_table_title" style="text-align: center; text-indent: 0px;" colspan="4">&nbsp;</td>
  839. </tr>
  840. <%
  841. sum_stock_rate = 0;
  842. }else{
  843. if(getApprSrdList.getRow(i).get("APPR_CD").substring(0,2).equals("06"))
  844. {
  845. %>
  846. <tr>
  847. <td class="insert_table_title gubun" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_1") %></td>
  848. <td class="insert_table_title" style="text-indent: 0px;"><%=getApprSrdList.getRow(i).get("GUBUN_2") %></td>
  849. <td class="insert_table_title" style="text-align: center; text-indent: 0px;"><%=getApprSrdList.getRow(i).get("STOCK_RATE") %></td>
  850. <td style="text-align: center; text-indent: 0px;">
  851. <div id="result_<%=i%>">0</div>
  852. <div style="display: none;"><input type="hidden" name="appr_cd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_CD") %>" /></div>
  853. <div style="display: none;"><input type="hidden" name="chkResultCd_<%=i %>" value="<%=getApprSrdList.getRow(i).get("APPR_RESULT_CD") %>" /></div>
  854. </td>
  855. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_1_<%=i %>" value="<%=getApprSrdList.getRow(i).get("A_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("A_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%> /><div>(<%=getApprSrdList.getRow(i).get("A_RATE") %>)</div></td>
  856. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_2_<%=i %>" value="<%=getApprSrdList.getRow(i).get("B_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("B_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("B_RATE") %>)</div></td>
  857. <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_3_<%=i %>" value="<%=getApprSrdList.getRow(i).get("C_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("C_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("C_RATE") %>)</div></td>
  858. <td style="text-align: left; text-indent: 0px;"><textarea maxlength="250" cols="95%" name="appr_reason_<%=i %>" id="appr_reason_<%=i %>" style="width:98%" ><%=getApprSrdList.getRow(i).get("APPR_REASON") %></textarea></td>
  859. <%-- <td style="text-align: center; text-indent: 0px;"><input type="radio" name="test_<%=i %>" id="test_5_<%=i %>" value="<%=getApprSrdList.getRow(i).get("E_RATE") %>" onclick="test(this, '<%=getApprSrdList.getRow(i).get("APPR_CD").substring(0,2)%>');" <%=getApprSrdList.getRow(i).get("E_RATE").equals(getApprSrdList.getRow(i).get("APPR_RATE")) ? "checked=\"checked\"" : ""%>/><div>(<%=getApprSrdList.getRow(i).get("E_RATE") %>)</div></td> --%>
  860. </tr>
  861. <%
  862. }
  863. }
  864. %>
  865. <%
  866. appr_cd = getApprSrdList.getRow(i).get("APPR_CD").substring(0,2);
  867. sum_stock_rate += Integer.parseInt(getApprSrdList.getRow(i).get("STOCK_RATE"));
  868. }
  869. }
  870. %>
  871. <tr>
  872. <td class="insert_table_title" style="text-align: center; text-indent: 0px;" rowspan="2">종합평가 결과</td>
  873. <td class="insert_table_title" style="text-align: left; text-indent: 0px;">
  874. <div style="float: left;">합계 점수</div>
  875. <div style="float: right;" id="total_value">0</div>
  876. </td>
  877. <td class="insert_table_title" style="text-align: left; text-indent: 0px;" rowspan="2" colspan="7">
  878. <div style="margin-bottom: 3px; margin-top: 3px;">S등급(탁월: 92점~110점): 입찰참여 기회 보장 및 협력업체 평가시 가산점 부여 (+20점)</div>
  879. <div style="margin-bottom: 3px;">A등급(우수: 84점~91점): 입찰참여 기회 보장 및 협력업체 평가시 가산점 부여 (+10점)</div>
  880. <div style="margin-bottom: 3px;">B등급(보통: 76점~83점): 협력업체 유지</div>
  881. <div style="margin-bottom: 3px;">C등급(미흡: 68점~75점): 입찰참여 1년간 제한 및 협력업체 평가시 가산점 부여 (-5점)</div>
  882. <div style="margin-bottom: 3px;">D등급(불량: 0점~67점): 협력업체 등록 취소 및 입찰참여 영구 제한, 협력업체 평가시 가산점 부여 (-10점)</div>
  883. </td>
  884. </tr>
  885. <tr>
  886. <td class="insert_table_title" style="text-align: left; text-indent: 0px;">
  887. <div style="float: left;">협력업체<div style="margin-top: 3px;">등&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;급</div></div>
  888. <div style="float: right; height: 30px; line-height: 30px;" id="total_level">등급</div>
  889. </td>
  890. </tr>
  891. <tr>
  892. <td class="insert_table_title" style="text-align: center; text-indent: 0px;" >평가자 종합의견</td>
  893. <td class="insert_table_title" style="text-align: left; text-indent: 0px;" colspan="8">
  894. <textarea rows="5" cols="95%" name="appr_note" id="appr_note" style="width:98%" ><%=vo.get("appr_note") %></textarea>
  895. </td>
  896. </tr>
  897. <tr>
  898. <td class="insert_table_title" style="text-align: left; text-indent: 0px;" colspan="9">
  899. <div style="margin-bottom: 3px;">*작성 시 유의사항</div>
  900. <div style="margin-bottom: 3px;">1)항목별 점수는 각 항목마다 Exceed(우수), Meet(양호), Below(미흡)으로 한다.</div>
  901. <div style="margin-bottom: 3px;color:red">2)"Exceed" 또는 "Below"로 평가 시 반드시 구체적인 평가사유를 작성해야 한다.</div>
  902. <div style="margin-bottom: 3px;">3)추가평가 항목의 경우, 가산점 부여 시 이에 대한 평가 사유를 작성해야 한다.</div>
  903. <div style="margin-bottom: 3px;">4)이 평가표는 향후 협력업체 등록 및 계약 시 영향을 끼칠 것이므로 공정하고 신중하게 작성되어야 한다.</div>
  904. <div style="margin-bottom: 3px;">5)최종 평가 결과, C등급인 경우 향후 1년간 입찰 제한, D등급인 경우 협력업체 등록을 취소한다.</div>
  905. </td>
  906. </tr>
  907. </table>
  908. </form>
  909. <div style="width: 100%; text-align: center;">
  910. <%if(("".equals(vo.get("REGU_STATUS_CD")) || vo.get("REGU_STATUS_CD").equals("01")) && ("01".equals(status_cd) || "02".equals(status_cd) ||"03".equals(status_cd))){ %> <!-- !"10".equals(status_cd)2017.04.25 -->
  911. <img alt="저장" src="/img/buyer/button/bt_save.gif" style="cursor: pointer;" onclick="doSave();"/>
  912. <%} %>
  913. </div>