BidResolution.jsp 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461
  1. <%--
  2. - Author(s) : chj
  3. - Date : 2015-03-02
  4. - Description: 시행결의
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="java.text.SimpleDateFormat" %>
  8. <%@ page import="java.util.Date" %>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="kr.co.udapsoft.common.code.*" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  15. <%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
  16. <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
  17. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  18. <%@ include file="/jsp/work/taglib.jsp" %>
  19. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  20. <%
  21. ctx.init(request, response);
  22. HandlerStorage storage = ctx.getHandlerStorage();
  23. ValueObject params = storage.getParams();
  24. ValueObject user = storage.getUser();
  25. ValueObject Order = storage.getValueObject("Order");
  26. ValueObject Vendor = storage.getValueObject("Vendor");
  27. ValueObject Merge = storage.getValueObject("Merge");
  28. //System.out.println(Vendor);
  29. ValueObject filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
  30. ValueObject fileout = storage.getValueObject(Order.get("DOC_ETC_OUT"));
  31. boolean o_reason = false; //2015.3.27
  32. //2015.3.27 개찰의견 추가
  33. if(Order.get("OPEN_OPINION").length()> 0){
  34. o_reason = true;
  35. }
  36. //공통코드
  37. CommCodeManager commCodeManager = new CommCodeManager();
  38. InitCombo initCombo = new InitCombo();
  39. initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_CHK_YN","DETAILCD","Y"), "DETAILNM", "DETAILCD");
  40. String BID_CHK_CD = initCombo.getCode();
  41. String BID_CHK_NM = initCombo.getCodeName();
  42. //공통코드
  43. InitCombo initCombo2 = new InitCombo();
  44. initCombo2.makeComboData(commCodeManager.getCodeRowSet("TBE_EVAL"), "NAME", "CODE");
  45. String TBE_EVAL_CD = initCombo2.getCode();
  46. String TBE_EVAL_NM = initCombo2.getCodeName();
  47. ValueObject sign_info = storage.getValueObject("SIGN_INFO");
  48. RowSet getFileListRowSet = storage.getRowSet("getFileListRowSet");
  49. ValueObject suppinfo = storage.getValueObject("suppinfo");
  50. String gwurl = "https://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  51. %>
  52. <SCRIPT language="JavaScript">
  53. document.body.onresize = addEvent( document.body.onresize, "autoResize()");
  54. /*예약함수*/
  55. var sheet1 = new ibsheetObject();
  56. var sheet3 = new ibsheetObject();
  57. var pageLastRowIndex = 1;
  58. var validationResult = false;
  59. var filterShow = false;
  60. var succ_vendor = "";
  61. var for_po = $("#FOR_PO").val();
  62. function _onReady(){
  63. //저장된 첨부파일 리스트 불러오기
  64. getFileListForTextarea();
  65. /**
  66. * IBSheet object initialize
  67. */
  68. gridInit(sheet1);
  69. gridInit(sheet3);
  70. /**
  71. * Application Initialize
  72. */
  73. jQuery("#btn_appr").hide();
  74. jQuery("#btn_Save").hide();
  75. //2015.3.25 시행결의서 견적대비표 추가
  76. jQuery("#btn_report").click(function() {
  77. var reportInfo = new ReportInfo();
  78. if($(':radio[name="PBC_CBE_TYPE_CD"]:checked').val() == "A")
  79. {
  80. reportInfo.title = "견적대비표";
  81. reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Atype.mrd";
  82. reportInfo.set($("#BID_NO").val()); // $1
  83. reportInfo.set($("#BID_DEG").val()); // $2
  84. }
  85. else if($(':radio[name="PBC_CBE_TYPE_CD"]:checked').val() == "B")
  86. {
  87. reportInfo.title = "견적대비표";
  88. if(<%=Vendor.get("BID_SUPP_CNT")%> > 5) reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Btype2.mrd";
  89. else reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Btype.mrd";
  90. reportInfo.set($("#BID_NO").val()); // $1
  91. reportInfo.set($("#BID_DEG").val()); // $2
  92. }
  93. else
  94. {
  95. reportInfo.title = "견적대비표";
  96. reportInfo.reportName = "/report/mrd/buyer/bid/purchase/Bid_purchase_Ctype.mrd";
  97. reportInfo.set($("#BID_NO").val()); // $1
  98. reportInfo.set($("#BID_DEG").val()); // $2
  99. }
  100. reportInfo.width = 1000; // Default: 1024
  101. reportInfo.height = 700; // Default: 768
  102. reportInfo.showPopup();
  103. });
  104. //2015.3.31 TBE결과표 등록
  105. $("#btn_tbecheckpop").click(function() {
  106. var win_id = "_TBECheckPop";
  107. var link = "/bid/purchase/TBECheckPop.screen";
  108. link += "?pop_win_id="+win_id;
  109. link += "&BID_NO="+$("#BID_NO").val();
  110. link += "&BID_DEG="+$("#BID_DEG").val();
  111. fLayerPop(win_id, link, 900,210, '', '', 'YES');
  112. });
  113. //2016.5.12 외국환거래신고
  114. $("#btn_foreign").click(function() {//저장
  115. var win_id = "ForeignCheckPop";
  116. var editYN = "N";
  117. if(<%=!Vendor.get("BID_STATUS_CD").equals("10")%> && <%=!Vendor.get("BID_STATUS_CD").equals("07")%>){
  118. editYN="Y";
  119. }
  120. var link = "/bid/purchase/ForeignCheckPop.screen";
  121. link += "?pop_win_id="+win_id+"&BID_NO="+$("#BID_NO").val()+"&BID_DEG="+$("#BID_DEG").val()+"&VENDOR_CD="+$("#VENDOR_CD").val() + "&editYN="+ editYN;
  122. fLayerPop(win_id, link, 950,600, '','', 'NO');
  123. });
  124. jQuery("#btn_list").click(function() {
  125. jQuery("#fevent").val("");
  126. jQuery("#form1").attr("action", "/bid/purchase/BidResolutionList.screen");
  127. jQuery("#form1").attr("target", "_self");
  128. jQuery("#form1").attr("method", "post");
  129. jQuery("#form1").submit();
  130. });
  131. jQuery("#btn_Save").click(function() {//저장
  132. var f = document.form1;
  133. submitXmlRequest("/bid/signidentify.screen", "CHK2", f, "SUCCESS");
  134. btn_act = "to_Save";
  135. });
  136. jQuery("#btn_appr").click(function() {//결재
  137. if(jQuery("#CONF_NO").val() != ""){
  138. if(Number(jQuery("#H_CBC_FIRST_RATE").val()) != Number(jQuery("#CBC_FIRST_RATE").val())){
  139. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  140. }else if(jQuery("#H_PBC_FIRST_CONDI").val() != jQuery("#PBC_FIRST_CONDI").val()){
  141. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  142. }else if(Number(jQuery("#H_CPC_MID_RATE").val()) != Number(jQuery("#CPC_MID_RATE").val())){
  143. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  144. }else if(jQuery("#H_PBC_MID_CONDI").val() != jQuery("#PBC_MID_CONDI").val()){
  145. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  146. }else if(Number(jQuery("#H_PBC_REST_RATE").val()) != Number(jQuery("#PBC_REST_RATE").val())){
  147. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  148. }else if(jQuery("#H_PBC_REST_CONDI").val() != jQuery("#PBC_REST_CONDI").val()){
  149. alert("입찰조건이 eTEC조건과 상이합니다.\n\n확인후 진행바랍니다.");
  150. }
  151. if(jQuery("#PO_PRC").val() == null || jQuery("#PO_PRC").val() == ''){
  152. alert("발주진행율 등록해주십시오.");
  153. jQuery("#PO_PRC").focus();
  154. return;
  155. }
  156. if(jQuery("#RES_PRC").val() == null || jQuery("#RES_PRC").val() == ''){
  157. alert("실적진행율 등록해주십시오.");
  158. jQuery("#RES_PRC").focus();
  159. return;
  160. }
  161. //2016.5.12 외국환거래 확인
  162. <%-- if("<%=Vendor.get("CURRENCY_GB")%>" != "KRW" && jQuery("#FOREIGN_CHK").val()=="A" ){
  163. alert("외국환거래 신고대상여부를 확인해 주세요");
  164. return;
  165. } --%>
  166. var f = document.form1;
  167. submitXmlRequest("/bid/signidentify.screen", "CHK2", f, "SUCCESS");
  168. btn_act = "to_appr";
  169. }else{
  170. alert("계약번호를 확인하세요.");
  171. }
  172. });
  173. if(<%=!Vendor.get("BID_STATUS_CD").equals("10")%> && <%=!Vendor.get("BID_STATUS_CD").equals("07")%>){
  174. jQuery("#btn_appr").show();
  175. jQuery("#btn_Save").show();
  176. if(<%=Vendor.get("CONFIRM_YN").equals("Y")%>){
  177. jQuery("#btn_appr").show();
  178. }else{
  179. jQuery("#btn_appr").hide();
  180. }
  181. }else{
  182. jQuery("#btn_appr").hide();
  183. jQuery("#btn_Save").hide();
  184. sheet3.SetColHidden("DEL_CHECK", true);
  185. }
  186. $(document).on("blur", "#CONF_NO", function() {
  187. $("#CONF_NO").val($("#CONF_NO").val().toUpperCase().replace(/ /g, ''));
  188. });
  189. if("<%=Merge.get("PBC_DEFECT_CONDI2")%>"!=""||"<%=Merge.get("CBC_DEFECT_DAY2")%>"!=""||"<%=Merge.get("CBC_DERECT_TERM_CD2")%>"!=""){
  190. jQuery("#addGuar").attr("checked", true);
  191. jQuery(".checkAdd").show();
  192. }
  193. $("#addGuar").click(function(){
  194. var chk = jQuery("#addGuar").is(":checked");
  195. if(chk){
  196. jQuery(".checkAdd").show();
  197. }else{
  198. jQuery(".checkAdd").hide();
  199. jQuery("#PBC_DEFECT_CONDI2_O").val("");
  200. jQuery("#CBC_DEFECT_DAY2_O").val("");
  201. jQuery("#CBC_DERECT_TERM_CD2_O").val("");
  202. }
  203. });
  204. $("#AMT_HIDDEN").click(function(){
  205. var chk = jQuery("#AMT_HIDDEN").is(":checked");
  206. if(chk){
  207. jQuery("#AMT_HIDDEN").val("Y");
  208. }else{
  209. jQuery("#AMT_HIDDEN").val("N");
  210. }
  211. });
  212. $("#report_emp_add").click(function(){
  213. SearchUser('REPORT_EMP','REPORT_EMP','N');
  214. });
  215. $("#report_emp_del").click(function() {
  216. if(confirm("삭제 하시겠습니까?")){
  217. $("#fevent").val("SET_REPORT_EMP_DELETE");
  218. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidResolution_sheet.screen";
  219. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  220. }
  221. });
  222. //유관부서 담당자 조회
  223. doSearchsheet3();
  224. //낙찰업체 자재내역
  225. doSearchSheet();
  226. }
  227. function PopClose(win_id,result){
  228. if( result != null ){
  229. if(result[0] == 0){
  230. setTimeout(function(){ fLayerPopClose(win_id);},100);
  231. if(result[1].length> 0)alert(result[1]);
  232. $("#btn_list").click();
  233. }else if(result[0] == 1){
  234. setTimeout(function(){ fLayerPopClose(win_id);},100);
  235. if(result[1].length> 0)alert(result[1]);
  236. $("#fevent").val("FORM_SELECT");
  237. $("#form1").attr("action", "/bid/purchase/SuccessBid.screen");
  238. $("#form1").attr("target", "_self");
  239. $("#form1").attr("method", "post");
  240. $("#form1").submit();
  241. }else if(result[0] == 2){ //2016.5.12 외국환거래신고
  242. setTimeout(function(){ fLayerPopClose(win_id);},100);
  243. if(result[1].length> 0)alert(result[1]);
  244. $("#FOREIGN_CHK").val(result[2]);
  245. $("#FOREIGN_NM").val(result[3]);
  246. }
  247. }else{
  248. setTimeout(function(){ fLayerPopClose(win_id); },100);
  249. }
  250. }
  251. function doSearchSheet(){
  252. $("#fevent").val("GET_ITEM_LIST");
  253. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidResolution_sheet.screen";
  254. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 30, "");
  255. }
  256. function doSearchsheet3(){
  257. $("#fevent").val("GET_REPORT_EMP_LIST");
  258. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidResolution_sheet.screen";
  259. Modular.view.IBSheet7.doSearch(sheet3, url, jQuery("#form1"), 30, "");
  260. }
  261. function doSaveSheet3(){
  262. $("#fevent").val("REPORT_EMP_UPDATE");
  263. var url = Modular.model.PageContext.CONTEXT_ROOT + "/bid/purchase/BidResolution_sheet.screen";
  264. var result = Modular.view.IBSheet7.doSave(sheet3, url, $("#form1"), false);
  265. }
  266. function sheet3_OnSaveEnd(code, msg)
  267. {
  268. var event = $("#fevent").val();
  269. if(event == "SET_REPORT_EMP_DELETE"){
  270. if(code>= "0"){
  271. alert("삭제되었습니다.");
  272. doSearchSheet3();
  273. }else{
  274. alert("에러가 발생하였습니다.\n"+msg);
  275. document.form1.isSubmit = false;
  276. }
  277. }else if(event == "REPORT_EMP_UPDATE"){
  278. if(code>= "0"){
  279. if(btn_act == "to_appr"){
  280. document.form1.isSubmit = false;
  281. var f = document.form1;
  282. var sign_bid_no = jQuery("#BID_NO").val();
  283. var sign_bid_deg = jQuery("#BID_DEG").val();
  284. var sign_vendor_cd = jQuery("#VENDOR_CD").val();
  285. var AMT_HIDDEN = jQuery("#AMT_HIDDEN").val();
  286. dlgSignForm('ebid_ppoD', '/bid/purchase/BidSuccessSign.screen?sign_bid_no='+sign_bid_no+'^sign_bid_deg='+sign_bid_deg+'^sign_vendor_cd='+sign_vendor_cd+'^acct_id='+'<%=user.get("ACCT_ID")%>'+'^AMT_HIDDEN='+AMT_HIDDEN);
  287. } else {
  288. alert("저장되었습니다.");
  289. refresh();
  290. }
  291. }else{
  292. alert("에러가 발생하였습니다.\n"+msg);
  293. document.form1.isSubmit = false;
  294. }
  295. }
  296. }
  297. function refresh(){//저장
  298. $("#fevent").val("FORM_SELECT");
  299. $("#form1").attr("action", "/bid/purchase/BidResolution.screen");
  300. $("#form1").attr("target", "_self");
  301. $("#form1").attr("method", "post");
  302. $("#form1").submit();
  303. }
  304. //결재
  305. function dlgSignForm( sign_class_cd, uri ) {
  306. var f = document.form1;
  307. var sheet1 = document.all.sheet1;
  308. var url = "/bidPurchaseSign/BidSuccessSign_form.screen";
  309. url += "?sign_class_cd=" + sign_class_cd;
  310. url += "&uri=" + uri;
  311. url += "&sign_bid_no=" + $("#BID_NO").val();
  312. url += "&sign_bid_deg=" + $("#BID_DEG").val();
  313. url += "&sign_vendor_cd=" + $("#VENDOR_CD").val();
  314. url += "&acct_type=1" ;
  315. window.open(url, "_blank","width=200,height=100,SCROLLBARS=no");
  316. window.focus();
  317. }
  318. /**
  319. * IBSheet object initialize
  320. */
  321. function gridInit(sheetName){
  322. var init_sheet = {};
  323. if(sheetName.id == "sheet1"){
  324. init_sheet.Cfg = {SearchMode:2, Page:30 , MergeSheet:msHeaderOnly};
  325. init_sheet.Cols = [
  326. {Header:'Status|Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  327. {Header:'자재코드|자재코드', Type:"Seq", SaveName:"MATERIAL_CD", Width:0, Align:"Center", Hidden:"True"},
  328. {Header:'자재명|자재명', Type:"Text", SaveName:"MATERIAL_NAME", Width:200, Align:"Left", Edit:false},
  329. {Header:'규격|규격', Type:"Text", SaveName:"MATERIAL_SPEC", Width:150, Align:"Left", Edit:false},
  330. {Header:'단위|단위', Type:"Text", SaveName:"UNIT_KIND_NM", Width:100, Align:"Center", Edit:false},
  331. {Header:'견적의뢰 수량|견적의뢰 수량', Type:"Float", SaveName:"QTY", Width:120, Align:"Right", Edit:false, PointCount:2},
  332. {Header:'낙찰수량|낙찰수량', Type:"Float", SaveName:"SELECT_QTY", Width:120, Align:"Right", Edit:false, PointCount:2},
  333. {Header:'낙찰단가|낙찰단가', Type:"Text", SaveName:"UNIT_COST", Width:120, Align:"Right", Edit:false},
  334. {Header:'낙찰금액|낙찰금액', Type:"Text", SaveName:"SELECT_AMT", Width:120, Align:"Right", Edit:false},
  335. ];
  336. init_sheet.HeaderMode = {Sort:1,HeaderCheck:false};
  337. sheetName.SetEditable(false);
  338. }else if(sheetName.id == "sheet3"){
  339. init_sheet.Cfg = {SearchMode:2, Page:30,MergeSheet:msHeaderOnly,SizeMode:1};
  340. init_sheet.Cols = [
  341. {Header:'삭제', Type:"DelCheck", SaveName:"DEL_CHECK", Width:0, Align:"Center"},
  342. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  343. {Header:'No.', Type:"Seq", SaveName:"NO", Width:0, Align:"Center", Hidden:"True"},
  344. {Header:'계정ID', Type:"Text", SaveName:"ACCT_ID", Width:0, Align:"Center", Hidden:"True"},
  345. {Header:'이름', Type:"Text", SaveName:"USER_NAME", Width:100, Align:"Center", Edit:false},
  346. {Header:'부서명', Type:"Text", SaveName:"BUSEO_NAME", Width:150, Align:"Left", Edit:false},
  347. {Header:'직위명', Type:"Text", SaveName:"GRADE_NAME", Width:100, Align:"Center", Edit:false}
  348. ];
  349. init_sheet.HeaderMode = {Sort:1};
  350. }
  351. IBS_InitSheet(sheetName, init_sheet);
  352. sheetName.SetDataAutoTrim(0);
  353. setGridSize();
  354. }
  355. /**
  356. * IBSheet Event: Search End(IBSheet 데이터 조회 CallBack)
  357. */
  358. function sheet1_OnSearchEnd(code, message) {
  359. var fevent = $("#fevent").val();
  360. if(code == 0) {
  361. setGridSize();
  362. } else {
  363. //조회 에러 수행
  364. alert(message);
  365. }
  366. }
  367. function sheet3_OnSearchEnd(code, message) {
  368. if(code == 0) {
  369. //sheet3.FitColWidth();
  370. //견적대상 업체 조회
  371. doSearchSheet();
  372. } else {
  373. //조회 에러 수행
  374. alert(message);
  375. }
  376. }
  377. function SearchUser(NAME,CODE,DEPT_YN){
  378. if(CODE == "PUREMPNO"){
  379. CODE = "";
  380. NAME = "";
  381. GB = "PUREMP";
  382. }else if(CODE == "SITEDESCCHRGPRSNID"){
  383. CODE = "";
  384. NAME = "";
  385. GB = "SITEDESCCHRGPRSN";
  386. }else if(CODE == "REPORT_EMP"){
  387. CODE = "";
  388. NAME = "";
  389. GB = "REPORT_EMP";
  390. }else{
  391. GB = "";
  392. }
  393. var win_id = "_searchUserPopup";
  394. var link = "/lib/dlgSearchUserPop.screen";
  395. link += "?pop_win_id="+win_id;
  396. link += "&NAME="+NAME;
  397. link += "&CODE="+CODE;
  398. link += "&GB="+GB;
  399. if(DEPT_YN == "Y")
  400. link += "&deptNameYn=purchase";
  401. fLayerPop(win_id, link, 700,400, '', '', 'NO');
  402. }
  403. function SearchUserClose(result){
  404. if(result[10] == "PUREMP"){
  405. $("#PUREMPNO").val(result[9])//ACCT_ID
  406. $("#PUREMPNM").val(result[1])//이름
  407. $("#PO_EMPNM").val(result[6])//연락처
  408. }else if(result[10] == "SITEDESCCHRGPRSN"){
  409. $("#SITEDESCCHRGPRSNID").val(result[9])//ACCT_ID
  410. $("#SITEDESCCHRGPRSNNM").val(result[1])//이름
  411. $("#SITEDESCTELNO").val(result[6])//연락처
  412. $("#SITEDESCEMAIL").val(result[8])//이메일
  413. }else if(result[10] == "REPORT_EMP"){
  414. var rowcnt = sheet3.RowCount();
  415. if(rowcnt> 0){
  416. for(var r=0; r < rowcnt; r++)
  417. {
  418. var acct_id = sheet3.GetCellValue(r+1,"ACCT_ID");
  419. if(acct_id == result[9]){
  420. alert(result[1]+" " +result[5]+ "님은 이미 등록된 보고자 입니다.");
  421. return;
  422. }
  423. }
  424. }
  425. //sheetObj.DataAutoTrim = false;
  426. var row = sheet3.DataInsert(-1);
  427. sheet3.SetCellValue(row,"ACCT_ID",result[9]);
  428. sheet3.SetCellValue(row,"USER_NAME",result[1]);
  429. sheet3.SetCellValue(row,"BUSEO_NAME",result[3]);
  430. sheet3.SetCellValue(row,"GRADE_NAME",result[5]);
  431. }
  432. setTimeout(function(){ fLayerPopClose('_searchUserPopup');},100);
  433. }
  434. /**
  435. * IBSheet size setting
  436. */
  437. function setGridSize() {
  438. sheet1.FitColWidth();
  439. }
  440. //첨부파일
  441. function doAttachFile(obj,No) {
  442. var file_div = "bid/purchase/<%=Order.get("BID_NO")%>/";
  443. if(obj==''){
  444. alert("After you have saved, you can attach a file.");
  445. }else{
  446. if(No == 1){
  447. viewFileListNew("<%=Order.get("DOC_ETC_IN")%>", obj.value, document.form1.p_AttachFile1, "N", file_div);
  448. }else{
  449. viewFileListNew("<%=Order.get("DOC_ETC_OUT")%>", obj.value, document.form1.p_AttachFile2, "N", file_div);
  450. }
  451. }
  452. }
  453. function doResult(resultObj) {
  454. try {
  455. if( resultObj.getRequestEvent() == "CHK2") {
  456. if( resultObj.getSuccess() ) {
  457. document.form1.isSubmit = false;
  458. if(btn_act == "to_fileDw"){//결재중이 아니면 파일 수정가능
  459. jQuery("#signCheck").val("");
  460. doAttachFile2(jQuery("#fileGB").val(), jQuery("#fileID").val());
  461. }else if(btn_act == "to_fileCk"){//결재중이 아니면 파일 수정가능
  462. jQuery("#signCheck").val("");
  463. fileAfterCheck(jQuery("#ckVal").val());
  464. }else {
  465. submitXmlRequest("/bid/purchase/BidResolution_process.screen", "PO_CHECK", document.form1, "VALUEOBJECT");
  466. }
  467. } else {
  468. if(btn_act == "to_fileDw"){
  469. jQuery("#signCheck").val("N");
  470. doAttachFile2(jQuery("#fileGB").val(), jQuery("#fileID").val());
  471. }else if(btn_act == "to_fileCk"){
  472. jQuery("#signCheck").val("N");
  473. fileAfterCheck(jQuery("#ckVal").val());
  474. }else {
  475. alert("시행결의중입니다.");
  476. }
  477. document.form1.isSubmit = false;
  478. return;
  479. }
  480. }
  481. if(resultObj.getRequestEvent() == "PO_CHECK"){
  482. if( resultObj.getSuccess() ) {
  483. document.form1.isSubmit = false;
  484. var vo = resultObj.getValueObject();
  485. var cnt = vo.get("cnt");
  486. if(cnt == 0){
  487. if(btn_act == "to_Save"){
  488. if (confirm("저장 하시겠습니까?")){
  489. if($("#DELI_FROM_DY").val()>$("#DELI_TO_DY").val()||$("#DELI_FROM_DY").val()==""||$("#DELI_TO_DY").val()==""){
  490. alert("Delivery Period를 확인해주세요.");
  491. $("#DELI_TO_DY").focus();
  492. return;
  493. }
  494. jQuery("#fevent").val("SAVE_DATA");
  495. submitXmlRequest("/bid/purchase/BidResolution_process.screen", "SAVE_DATA", document.form1, "SUCCESS");
  496. }
  497. }else if(btn_act == "to_appr"){
  498. if (confirm("결재 하시겠습니까?")){
  499. if($("#DELI_FROM_DY").val()>$("#DELI_TO_DY").val()||$("#DELI_FROM_DY").val()==""||$("#DELI_TO_DY").val()==""){
  500. alert("Delivery Period를 확인해주세요.");
  501. $("#DELI_TO_DY").focus();
  502. return;
  503. }
  504. jQuery("#fevent").val("SAVE_APPR");
  505. submitXmlRequest("/bid/purchase/BidResolution_process.screen", "SAVE_APPR", document.form1, "SUCCESS");
  506. }
  507. }
  508. }else{
  509. alert("중복된 계약 번호가 있습니다.");
  510. }
  511. }else {
  512. dlgErrorMsg(resultObj);
  513. }
  514. }
  515. if( resultObj.getRequestEvent() == "SAVE_DATA") {
  516. if( resultObj.getSuccess() ) {
  517. doSaveSheet3();
  518. /* alert("저장되었습니다.");
  519. document.form1.isSubmit = false; */
  520. }
  521. else {
  522. dlgErrorMsg(resultObj);
  523. }
  524. }
  525. if( resultObj.getRequestEvent() == "SAVE_APPR") {
  526. if( resultObj.getSuccess() ) {
  527. doSaveSheet3();
  528. <%-- document.form1.isSubmit = false;
  529. var f = document.form1;
  530. var sign_bid_no = jQuery("#BID_NO").val();
  531. var sign_bid_deg = jQuery("#BID_DEG").val();
  532. var sign_vendor_cd = jQuery("#VENDOR_CD").val();
  533. var AMT_HIDDEN = jQuery("#AMT_HIDDEN").val();
  534. dlgSignForm('ebid_ppoD', '/bid/purchase/BidSuccessSign.screen?sign_bid_no='+sign_bid_no+'^sign_bid_deg='+sign_bid_deg+'^sign_vendor_cd='+sign_vendor_cd+'^acct_id='+'<%=user.get("ACCT_ID")%>'+'^AMT_HIDDEN='+AMT_HIDDEN); --%>
  535. }
  536. else {
  537. dlgErrorMsg(resultObj);
  538. }
  539. }
  540. if(resultObj.getRequestEvent() == "GET_ATTACHFILE")
  541. {
  542. if( resultObj.getSuccess() ) {
  543. document.form1.p_AttachFile3.value = resultObj.getValueObject().get("AttachFile");
  544. }else {
  545. dlgErrorMsg(resultObj);
  546. }
  547. document.form1.isSubmit = false;
  548. }
  549. document.form1.isSubmit = false;
  550. } catch(errorObject) {
  551. showErrorDlg("doResult()", errorObject);
  552. }
  553. }
  554. function sheet1_OnSmartResize(Width, Height) {
  555. sheet1.FitColWidth();
  556. autoResize();
  557. }
  558. function autoResize(){
  559. //var t1_height = document.getElementById("t1").scrollHeight + 10;
  560. var iframeHeight= 200;
  561. var iframeWidth= document.body.scrollWidth;
  562. sheet1.SetSheetHeight(160);
  563. }
  564. //2015.02.27 mklee 실행대비율 자동계산 추가
  565. function act_rate(){
  566. var cont = $("#CONT_AMT").val();
  567. if(cont == "")
  568. cont = 0;
  569. else
  570. cont = cont.replace(/,/gi,"");
  571. var act = $("#ACT_AMT").val();
  572. if(act == "")
  573. act = 0;
  574. else
  575. act = act.replace(/,/gi,"");
  576. if(cont > 0 && act > 0){
  577. var rate = Number(act)/Number(cont) * 100;
  578. $("#ACT_RATE").val(Math.round(rate *10)/10);
  579. }else{
  580. $("#ACT_RATE").val("0");
  581. }
  582. }
  583. function btnEvent(num){
  584. if(num == '1')
  585. $("#btn_list").click();
  586. if(num == '2')
  587. if(num == '3')
  588. $("#btn_defer").click();
  589. if(num == '4')
  590. $("#btn_cancel").click();
  591. }
  592. function DisqReasonClose(returnValue){
  593. if(returnValue != null){
  594. if(returnValue[1].length > 0){
  595. sheet1.SetCellValue(returnValue[0],"DISQ_REASON",returnValue[1]);
  596. sheet1.SetCellValue(returnValue[0],"DISQ_YN","[수정]");
  597. sheet1.SetCellEditable(returnValue[0], "SUCC_YN", false);
  598. }else{
  599. sheet1.SetCellValue(returnValue[0],"DISQ_REASON","");
  600. sheet1.SetCellValue(returnValue[0],"DISQ_YN","[등록]");
  601. sheet1.SetCellEditable(returnValue[0], "SUCC_YN", true);
  602. }
  603. }
  604. setTimeout(function(){fLayerPopClose("_DisqPop");},100);
  605. }
  606. function doSignFile(doc_id){
  607. //alert(doc_id);
  608. if(doc_id == ""){
  609. alert("결재 정보가 없습니다.");
  610. return;
  611. }
  612. var doc_chk = doc_id.substring(doc_id.length-3, doc_id.length);
  613. doc_chk = doc_chk * 1;
  614. var link = "";
  615. var year = "<%=sign_info.get("year") %>";
  616. if (year > "20151213") {
  617. link = "<%=gwurl%>upload_approval/TEC/doc/" + year.substr(0,4) + "/" + doc_chk + "/"+ doc_id+".mht";
  618. }
  619. else{
  620. link = "<%=gwurl%>upload_approval/TEC/doc/" + doc_chk + "/"+ doc_id+".mht";
  621. }
  622. //var popOption = "width=400, height=450, resizable=no, scrollbars=auto, status=no;"; //팝업창 옵션(optoin)
  623. window.open(link,"_viewDraft","");
  624. }
  625. function fileCheck(val){
  626. var f = document.form1;
  627. jQuery("#ckVal").val(val);
  628. submitXmlRequest("/bid/signidentify.screen", "CHK2", f, "SUCCESS");
  629. btn_act = "to_fileCk";
  630. document.form1.isSubmit = false;
  631. }
  632. function doAttachFile2(fileGB, id, editYN) {
  633. if(fileGB != ''){
  634. var file_div = "bid/purchase/succfile/<%=Order.get("BID_NO")%>/";
  635. var upLoadFlg = "Y";
  636. if((jQuery("#signCheck").val() != "") || (jQuery("#fileEditYN").val() == "N")){
  637. upLoadFlg = "N";
  638. }
  639. viewFileListNew1(fileGB, id, document.form1.p_AttachFile4, upLoadFlg, file_div, null, null);
  640. }
  641. }
  642. function viewFileListNew1(fileGB, id, obj, isModify, isDrectory, iframeID, user_filename) {
  643. var win_id = "_viewFileList";
  644. var link = "/common/file/FileListNew.screen";
  645. link += "?pop_win_id="+win_id;
  646. link += "&extFunction=viewFileListClose1";
  647. link += "&file_gb=" + fileGB;
  648. link += "&id=" + id;
  649. if( obj.id != null )
  650. link += "&obj_id=" + obj.id;
  651. if( iframeID != null )
  652. link += "&iframeID=" + iframeID;
  653. if( isModify != null )
  654. link += "&is_modify=" + isModify;
  655. if( isDrectory != null )
  656. link += "&sys_gb=" + isDrectory;
  657. if( user_filename != null )
  658. link += "&user_filename=" + user_filename;
  659. fLayerPop(win_id, link, 750,430, '', '', 'NO', '200');
  660. }
  661. function fileAfterCheck(val){
  662. if(!jQuery("#signCheck").val() == ""){
  663. var obj = eval("document.getElementById('p_" + val + "')");
  664. alert("결재중엔 파일 수정이 불가합니다.");
  665. jQuery(obj).attr("checked",false);
  666. return;
  667. }else{
  668. var obj = eval("document.getElementById('" + val + "')");
  669. if(obj.style.display == "none"){
  670. obj.style.display = "inline";
  671. }else{
  672. obj.style.display = "none";
  673. }
  674. }
  675. }
  676. //첨부목록 조회
  677. function getFileListForTextarea(){
  678. document.form1.p_AttachFile3.value = "";
  679. var f = document.form1;
  680. jQuery("#fevent").val("GET_ATTACHFILE");
  681. submitXmlRequest("/bid/purchase/BidResolution_process.screen", "GET_ATTACHFILE", f, "VALUEOBJECT");
  682. }
  683. function doDupChk(fileGB, id, editYN) {
  684. var f = document.form1;
  685. jQuery("#fileGB").val(fileGB);
  686. jQuery("#fileID").val(id);
  687. jQuery("#fileEditYN").val(editYN);
  688. submitXmlRequest("/bid/signidentify.screen", "CHK2", f, "SUCCESS");
  689. btn_act = "to_fileDw";
  690. document.form1.isSubmit = false;
  691. }
  692. function open_bidamtpop(bidno, biddeg, vendorcd, vendor_name, esti_tot_amt, file_gb, div_po_yn, demanded_id) {
  693. var win_id = "_BidAmtPop";
  694. var link = "http://ebid.sgcenc.co.kr:80/bid/purchase/SignBidAmtPop.screen";
  695. link += "?pop_win_id=" + win_id; link += "&VENDOR_CD=" + vendorcd;
  696. link += "&BID_NO=" + bidno;
  697. link += "&BID_DEG=" + biddeg;
  698. link += "&FILE_GB=" + file_gb;
  699. link += "&VENDOR_NO=" + vendorcd;
  700. link += "&VENDOR_NAME=" + vendor_name;
  701. link += "&ESTI_TOT_AMT=" + esti_tot_amt;
  702. link += "&DIV_PO_YN=" + div_po_yn;
  703. link += "&DEMANDED_ID=" + demanded_id;
  704. window.open(link, win_id, "toolbar=no, width=1000, height=600, top=50, left=40, toolbar=no,directories=no,status=no,scrollbars=yes,resize=no,menubar=no,target=new");
  705. }
  706. </SCRIPT>
  707. <modular:search id="form1">
  708. <modular:key id="fevent" />
  709. </modular:search>
  710. <form id="form1" name="form1" method="post" modular:type="search">
  711. <INPUT type='hidden' name="fevent" id="fevent" value="">
  712. <!-- List Search -->
  713. <INPUT type="hidden" name="P_BID_MASTER_NM" id="P_BID_MASTER_NM" value="<%= params.get("P_BID_MASTER_NM") %>">
  714. <INPUT type="hidden" name="p_dept_nm" id="p_dept_nm" value="<%= params.get("p_dept_nm") %>">
  715. <INPUT type="hidden" name="p_dept_cd" id="p_dept_cd" value="<%= params.get("p_dept_cd") %>">
  716. <INPUT type="hidden" name="p_demanded_status" id="p_demanded_status" value="<%= params.get("p_demanded_status") %>">
  717. <!-- List Search -->
  718. <INPUT type='hidden' name="VENDOR_CD" value="<%= params.get("vendor_cd") %>">
  719. <INPUT type='hidden' name="signClass" value="ebid_ppoD">
  720. <%-- <INPUT type='hidden' name="PBC_CBE_TYPE_CD" value="<%=Order.get("PBC_CBE_TYPE_CD")%>"> --%>
  721. <INPUT type='hidden' name="DEMANDED_ID" value="<%=Order.get("DEMANDED_ID")%>">
  722. <INPUT type='hidden' name="BID_NO" value="<%=Order.get("BID_NO")%>">
  723. <INPUT type='hidden' name="BID_DEG" value="<%=Order.get("BID_DEG")%>">
  724. <INPUT type='hidden' name="STATUS_CD" value="<%=Order.get("STATUS_CD")%>">
  725. <INPUT type='hidden' name="DIV_PO_YN" value="<%=Order.get("DIV_PO_YN")%>">
  726. <INPUT type='hidden' name="ONBID_YN" value="<%=Order.get("ONBID_YN")%>">
  727. <INPUT type='hidden' name="ONBID_YN_NM" value="<%=Order.get("ONBID_YN_NM")%>">
  728. <INPUT type='hidden' name="DELIVERY_CONDITION_YN" value="<%=Order.get("DELIVERY_CONDITION_YN")%>">
  729. <INPUT type='hidden' name="PBC_LANDTRAN_YN" value="<%=Order.get("PBC_LANDTRAN_YN")%>">
  730. <INPUT type='hidden' name="PBC_PACK_YN" value="<%=Order.get("PBC_PACK_YN")%>">
  731. <INPUT type='hidden' name="PBC_DOC_YN" value="<%=Order.get("PBC_DOC_YN")%>">
  732. <INPUT type='hidden' name="PBC_TEST_YN" value="<%=Order.get("PBC_TEST_YN")%>">
  733. <INPUT type='hidden' name="PBC_SPETOOL_YN" value="<%=Order.get("PBC_SPETOOL_YN")%>">
  734. <INPUT type='hidden' name="PBC_COMMISS_YN" value="<%=Order.get("PBC_COMMISS_YN")%>">
  735. <INPUT type='hidden' name="PBC_INSTALL_YN" value="<%=Order.get("PBC_INSTALL_YN")%>">
  736. <INPUT type='hidden' name="CURRENCY_GB_YN" value="<%=Order.get("CURRENCY_GB_YN")%>">
  737. <INPUT type='hidden' name="PBC_FEE_YN" value="<%=Order.get("PBC_FEE_YN")%>">
  738. <INPUT type='hidden' name="PBC_OPTION_YN" value="<%=Order.get("PBC_OPTION_YN")%>">
  739. <INPUT type='hidden' name="CONTFUL_RATE" value="<%=Order.get("CONTFUL_RATE")%>">
  740. <INPUT type='hidden' name="CURRENCY_GB" value="<%=Order.get("CURRENCY_GB")%>">
  741. <INPUT type='hidden' name="PBC_OPTION_COMMENT" value="<%=Order.get("PBC_OPTION_COMMENT")%>">
  742. <INPUT type='hidden' name="CBC_DAMAGE_RATE" value="<%=Order.get("CBC_DAMAGE_RATE")%>">
  743. <INPUT type='hidden' name="CBC_DAMAGE_MAXRATE" value="<%=Order.get("CBC_DAMAGE_MAXRATE")%>">
  744. <INPUT type='hidden' name="FOREIGN_CHK" value="<%=Order.get("FOREIGN_CHK")%>">
  745. <INPUT type='hidden' name="PBC_FRSTGUAR_RATE" value="<%=Order.get("PBC_FRSTGUAR_RATE")%>">
  746. <INPUT type='hidden' name="WARR_RATE" value="<%=Order.get("WARR_RATE")%>">
  747. <INPUT type='hidden' name="PBC_DEFECT_CONDI" value="<%=Order.get("PBC_DEFECT_CONDI")%>">
  748. <INPUT type='hidden' name="CBC_DEFECT_DAY" value="<%=Order.get("CBC_DEFECT_DAY")%>">
  749. <INPUT type='hidden' name="CBC_DERECT_TERM_NM" value="<%=Order.get("CBC_DERECT_TERM_NM")%>">
  750. <INPUT type='hidden' name="CBC_DERECT_TERM_CD" value="<%=Order.get("CBC_DERECT_TERM_CD")%>">
  751. <INPUT type='hidden' name="KRW_APPR_YN" value="<%=Order.get("KRW_APPR_YN")%>">
  752. <INPUT type='hidden' name="FOR_PO" value="<%=Order.get("FOR_PO")%>">
  753. <INPUT type='hidden' name="SITEPARTI_YN" value="Y">
  754. <INPUT type='hidden' name="TBE_FLAG" value="<%=Order.get("TBE_FLAG")%>">
  755. <INPUT type='hidden' name="H_CBC_FIRST_RATE" value="<%=Order.get("CBC_FIRST_RATE")%>">
  756. <INPUT type='hidden' name="H_PBC_FIRST_CONDI" value="<%=Order.get("PBC_FIRST_CONDI")%>">
  757. <INPUT type='hidden' name="H_CPC_MID_RATE" value="<%=Order.get("CPC_MID_RATE")%>">
  758. <INPUT type='hidden' name="H_PBC_MID_CONDI" value="<%=Order.get("PBC_MID_CONDI")%>">
  759. <INPUT type='hidden' name="H_PBC_REST_RATE" value="<%=Order.get("PBC_REST_RATE")%>">
  760. <INPUT type='hidden' name="H_PBC_REST_CONDI" value="<%=Order.get("PBC_REST_CONDI")%>">
  761. <INPUT type="hidden" id="signCheck" value="">
  762. <INPUT type="hidden" id="ckVal" value="">
  763. <INPUT type="hidden" id="fileGB" value="">
  764. <INPUT type="hidden" id="fileID" value="">
  765. <INPUT type="hidden" id="fileEditYN" value="">
  766. <input type="hidden" name="p_AttachFile4" id="p_AttachFile4" onPropertyChange="JavaScript:getFileListForTextarea();"/>
  767. <INPUT type="hidden" id="DOC_ETC_OUT" value="<%=Order.get("DOC_ETC_OUT")%>">
  768. <INPUT type="hidden" id="TOT_FILE_GB" value="<%=Order.get("TOT_FILE_GB")%>">
  769. <table width="100%">
  770. <colgroup>
  771. <col width="*" />
  772. <col width="320" />
  773. </colgroup>
  774. <tr>
  775. <th>
  776. <div align="left" id="title">
  777. <ul><li>구매_시행결의 작성</li></ul>
  778. </div>
  779. </th>
  780. <td align="right">
  781. <span class="btnSearch center" id="btn_Save"><a href="javascript:void(0);">저장</a></span>
  782. <span class="btnSearch center" id="btn_appr"><a href="javascript:void(0);">결재</a></span>
  783. <span class="btnSearch center" id="btn_list"><a href="javascript:void(0);">목록</a></span>
  784. </td>
  785. </tr>
  786. </table>
  787. <%if(o_reason ){ %>
  788. <TABLE class="form-table">
  789. <colgroup>
  790. <col width="160">
  791. <col/>
  792. </colgroup>
  793. <%if(o_reason){ %>
  794. <TR height="25">
  795. <TH>개찰 특기사항</TH>
  796. <TD><%=StringUtils.cvtHTML(Order.get("OPEN_OPINION"))%></TD>
  797. </TR>
  798. <%} %>
  799. </TABLE>
  800. <%} %>
  801. <div class="application-info magT10">
  802. <div class="application-sub-title">
  803. <span class="title">발주의뢰정보</span>
  804. </div>
  805. </div>
  806. <!-- 발주의뢰정보 : 시작 -->
  807. <TABLE class="form-table">
  808. <colgroup>
  809. <col width="160"/>
  810. <col width="23%">
  811. <col width="160"/>
  812. <col width="23%">
  813. <col width="160"/>
  814. <col/>
  815. </colgroup>
  816. <TR height="25">
  817. <TH> 현장</TH>
  818. <TD><%=Order.get("dept_nm") %></TD>
  819. <TH> 발주의뢰번호</TH>
  820. <TD><a href="javascript:doSignFile('<%=sign_info.get("doc_id") %>');"><%=Order.get("DEMANDED_NO")%></a>
  821. </TD>
  822. <TH> 발주의뢰명</TH>
  823. <TD><%=Order.get("DEMANDED_TITLE")%></TD>
  824. </TR>
  825. <TR height="25">
  826. <TH> 발주의뢰일</TH>
  827. <TD><%= Order.get("DEMANDED_DATE")%></TD>
  828. <TH> 발주의뢰부서</TH>
  829. <TD><%= Order.get("REQ_DEPT_NM")%></TD>
  830. <TH> 발주의뢰자</TH>
  831. <TD><%= Order.get("EMP_NM")%></TD>
  832. </TR>
  833. <TR height="25">
  834. <TH> 발주접수일자</TH>
  835. <TD><%=Order.get("RECEIPT_DATE") %></TD>
  836. <TH> Pay Item</TH>
  837. <TD><%= Order.get("PAY_ITEM_NM") %></TD>
  838. <TH> 구매예산 (원)</TH> <!-- 2015.02.27 구매예산추가 mklee -->
  839. <TD><%= Formatter2.currency(Order.get("PUR_AMT"),0)%></TD>
  840. </TR>
  841. <TR height="25">
  842. <TH> 도급금액 (원)</TH>
  843. <TD><%= Formatter2.currency(Order.get("CONT_AMT"),0)%></TD>
  844. <TH> 실행예산 (원)</TH>
  845. <TD><%= Formatter2.currency(Order.get("ACT_AMT"),0) %></TD>
  846. <TH> 도급대비실행율(%)</TH>
  847. <TD><%= Order.get("ACT_RATE")%></TD>
  848. </TR>
  849. <!-- 발주의뢰정보 : 종료 -->
  850. </table>
  851. <div class="application-info magT15">
  852. <div class="application-sub-title">
  853. <span class="title">입찰기본정보</span>
  854. </div>
  855. </div>
  856. <TABLE class="form-table">
  857. <colgroup>
  858. <col width="160"/>
  859. <col width="160"/>
  860. <col width="25%"/>
  861. <col width="160"/>
  862. <col/>
  863. </colgroup>
  864. <TR height="25">
  865. <TH> 입찰번호-차수</TH>
  866. <TD colspan="2">
  867. <%=Order.get("BID_NO")%>-<%=Order.get("BID_DEG")%>
  868. </TD>
  869. <TH> 온라인입찰여부</TH>
  870. <TD>
  871. <%=Order.get("ONBID_YN_NM")%>
  872. </TD>
  873. </TR>
  874. <TR height="25">
  875. <TH> 입찰명</TH>
  876. <TD colspan="2">
  877. <%=Order.get("BID_MASTER_NM")%>
  878. </TD>
  879. <TH>단가계약여부</TH>
  880. <TD colspan="2"><%=Order.get("DIV_PO_YN").equals("Y") ? "예" : "아니오" %></TD>
  881. </TR>
  882. <TR height="25">
  883. <TH> 경쟁방법</TH>
  884. <TD colspan="2">
  885. <%=Order.get("CMPT_NM")%>
  886. </TD>
  887. <TH> 낙찰자선정방법</TH>
  888. <TD>
  889. <%=Order.get("SUCC_NM") %>
  890. </TD>
  891. </TR>
  892. <!-- 발주의뢰정보 : 종료 -->
  893. </table>
  894. <div class="application-info magT15">
  895. <div class="application-sub-title">
  896. <span class="title">입찰조건</span>
  897. </div>
  898. </div>
  899. <TABLE class="form-table">
  900. <colgroup>
  901. <col width="160"/>
  902. <col width="23%">
  903. <col width="160"/>
  904. <col width="23%">
  905. <col width="160"/>
  906. <col/>
  907. </colgroup>
  908. <TR height="25">
  909. <TH>선급금</TH>
  910. <TD><%= InputText.get("H_CBC_FIRST_RATE", Order.get("CBC_FIRST_RATE"), 5, 3, "Right,Number,readOnly","Number" ) %>% <%= InputText.get("H_PBC_FIRST_CONDI", Order.get("PBC_FIRST_CONDI"), 20, 50, "readOnly") %></TD>
  911. <TH>중도금</TH>
  912. <TD><%= InputText.get("H_CPC_MID_RATE", Order.get("CPC_MID_RATE"), 5, 3, "Right,Number,readOnly","Number") %>% <%= InputText.get("H_PBC_MID_CONDI", Order.get("PBC_MID_CONDI"), 20, 50, "readOnly") %></TD>
  913. <TH>잔금</TH>
  914. <TD><%= InputText.get("H_PBC_REST_RATE", Order.get("PBC_REST_RATE"), 5, 3, "Right,Number,readOnly","Number") %>% <%= InputText.get("H_PBC_REST_CONDI", Order.get("PBC_REST_CONDI"), 20, 50, "readOnly") %></TD>
  915. </TR>
  916. <TR height="25">
  917. <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  918. <TD>
  919. <%=Order.get("PBC_FRSTGUAR_RATE")%>% <%=Order.get("PBC_FRSTGUAR_CONDI")%>
  920. </TD>
  921. <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  922. <TD>
  923. <%=Order.get("CONTFUL_RATE")%>% <%=Order.get("CONTFUL_CONDI")%>
  924. </TD>
  925. <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  926. <TD>
  927. <%=Order.get("WARR_RATE")%>% <%=Order.get("WARR_CONDI")%>
  928. </TD>
  929. </TR>
  930. <TR height="25">
  931. <TH>Guarantee Period</TH><!-- 하자보수기간 -->
  932. <TD colspan="5">
  933. <%=Order.get("PBC_DEFECT_CONDI") %> <%=Order.get("CBC_DEFECT_DAY") %>
  934. <% if(!Order.get("CBC_DERECT_TERM_NM").isEmpty()){ %><%=Order.get("CBC_DERECT_TERM_NM") %>간<%} %>
  935. </TD>
  936. </TR>
  937. </TABLE>
  938. <div class="application-info magT15">
  939. <div class="application-sub-title">
  940. <span class="title">업체입찰내역</span>
  941. </div>
  942. </div>
  943. <TABLE class="form-table">
  944. <colgroup>
  945. <col width="160"/>
  946. <col width="23%">
  947. <col width="160"/>
  948. <col width="23%">
  949. <col width="160"/>
  950. <col/>
  951. </colgroup>
  952. <TR height="25">
  953. <TH>통화구분</TH>
  954. <TD><%=Vendor.get("CURRENCY_GB_NM") %> &nbsp&nbsp
  955. </TD>
  956. <TH>CBE문서 TYPE</TH>
  957. <TD colspan="3">
  958. <LABEL for="pbc_cbe_type_1"><INPUT id="pbc_cbe_type_1" type="radio" name="PBC_CBE_TYPE_CD" value="A" desc="CBE문서 TYPE" <%=Order.get("PBC_CBE_TYPE_CD").equals("A") ? "checked=\"checked\"" : "" %> > A type</LABEL>
  959. <LABEL for="pbc_cbe_type_2"><INPUT id="pbc_cbe_type_2" type="radio" name="PBC_CBE_TYPE_CD" value="B" desc="CBE문서 TYPE" <%=Order.get("PBC_CBE_TYPE_CD").equals("B") ? "checked=\"checked\"" : "" %> > B type</LABEL>
  960. <LABEL for="pbc_cbe_type_3"><INPUT id="pbc_cbe_type_3" type="radio" name="PBC_CBE_TYPE_CD" value="C" desc="CBE문서 TYPE" <%=Order.get("PBC_CBE_TYPE_CD").equals("C") ? "checked=\"checked\"" : "" %> > C type(최종입찰업체만 표시)</LABEL>
  961. </TD>
  962. </TR>
  963. <TR height="25">
  964. <TH>Installation</TH><!-- 설치비 포함여부 -->
  965. <TD><%=Vendor.get("INSTALL_YN").equals("Y") ? "included" : "not included" %></TD>
  966. <TH>Spare Parts for Commissionig</TH><!-- 시운전 포함여부 -->
  967. <TD><%=Vendor.get("COMMISS_YN").equals("Y") ? "included" : "not included" %></TD>
  968. <TH>Special Tool</TH><!-- 설치비 특별공구 포함여부 -->
  969. <TD><%=Vendor.get("SPETOOL_YN").equals("Y") ? "included" : "not included" %></TD>
  970. </TR>
  971. <TR height="25">
  972. <TH>Test & Inspection at Fabrication shop</TH><!-- 샾(공장) 검사비용 포함여부 -->
  973. <TD><%=Vendor.get("TEST_YN").equals("Y") ? "included" : "not included" %></TD>
  974. <TH>Documentation</TH><!-- vendor print (무조건 포함) 삭제? -->
  975. <TD><%=Vendor.get("DOC_YN").equals("Y") ? "included" : "not included" %></TD>
  976. <TH>Packing cost</TH><!-- 포장비용 포함여부 -->
  977. <TD><%=Vendor.get("PACK_YN").equals("Y") ? "included" : "not included" %></TD>
  978. </TR>
  979. <TR height="25">
  980. <TH>Inland Transportaion</TH><!-- 내륙운송비 -->
  981. <TD><%=Vendor.get("LANDTRAN_YN").equals("Y") ? "included" : "not included" %></TD>
  982. <TH>Delivery Condition</TH><!-- 인도조건 (현장도착도, 현장상차도,현장설치도, 설치시운전도) -->
  983. <TD colspan="3">
  984. <%=Vendor.get("DELIVERY_CONDITION_NM") %>&nbsp&nbsp <%=Order.get("DELIVERY_CONDITION_YN").equals("Y") ? "[업체변경가능]" : "[업체 변경 불가능]" %></TD>
  985. </TR>
  986. <TR height="25">
  987. <TH>OPTIONAL PRICE</TH><!-- 현장감독관 일당 & 기타일당 내역 -->
  988. <TD colspan="5">A. Supervision fee &nbsp <%=Order.get("FEE_NOTI") %>
  989. <% if(!Order.get("OPTION_NOTI").isEmpty()){ %>&nbsp&nbsp B. <%= Order.get("OPTION_NOTI")%> &nbsp;<%} %></TD>
  990. </TR>
  991. <TR height="25">
  992. <TH>Liquidated Damages</TH><!-- 지체상금 fix -->
  993. <TD colspan="5"><%= InputText.get("CBC_DAMAGE_RATE2", Merge.get("CBC_DAMAGE_RATE"), 5, 6, "Right,Float","Float") %>% <%=CommCodeManager.getSelectCodeList("LIQ_DMG_CD","CBC_DAMAGE_CD","height=18;","",Merge.get("CBC_DAMAGE_CD")) %>, Max <%= InputText.get("CBC_DAMAGE_MAXRATE2", Merge.get("CBC_DAMAGE_MAXRATE"), 5, 6, "Right,Float","Float") %>%
  994. </TD>
  995. </TR>
  996. <TR height="25">
  997. <TH>선급금</TH>
  998. <TD><%= InputText.get("CBC_FIRST_RATE", Merge.get("CBC_FIRST_RATE"), 5, 3, "Right,Number","Number" ) %>% <%= InputText.get("PBC_FIRST_CONDI", Merge.get("PBC_FIRST_CONDI"), 20, 50,"Left") %></TD>
  999. <TH>중도금</TH>
  1000. <TD><%= InputText.get("CPC_MID_RATE", Merge.get("CPC_MID_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_MID_CONDI", Merge.get("PBC_MID_CONDI"), 20, 50,"Left") %></TD>
  1001. <TH>잔금</TH>
  1002. <TD><%= InputText.get("PBC_REST_RATE", Merge.get("PBC_REST_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_REST_CONDI", Merge.get("PBC_REST_CONDI"), 20, 50,"Left") %></TD>
  1003. <%-- <TH>선급금</TH>
  1004. <TD><% if(!Order.get("CBC_FIRST_RATE").isEmpty()){ %><%=Order.get("CBC_FIRST_RATE") %>% <%} %><%= Order.get("PBC_FIRST_CONDI")%></TD>
  1005. <TH>중도금</TH>
  1006. <TD><% if(!Order.get("CPC_MID_RATE").isEmpty()){ %><%= Order.get("CPC_MID_RATE")%>% <%} %><%=Order.get("PBC_MID_CONDI")%></TD>
  1007. <TH>잔금</TH>
  1008. <TD><% if(!Order.get("PBC_REST_RATE").isEmpty()){ %><%= Order.get("PBC_REST_RATE") %>% <%} %><%=Order.get("PBC_REST_CONDI")%></TD> --%>
  1009. </TR>
  1010. <%if(!Merge.get("FRSTGUAR_YN").equals("Y") || !Merge.get("CONTFUL_YN").equals("Y") || !Merge.get("WARR_YN").equals("Y")){ %>
  1011. <TR height="75">
  1012. <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  1013. <TD>
  1014. <%= InputText.get("PBC_FRSTGUAR_RATE2", Merge.get("PBC_FRSTGUAR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FRSTGUAR_CONDI", Merge.get("PBC_FRSTGUAR_CONDI"), 20, 50, "") %>
  1015. </br></br>
  1016. <TEXTAREA name="FRSTGUAR_NOT_NOTI" id="FRSTGUAR_NOT_NOTI" style="width:98%;" rows="2" class="input" readOnly><%=Merge.get("FRSTGUAR_NOT_NOTI") %></TEXTAREA>
  1017. </TD>
  1018. <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  1019. <TD>
  1020. <%= InputText.get("CONTFUL_RATE2", Merge.get("CONTFUL_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("CONTFUL_CONDI", Merge.get("CONTFUL_CONDI"), 20, 50, "") %>
  1021. </br></br>
  1022. <TEXTAREA name="CONTFUL_NOT_NOTI" id="CONTFUL_NOT_NOTI" style="width:98%;" rows="2" class="input" readOnly><%=Merge.get("CONTFUL_NOT_NOTI") %></TEXTAREA>
  1023. </TD>
  1024. <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  1025. <TD>
  1026. <%= InputText.get("WARR_RATE2", Merge.get("WARR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("WARR_CONDI", Merge.get("WARR_CONDI"), 20, 50, "") %>
  1027. </br></br>
  1028. <TEXTAREA name="WARR_NOT_NOTI" id="WARR_NOT_NOTI" style="width:98%;" rows="2" class="input" readOnly><%=Merge.get("WARR_NOT_NOTI") %></TEXTAREA>
  1029. </TD>
  1030. </TR>
  1031. <%}else{ %>
  1032. <TR height="25">
  1033. <TH>First Payment Bond</TH><!-- 선급금이행증권(yes, no) -->
  1034. <TD><%= InputText.get("PBC_FRSTGUAR_RATE2", Merge.get("PBC_FRSTGUAR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("PBC_FRSTGUAR_CONDI", Merge.get("PBC_FRSTGUAR_CONDI"), 20, 50, "") %>
  1035. </TD>
  1036. <TH>Performance Bond</TH><!-- 계약이행증권(yes, no) -->
  1037. <TD>
  1038. <%= InputText.get("CONTFUL_RATE2", Merge.get("CONTFUL_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("CONTFUL_CONDI", Merge.get("CONTFUL_CONDI"), 20, 50, "") %>
  1039. </TD>
  1040. <TH>Guarantee Bond</TH><!-- 하자이행증권(yes, no) -->
  1041. <TD>
  1042. <%= InputText.get("WARR_RATE2", Merge.get("WARR_RATE"), 5, 3, "Right,Number","Number") %>% <%= InputText.get("WARR_CONDI", Merge.get("WARR_CONDI"), 20, 50, "") %>
  1043. </TD>
  1044. </TR>
  1045. <%} %>
  1046. <%if(Merge.get("DEFECT_YN").equals("Y")){ %>
  1047. <TR height="75">
  1048. <TH>Guarantee Period</TH><!-- 하자보수기간 -->
  1049. <TD colspan="3">
  1050. <%= InputText.get("PBC_DEFECT_CONDI_O", Merge.get("PBC_DEFECT_CONDI"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY_O", Merge.get("CBC_DEFECT_DAY"), 2, 2, "Number","Number") %>
  1051. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD_O","height=18;","<option value=''>--선택--</option>",Merge.get("CBC_DERECT_TERM_CD")) %> 간
  1052. <input type="checkbox" id="addGuar" style="margin-top:2px">
  1053. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  1054. <%= InputText.get("PBC_DEFECT_CONDI2_O", Merge.get("PBC_DEFECT_CONDI2"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY2_O", Merge.get("CBC_DEFECT_DAY2"), 2, 2, "Number","Number") %>
  1055. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD2_O","height=18;","<option value=''>--선택--</option>",Merge.get("CBC_DERECT_TERM_CD2")) %> 간 중 선도래일
  1056. </span>
  1057. </br></br>
  1058. <TEXTAREA name="DEFECT_NOT_NOTI" id="DEFECT_NOT_NOTI" style="width:98%;" rows="2" class="input" readOnly><%=Merge.get("DEFECT_NOT_NOTI") %></TEXTAREA>
  1059. </TD>
  1060. <TH>Delivery Period</TH><!-- 납기일 fix -->
  1061. <TD>
  1062. <%= InputText.get("DELI_FROM_DY", Merge.get("DELI_FROM_DY"), 10, 50, "hangule,center, desc=납기일,ReadOnly") %>
  1063. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');">
  1064. ~
  1065. <%= InputText.get("DELI_TO_DY", Merge.get("DELI_TO_DY"), 10, 50, "hangule,center, desc=납기일,ReadOnly") %>
  1066. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
  1067. </TD>
  1068. </TR>
  1069. <%}else{ %>
  1070. <TR height="25">
  1071. <TH>Guarantee Period</TH><!-- 하자보수기간 -->
  1072. <TD colspan="3">
  1073. <%= InputText.get("PBC_DEFECT_CONDI_O", Merge.get("PBC_DEFECT_CONDI"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY_O", Merge.get("CBC_DEFECT_DAY"), 2, 2, "Number","Number") %>
  1074. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD_O","height=18;","<option value=''>--선택--</option>",Merge.get("CBC_DERECT_TERM_CD")) %> 간
  1075. <input type="checkbox" id="addGuar" style="margin-top:2px">
  1076. <span class="checkAdd" style="display:none;">&nbsp;or&nbsp;
  1077. <%= InputText.get("PBC_DEFECT_CONDI2_O", Merge.get("PBC_DEFECT_CONDI2"), 25, 50, "") %> <%= InputText.get("CBC_DEFECT_DAY2_O", Merge.get("CBC_DEFECT_DAY2"), 2, 2, "Number","Number") %>
  1078. <%=CommCodeManager.getSelectCodeList("CBC_DERECT_TERM_CD","CBC_DERECT_TERM_CD2_O","height=18;","<option value=''>--선택--</option>",Merge.get("CBC_DERECT_TERM_CD2")) %> 간 중 선도래일
  1079. </span>
  1080. </TD>
  1081. <TH>Delivery Period</TH><!-- 납기일 fix -->
  1082. <TD>
  1083. <%= InputText.get("DELI_FROM_DY", Merge.get("DELI_FROM_DY"), 10, 50, "hangule,center, desc=납기일,ReadOnly") %>
  1084. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_FROM_DY');">
  1085. ~
  1086. <%= InputText.get("DELI_TO_DY", Merge.get("DELI_TO_DY"), 10, 50, "hangule,center, desc=납기일,ReadOnly") %>
  1087. <IMG name="start_img" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgCalendar('DELI_TO_DY');">
  1088. </TD>
  1089. </TR>
  1090. <%} %>
  1091. </TABLE>
  1092. <TABLE class="form-table" style="margin-top: 10px">
  1093. <colgroup>
  1094. <col width="160"/>
  1095. <col width="160"/>
  1096. <col width="25%"/>
  1097. <col width="160"/>
  1098. <col/>
  1099. </colgroup>
  1100. <TR height="25">
  1101. <TH> 구매 발주진행율 누계</TH>
  1102. <TD colspan="2"><%= InputText.get("PO_PRC", Order.get("PO_PRC"), 5, 5, "Right,Float","Float") %>%</TD>
  1103. <TH> 구매 발주실적율 누계</TH>
  1104. <TD><%= InputText.get("RES_PRC", Order.get("RES_PRC"), 5, 5, "Right,Float","Float") %>%</TD>
  1105. </TR>
  1106. <TR height="25">
  1107. <TH>주요발주내용</TH>
  1108. <TD colspan="2">
  1109. <textarea name="MAIN_PR_CONTENTS" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("MAIN_PR_CONTENTS")%></textarea>
  1110. </TD>
  1111. <TH>입찰업체선정사유</TH>
  1112. <TD>
  1113. <textarea name="BID_SUPP_SELECT_REASON" style="width:98%; height:80px; overflow-y:auto" maxlength="1000" class="input byteChk ctrlTarget"><%=Order.get("BID_SUPP_SELECT_REASON")%></textarea>
  1114. </TD>
  1115. </TR>
  1116. <TR height="25">
  1117. <TH>특이사항 내부</TH>
  1118. <TD colspan="2">
  1119. <%=StringUtils.cvtHTML(Order.get("INNER_REMARKS"))%>
  1120. </TD>
  1121. <TH> 특이사항 외부</TH>
  1122. <TD>
  1123. <%=StringUtils.cvtHTML(Order.get("OUTER_REMARKS"))%>
  1124. </TD>
  1125. </TR>
  1126. <TR height="100">
  1127. <TH> 내부자료</TH>
  1128. <TD colspan="2">
  1129. <TEXTAREA name="p_AttachFile1" id="p_AttachFile1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=filein.get(Order.get("DOC_ETC_IN")) %></TEXTAREA>
  1130. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,1);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  1131. </TD>
  1132. <TH> 외부자료</TH>
  1133. <TD>
  1134. <TEXTAREA name="p_AttachFile2" id="p_AttachFile2" style="width:85%;height:80px" rows="1" class="input" readOnly><%=fileout.get(Order.get("DOC_ETC_OUT")) %></TEXTAREA>
  1135. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.DEMANDED_ID,2);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  1136. </TD>
  1137. </TR>
  1138. <TR height="25">
  1139. <TH> 유관부서 담당자</TH>
  1140. <TD colspan="4">
  1141. <div id="report_emp_btn" style="width:410px; margin-top:5px; text-align: left; height: 25px; vertical-align: top;">
  1142. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_add">추가</a></span>
  1143. <span class="btnSearch center"><a href="javascript:void(0);" id="report_emp_del">삭제</a></span>
  1144. </div>
  1145. <div id="sheet3_div" style="width: 100%; height: 100%;">
  1146. <script>createIBSheet('sheet3','100%', '100px');</script>
  1147. </div>
  1148. </TD>
  1149. </TR>
  1150. </TABLE>
  1151. <!--
  1152. <div class="application-info magT10">
  1153. <div class="application-sub-title">
  1154. <span class="title">낙찰정보</span>
  1155. </div>
  1156. </div>-->
  1157. <table width="100%">
  1158. <colgroup>
  1159. <col width="500" />
  1160. <col width="*" />
  1161. </colgroup>
  1162. <tr>
  1163. <th>
  1164. <div class="application-info magT15">
  1165. <div class="application-sub-title">
  1166. <span class="title">낙찰정보</span>
  1167. </div>
  1168. </div>
  1169. </th>
  1170. <td align="right">
  1171. <span class="btnSearch center" id="btn_report"><a href="javascript:void(0);">견적대비표</a></span>
  1172. <span class="btnSearch center" id="btn_tbecheckpop"><a href="javascript:void(0);">기술검토결과서</a></span>
  1173. </td>
  1174. </tr>
  1175. </table>
  1176. <!-- 낙찰정보 : 시작 -->
  1177. <TABLE class="form-table">
  1178. <colgroup>
  1179. <col width="160"/>
  1180. <col width="160"/>
  1181. <col width="25%">
  1182. <col width="160"/>
  1183. <col/>
  1184. </colgroup>
  1185. <TR height="25">
  1186. <TH> 업체명</TH>
  1187. <TD colspan="2"><%=Vendor.get("CORP_KOR")%></TD>
  1188. <TH> 대표자</TH>
  1189. <TD><%=Vendor.get("REP_NAME")%></TD>
  1190. </TR>
  1191. <TR height="25">
  1192. <TH> 담당자</TH>
  1193. <TD colspan="2" ><%=Vendor.get("CHARGE_NAME") %></TD>
  1194. <TH> 이메일</TH>
  1195. <TD><%= Vendor.get("CHARGE_EMAIL") %></TD>
  1196. </TR>
  1197. <TR height="25">
  1198. <TH> 전화번호</TH>
  1199. <TD colspan="2"><%=Vendor.get("CHARGE_HP") %></TD>
  1200. <TH> 구매예산 (원)</TH>
  1201. <TD><%= InputText.get("PUR_AMT", Formatter2.currency(Vendor.get("PUR_AMT"),0), 13, 300, "desc=실행예산,Number,right","Number") %></TD>
  1202. </TR>
  1203. <TR height="25">
  1204. <TH> 도급금액(원)</TH>
  1205. <TD colspan="2"><%= InputText.get("CONT_AMT", Formatter2.currency(Vendor.get("CONT_AMT"),0), 13, 300, "desc=실행예산,Number,right","Number") %></TD>
  1206. <TH> 실행예산 (원)</TH>
  1207. <TD><%= InputText.get("ACT_AMT", Formatter2.currency(Vendor.get("ACT_AMT"),0), 13, 300, "desc=실행예산,Number,right","Number") %></TD>
  1208. </TR>
  1209. <TR height="25">
  1210. <TH> 낙찰총액</TH>
  1211. <%if(Order.get("DIV_PO_YN").equals("Y")){ %>
  1212. <%if(Vendor.getInt("PointCount") > 0){ %>
  1213. <TD colspan="2">
  1214. <%= InputText.get("SELECT_TOT_AMT", Formatter2.currency(Vendor.get("SELECT_TOT_AMT"),Vendor.getInt("PointCount")), 13, 300, "desc=낙찰총개,float,right","float") %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<%= InputText.get("WON_SELECT_TOT_AMT", Formatter2.currency(Vendor.get("WON_SELECT_TOT_AMT"),0), 13, 300, "desc=낙찰총개,Number,right","Number") %>)
  1215. &nbsp;&nbsp;&nbsp;<INPUT type="checkbox" id="AMT_HIDDEN" name="AMT_HIDDEN" value="N" >숨김
  1216. </TD>
  1217. <%}else{ %>
  1218. <TD colspan="2">
  1219. <%= InputText.get("SELECT_TOT_AMT", Formatter2.currency(Vendor.get("SELECT_TOT_AMT"),0), 13, 300, "desc=낙찰총개,Number,right","Number") %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<%= InputText.get("WON_SELECT_TOT_AMT", Formatter2.currency(Vendor.get("WON_SELECT_TOT_AMT"),0), 13, 300, "desc=낙찰총개,Number,right","Number") %>)
  1220. &nbsp;&nbsp;&nbsp;<INPUT type="checkbox" id="AMT_HIDDEN" name="AMT_HIDDEN" value="N" >숨김
  1221. </TD>
  1222. <%} %>
  1223. <%}else{ %>
  1224. <TD colspan="2"><%=Formatter2.currency(Vendor.get("SELECT_TOT_AMT"),Vendor.getInt("PointCount"))%> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<%=Formatter2.currency(Vendor.get("WON_SELECT_TOT_AMT"),0)%>)
  1225. &nbsp;&nbsp;&nbsp;<INPUT type="checkbox" id="AMT_HIDDEN" name="AMT_HIDDEN" value="N" >숨김
  1226. </TD>
  1227. <%} %>
  1228. <TH> 분할낙찰 여부</TH>
  1229. <TD><%= Order.get("DIV_CONT_NM") %></TD>
  1230. </TR>
  1231. <TR height="25">
  1232. <TH> 계약번호</TH>
  1233. <TD colspan="4"><INPUT type="text" name="CONF_NO" id="CONF_NO" value="<%=Vendor.get("CONF_NO")%>" maxlength="100" class="input" size="50" style="IME-MODE : disabled;" desc='계약번호'></TD>
  1234. <%-- <TH> 외국환거래 신고대상</TH>
  1235. <TD><%if (Vendor.get("CURRENCY_GB").equals("KRW")) { %>
  1236. 비대상
  1237. <%}else{ %>
  1238. <%= InputText.get("FOREIGN_NM", Order.get("FOREIGN_NM"), 10, 10, "readOnly") %>
  1239. &nbsp;<span class="btnSearch center" id="btn_foreign"><a href="javascript:void(0);">검토</a></span>
  1240. <%} %>
  1241. </TD>
  1242. </TR> --%>
  1243. <TR height="75">
  1244. <TH>특이사항</TH>
  1245. <TD colspan="4"><!-- 저장할때 추가해야됨 -->
  1246. <textarea id="CON_REMARK" style="width:95%;height:80px" rows="1" class="input"><%=Vendor.get("CON_REMARK")%></textarea>
  1247. </TD>
  1248. </TR>
  1249. <tr >
  1250. <th>첨부파일</th>
  1251. <td colspan="3">
  1252. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  1253. <%
  1254. if(getFileListRowSet.size() > 0){
  1255. int i_mod = 0;
  1256. for(int i = 0; getFileListRowSet.size() > i; i++){
  1257. i_mod = i%2;
  1258. if(i_mod == 0){ %>
  1259. <TR>
  1260. <% } %>
  1261. <td width="50%">
  1262. <label for="p_<%=getFileListRowSet.getRow(i).get("DETAILCD") %>"><input type="checkbox" name="<%=getFileListRowSet.getRow(i).get("DETAILNM") %>" id="p_<%=getFileListRowSet.getRow(i).get("DETAILCD") %>" value="<%=getFileListRowSet.getRow(i).get("DETAILCD") %>" style="cursor:pointer;" onClick="fileCheck('<%=getFileListRowSet.getRow(i).get("DETAILCD") %>')" <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("checked");} %> <%if(getFileListRowSet.getRow(i).get("EDIT_YN").equals("N")){out.print("disabled");} %>> <%=getFileListRowSet.getRow(i).get("DETAILNM") %></label>
  1263. </td>
  1264. <td width="5%" height="24">
  1265. <% if(getFileListRowSet.getRow(i).get("DETAILCD").equals("130")) { %>
  1266. <IMG src="/img/supplier/button/bt_attach_file.gif" id="<%=getFileListRowSet.getRow(i).get("DETAILCD") %>" alt="첨부파일 관리" align="top" style="display:<%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("inline");}else{out.print("none");} %>" onClick="open_bidamtpop('<%=suppinfo.get("BID_NO")%>','<%=suppinfo.get("BID_DEG")%>','<%=suppinfo.get("VENDOR_CD")%>','<%=suppinfo.get("VENDOR_NAME")%>','<%=suppinfo.get("ESTI_TOT_AMT")%>','<%=suppinfo.get("FILE_GB")%>','<%=suppinfo.get("DIV_PO_YN")%>','<%=suppinfo.get("DEMANDED_ID")%>');" class="button">
  1267. <%}else{ %>
  1268. <IMG src="/img/supplier/button/bt_attach_file.gif" id="<%=getFileListRowSet.getRow(i).get("DETAILCD") %>" alt="첨부파일 관리" align="top" style="display:<%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("inline");}else{out.print("none");} %>" onClick="doDupChk('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>', '<%=getFileListRowSet.getRow(i).get("EDIT_YN")%>');" class="button">
  1269. <%} %>
  1270. </td>
  1271. <% if(i_mod == 2) { %>
  1272. </TR>
  1273. <% } %>
  1274. <%
  1275. }
  1276. for(int i=i_mod+1; i<2; i++){ %>
  1277. <td></td>
  1278. <% }
  1279. if(i_mod == 0 || i_mod == 1){ %>
  1280. </TR>
  1281. <% }
  1282. }
  1283. %>
  1284. </table>
  1285. </TD>
  1286. <td>
  1287. <textarea name="p_AttachFile3" id="p_AttachFile3" style="width:98%;height:100px" rows="1" class="input" readOnly></textarea>
  1288. </td>
  1289. </tr>
  1290. <!-- 낙찰정보 : 종료 -->
  1291. </table>
  1292. <table id=item_list width="100%">
  1293. <colgroup>
  1294. <col width="500" />
  1295. <col width="*" />
  1296. </colgroup>
  1297. <tr>
  1298. <th>
  1299. <div class="application-info magT20">
  1300. <div class="application-sub-title">
  1301. <span class="title">낙찰 내역</span>
  1302. </div>
  1303. </div>
  1304. </th>
  1305. <td align="right">
  1306. </td>
  1307. </tr>
  1308. </table>
  1309. <div id="sheet1_div" style="padding-top:5px;height: auto; min-height: 200px; overflow: auto;">
  1310. <script>createIBSheet('sheet1','100%', '300px');</script>
  1311. </div>
  1312. </form>