OutSupplier.jsp 167 KB

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