PuSupplier.jsp 145 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982
  1. <%--
  2. - FileName : PuSupplier.jsp
  3. - Author(s) : 이성민
  4. - Date : 2014.06.26
  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.util.DateUtil"%>
  11. <%@ page import="kr.co.hsnc.common.util.ValueObject" %>
  12. <%@ page import="kr.co.hsnc.common.sql.RowSet" %>
  13. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  14. <%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
  15. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  16. <%@ page import="kr.co.hsnc.common.config.WAFConfig" %>
  17. <%@ page import="kr.co.udapsoft.common.code.*" %>
  18. <%@ include file="/jsp/work/taglib.jsp" %>
  19. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  20. <%
  21. ctx.init(request, response);
  22. HandlerStorage storage = ctx.getHandlerStorage();
  23. ValueObject params = storage.getParams();
  24. ValueObject user = storage.getUser();
  25. String event = storage.getEvent();
  26. ValueObject vo = storage.getValueObject("InfoBaseList");
  27. ValueObject filein = storage.getValueObject("TERMS_AGREE_INFO");
  28. ValueObject corpInfoVo = storage.getValueObject("corpInfoVo");
  29. RowSet getApprYearList = storage.getRowSet("getApprYearList");
  30. String yyyy = (new java.text.SimpleDateFormat ("yyyy")).format (new java.util.Date());
  31. String yyyymmdd = (new java.text.SimpleDateFormat ("yyyy-MM-dd")).format (new java.util.Date());
  32. String oneYearAgoDate = Integer.toString((Integer.parseInt(yyyymmdd.replace("-", "")) + 10000));
  33. String oneDayDate = Integer.toString((Integer.parseInt(yyyymmdd.replace("-", "")) - 1));
  34. RowSet nationRowSet = storage.getRowSet("nationRowSet");
  35. int year = Integer.parseInt(yyyy);
  36. String sToday = DateUtil.getSystemDate().substring(0,8);
  37. String yesrCombo = Integer.toString(year) + "|" + Integer.toString(year-1) + "|" + Integer.toString(year-2) + "|" + Integer.toString(year-3) + "|" + Integer.toString(year-4);
  38. String lic_code = "";
  39. String lic_name = "";
  40. RowSet licMasterList = storage.getRowSet("licMasterList");
  41. for (int i = 0; i < licMasterList.size(); i++) {
  42. lic_code = lic_code + "|"
  43. + (licMasterList.getRow(i).get("LIC_CD"));
  44. lic_name = lic_name + "|"
  45. + (licMasterList.getRow(i).get("LIC_NM"));
  46. }
  47. %>
  48. <!-- CSS -->
  49. <script src="/js/crownix-viewer.min.js"></script>
  50. <link rel="stylesheet" type="text/css" href="/css/crownix-viewer.min.css">
  51. <link href="/css/buyer/member_style.css" rel="stylesheet" type="text/css" />
  52. <!-- <SCRIPT language="javascript" src="/js/RDConfig.js"></SCRIPT> -->
  53. <script type="text/javascript" src="/js/creditEvaluationPop.js"></script>
  54. <!-- SCROPT -->
  55. <script type="text/javascript">
  56. <!--
  57. var now = new Date();
  58. var now_DY = now.getFullYear() +""+ (now.getMonth() + 1);
  59. var now_dd = now.getDate();
  60. if(now_dd < 10){
  61. now_dd = "0"+now_dd;
  62. }
  63. now_DY = now_DY+now_dd;
  64. var credit_yn = "<%=vo.get("credit_yn")%>";
  65. var p_in_out_div = "<%=params.get("p_in_out_div")%>";
  66. var class_gubun = "<%=vo.get("ITEM_STD_CD")%>";
  67. var corp_reg_gubun = "<%=vo.get("CORP_REG_NO") %>";
  68. corp_reg_gubun = corp_reg_gubun.trim().substring(3,5);
  69. var search_flag_4 = "N";
  70. var search_flag_5 = "N";
  71. var search_flag_6 = "N";
  72. var search_flag_7 = "N";
  73. var search_flag_8 = "N";
  74. var search_flag_9 = "N";
  75. $.gridInit = function()
  76. {
  77. var init_sheet = {};
  78. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:30,ChildPage:10};
  79. init_sheet.Cols = [
  80. {Header:"레벨", Type:"Text", TreeCol:1, LevelSaveName:"MATERIAL_LEVEL", SaveName:"MATERIAL_LEVEL" , Width:250},
  81. {Header:"대분류", Type:"Text", SaveName:"GUBUN_1", Width:80, Align:"Center", Hidden:"True"},
  82. {Header:"중분류", Type:"Text", SaveName:"GUBUN_2", Width:80, Align:"Center", Hidden:"True"},
  83. {Header:"소분류", Type:"Text", SaveName:"GUBUN_3", Width:80, Align:"Center", Hidden:"True"},
  84. {Header:"LEVEL", Type:"Text", SaveName:"LEVEL", Width:0, Align:"Center", Hidden:"True"},
  85. {Header:"CODE", Type:"Text", SaveName:"MATERIALGROUP", Width:100, Align:"Center", Hidden:"True"}
  86. ];
  87. init_sheet.HeaderMode = {Sort:1};
  88. IBS_InitSheet(sheet1, init_sheet);
  89. sheet1.SetDataAutoTrim(0);
  90. sheet1.SetEditable(false);
  91. sheet1.SetCountPosition(0);
  92. sheet1.FitColWidth();
  93. /***********************sheet2*****************************/
  94. var init_sheet = {};
  95. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  96. init_sheet.Cols = [
  97. {Header:"삭제", Type:"DelCheck", SaveName:"DEL_CHECK", Width:50, Align:"Center"},
  98. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  99. {Header:"대분류", Type:"Text", SaveName:"KIND_BIG_NAME", Width:110, Align:"Left" },
  100. {Header:"중분류", Type:"Text", SaveName:"KIND_MID_NAME", Width:110, Align:"Left"},
  101. {Header:"소분류", Type:"Text", SaveName:"KIND_SMALL_NAME", Width:110, Align:"Left"},
  102. {Header:"대표ITEM", Type:"Radio", SaveName:"MAIN_ITEM", Width:50, Align:"Center"},
  103. {Header:"ITEM_CODE", Type:"Text", SaveName:"ITEM_CODE", Width:50, Align:"Center", Hidden:"True"}
  104. ];
  105. init_sheet.HeaderMode = {Sort:1};
  106. IBS_InitSheet(sheet2, init_sheet);
  107. sheet2.SetDataAutoTrim(0);
  108. sheet2.SetEditable(true);
  109. sheet2.SetCountPosition(0);
  110. sheet2.FitColWidth();
  111. /***********************sheet3*****************************/
  112. <%if(!params.get("p_in_out_div").equals("O")){ %>
  113. var init_sheet = {};
  114. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  115. init_sheet.Cols = [
  116. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  117. {Header:"신용평가사", Type:"Text", SaveName:"CREDIT_CORP_CD", Width:90, Edit:"False"},
  118. {Header:"신용등급", Type:"Text", SaveName:"CREDIT_GRADE", Width:90, Align:"Center"},
  119. {Header:"현금흐름등급", Type:"Text", SaveName:"CASH_GRADE", Width:90, Align:"Center"},
  120. {Header:"신용평가만료일", Type:"Date", SaveName:"CREDIT_END_DY", Width:100, Align:"Center"},
  121. {Header:"신용평가사코드", Type:"Text", SaveName:"GUBUN_CODE", Width:100, Align:"Center", Hidden:"True"}
  122. ];
  123. init_sheet.HeaderMode = {Sort:1};
  124. IBS_InitSheet(sheet3, init_sheet);
  125. sheet3.SetDataAutoTrim(0);
  126. sheet3.SetEditable(false);
  127. sheet3.SetCountPosition(0);
  128. sheet3.FitColWidth();
  129. <%}%>
  130. /***********************sheet4*****************************/
  131. var init_sheet = {};
  132. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  133. init_sheet.Cols = [
  134. {Header:"삭제", Type:"DelCheck", SaveName:"DEL_CHECK", Width:70, Align:"Center", HeaderCheck:"False"},
  135. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  136. {Header:"ID", Type:"Text", SaveName:"USER_ID", Width:100, Edit:false},
  137. {Header:"비밀번호", Type:"Text", SaveName:"PASSWD", Width:100, Align:"Center", Hidden:"True"},
  138. {Header:"담당자명", Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center"},
  139. {Header:"부서명", Type:"Text", SaveName:"DIVISION", Width:160, Align:"Center"},
  140. {Header:"직위", Type:"Text", SaveName:"POSITION", Width:100, Align:"Center"},
  141. {Header:"이메일", Type:"Text", SaveName:"EMAIL", Width:160, Align:"Center"},
  142. {Header:"전화번호", Type:"Text", SaveName:"TEL_NUM", Width:160, Align:"Center"},
  143. {Header:"FAX번호", Type:"Text", SaveName:"FAX_NUM", Width:160, Align:"Center"},
  144. {Header:"휴대전화", Type:"Text", SaveName:"HP1", Width:30, Align:"Center", EditLen:"3"},
  145. {Header:"휴대전화", Type:"Text", SaveName:"BAR1", Width:12, Align:"Left", Edit:"false"},
  146. {Header:"휴대전화", Type:"Text", SaveName:"HP2", Width:30, Align:"Center", EditLen:"4"},
  147. {Header:"휴대전화", Type:"Text", SaveName:"BAR2", Width:12, Align:"Left", Edit:"false"},
  148. {Header:"휴대전화", Type:"Text", SaveName:"HP3", Width:30, Align:"Center", EditLen:"4"},
  149. {Header:"비고", Type:"Text", SaveName:"NOTE", Width:160, Align:"Center"},
  150. {Header:"CORP_ID", Type:"Text", SaveName:"CORP_ID", Width:100, Align:"Center", Hidden:"True"},
  151. {Header:"CHARGE_SEQ", Type:"Text", SaveName:"CHARGE_SEQ", Width:100, Align:"Center", Hidden:"True"}
  152. ];
  153. init_sheet.HeaderMode = {Sort:1};
  154. IBS_InitSheet(sheet4, init_sheet);
  155. sheet4.SetDataAutoTrim(0);
  156. //sheet4.SetEditable(false);
  157. sheet4.SetCountPosition(0);
  158. sheet4.FitColWidth();
  159. /***********************납품실적*****************************/
  160. var init_sheet = {};
  161. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  162. init_sheet.Cols = [
  163. {Header:"삭제/승인", Type:"DelCheck", SaveName:"DEL_CHECK", Width:60, Align:"Center"},
  164. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  165. {Header:"납품처명", Type:"Text", SaveName:"DELI_CORP_NM" , Width:120, Align:"Left"},
  166. {Header:"납품처사업자번호", Type:"Text", SaveName:"DELI_CORP_NO", Width:100, Align:"Left", Format:"SaupNo"},
  167. {Header:"품목명", Type:"Text", SaveName:"ITEM_NM", Width:100, Align:"Left"},
  168. {Header:"계약금액", Type:"Int", SaveName:"CONT_AMT", Width:100, Align:"Right", Format:"#,##0"},
  169. {Header:"수량", Type:"Int", SaveName:"QTY", Width:100, Align:"Right"},
  170. {Header:"규격", Type:"Text", SaveName:"STD", Width:100, Align:"Left"},
  171. {Header:"납품시작일", Type:"Date", SaveName:"DELI_START_DY", Width:100, Align:"Center"}, //, Format:"Ym"
  172. {Header:"납품종료일", Type:"Date", SaveName:"DELI_END_DY", Width:100, Align:"Center"},
  173. {Header:'☞첨부', Type:"Text", SaveName:"FILE_YN", Width:60, Align:"center", Edit:"false", Cursor:'pointer'},
  174. {Header:'승인여부', Type:"Text", SaveName:"DELIRESULT_CONFIRM_NM", Width:60, Align:"center", Edit:"false"},
  175. {Header:'DELIRESULT_CONFIRM', Type:"Text", SaveName:"DELIRESULT_CONFIRM", Width:60, Align:"center", Hidden:"true"},
  176. {Header:'DELI_FILE_ID', Type:"Text", SaveName:"DELI_FILE_ID", Width:0, Align:"center", Hidden:"true"},
  177. {Header:'FILE_ID', Type:"Text", SaveName:"FILE_ID", Width:0, Align:"center", Hidden:"true"},
  178. {Header:"SEQ", Type:"Text", SaveName:"SEQ", Width:0, Align:"Center", Hidden:"True"},
  179. {Header:"CREDIT_END_DY", Type:"Text", SaveName:"CREDIT_END_DY", Width:0, Align:"Center", Hidden:"True"},
  180. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  181. ];
  182. init_sheet.HeaderMode = {Sort:1};
  183. IBS_InitSheet(sheet5, init_sheet);
  184. sheet5.SetDataAutoTrim(0);
  185. sheet5.SetImageList(1,"/img/buyer/button/bt_change.gif");
  186. /*
  187. if(credit_yn == "Y")
  188. {
  189. sheet5.SetEditable(false);
  190. }*/
  191. sheet5.SetCountPosition(0);
  192. sheet5.FitColWidth();
  193. /***********************인증서*****************************/
  194. var init_sheet = {};
  195. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  196. init_sheet.Cols = [
  197. {Header:"삭제/승인", Type:"DelCheck", SaveName:"DEL_CHECK", Width:30, Align:"Center"},
  198. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  199. {Header:"종류", Type:"Combo", SaveName:"CERT_DIV_CD", Width:100, Align:"Center", ComboText:"ISO9001|ISO14000|KOSHA|KS|기타", ComboCode:"01|02|03|04|99"},
  200. {Header:"인증번호", Type:"Text", SaveName:"CERT_NO", Width:100, Align:"Left"},
  201. {Header:"인증명", Type:"Text", SaveName:"CERT_CTNT", Width:100, Align:"Left"},
  202. {Header:"인증범위", Type:"Text", SaveName:"CERT_SCOPE", Width:100, Align:"Left"},
  203. {Header:"인증기관", Type:"Text", SaveName:"CERT_GOV", Width:100, Align:"Left"},
  204. {Header:"취득일", Type:"Date", SaveName:"EXP_STA_DY", Width:100, Align:"Center"},
  205. {Header:"만기일", Type:"Date", SaveName:"EXP_END_DY", Width:100, Align:"Center"},
  206. {Header:'☞첨부', Type:"Text", SaveName:"FILE_YN", Width:60, Align:"center", Edit:"false", Cursor:'pointer'},
  207. {Header:'승인여부', Type:"Text", SaveName:"CERT_CONFIRM_NM", Width:60, Align:"center", Edit:"false"},
  208. {Header:'CERT_CONFIRM', Type:"Text", SaveName:"CERT_CONFIRM", Width:60, Align:"center", Hidden:"true"},
  209. {Header:'CERT_FILE_ID', Type:"Text", SaveName:"CERT_FILE_ID", Width:0, Align:"center", Hidden:"true"},
  210. {Header:'FILE_ID', Type:"Text", SaveName:"FILE_ID", Width:0, Align:"center", Hidden:"true"},
  211. {Header:"CERT_SEQ", Type:"Text", SaveName:"CERT_SEQ", Width:0, Align:"Center", Hidden:"True"},
  212. {Header:"CREDIT_END_DY", Type:"Text", SaveName:"CREDIT_END_DY", Width:0, Align:"Center", Hidden:"True"},
  213. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  214. ];
  215. init_sheet.HeaderMode = {Sort:1};
  216. IBS_InitSheet(sheet6, init_sheet);
  217. sheet6.SetDataAutoTrim(0);
  218. sheet6.SetImageList(1,"/img/buyer/button/bt_change.gif");
  219. /*
  220. if(credit_yn == "Y")
  221. {
  222. sheet6.SetEditable(false);
  223. }
  224. */
  225. sheet6.SetCountPosition(0);
  226. sheet6.FitColWidth();
  227. /***********************포상실적*****************************/
  228. var init_sheet = {};
  229. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  230. init_sheet.Cols = [
  231. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:30, Align:"Center"},
  232. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  233. {Header:"수상일", Type:"Date", SaveName:"PRZ_DY", Width:100, Align:"Center"},
  234. {Header:"수상자", Type:"Text", SaveName:"PRZ_NM", Width:100, Align:"Center"},
  235. {Header:"수여자", Type:"Text", SaveName:"PRZ_GIVER", Width:100, Align:"Left"},
  236. {Header:"수상내용", Type:"Text", SaveName:"PRZ_INFO", Width:300, Align:"Left"},
  237. {Header:"PRZ_SEQ", Type:"Text", SaveName:"PRZ_SEQ", Width:0, Align:"Center", Hidden:"True"},
  238. {Header:"CREDIT_END_DY", Type:"Text", SaveName:"CREDIT_END_DY", Width:0, Align:"Center", Hidden:"True"},
  239. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  240. ];
  241. init_sheet.HeaderMode = {Sort:1};
  242. IBS_InitSheet(sheet7, init_sheet);
  243. sheet7.SetDataAutoTrim(0);
  244. /*
  245. if(credit_yn == "Y")
  246. {
  247. sheet7.SetEditable(false);
  248. }
  249. */
  250. sheet7.SetCountPosition(0);
  251. sheet7.FitColWidth();
  252. /***********************특허*****************************/
  253. var init_sheet = {};
  254. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  255. init_sheet.Cols = [
  256. {Header:'삭제', Type:"DelCheck", SaveName:"_CHECK", Width:30, Align:"Center"},
  257. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  258. {Header:"산업재산권구분", Type:"Combo", SaveName:"PAT_CD", Width:100, Align:"Center", ComboText:"실용신안|의장권|특허권|상표권|기타", ComboCode:"01|02|03|04|99"},
  259. {Header:"특허일", Type:"Date", SaveName:"PAT_DY", Width:100, Align:"Center"},
  260. {Header:"명칭", Type:"Text", SaveName:"PAT_INFO", Width:300, Align:"Left"},
  261. {Header:"PAT_SEQ", Type:"Text", SaveName:"PAT_SEQ", Width:0, Align:"Center", Hidden:"True"},
  262. {Header:"CREDIT_END_DY", Type:"Text", SaveName:"CREDIT_END_DY", Width:0, Align:"Center", Hidden:"True"},
  263. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  264. ];
  265. init_sheet.HeaderMode = {Sort:1};
  266. IBS_InitSheet(sheet8, init_sheet);
  267. sheet8.SetDataAutoTrim(0);
  268. /*
  269. if(credit_yn == "Y")
  270. {
  271. sheet8.SetEditable(false);
  272. }
  273. */
  274. sheet8.SetCountPosition(0);
  275. sheet8.FitColWidth();
  276. /***********************건설면허*****************************/
  277. var init_sheet = {};
  278. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  279. init_sheet.Cols = [
  280. {Header:'삭제', Type:"DelCheck", SaveName:"_CHECK", Width:30, Align:"Center"},
  281. {Header:"상태", Type:"Status", SaveName:"STATUS" , Width:0, Hidden:"True"},
  282. {Header:"기준년도", Type:"Combo", SaveName:"BASE_YEAR", Width:100, Align:"Center", ComboText:"<%=yesrCombo%>", ComboCode:"<%=yesrCombo%>"},
  283. {Header:"면허명", Type:"Combo", SaveName:"LIC_CD", Width:100, Align:"Left", ComboText:"<%=lic_name%>", ComboCode:"<%=lic_code%>"},
  284. {Header:"면허코드", Type:"Text", SaveName:"LIC_NM", Width:100, Align:"Left", Hidden:"True"},
  285. {Header:"면허번호", Type:"Text", SaveName:"LIC_NO", Width:100, Align:"Left"},
  286. {Header:"취득일자", Type:"Date", SaveName:"CONREYR", Width:100, Align:"Center"},
  287. {Header:"CON_SEQ", Type:"Text", SaveName:"CON_SEQ", Width:0, Align:"Center", Hidden:"True"},
  288. {Header:"CREDIT_END_DY", Type:"Text", SaveName:"CREDIT_END_DY", Width:0, Align:"Center", Hidden:"True"},
  289. {Header:"CREDIT_YN", Type:"Text", SaveName:"CREDIT_YN", Width:0, Align:"Center", Hidden:"True"}
  290. ];
  291. init_sheet.HeaderMode = {Sort:1};
  292. IBS_InitSheet(sheet9, init_sheet);
  293. sheet9.SetDataAutoTrim(0);
  294. sheet9.SetCountPosition(0);
  295. sheet9.FitColWidth();
  296. }
  297. $(function(){
  298. /* $(document).on("keyup", "input:text[numberOnly]", function(){
  299. $(this).val( $(this).val().replace(/[^0-9]/gi,"") );
  300. });
  301. $(document).on("keyup", ".numberic", function(){
  302. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(',')); //콤마찍기 정규식...귀찮ㄹ타
  303. }); */
  304. //숫자,특문-만... 귀찮으므로 다 정규식
  305. $(document).on("keyup", "input:text[noHangelEng]", function() {
  306. $(this).val( $(this).val().replace( /[^0-9-]/gi, "") );
  307. });
  308. <%-- <%if(corpInfoVo.get("re_yn").equals("N")){ %>
  309. $(".numberic").each(function(){
  310. $("input").attr("readonly",true);
  311. });
  312. <%} %> 2017.10.16 신용만료일따라 수정여부 구분 제외--%>
  313. //페이지 로드시 콤마 찍어주기.
  314. /* $(".numberic").each(function(){
  315. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  316. }); */
  317. $.getList = function()
  318. {
  319. $("#fevent").val("GET_LIST");
  320. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  321. Modular.view.IBSheet7.doSearch(sheet1, url, $("#form1"), 10, "");
  322. };
  323. $.getList2 = function()
  324. {
  325. $("#fevent").val("GET_MY_LIST");
  326. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  327. Modular.view.IBSheet7.doSearch(sheet2, url, $("#form1"), 10, "");
  328. };
  329. $.getList3 = function()
  330. {
  331. $("#fevent").val("GET_APPR_LIST");
  332. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  333. Modular.view.IBSheet7.doSearch(sheet3, url, $("#form1"), 10, "");
  334. };
  335. $.getList4 = function()//담당자 정보
  336. {
  337. $("#fevent").val("GET_CHARGE_LIST");
  338. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  339. Modular.view.IBSheet7.doSearch(sheet4, url, $("#form1"), 10, "");
  340. };
  341. $.getDeliverList = function()//납품실적
  342. {
  343. $("#fevent").val("GET_DELIVER_LIST");
  344. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  345. Modular.view.IBSheet7.doSearch(sheet5, url, $("#form1"), 10, "");
  346. };
  347. $.getCertList = function()//인증서
  348. {
  349. $("#fevent").val("GET_CRET_LIST");
  350. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  351. Modular.view.IBSheet7.doSearch(sheet6, url, $("#form1"), 10, "");
  352. };
  353. $.getPrizeList = function()//포상실적
  354. {
  355. $("#fevent").val("GET_PRIZE_LIST");
  356. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  357. Modular.view.IBSheet7.doSearch(sheet7, url, $("#form1"), 10, "");
  358. };
  359. $.getSuppPatTent = function()//특허
  360. {
  361. $("#fevent").val("GET_PATENT_LIST");
  362. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  363. Modular.view.IBSheet7.doSearch(sheet8, url, $("#form1"), 10, "");
  364. };
  365. $.getCert2List = function()//면허
  366. {
  367. $("#fevent").val("GET_CRET2_LIST");
  368. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  369. Modular.view.IBSheet7.doSearch(sheet9, url, $("#form1"), 10, "");
  370. };
  371. });
  372. $(function(){
  373. /******* 탭메뉴 ********/
  374. $(".tab_content").hide();
  375. $(".tab_content:first").show();
  376. $("ul.tabs li").click(function () {
  377. $("ul.tabs li").removeClass("active").css("color", "#333");
  378. //$(this).addClass("active").css({"color": "darkred","font-weight": "bolder"});
  379. $(this).addClass("active").css("color", "darkred");
  380. $(".tab_content").hide();
  381. var activeTab = $(this).attr("rel");
  382. $("#" + activeTab).fadeIn();
  383. if(credit_yn == "Y")
  384. {
  385. if(activeTab == "tab2")//담당자 정보
  386. {
  387. //$.getList4();
  388. sheet4.FitColWidth();
  389. }
  390. else if(activeTab == "tab3")//납품실적
  391. {
  392. // $.getDeliverList();
  393. sheet5.FitColWidth();
  394. }
  395. else if(activeTab == "tab4")//인증서 현황
  396. {
  397. // $.getCertList();
  398. sheet6.FitColWidth();
  399. }
  400. else if(activeTab == "tab5")//프싱실적
  401. {
  402. // $.getPrizeList();
  403. sheet7.FitColWidth();
  404. }
  405. else if(activeTab == "tab6")//특허
  406. {
  407. // $.getSuppPatTent();
  408. sheet8.FitColWidth();
  409. }
  410. else if(activeTab == "tab9")//면허
  411. {
  412. sheet9.FitColWidth();
  413. }
  414. else if(activeTab == "tab8")//경영평가표
  415. {
  416. initRdViewer();
  417. }
  418. }
  419. else
  420. {
  421. if(activeTab == "tab2")//담당자정보
  422. {
  423. if(search_flag_4 == "N")
  424. {
  425. //$.getList4();
  426. search_flag_4 = "Y";
  427. }
  428. sheet4.FitColWidth();
  429. }
  430. else if(activeTab == "tab3")//납품실적
  431. {
  432. if(search_flag_5 == "N")
  433. {
  434. //$.getDeliverList();
  435. search_flag_5 = "Y";
  436. }
  437. sheet5.FitColWidth();
  438. }
  439. else if(activeTab == "tab4")//인증서 현황
  440. {
  441. if(search_flag_6 == "N")
  442. {
  443. //$.getList4();
  444. search_flag_6 = "Y";
  445. }
  446. sheet6.FitColWidth();
  447. }
  448. else if(activeTab == "tab5")//프싱실적
  449. {
  450. if(search_flag_7 == "N")
  451. {
  452. search_flag_7 = "Y";
  453. }
  454. sheet7.FitColWidth();
  455. }
  456. else if(activeTab == "tab6")//특허
  457. {
  458. if(search_flag_8 == "N")
  459. {
  460. search_flag_8 = "Y";
  461. }
  462. sheet8.FitColWidth();
  463. } else if(activeTab == "tab9")//건설면허
  464. {
  465. if(search_flag_9 == "N")
  466. {
  467. search_flag_9 = "Y";
  468. }
  469. sheet9.FitColWidth();
  470. }
  471. else if(activeTab == "tab8")//경영평가표
  472. {
  473. initRdViewer();
  474. }
  475. }
  476. });
  477. /*
  478. $("#esta_date_img").click(function(){
  479. $.callCalendar($(this).attr("id"));
  480. });
  481. $("#esta_date").click(function(){
  482. $.callCalendar($(this).attr("id"));
  483. });
  484. */
  485. $("[name=date_img]").click(function(){
  486. var id = $(this).attr("id").substring(0, $(this).attr("id").lastIndexOf("_"));
  487. dlgCalendar(id);
  488. });
  489. //첨부파일
  490. $("#search_spot_button").click(function(){
  491. var obj = $("#p_corp_id").val();
  492. var no = "1";
  493. if(no == 1)
  494. {
  495. viewFileListNew("TERMS_AGREE_INFO", obj, document.form1.p_AttachFile1, "Y", "own/purchase/" + obj);
  496. }
  497. });
  498. /*
  499. $.callCalendar = function(id){
  500. var str_value = id;
  501. var re = new RegExp("_", "ig");
  502. var resultArray = str_value.match(re);
  503. if(resultArray.length == 1)
  504. {
  505. dlgCalendar(id);
  506. }
  507. else if(resultArray.length == 2)
  508. {
  509. id = id.substring(0, id.lastIndexOf("_"));
  510. dlgCalendar(id);
  511. }
  512. };
  513. */
  514. $("#btn_list").click(function(){
  515. $("#fevent").val("");
  516. $("#form1").attr("action", "/supplier/purchase/PuSupplierList.screen");
  517. $("#form1").attr("target", "_self");
  518. $("#form1").attr("method", "post");
  519. $("#form1").submit();
  520. });
  521. $("#btn_save2").click(function(){
  522. var f = document.form1;
  523. var Row = sheet2.ColValueDup("6");
  524. var event = "<%=event%>";
  525. var gubun = "N";
  526. var all_del= "N";
  527. // 정규식 - 이메일 유효성 검사
  528. var regEmail = /([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
  529. if(sheet2.LastRow() <=0)
  530. {
  531. alert("등록희망ITEM을 입력하여 주십시오");
  532. return;
  533. }
  534. for(var i=1; i<=sheet2.LastRow(); i++)
  535. {
  536. if(sheet2.GetCellValue(i, "MAIN_ITEM") == "1")
  537. {
  538. gubun = "Y";
  539. }
  540. }
  541. if(gubun == "N")
  542. {
  543. alert("대표 ITEM을 지정하세요.");
  544. return;
  545. }
  546. if(Row != -1)
  547. {
  548. alert("희망 공급 ITEM에 중복된 내용이 존재합니다.");
  549. return;
  550. }
  551. for(var i=1; i<=sheet2.LastRow(); i++)
  552. {
  553. if(sheet2.GetCellValue(i, "DEL_CHECK") == "1")
  554. {
  555. all_del = "Y";
  556. }
  557. else
  558. {
  559. all_del = "N";
  560. break;
  561. }
  562. }
  563. if(all_del == "Y")
  564. {
  565. alert("등록희망 공급ITEM은 하나이상 반드시 등록하셔야 합니다.");
  566. return;
  567. }
  568. if($(':radio[name="p_status"]:checked').val() == undefined)
  569. {
  570. alert("등록상태를 선택해 주십시오.");
  571. return $("#p_status1").focus();
  572. }
  573. if($("#manage_no").val().trim() == "")
  574. {
  575. alert("관리번호를 입력해 주세요.");
  576. return $("#manage_no").focus();
  577. }
  578. // if($("#nation_cd").val().trim() == "")
  579. // {
  580. // alert("국가를 선택해 주세요");
  581. // return $("#nation_cd").focus();
  582. // }
  583. if($("#corp_kor").val().trim() == "")
  584. {
  585. alert("업체명을 입력해 주세요.");
  586. return $("#corp_kor").focus();
  587. }
  588. if($("#rep_name").val().trim() == "")
  589. {
  590. alert("대표자명을 입력해 주세요.");
  591. return $("#rep_name").focus();
  592. }
  593. if($("#corp_tel").val().trim() == "")
  594. {
  595. alert("전화번호를 입력해 주세요.");
  596. return $("#corp_tel").focus();
  597. }
  598. if($("#corp_fax").val().trim() == "")
  599. {
  600. alert("FAX번호를 입력해 주세요.");
  601. return $("#corp_fax").focus();
  602. }
  603. if($("#address").val().trim() == "")
  604. {
  605. alert("주소를 입력해 주세요");
  606. return $("#search_addr").click();
  607. }
  608. if($("#user_name").val().trim() == "")
  609. {
  610. alert("담당자명을 입력해 주세요");
  611. return $("#user_name").focus();
  612. }
  613. if($("#email").val().trim() == "")
  614. {
  615. alert("이메일 주소를 입력해 주세요");
  616. return $("#email").focus();
  617. }
  618. else
  619. {
  620. if(!regEmail.test($("#email").val().trim()))
  621. {
  622. alert("이메일 주소가 유효하지 않습니다");
  623. $("#email").focus();
  624. return false;
  625. }
  626. }
  627. if($("#p_in_out_div").val() == "I")
  628. {
  629. if($("#h_phon_1").val().trim() == "" || $("#h_phon_2").val().trim() == "" || $("#h_phon_3").val().trim() == "")
  630. {
  631. alert("핸드폰 번호를 입력해 주세요");
  632. return $("#h_phon_1").focus();
  633. }
  634. }
  635. if(confirm("업체정보를 저장하시겠습니까?"))
  636. {
  637. if(event == "GET_OUT_DETAIL")
  638. {
  639. $("#fevent").val("UPDATE_DATA2");
  640. }
  641. else
  642. {
  643. $("#fevent").val("SAVE_DATA2");
  644. }
  645. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  646. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  647. }
  648. });
  649. $("#btn_erp_send").click(function(){
  650. if(!confirm("ERP로 거래처 전송 하시겠습니까?")) return;
  651. var f = document.form1;
  652. $("#erp_save").val("E_SAVE");
  653. save(); //2019.05.13
  654. //$("#fevent").val("ERP_SEND");
  655. //submitXmlRequest("/supplier/purchase/PuSupplier_form.screen", "ERP_SEND", f);
  656. });
  657. $("#btn_save").click(function(){
  658. $("#erp_save").val("SAVE");
  659. save(); //2019.05.13
  660. });
  661. $("#btn_delete").click(function(){
  662. var f = document.form1;
  663. var event = "<%=event%>";
  664. if(confirm("삭제 하시겠습니까?"))
  665. {
  666. if(event == "GET_OUT_DETAIL")
  667. {
  668. $("#fevent").val("DELETE_DATA");
  669. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/outside/OutSupplier_sheet.screen";
  670. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  671. }
  672. }
  673. });
  674. /*
  675. $("#btn_apprv").click(function(){
  676. var f = document.form1;
  677. if(confirm("승인하시겠습니까?"))
  678. {
  679. $("#p_status").val("03");
  680. $("#p_right_id").val("149");
  681. submitXmlRequest("/supplier/purchase/PuSupplier_form.screen", "UPDATE_APPRV", f);
  682. }
  683. });
  684. */
  685. $(':radio[name="factor_cd"]').click(function(){
  686. if($(':radio[name="factor_cd"]:checked').val() == "9")
  687. {
  688. $("#mftr_div_cd_1").prop("disabled", true);
  689. $("#mftr_div_cd_1").prop("checked", false);
  690. $("#mftr_div_cd_2").prop("checked", true);
  691. return;
  692. }
  693. else
  694. {
  695. $("#mftr_div_cd_1").prop("disabled", false);
  696. }
  697. });
  698. $("#sheet4_add").click(function(){
  699. sheet4.DataInsert(-1);
  700. if(sheet4.GetCellValue(sheet4.LastRow(), "USER_ID").trim() == ""){
  701. //sheet4.SetCellEditable(sheet4.LastRow(), "USER_ID", 1);
  702. //sheet4.SetCellEditable(sheet4.LastRow(), "USER_NAME", 1);
  703. //sheet4.SetCellEditable(sheet4.LastRow(), "DIVISION", 1);
  704. //sheet4.SetCellEditable(sheet4.LastRow(), "POSITION", 1);
  705. sheet4.SetCellValue(sheet4.LastRow(), "BAR1","-");
  706. sheet4.SetCellValue(sheet4.LastRow(), "BAR2","-");
  707. sheet4.SetCellValue(sheet4.LastRow(), "CORP_ID","<%=params.get("p_corp_id") %>");
  708. }
  709. });
  710. $("#sheet5_add").click(function(){
  711. sheet5.DataInsert(-1);
  712. });
  713. $("#sheet5_admit").click(function(){
  714. var f = document.form1;
  715. if(sheet5.RowCount("D") == 0){
  716. alert("승인할 납품실적을 선택해 주십시오.");
  717. return false;
  718. }
  719. if(!confirm("선택한 납품실적을 승인 하시겠습니까?")) return;
  720. else{
  721. $("#fevent").val("SAVE_DELIRESUT_ADMIT");
  722. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  723. var result = Modular.view.IBSheet7.doSave(sheet5, url, $("#form1"), false);
  724. }
  725. });
  726. $("#sheet5_reject").click(function(){
  727. var f = document.form1;
  728. if(sheet5.RowCount("D") == 0){
  729. alert("승인해제할 납품실적을 선택해 주십시오.");
  730. return false;
  731. }
  732. if(!confirm("선택한 납품실적을 승인해제 하시겠습니까?")) return;
  733. else{
  734. $("#fevent").val("SAVE_DELIRESUT_REJECT");
  735. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  736. var result = Modular.view.IBSheet7.doSave(sheet5, url, $("#form1"), false);
  737. }
  738. });
  739. $("#sheet6_add").click(function(){
  740. sheet6.DataInsert(-1);
  741. });
  742. $("#sheet6_admit").click(function(){
  743. var f = document.form1;
  744. if(sheet6.RowCount("D") == 0){
  745. alert("승인할 인증서를 선택해 주십시오.");
  746. return false;
  747. }
  748. if(!confirm("선택한 인증서를 승인 하시겠습니까?")) return;
  749. else{
  750. $("#fevent").val("SAVE_CERT_ADMIT");
  751. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  752. var result = Modular.view.IBSheet7.doSave(sheet6, url, $("#form1"), false);
  753. }
  754. });
  755. $("#sheet6_reject").click(function(){
  756. var f = document.form1;
  757. if(sheet6.RowCount("D") == 0){
  758. alert("승인해제할 인증서를 선택해 주십시오.");
  759. return false;
  760. }
  761. if(!confirm("선택한 인증서를 승인해제 하시겠습니까?")) return;
  762. else{
  763. $("#fevent").val("SAVE_CERT_REJECT");
  764. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  765. var result = Modular.view.IBSheet7.doSave(sheet6, url, $("#form1"), false);
  766. }
  767. });
  768. $("#sheet7_add").click(function(){
  769. sheet7.DataInsert(-1);
  770. });
  771. $("#sheet8_add").click(function(){
  772. sheet8.DataInsert(-1);
  773. });
  774. $("#sheet9_add").click(function(){
  775. sheet9.DataInsert(-1);
  776. });
  777. $("#search_addr").click(function() {
  778. //2017.1.10 API적용
  779. /*var url = "/common/lib/dlgSearchZipCode.screen";
  780. var win_id = "_searchPostCode";
  781. url += "?pop_win_id="+win_id;
  782. $("#addr_gubun").val("A");
  783. fLayerPop(win_id, url, 550,490, '', '', 'NO');*/
  784. $("#addr_gubun").val("A");
  785. var pop = window.open("/lib/dlgjusoPopup.screen","pop","width=570,height=420, scrollbars=yes, resizable=yes");
  786. });
  787. $("#search_addr_sub").click(function() {
  788. //2017.01.10
  789. /* var url = "/common/lib/dlgSearchZipCode.screen";
  790. var win_id = "_searchPostCode";
  791. url += "?pop_win_id="+win_id;
  792. $("#addr_gubun").val("B");
  793. fLayerPop(win_id, url, 550,490, '', '', 'NO'); */
  794. $("#addr_gubun").val("B");
  795. var pop = window.open("/lib/dlgjusoPopup.screen","pop","width=570,height=420, scrollbars=yes, resizable=yes");
  796. });
  797. $("#corpTestYear").change(function(){
  798. var list = $("#corpTestYear").val().split("|");
  799. $("#p_appr_dy").val(list[0]);
  800. $("#p_arr_id").val(list[1]);
  801. $("#p_doc_cd").val(list[2]);//2016.04.20
  802. $("#p_adm_year").val(list[3]);
  803. initRdViewer();
  804. });
  805. /*
  806. $("#corp_tel").keyup(function(){
  807. if(!checkTelno($("#corp_tel").val())){
  808. alert("전화번호 형식이 올바르지 않습니다.");
  809. $("#corp_tel").focus();
  810. $("#corp_tel").val($("#corp_tel").val().substring(0, $("#corp_tel").val().length-1));
  811. }
  812. });
  813. */
  814. $(':radio[name="p_status"]').click(function(){
  815. var year = "<%=oneYearAgoDate%>";
  816. year = year.substring(0,4) + "-" + year.substring(4,6) + "-" + year.substring(6,8);
  817. var day = "<%=oneDayDate%>";
  818. day = day.substring(0,4) + "-" + day.substring(4,6) + "-" + day.substring(6,8);
  819. //alert($(':radio[name="p_status"]:checked').val());
  820. if($(':radio[name="p_status"]:checked').val() == "02" || $(':radio[name="p_status"]:checked').val() == "03")
  821. {
  822. $("#use_end_dy").val(year);
  823. $("#appr_dt").val("<%=yyyymmdd%>");
  824. $("#p_right_id").val("149");
  825. $("#can_dt").val("");
  826. $("#use_end_dy_img").show();
  827. $("#appr_dt_img").show();
  828. $("#can_dt_img").hide();
  829. return;
  830. }else if($(':radio[name="p_status"]:checked').val() == "91" || $(':radio[name="p_status"]:checked').val() == "99")
  831. {
  832. $("#appr_dt").val("");
  833. $("#p_right_id").val("159");
  834. $("#can_dt").val("<%=yyyymmdd%>")
  835. $("#use_end_dy").val(day);
  836. $("#use_end_dy_img").show();
  837. $("#appr_dt_img").hide();
  838. $("#can_dt_img").show();
  839. return;
  840. }else
  841. {
  842. $("#can_dt").val("");
  843. $("#use_end_dy").val("");
  844. $("#appr_dt").val("");
  845. $("#p_right_id").val("159");
  846. $("#use_end_dy_img").hide();
  847. $("#appr_dt_img").hide();
  848. $("#can_dt_img").hide();
  849. return;
  850. }
  851. });
  852. $("#btn_test").click(function(){
  853. var f = document.form1;
  854. if(!confirm("신용평가서 정보를 적용후 평가를 하시겠습니까?")) return;
  855. $("#fevent").val("SUPP_TEST");
  856. submitXmlRequest("/supplier/purchase/PuSupplierList_form.screen", "SUPP_TEST", f);
  857. });
  858. $("#btn_test2").click(function(){
  859. var f = document.form1;
  860. if(!confirm("평가를 하시겠습니까?")) return;
  861. $("#fevent").val("SUPP_TEST2");
  862. submitXmlRequest("/supplier/purchase/PuSupplierList_form.screen", "SUPP_TEST2", f);
  863. });
  864. $("#factor_confirm_btn").click(function() {
  865. var f = document.form1;
  866. if(<%=vo.get("factor_cd") == "" && vo.get("factor_cd") == null && vo.get("factor_cd") != "1" && vo.get("factor_cd") != "9"%>){
  867. alert("공장유무가 등록되어 있지 않습니다. \n저장 후 실행 바랍니다.");
  868. return;
  869. }
  870. if($(':radio[name="factor_cd"]:checked').val() == '9' || $(':radio[name="factor_cd"]:checked').val() == null){
  871. alert("승인할 공장이 없습니다.");
  872. return;
  873. }
  874. if($("#factor_confirm").val() == "Y"){
  875. alert("이미 승인되어 있습니다.");
  876. return;
  877. }
  878. if(!confirm("등록된 공장을 승인 하시겠습니까?")) return;
  879. $("#fevent").val("FACTOR_CONFIRM");
  880. submitXmlRequest("/supplier/purchase/PuSupplier_form.screen", "FACTOR_CONFIRM", f);
  881. });
  882. });
  883. /*
  884. $(window).load(function () {
  885. $(".gubun").each(function () {
  886. var rows = $(".gubun:contains('" + $(this).text() + "')");
  887. if (rows.length > 1) {
  888. rows.eq(0).attr("rowspan", rows.length);
  889. rows.not(":eq(0)").remove();
  890. }
  891. });
  892. });
  893. */
  894. $(document).ready(function(){
  895. if(corp_reg_gubun > "80" && corp_reg_gubun < "90")
  896. {
  897. $("#p_corp_no").addClass("required");
  898. }
  899. if(corp_reg_gubun == "86")
  900. {
  901. $("#p_head_corp_reg_n").addClass("required");
  902. }
  903. if(p_in_out_div == "O")
  904. {
  905. var event = "<%=storage.getEvent()%>";
  906. if(event == "REG_DATA")
  907. {
  908. $("#btn_delete_area").css("display", "none");
  909. }
  910. else
  911. {
  912. $("#btn_delete_area").css("display", "inline");
  913. }
  914. $("#btn_save_area").css("display", "none");
  915. $("#btn_erp_send_area").css("display", "none");
  916. $("#btn_save2_area").css("display", "inline");
  917. $("#h_phon_1").parents().parents().children("th").removeClass();
  918. }
  919. else
  920. {
  921. $("#btn_delete_area").css("display", "none");
  922. $("#btn_save2_area").css("display", "none");
  923. }
  924. $.gridInit();
  925. $.getList();
  926. //$.getList2();
  927. /* if(p_in_out_div != "O")
  928. {
  929. //$.getList3();
  930. } */
  931. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  932. {
  933. //$.getList4();
  934. //$.getDeliverList();
  935. //$.getCertList();
  936. //$.getPrizeList();
  937. //$.getSuppPatTent();
  938. }
  939. if(class_gubun == "01")
  940. {
  941. $("#class_1").css("background-color", "#f4f2f3");
  942. }
  943. else if(class_gubun == "02")
  944. {
  945. $("#class_2").css("background-color", "#f4f2f3");
  946. }
  947. if(class_gubun == "03")
  948. {
  949. $("#class_3").css("background-color", "#f4f2f3");
  950. }
  951. if(class_gubun == "04")
  952. {
  953. $("#class_4").css("background-color", "#f4f2f3");
  954. }
  955. if(class_gubun == "05")
  956. {
  957. $("#class_5").css("background-color", "#f4f2f3");
  958. }
  959. if(credit_yn == "Y")
  960. {
  961. //$("[name=sheet_save_btn]").css("display", "none");
  962. }
  963. // initRdViewer();
  964. if($(':radio[name="mftr_div_cd"]:checked').val() == "3")
  965. {
  966. if($(':radio[name="factor_cd"]:checked').val() == "9")
  967. {
  968. $("#mftr_div_cd_1").prop("disabled", true);
  969. $("#mftr_div_cd_1").prop("checked", false);
  970. $("#mftr_div_cd_2").prop("checked", true);
  971. return;
  972. }
  973. }
  974. });
  975. //2019.05.13 save분리
  976. function save(){
  977. var f = document.form1;
  978. var Row = sheet2.ColValueDup("6");
  979. var gubun = "N";
  980. var all_del= "N";
  981. // 정규식 - 사업장 관리번호 검사
  982. var regNo = /^[0-9]{11,11}$/;
  983. if(sheet2.LastRow() <=0)
  984. {
  985. alert("등록희망ITEM을 입력하여 주십시오");
  986. return;
  987. }
  988. for(var i=1; i<=sheet2.LastRow(); i++)
  989. {
  990. if(sheet2.GetCellValue(i, "MAIN_ITEM") == "1")
  991. {
  992. gubun = "Y";
  993. }
  994. if((sheet2.GetCellValue(i, "MAIN_ITEM") == "1")&&(sheet2.GetCellValue(i, "DEL_CHECK") == "1"))
  995. {
  996. gubun = "N";
  997. alert("대표 ITEM을 삭제 할 수 없습니다.");
  998. return;
  999. }
  1000. }
  1001. for(var i=1; i<=sheet4.LastRow(); i++)
  1002. {
  1003. if(stringByteSize4UTF(sheet4.GetCellValue(i, "NOTE"))>500){
  1004. alert("비고는 500자를 넘을 수 없습니다.");
  1005. return;
  1006. }
  1007. }
  1008. if(gubun == "N")
  1009. {
  1010. alert("대표 ITEM을 지정하세요.");
  1011. return;
  1012. }
  1013. if(Row != -1)
  1014. {
  1015. alert("희망 공급 ITEM에 중복된 내용이 존재합니다.");
  1016. return;
  1017. }
  1018. for(var i=1; i<=sheet2.LastRow(); i++)
  1019. {
  1020. if(sheet2.GetCellValue(i, "DEL_CHECK") == "1")
  1021. {
  1022. all_del = "Y";
  1023. }
  1024. else
  1025. {
  1026. all_del = "N";
  1027. break;
  1028. }
  1029. }
  1030. if(all_del == "Y")
  1031. {
  1032. alert("등록희망 공급ITEM은 하나이상 반드시 등록하셔야 합니다.");
  1033. return;
  1034. }
  1035. if($(':radio[name="p_status"]:checked').val() == undefined)
  1036. {
  1037. alert("등록상태를 선택해 주십시오.");
  1038. return $("#p_status1").focus();
  1039. }
  1040. if($(':radio[name="p_status"]:checked').val() == "91" || $(':radio[name="p_status"]:checked').val() == "99")
  1041. {
  1042. if($("#comment").val() == "")
  1043. {
  1044. alert("의견을 입력해 주세요.");
  1045. return $("#comment").focus();
  1046. }
  1047. }
  1048. if(corp_reg_gubun == "86")
  1049. {
  1050. if($("#head_corp_reg_n").val().trim() == "")
  1051. {
  1052. alert("본사 사업자번호를 입력해 주세요.");
  1053. return $("#head_corp_reg_n").focus();
  1054. }
  1055. }
  1056. if(corp_reg_gubun > "80" && corp_reg_gubun < "90")
  1057. {
  1058. if($("#copr_no").val().trim() == "")
  1059. {
  1060. alert("법인번호를 입력해 주세요.");
  1061. return $("#copr_no").focus();
  1062. }
  1063. }
  1064. if($("#sub_place_no").val().trim() != "")
  1065. {
  1066. if(!regNo.test($("#sub_place_no").val().trim()))
  1067. {
  1068. alert("사업장 관리번호가 유효하지 않습니다(숫자 11자리)");
  1069. $("#sub_place_no").focus();
  1070. return false;
  1071. }
  1072. }
  1073. if($("#corp_kor").val().trim() == "")
  1074. {
  1075. alert("업체명을 입력해 주세요.");
  1076. return $("#corp_kor").focus();
  1077. }
  1078. if($("#rep_name").val().trim() == "")
  1079. {
  1080. alert("대표자명을 입력해 주세요.");
  1081. return $("#rep_name").focus();
  1082. }
  1083. if($("#corp_sts").val().trim() == "")
  1084. {
  1085. alert("업태를 입력해 주세요.");
  1086. return $("#corp_sts").focus();
  1087. }
  1088. if($("#biz_form").val().trim() == "")
  1089. {
  1090. alert("업종을 입력해 주세요.");
  1091. return $("#biz_form").focus();
  1092. }
  1093. if($("#esta_date").val().trim() == "")
  1094. {
  1095. alert("설립일자를 입력해 주세요.");
  1096. return $("#esta_date").focus();
  1097. }
  1098. if($("#corp_tel").val().trim() == "")
  1099. {
  1100. alert("전화번호를 입력해 주세요.");
  1101. return $("#corp_tel").focus();
  1102. }
  1103. if($("#corp_fax").val().trim() == "")
  1104. {
  1105. alert("FAX번호를 입력해 주세요.");
  1106. return $("#corp_fax").focus();
  1107. }
  1108. if($("#base_year").val()<1900)
  1109. {
  1110. alert("기준년도를 확인 해 주세요");
  1111. return $("#base_year").focus();
  1112. }
  1113. if($("#float_asset").val().trim() == "")
  1114. {
  1115. alert("유동자산을 입력해 주세요.");
  1116. return $("#float_asset").focus();
  1117. }
  1118. if($("#float_debt").val().trim() == "")
  1119. {
  1120. alert("유동부채를 입력해 주세요.");
  1121. return $("#float_debt").focus();
  1122. }
  1123. if($("#tot_cap").val().trim() == "")
  1124. {
  1125. alert("자본총계를 입력해 주세요.");
  1126. return $("#tot_cap").focus();
  1127. }
  1128. if($("#gross_asset").val().trim() == "")
  1129. {
  1130. alert("부채총계를 입력해 주세요."); //2018.04.18 부채와 자본총계->부채총계
  1131. return $("#gross_asset").focus();
  1132. }
  1133. if($("#capital_amt").val().trim() == "")
  1134. {
  1135. alert("자본금을 입력해 주세요.");
  1136. return $("#capital_amt").focus();
  1137. }
  1138. if($("#cur_profit").val().trim() == "")
  1139. {
  1140. alert("당기순이익을 입력해 주세요.");
  1141. return $("#cur_profit").focus();
  1142. }
  1143. if($("#cur_sales_amt").val().trim() == "")
  1144. {
  1145. alert("당기매출액을 입력해 주세요.");
  1146. return $("#cur_sales_amt").focus();
  1147. }
  1148. if($("#pri_sales_amt").val().trim() == "")
  1149. {
  1150. alert("전기매출액을 입력해 주세요.");
  1151. return $("#pri_sales_amt").focus();
  1152. }
  1153. //은행계좌 확인 2019.05.09
  1154. if($("#bank_cd").val().trim() == "" || $("#bank_acct").val().trim() == "")
  1155. {
  1156. alert("계좌정보를 입력해 주세요.");
  1157. return $("#bank_acct").focus();
  1158. }
  1159. //담당자명 중복체크 2016.4.20
  1160. for(var i=1; i<=sheet4.LastRow(); i++)
  1161. {
  1162. for(var ii = i+1; ii<=sheet4.LastRow(); ii++)
  1163. {
  1164. if(sheet4.GetCellValue(i, "USER_NAME")== sheet4.GetCellValue(ii, "USER_NAME")){
  1165. alert("담당자정보 이름이 중복됩니다. ");
  1166. return false;
  1167. }
  1168. }
  1169. }
  1170. for(var i=1; i<=sheet5.LastRow(); i++)
  1171. {
  1172. if(sheet5.GetCellValue(i, "DEL_CHECK") != "1"){ //2015.3.4 삭제할경우 시작일,종료일 체크 제외 - 이재원대리 요청
  1173. if(sheet5.GetCellValue(i, "DELI_END_DY") != ""){
  1174. if(sheet5.GetCellValue(i, "DELI_END_DY")-sheet5.GetCellValue(i, "DELI_START_DY")<0){
  1175. alert("납품시작일과 종료일을 확인해 주세요.(" + i.toString() + ")"); //2015.9.9 납품일 확인
  1176. return false;
  1177. }
  1178. }else{
  1179. if(sheet5.GetCellValue(i, "DELI_START_DY") == ""){
  1180. alert("납품시작일을 확인해 주세요." + i);
  1181. return false;
  1182. }
  1183. }
  1184. }
  1185. for(var i=1; i<=sheet5.LastRow(); i++)
  1186. {
  1187. if(sheet5.GetCellValue(i, "DELIRESULT_CONFIRM") == "Y" && (sheet5.GetCellValue(i, "STATUS") == "D" || sheet5.GetCellValue(i, "STATUS") == "U")){ //승인 되어 있는 경우
  1188. alert("승인된 납품실적은 삭제/수정 불가합니다.(" + i.toString() + ")");
  1189. return false;
  1190. }
  1191. }
  1192. }
  1193. for(var i=1; i<=sheet6.LastRow(); i++)
  1194. {
  1195. if(sheet5.GetCellValue(i, "DEL_CHECK") != "1"){ //2015.3.4 삭제할경우 취득일,만기일 체크 제외 - 이재원대리 요청
  1196. if(sheet6.GetCellValue(i, "EXP_END_DY")-sheet6.GetCellValue(i, "EXP_STA_DY")<0){
  1197. alert("인증서 취득일과 만기일을 확인해 주세요.");
  1198. return false;
  1199. }
  1200. }
  1201. for(var i=1; i<=sheet6.LastRow(); i++)
  1202. {
  1203. if(sheet6.GetCellValue(i, "CERT_CONFIRM") == "Y" && (sheet6.GetCellValue(i, "STATUS") == "D" || sheet6.GetCellValue(i, "STATUS") == "U")){ //승인 되어 있는 경우
  1204. alert("승인된 인증서는 삭제/수정 불가합니다.(" + i.toString() + ")");
  1205. return false;
  1206. }
  1207. }
  1208. }
  1209. if($(':radio[name="tax_addr_cd"]:checked').val() == "B")
  1210. {
  1211. if($("#post_no_1").val().trim() == "")
  1212. {
  1213. alert("본점 소재지를 입력해 주세요");
  1214. //return $("#search_addr").focus();
  1215. // $("body,html").scrollTop(0);
  1216. return $("#search_addr").click();
  1217. }
  1218. }
  1219. else
  1220. {
  1221. if($("#place_post_no_1").val().trim() == "")
  1222. {
  1223. alert("사업장 소재지를 입력해 주세요");
  1224. //return $("#search_addr_sub").focus();
  1225. // $("body,html").scrollTop(0);
  1226. return $("#place_address").click();
  1227. }
  1228. }
  1229. if($(':radio[name="p_status"]:checked').val() == "02" || $(':radio[name="p_status"]:checked').val() == "03")
  1230. {
  1231. $("#p_right_id").val("149");
  1232. }
  1233. else if($(':radio[name="p_status"]:checked').val() == "91" || $(':radio[name="p_status"]:checked').val() == "99")
  1234. {
  1235. $("#p_right_id").val("159");
  1236. }
  1237. else
  1238. {
  1239. $("#p_right_id").val("159");
  1240. }
  1241. if($(':radio[name="factor_cd"]:checked').val() == '9') $("#factor_confirm").val("N"); //미승인 상태로 변경
  1242. if($(':radio[name="mftr_div_cd"]:checked').val() == undefined)
  1243. {
  1244. alert("manufacturer 구분을 선택해 주세요");
  1245. $("body,html").scrollTop(0);
  1246. return $("#mftr_div_cd_1").focus();
  1247. }
  1248. else
  1249. {
  1250. if(confirm("변경한 업체정보를 저장하시겠습니까?"))
  1251. {
  1252. $("#fevent").val("SAVE_DATA");
  1253. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1254. var result = Modular.view.IBSheet7.doSave(sheet2, url, $("#form1"), false);
  1255. }
  1256. }
  1257. }
  1258. function jusoCallBack(roadFullAddr,roadAddrPart1,addrDetail,roadAddrPart2,engAddr, jibunAddr, zipNo, admCd, rnMgtSn, bdMgtSn){
  1259. // 팝업페이지에서 주소입력한 정보를 받아서, 현 페이지에 정보를 등록합니다.
  1260. /*document.form.roadFullAddr.value = roadFullAddr;경기도 고양시 덕양구 도래울로 85, 213-202 (도내동, 엘에이치원흥도래울마을2단지)
  1261. document.form.roadAddrPart1.value = roadAddrPart1;경기도 고양시 덕양구 도래울로 85
  1262. document.form.roadAddrPart2.value = roadAddrPart2;213-202
  1263. document.form.addrDetail.value = addrDetail;(도내동, 엘에이치원흥도래울마을2단지)
  1264. document.form.engAddr.value = engAddr;85, Doraeul-ro, Deogyang-gu, Goyang-si, Gyeonggi-do
  1265. document.form.jibunAddr.value = jibunAddr;경기도 고양시 덕양구 도내동 983 엘에이치원흥도래울마을2단지
  1266. document.form.zipNo.value = zipNo; 10551
  1267. document.form.admCd.value = admCd;4128110500
  1268. document.form.rnMgtSn.value = rnMgtSn;412813194082
  1269. document.form.bdMgtSn.value = bdMgtSn;4128110500109830000000001*/
  1270. //2017.01.10
  1271. if($("#addr_gubun").val() == "A"){
  1272. $("#address").val( roadAddrPart1+ ' ' +roadAddrPart2 + ' ' + addrDetail );
  1273. $("#post_no_1").val( zipNo);
  1274. }else{
  1275. $("#place_address").val( roadAddrPart1+ ' ' +roadAddrPart2 + ' ' + addrDetail );
  1276. $("#place_post_no_1").val( zipNo);
  1277. }
  1278. }
  1279. //2017.1.10 미사용
  1280. function searchPostCodeClose(result) {
  1281. if( result != null ){
  1282. if($("#addr_gubun").val() == "A")
  1283. {
  1284. $("#post_no_1").val(result[0].substring(0,3));
  1285. $("#post_no_2").val(result[0].substring(4,7));
  1286. $("#address").val(result[2]);
  1287. }
  1288. else
  1289. {
  1290. $("#place_post_no_1").val(result[0].substring(0,3));
  1291. $("#place_post_no_2").val(result[0].substring(4,7));
  1292. $("#place_address").val(result[2]);
  1293. }
  1294. $("#addr_gubun").val("");
  1295. }
  1296. fLayerPopClose('_searchPostCode');
  1297. }
  1298. /*****************************************/
  1299. function sheet3_OnDblClick(Row, Col, Value)
  1300. {
  1301. var s_name = sheet3.ColSaveName(Col);
  1302. var code = sheet3.GetCellValue(Row, "GUBUN_CODE");
  1303. var reg_no = "<%=vo.get("CORP_REG_NO")%>";
  1304. if(s_name == "CREDIT_GRADE")
  1305. {
  1306. /*
  1307. 이크레더블 : E
  1308. 서울신용평가 : S
  1309. 나이스디앤비 : N
  1310. 한국기업데이터 : K
  1311. 나이스평가정보:M
  1312. */
  1313. if(code == "E")
  1314. {
  1315. var u = "2d2d424547494e204349504845522d2d313131310000000b3030303030303030eef0492ff42855bbffb697d670d4e3d109dafed98f4d7900293e8d4b9c1dcebd28eb9d58fd4c815c4d4829f1415fdfb730302d2d454e44204349504845522d2d";
  1316. var p = "2d2d424547494e204349504845522d2d313131310000000830303030303030301bb8ae01f161a326e30cc8d45f3844afd1bd2d39f5da22e9405f40dff013966445d4ea4029f89ad1385c4624cf679cc230302d2d454e44204349504845522d2d";
  1317. var i = reg_no; //협력업체사업자번호
  1318. var k = ""; //협력업체법인번호
  1319. var m ='3';
  1320. var link ='http://www.esrm.co.kr/esrm/SrmplusLogin?u='+ u +'&p='+ p +'&i='+ i +'&k='+ k +'&c=7&m='+ m +'&g=2';
  1321. var features ='height=768, width=1024, status=no, scrollbars=auto, resizable=yes';
  1322. window.open(link, 'watchwin', features);
  1323. }
  1324. else if(code == "S")
  1325. {
  1326. var link = "http://www.bizrating.co.kr/url/urlPage.do?param1=ZXRlY2g=&param2=YWV0ZWNo&param3=" + reg_no;
  1327. window.open(link, "pop", "width=975,height=600, resizable=yes, scrollbars=yes");
  1328. }
  1329. else if(code == "N")
  1330. {
  1331. var f = document.form1;
  1332. $("#p_corp_reg_no").val(reg_no);
  1333. $("#fevent").val("GET_CREADIT_REG_CHK");
  1334. submitXmlRequest("/supplier/purchase/PuSupplierList_form.screen", "GET_CREADIT_REG_CHK", f, "VALUEOBJECT");
  1335. }
  1336. else if(code == "K")
  1337. {
  1338. var f = document.form1;
  1339. $("#p_corp_reg_no").val(reg_no);
  1340. $("#fevent").val("GET_CREADIT_REG_CHK2");
  1341. submitXmlRequest("/supplier/purchase/PuSupplierList_form.screen", "GET_CREADIT_REG_CHK2", f, "VALUEOBJECT");
  1342. //window.open(link,"go_ksrm","width=900,height=600,scrollbar=auto");
  1343. }
  1344. else if(code == "M")
  1345. {
  1346. var vnk = "<%= sToday%>" * 677;
  1347. var link = "http://service.ecredit.co.kr/p01/A0001M001.nice?bizno=" + reg_no + "&eid=ETECENC&nk=" + vnk;
  1348. window.open(link, "pop", "width=975,height=600, resizable=yes, scrollbars=yes");
  1349. }
  1350. }
  1351. }
  1352. function sheet5_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  1353. if(Row == 0)return;
  1354. if (sheet5.ColSaveName(Col) == "FILE_YN") {
  1355. var modify = 'N';
  1356. if(sheet5.GetCellValue(Row, "DELIRESULT_CONFIRM")=='Y') modify = 'N';
  1357. else modify = 'Y';
  1358. if(sheet5.GetCellValue(Row, "DELI_FILE_ID")=='0'){
  1359. alert("신용평가사 등록 정보 입니다.");
  1360. }
  1361. else if(sheet5.GetCellValue(Row, "DELI_FILE_ID")=='' || sheet5.GetCellValue(Row, "STATUS")=="I"){
  1362. alert("입력한 내용을 저장을 한 후 파일을 첨부할 수 있습니다.");
  1363. }
  1364. else{
  1365. var FILE_ID = sheet5.GetCellValue(Row, "DELI_FILE_ID")
  1366. var corp_id = $("#p_corp_id").val();
  1367. viewFileListNew2('DELIRESULT', FILE_ID, "", modify, "own/purchase/"+corp_id+"/deliresult/"+FILE_ID, "", "", "", "N");
  1368. }
  1369. }
  1370. }
  1371. function sheet6_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  1372. if(Row == 0)return;
  1373. if (sheet6.ColSaveName(Col) == "FILE_YN") {
  1374. var modify = 'N';
  1375. if(sheet6.GetCellValue(Row, "CERT_CONFIRM")=='Y') modify = 'N';
  1376. else modify = 'Y';
  1377. if(sheet6.GetCellValue(Row, "CERT_FILE_ID")=='0'){
  1378. alert("신용평가사 등록 정보 입니다.");
  1379. }
  1380. else if(sheet6.GetCellValue(Row, "CERT_FILE_ID")=='' || sheet6.GetCellValue(Row, "STATUS")=="I"){
  1381. alert("입력한 내용을 저장을 한 후 파일을 첨부할 수 있습니다.");
  1382. }
  1383. else{
  1384. var FILE_ID = sheet6.GetCellValue(Row, "CERT_FILE_ID")
  1385. var corp_id = $("#p_corp_id").val();
  1386. viewFileListNew2('CERT', FILE_ID, "", modify, "own/purchase/"+corp_id+"/cert/"+FILE_ID, "", "", "", "N");
  1387. }
  1388. }
  1389. }
  1390. function viewFileListNew2(fileGB, id, obj, isModify, isDrectory, iframeID, user_filename, file_size, multi_yn) {
  1391. var win_id = "_puSupplierFileList";
  1392. var link = "/common/file/FileListNew.screen";
  1393. link += "?pop_win_id="+win_id;
  1394. link += "&file_gb=" + fileGB;
  1395. link += "&id=" + id;
  1396. if( obj.id != null )
  1397. link += "&obj_id=" + obj.id;
  1398. if( iframeID != null )
  1399. link += "&iframeID=" + iframeID;
  1400. if( isModify != null )
  1401. link += "&is_modify=" + isModify;
  1402. if( isDrectory != null )
  1403. link += "&sys_gb=" + isDrectory;
  1404. if( file_size != null )
  1405. link += "&file_size=" + file_size;
  1406. if( multi_yn != null )
  1407. link += "&multi_yn=" + multi_yn;
  1408. if( user_filename != null )
  1409. link += "&user_filename=" + encodeURIComponent(user_filename);
  1410. fLayerPop(win_id, link, 750,430, '', '', 'NO', '200');
  1411. }
  1412. /* function fLayerPopClose(layerID){
  1413. var oNode = document.getElementById(layerID);
  1414. if(oNode != null)
  1415. {
  1416. $('#'+layerID+ '_divcontent').empty();
  1417. $('#'+layerID).bPopup().close();
  1418. document.body.removeChild(oNode);
  1419. }
  1420. if(layerID == "_puSupplierFileList"){
  1421. research();
  1422. }
  1423. } */
  1424. function sheet1_OnSearchEnd(code, message) {
  1425. if(code == 0){
  1426. $.getList2();
  1427. sheet1.ShowTreeLevel(0, 1);
  1428. }else{
  1429. alert(message);
  1430. }
  1431. }
  1432. function sheet2_OnSearchEnd(code, message) {
  1433. if(code == 0 || code == "0"){
  1434. if($("#p_in_out_div").val() != "O")
  1435. {
  1436. $.getList3();
  1437. }
  1438. }else{
  1439. alert(message);
  1440. }
  1441. }
  1442. function sheet3_OnSearchEnd(code, message) {
  1443. if(code == 0){
  1444. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1445. {
  1446. $.getList4();
  1447. }
  1448. }else{
  1449. alert(message);
  1450. }
  1451. }
  1452. function sheet4_OnSearchEnd(code, message)
  1453. {
  1454. if(code == 0){
  1455. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1456. {
  1457. $.getDeliverList();
  1458. }
  1459. }else{
  1460. alert(message);
  1461. }
  1462. if(search_flag_4 == "N" && credit_yn == "Y")
  1463. {
  1464. search_flag_4 = "Y";
  1465. }
  1466. for(var i=1; i<=sheet4.LastRow(); i++)
  1467. {
  1468. if(sheet4.GetCellValue(i, "USER_ID").trim() != ""){
  1469. sheet4.SetCellEditable(i, "DEL_CHECK", 0);
  1470. }
  1471. }
  1472. sheet4.FitColWidth();
  1473. }
  1474. function sheet5_OnSearchEnd(code, message)
  1475. {
  1476. var info = {Type: "Image"};
  1477. if(code == 0){
  1478. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1479. {
  1480. $.getCertList();
  1481. }
  1482. for(i=1; i <= sheet5.RowCount(); i++){
  1483. if(sheet5.GetCellValue(i, "FILE_ID")!=""){
  1484. sheet5.InitCellProperty(i, "FILE_YN", info);
  1485. }
  1486. if(sheet5.GetCellValue(i, "DELI_FILE_ID")!="0"){
  1487. sheet5.SetCellFontColor(i,"FILE_YN", "#0000ff");
  1488. }
  1489. }
  1490. }else{
  1491. alert(message);
  1492. }
  1493. if(search_flag_5 == "N" && credit_yn == "Y")
  1494. {
  1495. search_flag_5 = "Y";
  1496. }
  1497. sheet5.FitColWidth();
  1498. var credit_end_dy = sheet5.GetCellValue(1,"CREDIT_END_DY");
  1499. if(credit_end_dy == -1){
  1500. return;
  1501. }else{
  1502. if(credit_end_dy > now_DY){
  1503. $("#span_sheet5_add").hide();
  1504. //$("#span_sheet5_admit").hide();
  1505. //$("#span_sheet5_reject").hide();
  1506. //sheet5.SetEditable(false); 2015.9.9
  1507. }
  1508. }
  1509. }
  1510. function sheet6_OnSearchEnd(code, message)
  1511. {
  1512. var info = {Type: "Image"};
  1513. if(code == 0){
  1514. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1515. {
  1516. $.getPrizeList();
  1517. }
  1518. for(i=1; i <= sheet6.RowCount(); i++){
  1519. if(sheet6.GetCellValue(i, "FILE_ID")!=""){
  1520. sheet6.InitCellProperty(i, "FILE_YN", info);
  1521. }
  1522. if(sheet6.GetCellValue(i, "CERT_FILE_ID")!="0"){
  1523. sheet6.SetCellFontColor(i,"FILE_YN", "#0000ff");
  1524. }
  1525. }
  1526. }else{
  1527. alert(message);
  1528. }
  1529. if(search_flag_6 == "N" && credit_yn == "Y")
  1530. {
  1531. sheet6.FitColWidth();
  1532. search_flag_6 = "Y";
  1533. }
  1534. sheet6.FitColWidth();
  1535. }
  1536. function sheet7_OnSearchEnd(code, message)
  1537. {
  1538. if(code == 0){
  1539. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1540. {
  1541. $.getSuppPatTent();
  1542. }
  1543. }else{
  1544. alert(message);
  1545. }
  1546. if(search_flag_7 == "N" && credit_yn == "Y")
  1547. {
  1548. search_flag_7 = "Y";
  1549. }
  1550. sheet7.FitColWidth();
  1551. var credit_end_dy = sheet7.GetCellValue(1,"CREDIT_END_DY");
  1552. if(credit_end_dy == -1){
  1553. return;
  1554. }else{
  1555. if(credit_end_dy > now_DY){
  1556. $("#span_sheet7_add").hide();
  1557. sheet7.SetEditable(false);
  1558. }
  1559. }
  1560. }
  1561. function sheet8_OnSearchEnd(code, message)
  1562. {
  1563. if(code == 0){
  1564. if(credit_yn.trim() == "N" || credit_yn.trim() == "" || credit_yn.trim() == "Y")
  1565. {
  1566. $.getCert2List();
  1567. }
  1568. }else{
  1569. alert(message);
  1570. }
  1571. if(search_flag_8 == "N" && credit_yn == "Y")
  1572. {
  1573. search_flag_8 = "Y";
  1574. }
  1575. sheet8.FitColWidth();
  1576. var credit_end_dy = sheet8.GetCellValue(1,"CREDIT_END_DY");
  1577. if(credit_end_dy == -1){
  1578. return;
  1579. }else{
  1580. if(credit_end_dy > now_DY){
  1581. $("#span_sheet8_add").hide();
  1582. }
  1583. }
  1584. }
  1585. function sheet9_OnSearchEnd(code, message)
  1586. {
  1587. if(search_flag_9 == "N" && credit_yn == "Y")
  1588. {
  1589. search_flag_9 = "Y";
  1590. }
  1591. sheet9.FitColWidth();
  1592. var credit_end_dy = sheet9.GetCellValue(1,"CREDIT_END_DY");
  1593. if(credit_end_dy == -1){
  1594. return;
  1595. }else{
  1596. if(credit_end_dy > now_DY){
  1597. $("#span_sheet9_add").hide();
  1598. sheet9.SetEditable(false);
  1599. }
  1600. }
  1601. }
  1602. function sheet2_OnSaveEnd(code, msg)
  1603. {
  1604. var event = $("#fevent").val();
  1605. var f = document.form1;
  1606. document.form1.isSubmit = false;
  1607. if(event == "SAVE_DATA")
  1608. {
  1609. if(code >= "0")
  1610. {
  1611. $("#fevent").val("SAVE_CHARGE");
  1612. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1613. var result = Modular.view.IBSheet7.doSave(sheet4, url, $("#form1"), false);
  1614. }
  1615. else
  1616. {
  1617. alert("등록실패.");
  1618. }
  1619. }
  1620. else if(event == "SAVE_DATA2")
  1621. {
  1622. if(code >= "0")
  1623. {
  1624. alert("성공적으로 저장되었습니다.");
  1625. location.href="/supplier/purchase/PuSupplierList.screen";
  1626. }
  1627. else
  1628. {
  1629. alert("등록실패.");
  1630. }
  1631. }
  1632. else if(event == "UPDATE_DATA2")
  1633. {
  1634. if(code >= "0")
  1635. {
  1636. alert("성공적으로 저장되었습니다.");
  1637. $("#fevent").val("GET_OUT_DETAIL");
  1638. // location.href="/supplier/purchase/PuSupplierList.screen";
  1639. $("#form1").attr("action", "/supplier/purchase/PuSupplier.screen");
  1640. $("#form1").submit();
  1641. }
  1642. else
  1643. {
  1644. alert("등록실패.");
  1645. }
  1646. }
  1647. else if(event == "DELETE_DATA")
  1648. {
  1649. if(code >= "0")
  1650. {
  1651. alert("삭제 되었습니다.");
  1652. location.href="/supplier/purchase/PuSupplierList.screen";
  1653. }
  1654. else
  1655. {
  1656. alert("삭제실패.");
  1657. }
  1658. }
  1659. }
  1660. function sheet4_OnSaveEnd(code, msg)
  1661. {
  1662. var event = $("#fevent").val();
  1663. var f = document.form1;
  1664. document.form1.isSubmit = false;
  1665. if(event == "SAVE_CHARGE")
  1666. {
  1667. if(code >= "0")
  1668. {
  1669. // alert("등록되었습니다.");
  1670. if(credit_yn.trim() == "N" || credit_yn.trim() == ""||credit_yn.trim() == "Y")
  1671. {
  1672. $("#fevent").val("SAVE_DELIRESUT");
  1673. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1674. var result = Modular.view.IBSheet7.doSave(sheet5, url, $("#form1"), false);
  1675. }
  1676. else
  1677. {
  1678. alert("성공적으로 저장되었습니다.");
  1679. }
  1680. }
  1681. else
  1682. {
  1683. alert("등록실패.");
  1684. }
  1685. }
  1686. }
  1687. function sheet5_OnSaveEnd(code, msg)
  1688. {
  1689. var event = $("#fevent").val();
  1690. var f = document.form1;
  1691. document.form1.isSubmit = false;
  1692. if(event == "SAVE_DELIRESUT")
  1693. {
  1694. if(code >= "0")
  1695. {
  1696. // alert("등록되었습니다.");
  1697. if(credit_yn.trim() == "N" || credit_yn.trim() == ""||credit_yn.trim() == "Y")
  1698. {
  1699. $("#fevent").val("SAVE_CERT");
  1700. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1701. var result = Modular.view.IBSheet7.doSave(sheet6, url, $("#form1"), false);
  1702. }
  1703. }
  1704. else
  1705. {
  1706. alert("등록실패.");
  1707. }
  1708. }else if(event == "SAVE_DELIRESUT_ADMIT"){
  1709. if(code >= "0"){
  1710. alert("승인되었습니다.");
  1711. research();
  1712. }else
  1713. {
  1714. alert("승인실패.");
  1715. }
  1716. }else if(event == "SAVE_DELIRESUT_REJECT"){
  1717. if(code >= "0"){
  1718. alert("해제되었습니다.");
  1719. research();
  1720. }else
  1721. {
  1722. alert("해제실패.");
  1723. }
  1724. }
  1725. }
  1726. function sheet6_OnSaveEnd(code, msg)
  1727. {
  1728. var event = $("#fevent").val();
  1729. var f = document.form1;
  1730. document.form1.isSubmit = false;
  1731. if(event == "SAVE_CERT")
  1732. {
  1733. if(code >= "0")
  1734. {
  1735. // alert("등록되었습니다.");
  1736. if(credit_yn.trim() == "N" || credit_yn.trim() == ""||credit_yn.trim() == "Y")
  1737. {
  1738. $("#fevent").val("SAVE_PRIZE");
  1739. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1740. var result = Modular.view.IBSheet7.doSave(sheet7, url, $("#form1"), false);
  1741. }
  1742. }
  1743. else
  1744. {
  1745. alert("등록실패.");
  1746. }
  1747. }else if(event == "SAVE_CERT_ADMIT"){
  1748. if(code >= "0"){
  1749. alert("승인되었습니다.");
  1750. research();
  1751. }else
  1752. {
  1753. alert("승인실패.");
  1754. }
  1755. }else if(event == "SAVE_CERT_REJECT"){
  1756. if(code >= "0"){
  1757. alert("해제되었습니다.");
  1758. research();
  1759. }else
  1760. {
  1761. alert("해제실패.");
  1762. }
  1763. }
  1764. }
  1765. function sheet7_OnSaveEnd(code, msg)
  1766. {
  1767. var event = $("#fevent").val();
  1768. var f = document.form1;
  1769. document.form1.isSubmit = false;
  1770. if(event == "SAVE_PRIZE")
  1771. {
  1772. if(code >= "0")
  1773. {
  1774. // alert("등록되었습니다.");
  1775. if(credit_yn.trim() == "N" || credit_yn.trim() == ""||credit_yn.trim() == "Y")
  1776. {
  1777. $("#fevent").val("SAVE_PATENT");
  1778. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1779. var result = Modular.view.IBSheet7.doSave(sheet8, url, $("#form1"), false);
  1780. }
  1781. }
  1782. else
  1783. {
  1784. alert("등록실패.");
  1785. }
  1786. }
  1787. }
  1788. function sheet8_OnSaveEnd(code, msg)
  1789. {
  1790. var event = $("#fevent").val();
  1791. var f = document.form1;
  1792. document.form1.isSubmit = false;
  1793. if(event == "SAVE_PATENT")
  1794. {
  1795. if(code >= "0")
  1796. {
  1797. // alert("등록되었습니다.");
  1798. if(credit_yn.trim() == "N" || credit_yn.trim() == ""||credit_yn.trim() == "Y")
  1799. {
  1800. $("#fevent").val("SAVE_CERT2");
  1801. var url = Modular.model.PageContext.CONTEXT_ROOT + "/supplier/purchase/PuSupplier_sheet.screen";
  1802. var result = Modular.view.IBSheet7.doSave(sheet9, url, $("#form1"), false);
  1803. }
  1804. }
  1805. else
  1806. {
  1807. alert("등록실패.");
  1808. }
  1809. }
  1810. }
  1811. function sheet9_OnSaveEnd(code, msg)
  1812. {
  1813. var event = $("#fevent").val();
  1814. var f = document.form1;
  1815. document.form1.isSubmit = false;
  1816. if(event == "SAVE_CERT2")
  1817. {
  1818. if(code >= "0")
  1819. {
  1820. if ($("#erp_save").val() == "E_SAVE"){ //2019.05.13
  1821. $("#fevent").val("ERP_SEND");
  1822. submitXmlRequest("/supplier/purchase/PuSupplier_form.screen", "ERP_SEND", f);
  1823. }else{
  1824. alert("등록되었습니다.");
  1825. research();
  1826. }
  1827. }
  1828. else
  1829. {
  1830. alert("등록실패.");
  1831. }
  1832. }
  1833. }
  1834. function sheet1_OnDblClick(Row, Col, Value)
  1835. {
  1836. var rowIndex = "";
  1837. var sheetObj = document.all.sheet1;
  1838. if(sheet1.GetCellValue(Row, "LEVEL") == "2")
  1839. {
  1840. // sheet2.RowDelete(1, 0);
  1841. rowIndex = sheet2.DataInsert(-1);
  1842. sheet2.SetCellValue(rowIndex, "KIND_BIG_NAME", sheet1.GetCellValue(Row, "GUBUN_1"));
  1843. sheet2.SetCellValue(rowIndex, "KIND_MID_NAME", sheet1.GetCellValue(Row, "GUBUN_2"));
  1844. sheet2.SetCellValue(rowIndex, "KIND_SMALL_NAME", sheet1.GetCellValue(Row, "GUBUN_3"));
  1845. sheet2.SetCellValue(rowIndex, "ITEM_CODE", sheet1.GetCellValue(Row, "MATERIALGROUP"));
  1846. }
  1847. else
  1848. {
  1849. if(sheet1.GetRowExpanded(Row) == 0){
  1850. sheet1.SetRowExpanded(Row, 1);
  1851. }else{
  1852. sheet1.SetRowExpanded(Row, 0);
  1853. }
  1854. }
  1855. }
  1856. //RD 화면에 출력하기 위한 Function
  1857. function initRdViewer() {
  1858. var args = arguments;
  1859. // var viewerObj = document.getElementById("RdViewer");
  1860. var p_doc_cd = $("#p_doc_cd").val(); <%-- "<%=params.get("p_doc_cd")%>"; 2016.4.20--%>
  1861. var RDUrl = "";
  1862. var RDParams = "";
  1863. if(p_doc_cd == "01")
  1864. {
  1865. if ($("#p_adm_year").val() == "2014"){
  1866. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport.mrd";
  1867. } else {
  1868. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport_2023.mrd";
  1869. }
  1870. RDParams = "[" + $("#p_corp_id").val() + "]";
  1871. RDParams += "[" + $("#p_arr_id").val() + "]";
  1872. RDParams += "[" + $("#p_appr_dy").val() + "]";
  1873. }
  1874. else if(p_doc_cd == "02")
  1875. {
  1876. if ($("#p_adm_year").val() == "2014"){
  1877. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport2.mrd";
  1878. } else {
  1879. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport2_2023.mrd";
  1880. }
  1881. RDParams = "[" + $("#p_corp_id").val() + "]";
  1882. RDParams += "[" + $("#p_arr_id").val() + "]";
  1883. RDParams += "[" + $("#p_appr_dy").val() + "]";
  1884. }
  1885. else if(p_doc_cd == "03")
  1886. {
  1887. if ($("#p_adm_year").val() == "2014"){
  1888. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport3.mrd";
  1889. } else if ($("#p_adm_year").val() == "2016"){
  1890. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport3_2016.mrd";
  1891. } else if ($("#p_adm_year").val() == "2019"){
  1892. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport3_2019.mrd";
  1893. } else if ($("#p_adm_year").val() == "2020"){
  1894. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport3_2020.mrd";
  1895. } else {
  1896. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport3_2023.mrd";
  1897. }
  1898. RDParams = "[" + $("#p_corp_id").val() + "]";
  1899. RDParams += "[" + $("#p_arr_id").val() + "]";
  1900. RDParams += "[" + p_doc_cd + "]";
  1901. RDParams += "[" + $("#p_appr_dy").val() + "]";
  1902. }
  1903. else if(p_doc_cd == "04")
  1904. {
  1905. if ($("#p_adm_year").val() == "2014"){
  1906. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport4.mrd";
  1907. } else if ($("#p_adm_year").val() == "2016"){
  1908. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport4_2016.mrd";
  1909. } else if ($("#p_adm_year").val() == "2019"){
  1910. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport4_2019.mrd";
  1911. } else if ($("#p_adm_year").val() == "2020"){
  1912. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport4_2020.mrd";
  1913. } else {
  1914. RDUrl = "/report/mrd/buyer/supplier/purchase/PuSupplierReport4_2023.mrd";
  1915. }
  1916. RDParams = "[" + $("#p_corp_id").val() + "]";
  1917. RDParams += "[" + $("#p_arr_id").val() + "]";
  1918. RDParams += "[" + p_doc_cd + "]";
  1919. RDParams += "[" + $("#p_appr_dy").val() + "]";
  1920. }
  1921. var viewer = new m2soft.crownix.Viewer("<%=WAFConfig.get("waf.rd_report.searver")%>", 'RdViewer');
  1922. viewer.useAdjustCharacterScale(true);
  1923. viewer.openFile("<%= ctx.getServerDomain() %>" + RDUrl, '/rf [<%= WAFConfig.get("waf.rd_report.path", "")%>rdagent.jsp] /rsn [<%= WAFConfig.get("waf.rd_report.DataSource", "")%>] /rp '+ RDParams);
  1924. }
  1925. function doResult(resultObj) {
  1926. try
  1927. {
  1928. if( resultObj.getRequestEvent() == "CORP_CHECK")
  1929. {
  1930. }
  1931. else if( resultObj.getRequestEvent() == "SAVE_DATA") //미사용 이벤트 result
  1932. {
  1933. if( resultObj.getSuccess() )
  1934. {
  1935. alert("저장되었습니다.");
  1936. document.form1.isSubmit = false;
  1937. }
  1938. else
  1939. {
  1940. alert(resultObj.getValueObject().get("errMsg"));
  1941. document.form1.isSubmit = false;
  1942. }
  1943. }
  1944. else if(resultObj.getRequestEvent() == "SUPP_TEST")
  1945. {
  1946. document.form1.isSubmit = false;
  1947. alert("평가가 완료되었습니다.");
  1948. }
  1949. else if(resultObj.getRequestEvent() == "UPDATE_APPRV")
  1950. {
  1951. if( resultObj.getSuccess() )
  1952. {
  1953. alert("승인이 완료되었습니다.");
  1954. $("#btn_list").click();
  1955. }
  1956. else
  1957. {
  1958. document.form1.isSubmit = false;
  1959. alert("승인이 실패하였습니다.");
  1960. }
  1961. }
  1962. else if(resultObj.getRequestEvent() == "GET_CREADIT_REG_CHK")
  1963. {
  1964. document.form1.isSubmit = false;
  1965. var url = resultObj.getValueObject().get("returnUrl");
  1966. window.open(url, "pop", "width=1024,height=600, resizable=yes, scrollbars=yes");
  1967. }
  1968. else if(resultObj.getRequestEvent() == "GET_CREADIT_REG_CHK2")
  1969. {
  1970. document.form1.isSubmit = false;
  1971. var url = resultObj.getValueObject().get("return_url");
  1972. var open = window.open('',"go_ksrm","width=900,height=600,scrollbars=yes");
  1973. var f = document.form1;
  1974. f.action = url;
  1975. f.target = "go_ksrm";
  1976. f.method = "post";
  1977. f.submit();
  1978. }
  1979. else if(resultObj.getRequestEvent() == "SUPP_TEST2")
  1980. {
  1981. document.form1.isSubmit = false;
  1982. alert("평가가 완료되었습니다.");
  1983. }
  1984. else if( resultObj.getRequestEvent() == "ERP_SEND") {
  1985. if( resultObj.getSuccess() ) {
  1986. alert("완료되었습니다.");
  1987. } else {
  1988. dlgErrorMsg(resultObj);
  1989. }
  1990. }
  1991. else if(resultObj.getRequestEvent() == "FACTOR_CONFIRM")
  1992. {
  1993. document.form1.isSubmit = false;
  1994. alert("공장이 승인되었습니다.");
  1995. research();
  1996. }
  1997. }
  1998. catch(errorObject) {
  1999. showErrorDlg("doResult()", errorObject);
  2000. }
  2001. }
  2002. //*************************************************************************************************************************************
  2003. function sheet4_OnChange(Row, Col, Value) {
  2004. if(Col == 8){//전화번호 형식 체크
  2005. if(Value != ""){
  2006. if(!checkTelno(Value)){
  2007. alert("전화번호 형식이 올바르지 않습니다.");
  2008. sheet4.SetCellValue(Row,Col,"");
  2009. }
  2010. }
  2011. }
  2012. if(Col == 9){//전화번호 형식 체크
  2013. if(Value != ""){
  2014. if(!checkTelno(Value)){
  2015. alert("FAX번호 형식이 올바르지 않습니다.");
  2016. sheet4.SetCellValue(Row,Col,"");
  2017. }
  2018. }
  2019. }
  2020. if(Col == 10){//전화번호 형식 체크
  2021. if(Value != ""){
  2022. if(!checkTelno(Value)){
  2023. alert("휴대전화번호 형식이 올바르지 않습니다.");
  2024. sheet4.SetCellValue(Row,Col,"");
  2025. }
  2026. }
  2027. }
  2028. if(Col == 12){//전화번호 형식 체크
  2029. if(Value != ""){
  2030. if(!checkTelno(Value)){
  2031. alert("휴대전화번호 형식이 올바르지 않습니다.");
  2032. sheet4.SetCellValue(Row,Col,"");
  2033. }
  2034. }
  2035. }
  2036. if(Col == 14){//전화번호 형식 체크
  2037. if(Value != ""){
  2038. if(!checkTelno(Value)){
  2039. alert("휴대전화번호 형식이 올바르지 않습니다.");
  2040. sheet4.SetCellValue(Row,Col,"");
  2041. }
  2042. }
  2043. }
  2044. if(Col == 7){//이메일 형식 체크
  2045. if(Value != ""){
  2046. if(!checkEmail(Value)){
  2047. alert("이메일 형식이 올바르지 않습니다.");
  2048. sheet4.SetCellValue(Row,Col,"");
  2049. }
  2050. }
  2051. }
  2052. }
  2053. function sheet4_OnSmartResize(Width, Height) {
  2054. sheet4.FitColWidth();
  2055. }
  2056. function sheet5_OnSmartResize(Width, Height) {
  2057. sheet5.FitColWidth();
  2058. }
  2059. function sheet6_OnSmartResize(Width, Height) {
  2060. sheet6.FitColWidth();
  2061. }
  2062. function sheet7_OnSmartResize(Width, Height) {
  2063. sheet7.FitColWidth();
  2064. }
  2065. function sheet8_OnSmartResize(Width, Height) {
  2066. sheet8.FitColWidth();
  2067. }
  2068. function sheet9_OnSmartResize(Width, Height) {
  2069. sheet9.FitColWidth();
  2070. }
  2071. function research() {
  2072. jQuery("#fevent").val("GET_OUT_DETAIL");
  2073. jQuery("#form1").attr("action", "/supplier/purchase/PuSupplier.screen");
  2074. jQuery("#form1").attr("target", "_self");
  2075. jQuery("#form1").attr("method", "post");
  2076. jQuery("#form1").submit();
  2077. }
  2078. //-->
  2079. </script>
  2080. <!-- SHEET -->
  2081. <modular:search id="form1">
  2082. <modular:key id="fevent" />
  2083. </modular:search>
  2084. <form id="form1" name="form1" method="post" modular:type="search" action="">
  2085. <input type="hidden" name="fevent" id="fevent" value="">
  2086. <input type="hidden" name="p_corp_id" id="p_corp_id" value="<%=params.get("p_corp_id") %>" />
  2087. <input type="hidden" name="p_doc_cd" id="p_doc_cd" value="<%=params.get("p_doc_cd") %>" />
  2088. <input type="hidden" name="p_adm_year" id="p_adm_year" value="" />
  2089. <input type="hidden" name="p_corp_reg_no" id="p_corp_reg_no" value="<%=params.get("p_corp_reg_no") %>" />
  2090. <input type="hidden" name="p_eval_cmp" id="p_eval_cmp" value="<%=params.get("p_eval_cmp") %>" />
  2091. <input type="hidden" name="job_div" id="job_div" value="P" />
  2092. <input type="hidden" name="credit_yn" id="credit_yn" value="<%=vo.get("credit_yn")%>" />
  2093. <input type="hidden" name="finance_gbn" id="finance_gbn" value="<%=corpInfoVo.get("base_year") %>" />
  2094. <input type="hidden" name="addr_gubun" id="addr_gubun" value="" />
  2095. <input type="hidden" name="p_right_id" id="p_right_id" value="" />
  2096. <input type="hidden" name="p_in_out_div" id="p_in_out_div" value="<%=params.get("p_in_out_div") %>" />
  2097. <input type="hidden" name="past_status" id="past_status" value="<%=vo.get("status_code") %>" />
  2098. <input type="hidden" name="factor_confirm" id="factor_confirm" value="<%=vo.get("factor_confirm") %>" />
  2099. <!-- 검색 파라메터 -->
  2100. <input type="hidden" name="material_Kind_Code_Lv1" id="material_Kind_Code_Lv1" value="<%=params.get("material_Kind_Code_Lv1") %>" />
  2101. <input type="hidden" name="material_Kind_Code_Lv2" id="material_Kind_Code_Lv2" value="<%=params.get("material_Kind_Code_Lv2") %>" />
  2102. <input type="hidden" name="material_Kind_Code_Lv3" id="material_Kind_Code_Lv3" value="<%=params.get("material_Kind_Code_Lv3") %>" />
  2103. <input type="hidden" name="corp_no" id="corp_no" value="<%=params.get("corp_no") %>" />
  2104. <input type="hidden" name="corp_name" id="corp_name" value="<%=params.get("corp_name") %>" />
  2105. <input type="hidden" name="search_gb" id="search_gb" value="<%=params.get("search_gb") %>" />
  2106. <input type="hidden" name="corp_status" id="corp_status" value="<%=params.get("corp_status") %>" />
  2107. <input type="hidden" name="in_out_gubun" id="in_out_gubun" value="<%=params.get("in_out_gubun") %>" />
  2108. <input type="hidden" name="nation_cd" id="nation_cd" value="<%=params.get("nation_cd") %>" />
  2109. <input type="hidden" name="p_arr_id" id="p_arr_id" value="<%=vo.get("arr_id") %>" />
  2110. <input type="hidden" name="p_appr_dy" id="p_appr_dy" value="<%=vo.get("appr_dy") %>" />
  2111. <input type="hidden" name="bank_nm" id="bank_nm" value="<%=vo.get("bank_nm") %>" />
  2112. <input type="hidden" name="erp_save" id="erp_save" value=""> <!-- 2019.05.13 erp전송전 저장처리 -->
  2113. <!-- TITLE -->
  2114. <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; margin-left: 0px;">
  2115. <tr>
  2116. <td>
  2117. <table class="screen_title_table">
  2118. <tr height="25">
  2119. <td width="80%" class="screen_title_text" align="left">
  2120. <div align="left" id="title">
  2121. <ul>
  2122. <li>구매_협력업체현황 상세(<%=vo.get("status").equals("") ? "작성중" : vo.get("status")%>)</li>
  2123. </ul>
  2124. </div>
  2125. </td>
  2126. <td align="right" style="vertical-align:bottom;">
  2127. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_list">목록</a></span>
  2128. <span class="btnSearch center" id="btn_save_area"><a href="javascript:void(0);" id="btn_save">저장</a></span>
  2129. <span class="btnSearch center" id="btn_save2_area"><a href="javascript:void(0);" id="btn_save2">저장</a></span>
  2130. <span class="btnSearch center" id="btn_erp_send_area"><a href="javascript:void(0);" id="btn_erp_send">ERP전송</a></span>
  2131. <span class="btnSearch center" id="btn_delete_area"><a href="javascript:void(0);" id="btn_delete">삭제</a></span>
  2132. <!-- <span class="btnSearch center"><a href="javascript:void(0);" id="btn_apprv">승인</a></span> -->
  2133. <!-- <span class="btnSearch center"><a href="javascript:void(0);" id="btn_return">반려</a></span> -->
  2134. </td>
  2135. </tr>
  2136. </table>
  2137. </td>
  2138. </tr>
  2139. <tr>
  2140. <td>
  2141. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  2142. <tr>
  2143. <td>
  2144. <div class="application-info magT20">
  2145. <div class="application-sub-title">
  2146. <span class="title">업체명 : <%=vo.get("corp_kor") %> (<%=StringUtils.getBizNo(vo.get("CORP_REG_NO")) %>)</span>
  2147. </div>
  2148. </div>
  2149. <div id="container" style="margin-top: 20px;">
  2150. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2151. <ul class="tabs">
  2152. <li class="active" rel="tab1">기본정보</li>
  2153. <li rel="tab2">담당자 정보</li>
  2154. <li rel="tab3">납품실적</li>
  2155. <li rel="tab4">인증서 현황</li>
  2156. <li rel="tab5">포상실적</li>
  2157. <li rel="tab6">특허</li>
  2158. <li rel="tab9">건설면허</li>
  2159. <li rel="tab7">재무정보</li>
  2160. <li rel="tab8">경영평가표</li>
  2161. </ul>
  2162. <%}else{ %>
  2163. <ul class="tabs">
  2164. <li class="active" rel="tab1">기본정보</li>
  2165. </ul>
  2166. <%} %>
  2167. <div class="tab_container">
  2168. <div id="tab1" class="tab_content">
  2169. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  2170. <colgroup>
  2171. <col width="20%"/>
  2172. <col width="40px"/>
  2173. <col width="40%"/>
  2174. <col width="70px"/>
  2175. <col/>
  2176. </colgroup>
  2177. <tr>
  2178. <td valign="top">
  2179. <div class="application-info magT20">
  2180. <div class="application-sub-title">
  2181. <span class="title">공급ITEM</span>
  2182. </div>
  2183. </div>
  2184. <div id="table01" style="width: 100%; height: 200px;">
  2185. <script>createIBSheet("sheet1","100%", "100%");</script>
  2186. </div>
  2187. <!-- table width="100%" border="0" cellspacing="0" cellpadding="0">
  2188. <tr>
  2189. <td align="left">
  2190. <div style="margin-bottom: 0px; margin-top: 10px; font-size: 12px;" class="screen_title_text">
  2191. <img src="/img/buyer/common/subtitle_bullet.gif" style="vertical-align: middle;">&nbsp;구분
  2192. </div>
  2193. </td>
  2194. </tr>
  2195. </table -->
  2196. </td>
  2197. <td align="center" valign="middle" style="width: 70px;">
  2198. <table width="40" border="0" cellspacing="0" cellpadding="0">
  2199. <tr>
  2200. <td height="30" align="center" valign="middle"><img
  2201. src="/img/buyer/icon/icon_in.gif" width="27"
  2202. height="17" /></td>
  2203. </tr>
  2204. <tr>
  2205. <td height="30" align="center" valign="middle"><img
  2206. src="/img/buyer/icon/icon_out.gif" alt="" width="27"
  2207. height="17" /></td>
  2208. </tr>
  2209. </table>
  2210. </td>
  2211. <td valign="top">
  2212. <div class="application-info magT20">
  2213. <div class="application-sub-title">
  2214. <span class="title">등록희망 공급ITEM</span>
  2215. </div>
  2216. </div>
  2217. <div id="table01" style="width: 100%;height: 200px;">
  2218. <script>createIBSheet("sheet2","100%", "100%");</script>
  2219. </div>
  2220. </td>
  2221. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2222. <td align="center" valign="middle">
  2223. <div style="width: 30px;"></div>
  2224. </td>
  2225. <td align="left">
  2226. <div class="application-info magT20">
  2227. <div class="application-sub-title">
  2228. <span class="title">신용평가정보</span>
  2229. </div>
  2230. </div>
  2231. <div id="table01" style="width: 100%;height: 200px;">
  2232. <script>createIBSheet("sheet3","100%", "100%");</script>
  2233. </div>
  2234. <%}else{ %>
  2235. <td align="center" valign="middle" colspan="2">
  2236. <div style="width: 250px;"></div>
  2237. </td>
  2238. <%} %>
  2239. </tr>
  2240. </table>
  2241. <div class="application-info magT20 ">
  2242. <div class="application-sub-title">
  2243. <span class="title">등록상태정보</span>
  2244. </div>
  2245. </div>
  2246. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2247. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
  2248. <col style="width:160px"/>
  2249. <col style="width:25%"/>
  2250. <col style="width:160px"/>
  2251. <col/>
  2252. <col style="width:160px"/>
  2253. <col/>
  2254. <tr>
  2255. <th class="required" >협력업체 등록상태</th>
  2256. <td>
  2257. <span><input type="radio" name="p_status" id="p_status1" value="01" <%=vo.get("status_code").equals("01") ? "checked=\"checked\"" : "" %> /> 대기</span>
  2258. <span><input type="radio" name="p_status" id="p_status2" value="02" <%=vo.get("status_code").equals("02") ? "checked=\"checked\"" : "" %> /> 가등록</span>
  2259. <span><input type="radio" name="p_status" id="p_status3" value="03" <%=vo.get("status_code").equals("03") ? "checked=\"checked\"" : "" %> /> 등록</span>
  2260. <span><input type="radio" name="p_status" id="p_status4" value="91" <%=vo.get("status_code").equals("91") ? "checked=\"checked\"" : "" %> /> 거래중지</span>
  2261. <span><input type="radio" name="p_status" id="p_status5" value="99" <%=vo.get("status_code").equals("99") ? "checked=\"checked\"" : "" %> /> 거래취소</span>
  2262. </td>
  2263. <th>협력업체 등록기간</th>
  2264. <td>
  2265. <input type="text" name="use_end_dy" id="use_end_dy" value="<%=vo.get("use_end_dy") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2266. <%
  2267. String sDisplay = "";
  2268. if(vo.get("STATUS_CODE").equals("01"))
  2269. {
  2270. sDisplay = "display:none;";
  2271. }
  2272. %>
  2273. <img alt="달력" id="use_end_dy_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;<%=sDisplay%>>"/>
  2274. </td>
  2275. <th>협력업체 등록요청일</th>
  2276. <td>
  2277. <input type="text" name="reg_req_dt" id="reg_req_dt" value="<%=vo.get("reg_req_dt") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2278. </td>
  2279. </tr>
  2280. <tr>
  2281. <th>협력업체 등록신청일</th>
  2282. <td>
  2283. <input type="text" name="reg_dt" id="reg_dt" value="<%=vo.get("reg_dt") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2284. </td>
  2285. <th>협력업체 등록승인일</th>
  2286. <td>
  2287. <input type="text" name="appr_dt" id="appr_dt" value="<%=vo.get("appr_dt") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2288. <%
  2289. sDisplay = "";
  2290. if(vo.get("STATUS_CODE").equals("01") || vo.get("STATUS_CODE").equals("91") || vo.get("STATUS_CODE").equals("99"))
  2291. {
  2292. sDisplay = "display:none;";
  2293. }
  2294. %>
  2295. <img alt="달력" id="appr_dt_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;<%=sDisplay%>"/>
  2296. </td>
  2297. <th>거래취소/거래중지일</th>
  2298. <td>
  2299. <input type="text" name="can_dt" id="can_dt" value="<%=vo.get("can_dt") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2300. <%
  2301. sDisplay = "";
  2302. if(vo.get("STATUS_CODE").equals("01") || vo.get("STATUS_CODE").equals("02") || vo.get("STATUS_CODE").equals("03"))
  2303. {
  2304. sDisplay = "display:none;";
  2305. }
  2306. %>
  2307. <img alt="달력" id="can_dt_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;<%=sDisplay%>>"/>
  2308. </td>
  2309. </tr>
  2310. <tr>
  2311. <th>의견</th>
  2312. <td colspan="5">
  2313. <textarea name="comment" id="comment" rows="5" style="width: 100%;"><%=vo.get("comment") %></textarea>
  2314. </td>
  2315. </tr>
  2316. </table>
  2317. <%}else{ %>
  2318. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
  2319. <col style="width:160px"/>
  2320. <col style="width:25%"/>
  2321. <col style="width:160px"/>
  2322. <col/>
  2323. <col style="width:160px"/>
  2324. <col/>
  2325. <tr>
  2326. <th class="required" >협력업체 등록상태</th>
  2327. <td>
  2328. <span><input type="radio" name="p_status" id="p_status1" value="01" <%=vo.get("status_code").equals("01") ? "checked=\"checked\"" : "" %> /> 대기</span>
  2329. <span><input type="radio" name="p_status" id="p_status2" value="02" <%=vo.get("status_code").equals("02") ? "checked=\"checked\"" : "" %> /> 가등록</span>
  2330. <span><input type="radio" name="p_status" id="p_status3" value="03" <%=vo.get("status_code").equals("03") ? "checked=\"checked\"" : "" %> /> 등록</span>
  2331. <span><input type="radio" name="p_status" id="p_status4" value="91" <%=vo.get("status_code").equals("91") ? "checked=\"checked\"" : "" %> /> 거래중지</span>
  2332. <span><input type="radio" name="p_status" id="p_status5" value="99" <%=vo.get("status_code").equals("99") ? "checked=\"checked\"" : "" %> /> 거래취소</span>
  2333. </td>
  2334. <th>협력업체 등록기간</th>
  2335. <td>
  2336. <input type="text" name="use_end_dy" id="use_end_dy" value="<%=vo.get("use_end_dy") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2337. <img alt="달력" id="use_end_dy_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;"/>
  2338. </td>
  2339. <th>등록취소/거래중지일</th>
  2340. <td>
  2341. <input type="text" name="can_dt" id="can_dt" value="<%=vo.get("can_dt") %>" size="10" style="background-color: rgb(238, 238, 238);text-align:center" readonly="readonly"/>
  2342. <img alt="달력" id="can_dt_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;"/>
  2343. </td>
  2344. </tr>
  2345. <tr>
  2346. <th>의견</th>
  2347. <td colspan="5">
  2348. <textarea name="comment" id="comment" rows="5" style="width: 100%;"><%=vo.get("comment") %></textarea>
  2349. </td>
  2350. </tr>
  2351. </table>
  2352. <%} %>
  2353. <div class="application-info magT20">
  2354. <div class="application-sub-title">
  2355. <span class="title">기본정보</span>
  2356. </div>
  2357. </div>
  2358. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
  2359. <col width="150px"/>
  2360. <col width="40%"/>
  2361. <col width="150px"/>
  2362. <col/>
  2363. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2364. <tr>
  2365. <th>
  2366. 사업자 등록번호
  2367. </th>
  2368. <td>
  2369. <%=StringUtils.getBizNo(vo.get("CORP_REG_NO")) %>
  2370. </td>
  2371. <th id="p_head_corp_reg_n">
  2372. 본사 사업자번호
  2373. </th>
  2374. <td>
  2375. <input type="text" name="head_corp_reg_n" id="head_corp_reg_n" value="<%=vo.get("head_corp_reg_n") %>" maxlength="10" numberOnly="true" style="width: 250px;" />
  2376. </td>
  2377. </tr>
  2378. <tr>
  2379. <th id="p_corp_no" >
  2380. 법인번호
  2381. </th>
  2382. <td>
  2383. <input type="text" name="copr_no" id="copr_no" value="<%=vo.get("copr_no") %>" maxlength="13" numberOnly="true" style="width: 250px;" />
  2384. </td>
  2385. <th>
  2386. 사업장 관리번호
  2387. </th>
  2388. <td>
  2389. <input type="text" name="sub_place_no" id="sub_place_no" value="<%=vo.get("sub_place_no") %>" maxlength="11" numberonly="true"style="width: 250px;" />
  2390. </td>
  2391. </tr>
  2392. <%}else{ %>
  2393. <tr>
  2394. <th class="required">
  2395. 관리번호(ERP거래처코드)
  2396. </th>
  2397. <td>
  2398. <input type="text" name="manage_no" id="manage_no" value="<%=vo.get("manage_no") %>" maxlength="10" style="width: 250px;" />
  2399. </td>
  2400. <th>
  2401. 국가
  2402. </th>
  2403. <td>
  2404. <%= HTMLMaker.getSelectTag(nationRowSet, "detailcd", "detailnm" , "nation_cd", "style='width:28%;height=18;'", "<OPTION value=''>-- 전체 --</OPTION>", vo.get("nation_cd"), 0) %>
  2405. </td>
  2406. </tr>
  2407. <%} %>
  2408. <tr>
  2409. <th class="required">
  2410. 업체명
  2411. </th>
  2412. <td >
  2413. <input type="text" name="corp_kor" id="corp_kor" value="<%=vo.get("corp_kor") %>" style="width: 250px;" />
  2414. </td>
  2415. <th class="required">
  2416. 대표자명
  2417. </th>
  2418. <td >
  2419. <input type="text" name="rep_name" id="rep_name" value="<%=vo.get("rep_name") %>" style="width: 250px;" />
  2420. </td>
  2421. </tr>
  2422. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2423. <tr>
  2424. <th class="required">
  2425. 업태
  2426. </th>
  2427. <td>
  2428. <input type="text" name="corp_sts" id="corp_sts" value="<%=vo.get("corp_sts") %>" style="width: 250px;" />
  2429. </td>
  2430. <th class="required">
  2431. 업종
  2432. </th>
  2433. <td>
  2434. <input type="text" name="biz_form" id="biz_form" value="<%=vo.get("biz_form") %>" style="width: 250px;" />
  2435. </td>
  2436. </tr>
  2437. <tr>
  2438. <th class="required">
  2439. 사업자구분
  2440. </th>
  2441. <td>
  2442. <input type="radio" name="corp_div_cd" id="corp_div_cd_1" value="1" <%=vo.get("corp_div_cd").equals("1") ? "checked=\"checked\"" : ""%> disabled="disabled"/> 법인
  2443. <input type="radio" name="corp_div_cd" id="corp_div_cd_2" value="2"<%=vo.get("corp_div_cd").equals("2") ? "checked=\"checked\"" : ""%> disabled="disabled"/> 개인
  2444. </td>
  2445. <th class="required">
  2446. 설립일자
  2447. </th>
  2448. <td>
  2449. <input type="text" name="esta_date" id="esta_date" value="<%=vo.get("esta_date") %>" style="width: 250px; background-color: rgb(238, 238, 238);" readonly="readonly"/>
  2450. <img alt="달력" id="esta_date_img" name="date_img" src="/img/buyer/btn/bt_calender.gif" style="vertical-align: middle; cursor: pointer;"/>
  2451. </td>
  2452. </tr>
  2453. <%} %>
  2454. <tr>
  2455. <th class="required">
  2456. 전화번호
  2457. </th>
  2458. <td>
  2459. <input type="text" name="corp_tel" id="corp_tel" value="<%=vo.get("corp_tel") %>" maxlength="15" style="width: 250px;" maxlength="100" noHangelEng="true" />
  2460. <%
  2461. if(params.get("p_in_out_div").equals("I"))
  2462. {
  2463. %>
  2464. <span style="color: red; font-size: 11px;">ex)000-0000-0000</span>
  2465. <%
  2466. }
  2467. %>
  2468. </td>
  2469. <th class="required">
  2470. FAX번호
  2471. </th>
  2472. <td>
  2473. <input type="text" name="corp_fax" id="corp_fax" value="<%=vo.get("corp_fax") %>" style="width: 250px;" maxlength="100" noHangelEng="true" />
  2474. <%
  2475. if(params.get("p_in_out_div").equals("I"))
  2476. {
  2477. %>
  2478. <span style="color: red; font-size: 11px;">ex)000-0000-0000</span>
  2479. <%
  2480. }
  2481. %>
  2482. </td>
  2483. </tr>
  2484. <%if(!params.get("p_in_out_div").equals("O")){ %>
  2485. <tr>
  2486. <th class="required">
  2487. 회사규모
  2488. </th>
  2489. <td>
  2490. <input type="radio" name="corp_scale" id="corp_scale_1" value="B" <%=vo.get("corp_scale").equals("B") ? "checked=\"checked\"" : ""%> /> 대기업
  2491. <input type="radio" name="corp_scale" id="corp_scale_2" value="S"<%=vo.get("corp_scale").equals("S") ? "checked=\"checked\"" : ""%> /> 중소기업
  2492. </td>
  2493. <th class="required">
  2494. 계좌정보
  2495. </th>
  2496. <td>
  2497. <%=CommCodeManager.getSelectCodeList("ERP_BANK","bank_cd","height=18;","<option value=''>--선택--</option>",vo.get("bank_cd")) %>
  2498. <input type="text" name="bank_acct" id="bank_acct" value="<%=vo.get("bank_acct") %>" style="width: 250px;" />
  2499. </td>
  2500. </tr>
  2501. <tr>
  2502. <th class="required">
  2503. 본점 소재지
  2504. </th>
  2505. <td colspan="5">
  2506. <%-- <input type="text" name="post_no_1" id="post_no_1" value="<%=!vo.get("post_no").equals("") ? vo.get("post_no").substring(0, 3) : ""%>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2507. &nbsp;-&nbsp;
  2508. <input type="text" name="post_no_2" id="post_no_2" value="<%=!vo.get("post_no").equals("") ? vo.get("post_no").substring(3, 6) : ""%>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2509. &nbsp; --%>
  2510. <input type="text" name="post_no_1" id="post_no_1" value="<%=!vo.get("post_no").equals("") ? vo.get("post_no") : ""%>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2511. &nbsp;
  2512. <input type="text" name="address" id="address" value="<%=vo.get("address") %>" style="width: 50%;"/>
  2513. <img id="search_addr" name="search_addr" style="vertical-align: middle; cursor: pointer;" src="/img/buyer/btn/btn_add_find.gif" />
  2514. </td>
  2515. </tr>
  2516. <tr>
  2517. <th class="required">
  2518. 사업장 소재지
  2519. </th>
  2520. <td colspan="3">
  2521. <%-- <input type="text" name="place_post_no_1" id="place_post_no_1" value="<%=!vo.get("place_post_no").equals("") ? vo.get("place_post_no").substring(0, 3) : "" %>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2522. &nbsp;-&nbsp;
  2523. <input type="text" name="place_post_no_2" id="place_post_no_2" value="<%=!vo.get("place_post_no").equals("") ? vo.get("place_post_no").substring(3, 6) : "" %>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2524. &nbsp; --%>
  2525. <input type="text" name="place_post_no_1" id="place_post_no_1" value="<%=!vo.get("place_post_no").equals("") ? vo.get("place_post_no") : ""%>" class="input" style="background-color: rgb(218, 227, 244); width: 80px;" readonly="readonly">
  2526. &nbsp;
  2527. <input type="text" name="place_address" id="place_address" value="<%=vo.get("place_address") %>" style="width: 50%;"/>
  2528. <img src="/img/buyer/btn/btn_add_find.gif" id="search_addr_sub" name="search_addr_sub" style="vertical-align: middle; cursor: pointer;" src="/img/buyer/btn/btn_add_find.gif" />
  2529. </td>
  2530. </tr>
  2531. <tr>
  2532. <th class="required">
  2533. 세금계산서 발행주소
  2534. </th>
  2535. <td colspan="3">
  2536. <input type="radio" name="tax_addr_cd" id="tax_addr_cd_1" value="B" <%=vo.get("tax_addr_cd").equals("B") ? "checked=\"checked\"" : ""%> /> 본사
  2537. <input type="radio" name="tax_addr_cd" id="tax_addr_cd_2" value="S" <%=vo.get("tax_addr_cd").equals("S") ? "checked=\"checked\"" : ""%> /> 사업장
  2538. </td>
  2539. </tr>
  2540. <tr>
  2541. <th class="required">
  2542. 공장유무
  2543. </th>
  2544. <td>
  2545. <input type="radio" name="factor_cd" id="factor_cd_1" value="1" <%=vo.get("factor_cd").equals("1") ? "checked=\"checked\"" : ""%> /> 유
  2546. <%-- <input type="radio" name="factor_cd" id="factor_cd_2" value="2" <%=vo.get("factor_cd").equals("2") ? "checked=\"checked\"" : ""%> /> 임대공장 --%>
  2547. <input type="radio" name="factor_cd" id="factor_cd_3" value="9" <%=vo.get("factor_cd").equals("9") ? "checked=\"checked\"" : ""%> /> 무
  2548. &nbsp;&nbsp;<img src="/img/buyer/button/bt_confirm.gif" id="factor_confirm_btn" name="factor_confirm_btn" style="vertical-align: middle; cursor: pointer;" src="/img/buyer/button/bt_confirm.gif" />&nbsp;&nbsp;<%=vo.get("factor_confirm_nm") %>
  2549. </td>
  2550. <th class="required">
  2551. manufacturer 구분
  2552. </th>
  2553. <td>
  2554. <input type="radio" name="mftr_div_cd" id="mftr_div_cd_1" value="1" <%=vo.get("mftr_div_cd").equals("1") ? "checked=\"checked\"" : ""%> /> manufacturer
  2555. <input type="radio" name="mftr_div_cd" id="mftr_div_cd_2" value="2" <%=vo.get("mftr_div_cd").equals("2") ? "checked=\"checked\"" : ""%> /> agent
  2556. </td>
  2557. </tr>
  2558. <%}else{ %>
  2559. <tr>
  2560. <th class="required">
  2561. 주소
  2562. </th>
  2563. <td colspan="3">
  2564. <input type="text" name="address" id="address" value="<%=vo.get("address") %>" style="width: 100%;"/>
  2565. </td>
  2566. </tr>
  2567. <%} %>
  2568. <tr>
  2569. <th>
  2570. 첨부파일
  2571. </th>
  2572. <td colspan="3" id="input01">
  2573. <textarea name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get("TERMS_AGREE_INFO") %></textarea>
  2574. <img id="search_spot_button" src='/img/buyer/button/bt_change.gif' border='0' align="top" align="absmiddle" alt='[Attach File]' style='vertical-align: middle; margin-bottom: 20px; cursor: pointer;'>
  2575. </td>
  2576. </tr>
  2577. </table>
  2578. <%if(params.get("p_in_out_div").equals("O")){ %>
  2579. <div class="application-info magT20 ">
  2580. <div class="application-sub-title">
  2581. <span class="title">등록상태정보</span>
  2582. </div>
  2583. </div>
  2584. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
  2585. <col width="150px"/>
  2586. <col width="20%"/>
  2587. <col width="150px"/>
  2588. <col width="20%"/>
  2589. <col width="150px"/>
  2590. <tr>
  2591. <th class="required">
  2592. 담당자명
  2593. </th>
  2594. <td >
  2595. <input type="text" name="user_name" id="user_name" value="<%=vo.get("user_name") %>" style="width: 250px;" />
  2596. </td>
  2597. <th>
  2598. 부서명
  2599. </th>
  2600. <td >
  2601. <input type="text" name="division" id="division" value="<%=vo.get("division") %>" style="width: 250px;" />
  2602. </td>
  2603. <th>
  2604. 직위
  2605. </th>
  2606. <td >
  2607. <input type="text" name="position" id="position" value="<%=vo.get("position") %>" style="width: 250px;" />
  2608. </td>
  2609. </tr>
  2610. <tr>
  2611. <th class="required">
  2612. 이메일
  2613. </th>
  2614. <td >
  2615. <input type="text" name="email" id="email" value="<%=vo.get("email") %>" style="width: 250px;" />
  2616. </td>
  2617. <th>
  2618. 전화번호
  2619. </th>
  2620. <td >
  2621. <input type="text" name="tel_num" id="tel_num" value="<%=vo.get("tel_num") %>" style="width: 250px;" />
  2622. </td>
  2623. <th>
  2624. FAX번호
  2625. </th>
  2626. <td >
  2627. <input type="text" name="fax_num" id="fax_num" value="<%=vo.get("fax_num") %>" style="width: 250px;" />
  2628. </td>
  2629. </tr>
  2630. <tr>
  2631. <th class="required">
  2632. 핸드폰 번호
  2633. </td>
  2634. <td colspan="5">
  2635. &nbsp;<input type="text" name="h_phon_1" id="h_phon_1" size="3" numberOnly="true" maxlength="3" value="<%=vo.get("hp1")%>"/> -
  2636. &nbsp;<input type="text" name="h_phon_2" id="h_phon_2" size="4" numberOnly="true" maxlength="4" value="<%=vo.get("hp2")%>"/> -
  2637. &nbsp;<input type="text" name="h_phon_3" id="h_phon_3" size="4" numberOnly="true" maxlength="4" value="<%=vo.get("hp3")%>"/>
  2638. </td>
  2639. </tr>
  2640. </table>
  2641. <%} %>
  2642. </div>
  2643. <!-- #tab1 -->
  2644. <div id="tab2" class="tab_content" style="width:98%;">
  2645. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;" >
  2646. <span class="btnSearch center" id="span_sheet4_add"><a href="javascript:void(0);" id="sheet4_add" name="sheet4_add">추가</a></span>
  2647. </div>
  2648. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;" >
  2649. </div>
  2650. <div id="table01" style="width: 100%; height: 100%;">
  2651. <script>createIBSheet("sheet4","100%", "350px");</script>
  2652. </div>
  2653. </div>
  2654. <!-- #tab2 -->
  2655. <div id="tab3" class="tab_content" style="width:98%;">
  2656. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;" >
  2657. <span class="btnSearch center" id="span_sheet5_add"><a href="javascript:void(0);" id="sheet5_add" name="sheet5_add">추가</a></span>
  2658. <span class="btnSearch center" id="span_sheet5_admit"><a href="javascript:void(0);" id="sheet5_admit" name="sheet5_admit">승인</a></span>
  2659. <span class="btnSearch center" id="span_sheet5_reject"><a href="javascript:void(0);" id="sheet5_reject" name="sheet5_reject">해제</a></span>
  2660. </div>
  2661. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;" >
  2662. <span style="font-size: 11px; color: red;"><b>(* 금액 단위 : 천원)</b></span>&nbsp;
  2663. </div>
  2664. <div id="table01" style="width: 100%; height: 100%;">
  2665. <script>createIBSheet("sheet5","100%", "350px");</script>
  2666. </div>
  2667. </div>
  2668. <!-- #tab3 -->
  2669. <div id="tab4" class="tab_content" style="width:98%;">
  2670. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;">
  2671. <span style="vertical-align: bottom; margin-top: 10px;" id="sheet4_btn">
  2672. <span class="btnSearch center" id="span_sheet6_add"><a href="javascript:void(0);" id="sheet6_add" name="sheet6_add">추가</a></span>
  2673. <span class="btnSearch center" id="span_sheet6_admit"><a href="javascript:void(0);" id="sheet6_admit" name="sheet6_admit">승인</a></span>
  2674. <span class="btnSearch center" id="span_sheet6_reject"><a href="javascript:void(0);" id="sheet6_reject" name="sheet6_reject">해제</a></span>
  2675. </span>
  2676. </div>
  2677. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;">
  2678. </div>
  2679. <div id="table01" style="width: 100%; height: 100%;">
  2680. <script>createIBSheet("sheet6","100%", "350px");</script>
  2681. </div>
  2682. </div>
  2683. <!-- #tab4 -->
  2684. <div id="tab5" class="tab_content" style="width:98%;">
  2685. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;">
  2686. <span class="btnSearch center" id="span_sheet7_add"><a href="javascript:void(0);" id="sheet7_add" name="sheet7_add">추가</a></span>
  2687. </div>
  2688. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;">
  2689. </div>
  2690. <div id="table01" style="width: 100%; height: 100%;">
  2691. <script>createIBSheet("sheet7","100%", "350px");</script>
  2692. </div>
  2693. </div>
  2694. <!-- #tab5 -->
  2695. <div id="tab6" class="tab_content" style="width:98%;">
  2696. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;">
  2697. <span class="btnSearch center" id="span_sheet8_add"><a href="javascript:void(0);" id="sheet8_add" name="sheet8_add">추가</a></span>
  2698. </div>
  2699. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;">
  2700. </div>
  2701. <div id="table01" style="width: 100%; height: 100%;">
  2702. <script>createIBSheet("sheet8","100%", "350px");</script>
  2703. </div>
  2704. </div>
  2705. <!-- #tab9 -->
  2706. <div id="tab9" class="tab_content" style="width:98%;">
  2707. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right; text-align: right; height: 25px; vertical-align: top;">
  2708. <span class="btnSearch center" id="span_sheet9_add"><a href="javascript:void(0);" id="sheet9_add" name="sheet9_add">추가</a></span>
  2709. </div>
  2710. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;">
  2711. </div>
  2712. <div id="table01" style="width: 100%; height: 100%;">
  2713. <script>createIBSheet("sheet9","100%", "350px");</script>
  2714. </div>
  2715. </div>
  2716. <!-- #tab6 -->
  2717. <div id="tab7" class="tab_content">
  2718. <div id="title02" name="sheet_save_btn" style="margin-top:5px; float:right;">
  2719. </div>
  2720. <div id="title02" name="sheet_info" style="margin-top:10px; float:right; text-align: right; vertical-align: top;">
  2721. <span style="float: right; font-size: 11px; color: red;"><b>(* 금액 단위 : 원)</b></span>
  2722. </div>
  2723. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
  2724. <colgroup>
  2725. <col width="150px"/>
  2726. <col/>
  2727. <col width="150px"/>
  2728. <col/>
  2729. </colgroup>
  2730. <tr>
  2731. <th class="required">
  2732. 기준년도
  2733. </th>
  2734. <td colspan="3">
  2735. <%=InputText.get("base_year",corpInfoVo.get("base_year"), 5,4, "PerSize,Number,center,class=numberic") %>
  2736. <%-- <input type="text" id="base_year" name="base_year" style="width: 50px; text-align: center;" value="<%=corpInfoVo.get("base_year")%>" numberOnly="true" maxlength="4"/> --%> 년도
  2737. </td>
  2738. </tr>
  2739. <TR>
  2740. <th class="required">
  2741. 유동자산
  2742. </th>
  2743. <td>
  2744. <%=InputText.get("float_asset",Formatter2.currency(corpInfoVo.get("float_asset")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2745. <%-- <input type="text" class="numberic" name="float_asset" id="float_asset" value="<%=corpInfoVo.get("float_asset") %>" numberOnly="true"style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2746. </td>
  2747. <th class="required">
  2748. 유동부채
  2749. </th>
  2750. <td>
  2751. <%=InputText.get("float_debt",Formatter2.currency(corpInfoVo.get("float_debt")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2752. <%-- <input type="text" class="numberic" name="float_debt" id="float_debt" value="<%=corpInfoVo.get("float_debt") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2753. </td>
  2754. </TR>
  2755. <tr>
  2756. <th class="required">
  2757. 자본총계
  2758. </th>
  2759. <td>
  2760. <%=InputText.get("tot_cap",Formatter2.currency(corpInfoVo.get("tot_cap")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2761. <%-- <input type="text" class="numberic" name="tot_cap" id="tot_cap" value="<%=corpInfoVo.get("tot_cap") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2762. </td>
  2763. <th class="required">
  2764. 부채총계
  2765. </th>
  2766. <td>
  2767. <%=InputText.get("gross_asset",Formatter2.currency(corpInfoVo.get("gross_asset")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2768. <%-- <input type="text" class="numberic" name="gross_asset" id="gross_asset" value="<%=corpInfoVo.get("gross_asset") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2769. </td>
  2770. </tr>
  2771. <tr>
  2772. <th class="required">
  2773. 자본금
  2774. </th>
  2775. <td>
  2776. <%=InputText.get("capital_amt",Formatter2.currency(corpInfoVo.get("capital_amt")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2777. <%-- <input type="text" class="numberic" name="capital_amt" id="capital_amt" value="<%=corpInfoVo.get("capital_amt") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : ""%> maxlength="15"/> --%>
  2778. </td>
  2779. <th class="required">
  2780. 당기순이익
  2781. </th>
  2782. <td>
  2783. <%=InputText.get("cur_profit",Formatter2.currency(corpInfoVo.get("cur_profit")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2784. <%-- <input type="text" class="numberic" name="cur_profit" id="cur_profit" value="<%=corpInfoVo.get("cur_profit") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2785. </td>
  2786. </tr>
  2787. <tr>
  2788. <th class="required">
  2789. 당기매출액
  2790. </th>
  2791. <td>
  2792. <%=InputText.get("cur_sales_amt",Formatter2.currency(corpInfoVo.get("cur_sales_amt")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2793. <%-- <input type="text" class="numberic" name="cur_sales_amt" id="cur_sales_amt" value="<%=corpInfoVo.get("cur_sales_amt") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2794. <th class="required">
  2795. 전기매출액
  2796. </thtd>
  2797. <td>
  2798. <%=InputText.get("pri_sales_amt",Formatter2.currency(corpInfoVo.get("pri_sales_amt")), 30,15, "PerSize,Number,Minus,right,class=numberic","Number") %>
  2799. <%-- <input type="text" class="numberic" name="pri_sales_amt" id="pri_sales_amt" value="<%=corpInfoVo.get("pri_sales_amt") %>" numberOnly="true" style="padding-right:3px; width: 150px; text-align: right;" <%=corpInfoVo.get("re_yn").equals("Y") ? "readonly=\"readonly\" " : "" %> maxlength="15"/> --%>
  2800. <input type="hidden" name="own_cap" id="own_cap" value="<%=corpInfoVo.get("own_cap") %>"/>
  2801. <input type="hidden" name="sales_amt" id="sales_amt" value="<%=corpInfoVo.get("sales_amt") %>"/>
  2802. </td>
  2803. </tr>
  2804. </table>
  2805. </div>
  2806. <div id="tab8" class="tab_content">
  2807. <div style="width: 40%; text-align: left; float: left;" >
  2808. 기준 년도 :
  2809. <select name="corpTestYear" id="corpTestYear">
  2810. <%
  2811. if(getApprYearList.size() > 0)
  2812. {
  2813. for(int i=0; i < getApprYearList.size(); i++)
  2814. {
  2815. %>
  2816. <option value="<%=getApprYearList.getRow(i).get("appr_dy")%>|<%=getApprYearList.getRow(i).get("arr_id")%>|<%=getApprYearList.getRow(i).get("doc_cd")%>|<%=getApprYearList.getRow(i).get("adm_year")%>" <%=vo.get("appr_dy").equals(getApprYearList.getRow(i).get("appr_dy")) ? "selected=\"selected\" " : "" %>><%=getApprYearList.getRow(i).get("appr_dy")%></option>
  2817. <%
  2818. }
  2819. }
  2820. %>
  2821. </select>
  2822. </div>
  2823. <div style="width: 40%; text-align: right; float: right;">
  2824. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_test">신평사정보 적용/평가하기</a></span>
  2825. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_test2">평가하기</a></span>
  2826. </div>
  2827. <div style="margin-top: 25px; margin-bottom: 5px;height:1400px;">
  2828. <div id="RdViewer" style="position:relative;width:100%;height:100%"></div>
  2829. <!-- <script type="text/javascript">makeRDViewer('RdViewer', '100%', '100%'); -->
  2830. </div>
  2831. </div>
  2832. <%--
  2833. <div id="tab8" class="tab_content">
  2834. <div style="width: 100%; text-align: center; margin-top: 10px; margin-bottom: 15px;" >
  2835. <span style="font-size: 15px; font-weight: bold;">공사 협력업체 경영평가표</span>
  2836. </div>
  2837. <div style="width: 100%; text-align: right;">
  2838. <span><input type="button" name="" id="" value="평가하기" /></span>
  2839. </div>
  2840. <div style="width: 100%; text-align: left; margin-left: 15px;">
  2841. <ol>
  2842. <!--
  2843. <li style="margin-bottom: 7px;">
  2844. 평가자 : <%=vo.get("USER_NAME") %>
  2845. </li>
  2846. -->
  2847. <li style="margin-bottom: 7px;">
  2848. 평가일 : <%=vo.get("APPR_DY") %>
  2849. </li>
  2850. <li style="margin-bottom: 5px;">
  2851. 업체명 : <%=vo.get("CORP_KOR") %>
  2852. </li>
  2853. <!--
  2854. <li>
  2855. GROUP :
  2856. <select name="" id="" >
  2857. <option value="">기계</option>
  2858. <option value="">배관</option>
  2859. <option value="">전기</option>
  2860. <option value="">계장</option>
  2861. <option value="">토건</option>
  2862. </select>
  2863. </li>
  2864. -->
  2865. </ol>
  2866. </div>
  2867. <table width="100%" border="0" cellspacing="0" cellpadding="0" id="appr_std_table" class="form-table">
  2868. <tr>
  2869. <th colspan="3" style="text-align: center;">
  2870. 평가항목
  2871. </th>
  2872. <th rowspan="2" style="text-align: center;">
  2873. 배당점수
  2874. </th>
  2875. <th rowspan="2" style="text-align: center;">
  2876. 평가점수
  2877. </th>
  2878. <th colspan="5" style="text-align: center;">
  2879. 배점기준
  2880. </th>
  2881. <th rowspan="2" style="text-align: center;">
  2882. REMARK
  2883. </th>
  2884. </tr>
  2885. <tr>
  2886. <th style="text-align: center;">
  2887. 대분류
  2888. </th>
  2889. <th style="text-align: center;">
  2890. 중분류
  2891. </th>
  2892. <th style="text-align: center;">
  2893. 소분류
  2894. </th>
  2895. <th style="text-align: center;">
  2896. A
  2897. </th>
  2898. <th style="text-align: center;">
  2899. B
  2900. </th>
  2901. <th style="text-align: center;">
  2902. C
  2903. </th>
  2904. <th style="text-align: center;">
  2905. D
  2906. </th>
  2907. <th style="text-align: center;">
  2908. E
  2909. </th>
  2910. </tr>
  2911. <%
  2912. int total_rate = 0;
  2913. String result_rate = "";
  2914. for(int i=0; i < getApprSrdList.size(); i++)
  2915. {
  2916. %>
  2917. <tr>
  2918. <th style="text-align: center;">
  2919. <%=getApprSrdList.getRow(i).get("GUBUN_1") %>
  2920. </th>
  2921. <%if(getApprSrdList.getRow(i).get("GUBUN_2").trim().equals("")){ %>
  2922. <th colspan="2" style="text-align: center;">
  2923. <%=getApprSrdList.getRow(i).get("GUBUN_3") %>
  2924. </th>
  2925. <%}else{ %>
  2926. <th style="text-align: center;">
  2927. <%=getApprSrdList.getRow(i).get("GUBUN_2") %>
  2928. </th>
  2929. <th style="text-align: center;">
  2930. <%=getApprSrdList.getRow(i).get("GUBUN_3") %>
  2931. </th>
  2932. <%} %>
  2933. <th style="text-align: center;">
  2934. <%=getApprSrdList.getRow(i).get("STOCK_RATE") %>
  2935. </td>
  2936. <td style="text-align: center;">
  2937. <%=getApprSrdList.getRow(i).get("APPR_RATE") %>
  2938. </td>
  2939. <td style="height: 60px;" <%=getApprSrdList.getRow(i).get("APPR_RESULT_CD").equals("A") ? "class=\"select_result\" ": "" %>>
  2940. <div style="text-align: center;">
  2941. <ul>
  2942. <li>
  2943. <%=getApprSrdList.getRow(i).get("A_CONTENT") %>
  2944. </li>
  2945. </ul>
  2946. </div>
  2947. <div style="text-align: center;">
  2948. <ul>
  2949. <li>
  2950. <%=getApprSrdList.getRow(i).get("A_RATE") %>
  2951. </li>
  2952. </ul>
  2953. </div>
  2954. </td>
  2955. <td style="height: 60px;" <%=getApprSrdList.getRow(i).get("APPR_RESULT_CD").equals("B") ? "class=\"select_result\" ": "" %>>
  2956. <div style="text-align: center;">
  2957. <ul>
  2958. <li>
  2959. <%=getApprSrdList.getRow(i).get("B_CONTENT") %>
  2960. </li>
  2961. </ul>
  2962. </div>
  2963. <div style="text-align: center;">
  2964. <ul>
  2965. <li>
  2966. <%=getApprSrdList.getRow(i).get("B_RATE") %>
  2967. </li>
  2968. </ul>
  2969. </div>
  2970. </td>
  2971. <td style="height: 60px;" <%=getApprSrdList.getRow(i).get("APPR_RESULT_CD").equals("C") ? "class=\"select_result\" ": "" %>>
  2972. <div style="text-align: center;" >
  2973. <ul>
  2974. <li>
  2975. <%=getApprSrdList.getRow(i).get("C_CONTENT") %>
  2976. </li>
  2977. </ul>
  2978. </div>
  2979. <div style="text-align: center;">
  2980. <ul>
  2981. <li>
  2982. <%=getApprSrdList.getRow(i).get("C_RATE") %>
  2983. </li>
  2984. </ul>
  2985. </div>
  2986. </td>
  2987. <td style="height: 60px;" <%=getApprSrdList.getRow(i).get("APPR_RESULT_CD").equals("D") ? "class=\"select_result\" ": "" %>>
  2988. <div style="text-align: center;" >
  2989. <ul>
  2990. <li>
  2991. <%=getApprSrdList.getRow(i).get("D_CONTENT") %>
  2992. </li>
  2993. </ul>
  2994. </div>
  2995. <div style="text-align: center;">
  2996. <ul>
  2997. <li>
  2998. <%=getApprSrdList.getRow(i).get("D_RATE") %>
  2999. </li>
  3000. </ul>
  3001. </div>
  3002. </td>
  3003. <td style="height: 60px;" <%=getApprSrdList.getRow(i).get("APPR_RESULT_CD").equals("E") ? "class=\"select_result\" ": "" %>>
  3004. <div style="text-align: center;" >
  3005. <ul>
  3006. <li>
  3007. <%=getApprSrdList.getRow(i).get("E_CONTENT") %>
  3008. </li>
  3009. </ul>
  3010. </div>
  3011. <div style="text-align: center;">
  3012. <ul>
  3013. <li>
  3014. <%=getApprSrdList.getRow(i).get("E_RATE") %>
  3015. </li>
  3016. </ul>
  3017. </div>
  3018. </td>
  3019. <td style="height: 60px; text-align: center;" >
  3020. <b><%=getApprSrdList.getRow(i).get("noti") %></b>
  3021. </td>
  3022. </tr>
  3023. <%
  3024. if(getApprSrdList.getRow(i).get("APPR_RATE").trim().equals(""))
  3025. {
  3026. total_rate = 0;
  3027. }
  3028. else
  3029. {
  3030. total_rate += Integer.parseInt(getApprSrdList.getRow(i).get("APPR_RATE"));
  3031. }
  3032. if(total_rate >= 85)
  3033. {
  3034. result_rate = "A등급";
  3035. }
  3036. else if(total_rate >= 80)
  3037. {
  3038. result_rate = "B등급";
  3039. }
  3040. else if(total_rate >= 75)
  3041. {
  3042. result_rate = "C등급";
  3043. }
  3044. else if(total_rate >= 70)
  3045. {
  3046. result_rate = "D등급";
  3047. }
  3048. else
  3049. {
  3050. result_rate = "등급외";
  3051. }
  3052. }
  3053. %>
  3054. <tr>
  3055. <th colspan="3">
  3056. [ 총 합 계 ]
  3057. </th>
  3058. <th>
  3059. 100
  3060. </td>
  3061. <th>
  3062. <%=total_rate %>
  3063. </th>
  3064. <th>
  3065. 종합평가
  3066. </th>
  3067. <th colspan="5">
  3068. 상기 업체 평가 점수는 &nbsp;<%=total_rate %>&nbsp; 점으로 &nbsp;등급기준은&nbsp;<%=result_rate %>&nbsp;입니다.
  3069. </th>
  3070. </tr>
  3071. </table>
  3072. <div style="margin-top: 20px; margin-bottom: 5px;">
  3073. </div>
  3074. <table width="100%" border="0" cellspacing="0" cellpadding="0" id="appr_std_table">
  3075. <tr>
  3076. <td colspan="5" style="text-align: left;" class="border_line_b">
  3077. <b>*공종별 등급 기준</b>
  3078. </td>
  3079. <td width="1" bgcolor="#cccccc"></td>
  3080. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3081. <div style="text-align: center;">
  3082. <ul>
  3083. <li>A</li>
  3084. </ul>
  3085. </div>
  3086. </td>
  3087. <td width="1" bgcolor="#cccccc"></td>
  3088. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3089. <div style="text-align: center;">
  3090. <ul>
  3091. <li>B</li>
  3092. </ul>
  3093. </div>
  3094. </td>
  3095. <td width="1" bgcolor="#cccccc"></td>
  3096. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3097. <div style="text-align: center;">
  3098. <ul>
  3099. <li>C</li>
  3100. </ul>
  3101. </div>
  3102. </td>
  3103. <td width="1" bgcolor="#cccccc"></td>
  3104. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3105. <div style="text-align: center;">
  3106. <ul>
  3107. <li>D</li>
  3108. </ul>
  3109. </div>
  3110. </td>
  3111. <td width="1" bgcolor="#cccccc"></td>
  3112. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3113. <div style="text-align: center;">
  3114. <ul>
  3115. <li>등급외</li>
  3116. </ul>
  3117. </div>
  3118. </td>
  3119. <td width="1" bgcolor="#cccccc"></td>
  3120. <td id="td_title04" style="text-align:center;" class="border_line_tb">
  3121. <div style="text-align: center;">
  3122. <ul>
  3123. <li>Remark</li>
  3124. </ul>
  3125. </div>
  3126. </td>
  3127. <td width="1" bgcolor="#cccccc"></td>
  3128. </tr>
  3129. <tr id="class_1">
  3130. <td id="td_title04" style="text-align:center;" rowspan="5" class="border_line_b">
  3131. <b>공종별<br />등급기준</b>
  3132. </td>
  3133. <td width="1" bgcolor="#cccccc"></td>
  3134. <td id="td_title04" style="text-align:center;" class="border_line_b">
  3135. <div style="text-align: center;">
  3136. <ul>
  3137. <li>기계</li>
  3138. </ul>
  3139. </div>
  3140. </td>
  3141. <td width="1" bgcolor="#cccccc"></td>
  3142. <td style="text-align:center;">
  3143. <div style="text-align: center;" id="td_title06" >
  3144. <ul>
  3145. <li>기계설비(플랜트, 환경)등</li>
  3146. </ul>
  3147. </div>
  3148. </td>
  3149. <td width="1" bgcolor="#cccccc"></td>
  3150. <td style="text-align:center;" >
  3151. <div style="text-align: center;" id="td_title06">
  3152. <ul>
  3153. <li>90 점 ↑</li>
  3154. </ul>
  3155. </div>
  3156. </td>
  3157. <td width="1" bgcolor="#cccccc"></td>
  3158. <td style="text-align:center;">
  3159. <div style="text-align: center;" id="td_title06">
  3160. <ul>
  3161. <li>80 점 ↑</li>
  3162. </ul>
  3163. </div>
  3164. </td>
  3165. <td width="1" bgcolor="#cccccc"></td>
  3166. <td style="text-align:center;" >
  3167. <div style="text-align: center;" id="td_title06">
  3168. <ul>
  3169. <li>70 점 ↑</li>
  3170. </ul>
  3171. </div>
  3172. </td>
  3173. <td width="1" bgcolor="#cccccc"></td>
  3174. <td style="text-align:center;" >
  3175. <div style="text-align: center;" id="td_title06">
  3176. <ul>
  3177. <li>65 점 ↑</li>
  3178. </ul>
  3179. </div>
  3180. </td>
  3181. <td width="1" bgcolor="#cccccc"></td>
  3182. <td style="text-align:center;">
  3183. <div style="text-align: center;" id="td_title06">
  3184. <ul>
  3185. <li>65 점 ↓</li>
  3186. </ul>
  3187. </div>
  3188. </td>
  3189. <td width="1" bgcolor="#cccccc"></td>
  3190. <td style="text-align:center;" >
  3191. <div style="text-align: center;" id="td_title06">
  3192. <ul>
  3193. <li> </li>
  3194. </ul>
  3195. </div>
  3196. </td>
  3197. <td width="1" bgcolor="#cccccc"></td>
  3198. </tr>
  3199. <tr id="class_2">
  3200. <td width="1" bgcolor="#cccccc"></td>
  3201. <td id="td_title04" style="text-align:center;" >
  3202. <div style="text-align: center;" id="td_title06">
  3203. <ul>
  3204. <li>배관</li>
  3205. </ul>
  3206. </div>
  3207. </td>
  3208. <td width="1" bgcolor="#cccccc"></td>
  3209. <td style="text-align:center;" >
  3210. <div style="text-align: center;" id="td_title06">
  3211. <ul>
  3212. <li>Pipr, Fitting, Valve, Flange 등</li>
  3213. </ul>
  3214. </div>
  3215. </td>
  3216. <td width="1" bgcolor="#cccccc"></td>
  3217. <td style="text-align:center;" >
  3218. <div style="text-align: center;" id="td_title06">
  3219. <ul>
  3220. <li>90 점 ↑</li>
  3221. </ul>
  3222. </div>
  3223. </td>
  3224. <td width="1" bgcolor="#cccccc"></td>
  3225. <td style="text-align:center;" >
  3226. <div style="text-align: center;" id="td_title06">
  3227. <ul>
  3228. <li>78 점 ↑</li>
  3229. </ul>
  3230. </div>
  3231. </td>
  3232. <td width="1" bgcolor="#cccccc"></td>
  3233. <td style="text-align:center;" >
  3234. <div style="text-align: center;" id="td_title06">
  3235. <ul>
  3236. <li>70 점 ↑</li>
  3237. </ul>
  3238. </div>
  3239. </td>
  3240. <td width="1" bgcolor="#cccccc"></td>
  3241. <td style="text-align:center;" >
  3242. <div style="text-align: center;" id="td_title06">
  3243. <ul>
  3244. <li>65 점 ↑</li>
  3245. </ul>
  3246. </div>
  3247. </td>
  3248. <td width="1" bgcolor="#cccccc"></td>
  3249. <td style="text-align:center;" >
  3250. <div style="text-align: center;" id="td_title06">
  3251. <ul>
  3252. <li>65 점 ↓</li>
  3253. </ul>
  3254. </div>
  3255. </td>
  3256. <td width="1" bgcolor="#cccccc"></td>
  3257. <td style="text-align:center;">
  3258. <div style="text-align: center;" id="td_title06">
  3259. <ul>
  3260. <li></li>
  3261. </ul>
  3262. </div>
  3263. </td>
  3264. <td width="1" bgcolor="#cccccc"></td>
  3265. </tr>
  3266. <tr id="class_3">
  3267. <td width="1" bgcolor="#cccccc"></td>
  3268. <td id="td_title04" style="text-align:center;" >
  3269. <div style="text-align: center;" id="td_title06">
  3270. <ul>
  3271. <li>Cable, MCC, TR등</li>
  3272. </ul>
  3273. </div>
  3274. </td>
  3275. <td width="1" bgcolor="#cccccc"></td>
  3276. <td style="text-align:center;" >
  3277. <div style="text-align: center;" id="td_title06">
  3278. <ul>
  3279. <li>전기공사(소방, 강전, 약전), 계장공사</li>
  3280. </ul>
  3281. </div>
  3282. </td>
  3283. <td width="1" bgcolor="#cccccc"></td>
  3284. <td style="text-align:center;" >
  3285. <div style="text-align: center;" id="td_title06">
  3286. <ul>
  3287. <li>90 점 ↑</li>
  3288. </ul>
  3289. </div>
  3290. </td>
  3291. <td width="1" bgcolor="#cccccc"></td>
  3292. <td style="text-align:center;" >
  3293. <div style="text-align: center;" id="td_title06">
  3294. <ul>
  3295. <li>78 점 ↑</li>
  3296. </ul>
  3297. </div>
  3298. </td>
  3299. <td width="1" bgcolor="#cccccc"></td>
  3300. <td style="text-align:center;" >
  3301. <div style="text-align: center;" id="td_title06">
  3302. <ul>
  3303. <li>70 점 ↑</li>
  3304. </ul>
  3305. </div>
  3306. </td>
  3307. <td width="1" bgcolor="#cccccc"></td>
  3308. <td style="text-align:center;">
  3309. <div style="text-align: center;" id="td_title06">
  3310. <ul>
  3311. <li>65 점 ↑</li>
  3312. </ul>
  3313. </div>
  3314. </td>
  3315. <td width="1" bgcolor="#cccccc"></td>
  3316. <td style="text-align:center;">
  3317. <div style="text-align: center;" id="td_title06">
  3318. <ul>
  3319. <li>65 점 ↓</li>
  3320. </ul>
  3321. </div>
  3322. </td>
  3323. <td width="1" bgcolor="#cccccc"></td>
  3324. <td style="text-align:center;">
  3325. <div style="text-align: center;" id="td_title06">
  3326. <ul>
  3327. <li></li>
  3328. </ul>
  3329. </div>
  3330. </td>
  3331. <td width="1" bgcolor="#cccccc"></td>
  3332. </tr>
  3333. <tr id="class_4">
  3334. <td width="1" bgcolor="#cccccc"></td>
  3335. <td style="text-align:center;" id="td_title04">
  3336. <div style="text-align: center;" id="td_title06">
  3337. <ul>
  3338. <li>계장</li>
  3339. </ul>
  3340. </div>
  3341. </td>
  3342. <td width="1" bgcolor="#cccccc"></td>
  3343. <td style="text-align:center;">
  3344. <div style="text-align: center;" id="td_title06"">
  3345. <ul>
  3346. <li>PLC, DCS, CCTV 등</li>
  3347. </ul>
  3348. </div>
  3349. </td>
  3350. <td width="1" bgcolor="#cccccc"></td>
  3351. <td style="text-align:center;">
  3352. <div style="text-align: center;" id="td_title06">
  3353. <ul>
  3354. <li>90 점 ↑</li>
  3355. </ul>
  3356. </div>
  3357. </td>
  3358. <td width="1" bgcolor="#cccccc"></td>
  3359. <td style="text-align:center;">
  3360. <div style="text-align: center;" id="td_title06">
  3361. <ul>
  3362. <li>78 점 ↑</li>
  3363. </ul>
  3364. </div>
  3365. </td>
  3366. <td width="1" bgcolor="#cccccc"></td>
  3367. <td style="text-align:center;">
  3368. <div style="text-align: center;" id="td_title06">
  3369. <ul>
  3370. <li>70 점 ↑</li>
  3371. </ul>
  3372. </div>
  3373. </td>
  3374. <td width="1" bgcolor="#cccccc"></td>
  3375. <td style="text-align:center;">
  3376. <div style="text-align: center;" id="td_title06">
  3377. <ul>
  3378. <li>65 점 ↑</li>
  3379. </ul>
  3380. </div>
  3381. </td>
  3382. <td width="1" bgcolor="#cccccc"></td>
  3383. <td style="text-align:center;">
  3384. <div style="text-align: center;" id="td_title06">
  3385. <ul>
  3386. <li>65 점 ↓</li>
  3387. </ul>
  3388. </div>
  3389. </td>
  3390. <td width="1" bgcolor="#cccccc"></td>
  3391. <td style="text-align:center;">
  3392. <div style="text-align: center;" id="td_title06">
  3393. <ul>
  3394. <li></li>
  3395. </ul>
  3396. </div>
  3397. </td>
  3398. <td width="1" bgcolor="#cccccc"></td>
  3399. </tr>
  3400. <tr id="class_5">
  3401. <td width="1" bgcolor="#cccccc"></td>
  3402. <td id="td_title04" style="text-align:center;">
  3403. <div style="text-align: center;" id="td_title06">
  3404. <ul>
  3405. <li>토건</li>
  3406. </ul>
  3407. </div>
  3408. </td>
  3409. <td width="1" bgcolor="#cccccc"></td>
  3410. <td style="text-align:center;">
  3411. <div style="text-align: center;" id="td_title06">
  3412. <ul>
  3413. <li>철근, PHC, 레미콘, H beam 등</li>
  3414. </ul>
  3415. </div>
  3416. </td>
  3417. <td width="1" bgcolor="#cccccc"></td>
  3418. <td style="text-align:center;">
  3419. <div style="text-align: center;" id="td_title06">
  3420. <ul>
  3421. <li>90 점 ↑</li>
  3422. </ul>
  3423. </div>
  3424. </td>
  3425. <td width="1" bgcolor="#cccccc"></td>
  3426. <td style="text-align:center;">
  3427. <div style="text-align: center;" id="td_title06">
  3428. <ul>
  3429. <li>78 점 ↑</li>
  3430. </ul>
  3431. </div>
  3432. </td>
  3433. <td width="1" bgcolor="#cccccc"></td>
  3434. <td style="text-align:center;">
  3435. <div style="text-align: center;" id="td_title06">
  3436. <ul>
  3437. <li>70 점 ↑</li>
  3438. </ul>
  3439. </div>
  3440. </td>
  3441. <td width="1" bgcolor="#cccccc"></td>
  3442. <td style="text-align:center;">
  3443. <div style="text-align: center;" id="td_title06">
  3444. <ul>
  3445. <li>65 점 ↑</li>
  3446. </ul>
  3447. </div>
  3448. </td>
  3449. <td width="1" bgcolor="#cccccc"></td>
  3450. <td style="text-align:center;">
  3451. <div style="text-align: center;" id="td_title06">
  3452. <ul>
  3453. <li>65 점 ↓</li>
  3454. </ul>
  3455. </div>
  3456. </td>
  3457. <td width="1" bgcolor="#cccccc"></td>
  3458. <td style="text-align:center;">
  3459. <div style="text-align: center;" id="td_title06">
  3460. <ul>
  3461. <li></li>
  3462. </ul>
  3463. </div>
  3464. </td>
  3465. <td width="1" bgcolor="#cccccc"></td>
  3466. </tr>
  3467. </table>
  3468. </div>
  3469. --%>
  3470. <!-- #tab8 -->
  3471. </div>
  3472. <!-- .tab_container -->
  3473. </div>
  3474. <!-- #container -->
  3475. </td>
  3476. </tr>
  3477. </table>
  3478. </td>
  3479. </tr>
  3480. </table>
  3481. </form>