PuSupplierReadOnly.jsp 115 KB

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