ModStatusList.jsp 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772
  1. <%--
  2. - FileName : ModStatus.jsp
  3. - Author(s) : hoonseok choi
  4. - Date : 2021.3.3
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  8. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  9. <%@ page import="com.udapsoft.waf.common.ui.InitCombo" %>
  10. <%@ page import="com.udapsoft.waf.common.util.DateUtil" %>
  11. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. String event = storage.getEvent();
  22. ValueObject vo = storage.getValueObject("modStatusListRowSet");
  23. ValueObject vo2 = storage.getValueObject("modTemplateRowSet");
  24. CommCodeManager commCodeManager = new CommCodeManager();
  25. InitCombo initCombo = new InitCombo();
  26. initCombo.makeComboData(commCodeManager.getCodeRowSet("BID_STATUS_CD","1","1"), "DETAILNM", "DETAILCD");
  27. String BID_STATUS_CD = initCombo.getCode();
  28. String BID_STATUS_NM = initCombo.getCodeName();
  29. InitCombo initCombo2 = new InitCombo();
  30. initCombo2.makeComboData(commCodeManager.getCodeRowSet("BID_RESOL_CD","1","1"), "DETAILNM", "DETAILCD");
  31. String BID_SUPP_STATUS_CD = initCombo2.getCode();
  32. String BID_SUPP_STATUS_NM = initCombo2.getCodeName();
  33. InitCombo initCombo3 = new InitCombo();
  34. initCombo3.makeComboData(commCodeManager.getCodeRowSet("TBE_LIST_STATUS","1","1"), "DETAILNM", "DETAILCD");
  35. String BID_TBE_STATUS_CD = initCombo3.getCode();
  36. String BID_TBE_STATUS_NM = initCombo3.getCodeName();
  37. InitCombo initCombo4 = new InitCombo();
  38. initCombo4.makeComboData(commCodeManager.getCodeRowSet("CONT_STATUS_CD","1","1"), "DETAILNM", "DETAILCD");
  39. String CONT_STATUS_CD = initCombo4.getCode();
  40. String CONT_STATUS_NM = initCombo4.getCodeName();
  41. InitCombo initCombo5 = new InitCombo();
  42. initCombo5.makeComboData(commCodeManager.getCodeRowSet("GUAR_STATUS","1","1"), "DETAILNM", "DETAILCD");
  43. String GUAR_STATUS_CD = initCombo5.getCode();
  44. String GUAR_STATUS_NM = initCombo5.getCodeName();
  45. InitCombo initCombo6 = new InitCombo();
  46. initCombo6.makeComboData(commCodeManager.getCodeRowSet("GAUR_KIND","1","1"), "DETAILNM", "DETAILCD");
  47. String GAUR_KIND_CD = initCombo6.getCode();
  48. String GAUR_KIND_NM = initCombo6.getCodeName();
  49. String statusSheetComboListText = (String)storage.getObject("selectText");
  50. String statusSheetComboListValue = (String)storage.getObject("selectValue");
  51. String statusSheetComboListText2 = (String)storage.getObject("selectText2");
  52. String statusSheetComboListValue2 = (String)storage.getObject("selectValue2");
  53. //검색조건 작성일
  54. String initSearchDateStart = params.get("searchDateStart");
  55. String initSearchDateEnd = params.get("searchDateEnd");
  56. //com.udapsoft.waf.common.util.DateUtil
  57. ValueObject defaultDate = DateUtil.getDefaultPeriod();
  58. if("".equals(initSearchDateStart)) initSearchDateStart = defaultDate.get("START_DATE");
  59. if("".equals(initSearchDateEnd)) initSearchDateEnd = defaultDate.get("END_DATE");
  60. %>
  61. <script type="text/javascript">
  62. /*예약함수*/
  63. var sheet1 = new ibsheetObject();
  64. var sheet2 = new ibsheetObject();
  65. var sheet3 = new ibsheetObject();
  66. var sheet4 = new ibsheetObject();
  67. var sheet5 = new ibsheetObject();
  68. var sheet6 = new ibsheetObject();
  69. var sheet7 = new ibsheetObject();
  70. var sheet1Row;
  71. var sheet1PageNo = 1;
  72. var pageLastRowIndex = 1;
  73. var validationResult = false;
  74. var filterShow = false;
  75. var clickRow;
  76. document.body.onload = doPageInit;
  77. function doPageInit(){
  78. setSearchDate();
  79. var p_user_sabun = "<%=user.get("USER_SABUN")%>";
  80. var p_auth_id = "<%=vo.get("ADMIN_AUTH_ID")%>";
  81. if(p_user_sabun!=p_auth_id){
  82. document.getElementById('update_table1').style.display = 'none';
  83. document.getElementById('update_table2').style.display = 'none';
  84. document.getElementById('delete_table1').style.display = 'none';
  85. document.getElementById('delete_table2').style.display = 'none';
  86. document.getElementById('update_table3').style.display = 'none';
  87. document.getElementById('update_table4').style.display = 'none';
  88. }
  89. jQuery("#btnSearch3").click();
  90. document.getElementById('btnSearch3').style.display = 'none';
  91. }
  92. function _onReady(){
  93. gridInit(sheet1);
  94. gridInit(sheet2);
  95. gridInit(sheet3);
  96. gridInit(sheet4);
  97. gridInit(sheet5);
  98. gridInit(sheet6);
  99. gridInit(sheet7);
  100. jQuery("#btnSearch1").click(function() {
  101. if($("#p_dept_cd").val().trim() == ""){
  102. alert("현장선택은 필수입니다");
  103. return;
  104. }
  105. jQuery("#fevent").val("MOD_BID_STATUS");
  106. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  107. Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form2"), 10, "");
  108. });
  109. jQuery("#btnSearch2").click(function() {
  110. if($("#key_col1").val().trim() != "" && $("#key_col2").val().trim() != "" && $("#key_col3").val().trim() != ""
  111. && $("#key_col4").val().trim() != "" && $("#key_col5").val().trim() != ""){
  112. }else{
  113. alert("조건값 입력(1~5)은 필수입니다.");
  114. return;
  115. }
  116. jQuery("#fevent").val("MOD_ERP_STS");
  117. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  118. Modular.view.IBSheet7.doSearch(sheet2, url, jQuery("#form2"), 10, "");
  119. });
  120. jQuery("#btnSearch3").click(function() {
  121. jQuery("#fevent").val("MOD_TEMPLATE");
  122. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  123. Modular.view.IBSheet7.doSearch(sheet3, url, jQuery("#form2"), 10, "");
  124. });
  125. jQuery("#btnSearch4").click(function() {
  126. if($("#p_dept_cd2").val().trim() == ""){
  127. alert("현장선택은 필수입니다");
  128. return;
  129. }
  130. jQuery("#fevent").val("PUR_CONT_STATUS");
  131. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  132. Modular.view.IBSheet7.doSearch(sheet4, url, jQuery("#form2"), 10, "");
  133. });
  134. jQuery("#btnSearch5").click(function() {
  135. if($("#p_dept_cd3").val().trim() == ""){
  136. alert("현장선택은 필수입니다");
  137. return;
  138. }
  139. jQuery("#fevent").val("SUB_CONT_STATUS");
  140. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  141. Modular.view.IBSheet7.doSearch(sheet5, url, jQuery("#form2"), 10, "");
  142. });
  143. jQuery("#btnSearch6").click(function() {
  144. if(jQuery("#searchDeptCd").val() == ""){
  145. alert("현장을 선택해주세요.");
  146. jQuery("#searchDeptCd").focus();
  147. return;
  148. }
  149. jQuery("#fevent").val("SUB_PAY_STATUS");
  150. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  151. Modular.view.IBSheet7.doSearch(sheet6, url, jQuery("#form2"), 10, "");
  152. });
  153. jQuery("#btnSearch7").click(function() {
  154. if(jQuery("#searchDeptCd2").val() == ""){
  155. alert("현장을 선택해주세요.");
  156. jQuery("#searchDeptCd2").focus();
  157. return;
  158. }
  159. jQuery("#fevent").val("PUR_PAY_STATUS");
  160. var url = Modular.model.PageContext.CONTEXT_ROOT + "/test/ModStatusList_sheet.screen";
  161. Modular.view.IBSheet7.doSearch(sheet7, url, jQuery("#form2"), 10, "");
  162. });
  163. jQuery("#btnSave").click(function() {
  164. // 테이블명 체크
  165. if($("#table_nm").val().trim() != "")
  166. {
  167. var regNum = /^[a-zA-Z0-9_.]*$/;
  168. /* if(!regNum.test($("#table_nm").val().trim()))
  169. {
  170. alert("테이블명은 영문&숫자만 입력해 주세요.");
  171. $("#table_nm").focus();
  172. return false;
  173. } */
  174. }
  175. else
  176. {
  177. alert("테이블명을 입력해 주세요");
  178. $("#table_nm").focus();
  179. return false;
  180. }
  181. if($("#set_1").val().trim() == "")
  182. {
  183. alert("SET_1을 입력해 주세요");
  184. $("#set_1").focus();
  185. return false;
  186. } else if($("#set_1").val().trim().length > 200) {
  187. alert("SET_1은 200자 까지 입력할 수 있습니다.");
  188. $("#set_1").focus();
  189. return false;
  190. }
  191. if($("#where").val().trim() == "")
  192. {
  193. alert("WHERE 조건문을 입력해 주세요");
  194. $("#where").focus();
  195. return false;
  196. } else if($("#where").val().trim().length > 100) {
  197. alert("WHERE는 100자리까지 입력할 수 있습니다.");
  198. $("#where").focus();
  199. return false;
  200. }
  201. if($("#where_val").val().trim() == "")
  202. {
  203. alert("WHERE(값)을 입력해 주세요");
  204. $("#where_val").focus();
  205. return false;
  206. } else if($("#where_val").val().trim().length > 100) {
  207. alert("WHERE(값)은 100자리까지 입력할 수 있습니다.");
  208. $("#where_val").focus();
  209. return false;
  210. }
  211. if(confirm("수정하시겠습니까?")) {
  212. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_SEL_CNT", document.form1);
  213. //submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_MOD_LIST", document.form1);
  214. }
  215. });
  216. jQuery("#btnDel").click(function() {
  217. // 테이블명 체크
  218. if($("#del_table_nm").val().trim() != "")
  219. {
  220. var regNum = /^[a-zA-Z0-9_.]*$/;
  221. if(!regNum.test($("#del_table_nm").val().trim()))
  222. {
  223. alert("테이블명은 영문&숫자만 입력해 주세요.");
  224. $("#del_table_nm").focus();
  225. return false;
  226. }
  227. }
  228. else
  229. {
  230. alert("테이블명을 입력해 주세요");
  231. $("#del_table_nm").focus();
  232. return false;
  233. }
  234. if($("#del_where").val().trim() == "")
  235. {
  236. alert("WHERE 조건문을 입력해 주세요");
  237. $("#del_where").focus();
  238. return false;
  239. } else if($("#del_where").val().trim().length > 100) {
  240. alert("WHERE는 100자리까지 입력할 수 있습니다.");
  241. $("#del_where").focus();
  242. return false;
  243. }
  244. if($("#del_where_val").val().trim() == "")
  245. {
  246. alert("WHERE(값)을 입력해 주세요");
  247. $("#del_where_val").focus();
  248. return false;
  249. } else if($("#del_where_val").val().trim().length > 100) {
  250. alert("WHERE(값)은 100자리까지 입력할 수 있습니다.");
  251. $("#del_where_val").focus();
  252. return false;
  253. }
  254. if(confirm("삭제하시겠습니까?")) {
  255. submitXmlRequest("/test/ModStatusList_form.screen", "DEL_SEL_CNT", document.form1);
  256. //submitXmlRequest("/test/ModStatusList_form.screen", "DEL_MOD_LIST", document.form1);
  257. }
  258. });
  259. jQuery("#btnStart").click(function() {
  260. // 테이블명 체크
  261. if($("#sign_interface_id").val().trim() != "")
  262. {
  263. var regNum = /^[0-9]*$/;
  264. if(!regNum.test($("#sign_interface_id").val().trim()))
  265. {
  266. alert("SIGN_INTERFACE_ID는 숫자만 입력해 주세요.");
  267. $("#sign_interface_id").focus();
  268. return false;
  269. }
  270. }
  271. else
  272. {
  273. alert("sign_interface_id를 입력해 주세요");
  274. $("#sign_interface_id").focus();
  275. return false;
  276. }
  277. if($("#sign_deci_class").val().trim() == "")
  278. {
  279. alert("sign_deci_class를 입력해 주세요");
  280. $("#sign_deci_class").focus();
  281. return false;
  282. }
  283. if(confirm("결재 하시겠습니까?(개발/운영 DB확인!)")) {
  284. submitXmlRequest("/test/ModStatusList_form.screen", "START_SIGN_TEST", document.form1);
  285. }
  286. });
  287. }
  288. function gridInit(sheetName){
  289. var init_sheet = {};
  290. if(sheetName.id == "sheet1"){
  291. init_sheet.Cfg = {SearchMode:2, Page:10, SizeMode:2};
  292. init_sheet.Cols = [
  293. {Header:'상태', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", ColMerge:false, Hidden:"true"},
  294. {Header:'현장명', Type:"Text", SaveName:"dept_nm", Width:150, Align:"Left", Edit:"false", Hidden:"true"},
  295. {Header:'현장코드', Type:"Text", SaveName:"dept_cd", Width:50, Align:"Center", Edit:"false", Hidden:"true"},
  296. {Header:'구분코드', Type:"Text", SaveName:"DEMANDED_KIND", Width:70, Align:"Center", Edit:"false", Hidden:"true"},
  297. {Header:'구분', Type:"Text", SaveName:"DEMANDED_KIND_NM", Width:40, Align:"Center", Edit:"false"},
  298. {Header:'DEMANDED_ID', Type:"Text", SaveName:"DEMANDED_ID", Width:70, Align:"Center", Edit:"false"},
  299. {Header:'입찰번호', Type:"Text", SaveName:"BID_NO", Width:120, Align:"Center", Edit:"false"},
  300. {Header:'입찰명', Type:"Text", SaveName:"BID_MASTER_NM", Width:150, Align:"Left", Edit:"false", Cursor:"pointer"},
  301. {Header:'변경입찰명', Type:"Text", SaveName:"MOD_BID_MASTER_NM", Width:150, Align:"Left", Edit:"true"},
  302. {Header:'차수(MASTER)', Type:"Text", SaveName:"BID_DEG", Width:70, Align:"Center", Edit:"false", Cursor:"pointer"},
  303. {Header:'상태', Type:"Text", SaveName:"STATUS_NM", Width:70, Align:"Center", Edit:"false"},
  304. {Header:'상태코드', Type:"Text", SaveName:"STATUS_CD", Width:50, Align:"Center", Edit:"false"},
  305. {Header:'변경상태(MASTER)', Type:"Combo", SaveName:"MOD_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=BID_STATUS_NM%>", ComboCode:"<%=BID_STATUS_CD%>"},
  306. {Header:'검토자', Type:"Text", SaveName:"EVAL_EMPNM", Width:70, Align:"Center", Edit:"false", Cursor:"pointer"},
  307. {Header:'TBE상태', Type:"Text", SaveName:"TBE_STATUS_NM", Width:70, Align:"Center", Edit:"false"},
  308. {Header:'TBE코드', Type:"Text", SaveName:"TBE_STATUS_CD", Width:70, Align:"Center", Edit:"false"},
  309. {Header:'변경상태(TBE)', Type:"Combo", SaveName:"TBE_MOD_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=BID_TBE_STATUS_NM%>", ComboCode:"<%=BID_TBE_STATUS_CD%>"},
  310. {Header:'업체코드', Type:"Text", SaveName:"VENDOR_CD", Width:70, Align:"Center", Edit:"false", Hidden:"true"},
  311. {Header:'업체명(SUPP)', Type:"Text", SaveName:"VENDOR_NAME", Width:120, Align:"Center", Edit:"false", Cursor:"pointer"},
  312. {Header:'업체상태', Type:"Text", SaveName:"BID_STATUS_NM", Width:70, Align:"Center", Edit:"false"},
  313. {Header:'업체상태코드', Type:"Text", SaveName:"BID_STATUS_CD", Width:70, Align:"Center", Edit:"false"},
  314. {Header:'변경상태(SUPP)', Type:"Combo", SaveName:"SUPP_MOD_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=BID_SUPP_STATUS_NM%>", ComboCode:"<%=BID_SUPP_STATUS_CD%>"},
  315. {Header:'화폐단위', Type:"Text", SaveName:"CURRENCY_GB", Width:70, Align:"Center", Edit:"false", Cursor:"pointer"},
  316. {Header:'환율', Type:"Text", SaveName:"EXCHANGE", Width:40, Align:"Center", Edit:"false"},
  317. {Header:'변경환율', Type:"Text", SaveName:"MOD_EXCHANGE", Width:40, Align:"Center", Edit:"true"}
  318. ];
  319. }else if(sheetName.id == "sheet2"){
  320. init_sheet.Cfg = {SearchMode:2, Page:10};
  321. init_sheet.Cols = [
  322. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  323. {Header:'ERP결재코드', Type:"Text", SaveName:"SIGN_CLASS_CD", Width:0, Align:"Center"},
  324. {Header:'ERP결재명', Type:"Text", SaveName:"SIGN_CLASS_NM", Width:0, Align:"Center"},
  325. {Header:'INTERFACE ID', Type:"Text", SaveName:"SIGN_INTERFACE_ID", Width:0, Align:"Center"},
  326. {Header:'문서ID', Type:"Text", SaveName:"DOC_ID", Width:100, Align:"Center", Edit:false , Cursor:"pointer"},
  327. {Header:'결재코드', Type:"Text", SaveName:"SIGN_DECI_CLASS", Width:80, Align:"Center", Edit:false},
  328. {Header:'결재상태', Type:"Text", SaveName:"SIGN_DECI_CLASS_NM", Width:100, Align:"Center", Edit:false},
  329. {Header:'변경상태', Type:"Combo", SaveName:"MOD_SIGN_DECI_CLASS", Width:100, Align:"Center", ComboText:"-선택-|미결재|기안|반려|회수|완료|기안(접수부서)|반려(접수부서)|회수(접수부서)|완료(접수부서)|기안부서로 회송", ComboCode:"00||11|12|13|14|21|22|23|24|25"}
  330. ];
  331. }else if(sheetName.id == "sheet3"){
  332. init_sheet.Cfg = {SearchMode:2, Page:10};
  333. init_sheet.Cols = [
  334. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  335. {Header:'템플릿 코드', Type:"Text", SaveName:"TEMPLATE_CD", Width:0, Align:"Center"},
  336. {Header:'순번', Type:"Text", SaveName:"SEQ", Width:0, Align:"Center"},
  337. {Header:'구분코드', Type:"Text", SaveName:"JOB_DIV", Width:0, Align:"Center", Hidden:"True"},
  338. {Header:'구분명', Type:"Text", SaveName:"JOB_DIV_NM", Width:100, Align:"Center"},
  339. {Header:'템플릿명', Type:"Text", SaveName:"TEMPLATE_NAME", Width:80, Align:"Center", Edit:false, Cursor:"pointer"},
  340. ];
  341. }else if(sheetName.id == "sheet4"){
  342. init_sheet.Cfg = {SearchMode:2, Page:10};
  343. init_sheet.Cols = [
  344. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  345. {Header:'PUR_CONT_ID', Type:"Text", SaveName:"PUR_CONT_ID", Width:0, Align:"Center", Edit:"false", Hidden:"True"},
  346. {Header:'PUR_CONT_MOD_ID', Type:"Text", SaveName:"PUR_CONT_MOD_ID", Width:70, Align:"Center", Edit:"false"},
  347. {Header:'현장명', Type:"Text", SaveName:"DEPT_NAME", Width:150, Align:"Left", Edit:"false"},
  348. {Header:'계약번호', Type:"Text", SaveName:"ORD_DOC_NO", Width:100, Align:"Center", Edit:"false"},
  349. {Header:'계약명', Type:"Text", SaveName:"CST_DOC_NAME", Width:150, Align:"Left", Edit:"false"},
  350. {Header:'변경차수', Type:"Text", SaveName:"MOD_NO", Width:50, Align:"Center", Edit:"false", Cursor:"pointer"},
  351. {Header:'계약상태', Type:"Text", SaveName:"STATUS_CD_NM", Width:70, Align:"Center", Edit:"false"},
  352. {Header:'상태코드', Type:"Text", SaveName:"STATUS_CD", Width:50, Align:"Center", Edit:"false"},
  353. {Header:'변경상태(계약)', Type:"Combo", SaveName:"CONT_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=CONT_STATUS_NM%>", ComboCode:"<%=CONT_STATUS_CD%>"},
  354. {Header:'보증서코드', Type:"Text", SaveName:"WARR_GUBUN", Width:0, Align:"Center", Edit:"false", Hidden:"True"},
  355. {Header:'보증서', Type:"Text", SaveName:"GAUR_KIND_NM", Width:80, Align:"Center", Edit:"false", Cursor:"pointer"},
  356. {Header:'보증순번', Type:"Text", SaveName:"WARR_SEQ", Width:50, Align:"Center", Edit:"false"},
  357. {Header:'온라인보증', Type:"Text", SaveName:"GUAR_ONOFF_YN", Width:60, Align:"Center", Edit:"false"},
  358. {Header:'온라인변경', Type:"Combo", SaveName:"MOD_GUAR_ONOFF_YN", Width:100, Align:"Center", ComboText:"-선택-|Y|N", ComboCode:"00|Y|N"},
  359. {Header:'보증상태', Type:"Text", SaveName:"GUAR_STATUS_NM", Width:50, Align:"Center", Edit:"false"},
  360. {Header:'상태코드', Type:"Text", SaveName:"GUAR_STATUS", Width:50, Align:"Center", Edit:"false"},
  361. {Header:'변경상태(보증)', Type:"Combo", SaveName:"GUAR_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=GUAR_STATUS_NM%>", ComboCode:"<%=GUAR_STATUS_CD%>"},
  362. {Header:'템플릿명', Type:"Text", SaveName:"TEMPLATE_NAME", Width:80, Align:"Center", Edit:"false", Cursor:"pointer"},
  363. {Header:'순번', Type:"Text", SaveName:"SEQ", Width:0, Align:"Center", Edit:"false"}
  364. ];
  365. }else if(sheetName.id == "sheet5"){
  366. init_sheet.Cfg = {SearchMode:2, Page:10};
  367. init_sheet.Cols = [
  368. {Header:'Status', Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Hidden:"True"},
  369. {Header:'SUB_CONT_ID', Type:"Text", SaveName:"SUB_CONT_ID", Width:0, Align:"Center", Edit:"false", Hidden:"True"},
  370. {Header:'SUB_CONT_MOD_ID', Type:"Text", SaveName:"SUB_CONT_MOD_ID", Width:70, Align:"Center", Edit:"false"},
  371. {Header:'현장명', Type:"Text", SaveName:"DEPT_NAME", Width:150, Align:"Left", Edit:"false"},
  372. {Header:'계약번호', Type:"Text", SaveName:"CON_DOC_NO", Width:100, Align:"Center", Edit:"false"},
  373. {Header:'계약명', Type:"Text", SaveName:"BUILD_NAME", Width:150, Align:"Left", Edit:"false"},
  374. {Header:'변경차수', Type:"Text", SaveName:"MOD_NO", Width:50, Align:"Center", Edit:"false", Cursor:"pointer"},
  375. {Header:'계약상태', Type:"Text", SaveName:"STATUS_CD_NM", Width:70, Align:"Center", Edit:"false"},
  376. {Header:'상태코드', Type:"Text", SaveName:"STATUS_CD", Width:50, Align:"Center", Edit:"false"},
  377. {Header:'변경상태(계약)', Type:"Combo", SaveName:"CONT_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=CONT_STATUS_NM%>", ComboCode:"<%=CONT_STATUS_CD%>"},
  378. {Header:'보증서코드', Type:"Text", SaveName:"WARR_GUBUN", Width:0, Align:"Center", Edit:"false", Hidden:"True"},
  379. {Header:'보증서', Type:"Text", SaveName:"GAUR_KIND_NM", Width:80, Align:"Center", Edit:"false", Cursor:"pointer"},
  380. {Header:'보증순번', Type:"Text", SaveName:"WARR_SEQ", Width:50, Align:"Center", Edit:"false"},
  381. {Header:'온라인보증', Type:"Text", SaveName:"GUAR_ONOFF_YN", Width:60, Align:"Center", Edit:"false"},
  382. {Header:'온라인변경', Type:"Combo", SaveName:"MOD_GUAR_ONOFF_YN", Width:100, Align:"Center", ComboText:"-선택-|Y|N", ComboCode:"00|Y|N"},
  383. {Header:'보증상태', Type:"Text", SaveName:"GUAR_STATUS_NM", Width:50, Align:"Center", Edit:"false"},
  384. {Header:'상태코드', Type:"Text", SaveName:"GUAR_STATUS", Width:50, Align:"Center", Edit:"false"},
  385. {Header:'변경상태(보증)', Type:"Combo", SaveName:"GUAR_STATUS_CD", Width:100, Align:"Center", ComboText:"<%=GUAR_STATUS_NM%>", ComboCode:"<%=GUAR_STATUS_CD%>"},
  386. {Header:'템플릿명', Type:"Text", SaveName:"TEMPLATE_NAME", Width:80, Align:"Center", Edit:"false", Cursor:"pointer"},
  387. {Header:'순번', Type:"Text", SaveName:"SEQ", Width:0, Align:"Center", Edit:"false"}
  388. ];
  389. }else if(sheetName.id == "sheet6"){
  390. init_sheet.Cfg = {SearchMode:2, Page:10};
  391. init_sheet.Cols = [
  392. {Header:'상태', Type:"Status", SaveName:"Status", Width:70, Align:"Left", Hidden:"True"},
  393. {Header:'SUB_CONT_ID', Type:"Text", SaveName:"SUB_CONT_ID", Width:70, Align:"Left", Edit:"false"},
  394. {Header:'ACMP_ID', Type:"Text", SaveName:"ACMP_ID", Width:100, Align:"Left", Edit:"false"},
  395. {Header:'현장명', Type:"Text", SaveName:"DEPT_NAME", Width:100, Align:"Left", Edit:"false"},
  396. {Header:'계약번호', Type:"Text", SaveName:"CON_DOC_NO", Width:120, Align:"Left", Edit:"false", Hidden:"True"},
  397. {Header:'계약명', Type:"Text", SaveName:"BUILD_NAME", Width:110, Align:"Left", Edit:"false"},
  398. {Header:'업체명', Type:"Text", SaveName:"MEMBER_NAME", Width:100, Align:"Left", Edit:"false"},
  399. {Header:'공사기간', Type:"Text", SaveName:"START_END_WORK_DATE", Width:130, Align:"Left", Edit:"false"},
  400. {Header:'통화구분', Type:"Text", SaveName:"CURRENCY_GB", Width:55, Align:"Center", Edit:"false"},
  401. {Header:'통화구분자리', Type:"Int", SaveName:"CURRENCY_DIGIT", Width:100, Align:"Left", Hidden:"True"},
  402. {Header:'계약금액', Type:"Int", SaveName:"CON_SUPPLY_AMT", Width:80, Align:"Right", Edit:"false"},
  403. {Header:'계약금액', Type:"Int", SaveName:"CON_AMT", Width:40, Align:"Right", Hidden:"True"},
  404. {Header:'계약상선급금', Type:"Int", SaveName:"PREPAY_SUPPLY_AMT", Width:80, Align:"Right", Edit:"false"},
  405. {Header:'선급금발생', Type:"Int", SaveName:"REQ_PREPAY_SUPPLY_AMT", Width:80, Align:"Right", Edit:"false"},
  406. {Header:'선급금\n신청날짜', Type:"Text", SaveName:"PREPAY_DATE", Width:65, Align:"Right", Edit:"false"},
  407. {Header:'기성년월', Type:"Text", SaveName:"ACMP_YYYYMM", Width:50, Align:"Right", Edit:"false"},
  408. {Header:'지급\n차수', Type:"Int", SaveName:"ACMP_NO", Width:40, Align:"Right", Edit:"false", Cursor:"pointer"},
  409. {Header:'금회기성', Type:"Int", SaveName:"FUND_AMT", Width:80, Align:"Right", Edit:"false"},
  410. {Header:'선급금공제', Type:"Int", SaveName:"PAY_DEDUCT_AMT", Width:80, Align:"Right", Edit:"false"},
  411. {Header:'실지불액', Type:"Int", SaveName:"REQU_SUPPLY_AMT", Width:80, Align:"Right", Edit:"false"},
  412. {Header:'잔여기성', Type:"Int", SaveName:"MOD_FUND_AMT", Width:80, Align:"Right", Edit:"false"},
  413. {Header:'기성율\n(%)', Type:"Float", SaveName:"FUND_RATE", Width:40, Align:"Right", Format:"##0.00", Edit:"false"},
  414. {Header:'기성상태', Type:"Combo", SaveName:"STATUS_CD_NM", Width:100, Align:"Center", ComboText:"<%=statusSheetComboListText%>", ComboCode:"<%=statusSheetComboListValue%>", Edit:"false"},
  415. {Header:'상태코드', Type:"Text", SaveName:"STATUS_CD", Width:50, Align:"Center", Edit:"false"},
  416. {Header:'변경상태', Type:"Combo", SaveName:"STATUS_CD2", Width:100, Align:"Center", ComboText:"<%=statusSheetComboListText%>", ComboCode:"<%=statusSheetComboListValue%>"},
  417. ];
  418. }else if(sheetName.id == "sheet7"){
  419. init_sheet.Cfg = {SearchMode:2, Page:10};
  420. init_sheet.Cols = [
  421. {Header:'상태', Type:"Status", SaveName:"Status", Width:70, Align:"Left", Hidden:"True"},
  422. {Header:'PAYREQ_ID', Type:"Text", SaveName:"PAYREQ_ID", Width:100, Align:"Left", Edit:"false"},
  423. {Header:'현장명', Type:"Text", SaveName:"DEPT_NAME", Width:200, Align:"Left", Hidden:"True"},
  424. {Header:'계약번호', Type:"Text", SaveName:"ORD_DOC_NO", Width:200, Align:"Left", Edit:"false"},
  425. {Header:'계약명', Type:"Text", SaveName:"CST_DOC_NAME", Width:200, Align:"Left", Edit:"false"},
  426. {Header:'업체명', Type:"Text", SaveName:"CORP_KOR", Width:200, Align:"Left", Edit:"false"},
  427. {Header:'계약기간', Type:"Text", SaveName:"ORD_DATE", Width:200, Align:"Left", Edit:"false"},
  428. {Header:'계약금액', Type:"Text", SaveName:"ORD_AMT", Width:100, Align:"Right" , Edit:"false"},
  429. {Header:'대금구분', Type:"Text", SaveName:"PAY_DIV_NM", Width:80, Align:"Center", Edit:"false"},
  430. {Header:'통화', Type:"Text", SaveName:"CURRENCY_GB", Width:60, Align:"Center", Edit:"false"},
  431. {Header:'지급구분', Type:"Text", SaveName:"DEPOSIT_NM", Width:80, Align:"Center", Edit:"false", Cursor:"pointer"},
  432. {Header:'잔여공급가', Type:"Float", SaveName:"REMAINDER_ACMP_SUPPLYAMT",Width:100, Align:"Right", Format:"Float", Edit:"false"},
  433. {Header:'잔여부가세', Type:"Float", SaveName:"REMAINDER_ACMP_VAT", Width:100, Align:"Right", Format:"Float", Edit:"false"},
  434. {Header:'잔여합계', Type:"Float", SaveName:"REMAINDER_ACMP_AMT", Width:100, Align:"Right", Format:"Float", Edit:"false"},
  435. {Header:'지급차수', Type:"Text", SaveName:"DEPOSIT_SEQ", Width:60, Align:"Center", Edit:"false", Cursor:"pointer"},
  436. {Header:'증빙일자', Type:"Text", SaveName:"REQ_DATE", Width:80, Align:"Center", Edit:"false"},
  437. /* {Header:'선급공제액', Type:"AutoSum", SaveName:"CUR_PREPAY_APPLYAMT", Width:100, Align:"Right", Format:"Integer", Edit:"false"},
  438. {Header:'청구액', Type:"AutoSum", SaveName:"CUR_REQ_AMT", Width:100, Align:"Right", Format:"Integer", Edit:"false"}, */
  439. {Header:'잔여', Type:"Float", SaveName:"REMAINDER_SUPPLYAMT", Width:100, Align:"Right", Format:"Float", Hidden:"True"},
  440. {Header:'지급율', Type:"Float", SaveName:"CUR_ACMP_PERCENT", Width:50, Align:"Right", Format:"##0.00",Hidden:"True"},
  441. {Header:'상태', Type:"Combo", SaveName:"REQ_STATUS_NM", Width:70, Align:"Center", ComboText:"<%=statusSheetComboListText2%>", ComboCode:"<%=statusSheetComboListValue2%>", Edit:"false"},
  442. {Header:'상태코드', Type:"Text", SaveName:"REQ_STATUS", Width:50, Align:"Center", Edit:"false"},
  443. {Header:'변경상태', Type:"Combo", SaveName:"REQ_STATUS2", Width:70, Align:"Center", ComboText:"<%=statusSheetComboListText2%>", ComboCode:"<%=statusSheetComboListValue2%>"},
  444. {Header:'계약ID', Type:"Text", SaveName:"PUR_CONT_ID", Width:70, Align:"Center", Hidden:"True"}
  445. ];
  446. }
  447. init_sheet.HeaderMode = {Sort:1};
  448. IBS_InitSheet(sheetName, init_sheet);
  449. sheetName.SetDataAutoTrim(0);
  450. sheetName.SetMergeSheet(msPrevColumnMerge);
  451. setGridSize();
  452. }
  453. function sheet1_OnSearchEnd(code, message) {
  454. if(code == 0) {
  455. setGridSize();
  456. sheet1.SetColFontColor("BID_DEG", "#0000ff");
  457. sheet1.SetColFontColor("VENDOR_NAME", "#0000ff");
  458. sheet1.SetColFontColor("BID_MASTER_NM", "#0000ff");
  459. sheet1.SetColFontColor("EVAL_EMPNM", "#0000ff");
  460. sheet1.SetColFontColor("CURRENCY_GB", "#0000ff");
  461. } else {
  462. alert("조회 실패");
  463. }
  464. }
  465. function sheet2_OnSearchEnd(code, message) {
  466. if(code == 0) {
  467. setGridSize();
  468. sheet2.SetColFontColor("DOC_ID", "#0000ff");
  469. } else {
  470. alert("조회 실패");
  471. }
  472. }
  473. function sheet3_OnSearchEnd(code, message) {
  474. if(code == 0) {
  475. setGridSize();
  476. sheet3.SetColFontColor("TEMPLATE_NAME", "#0000ff");
  477. } else {
  478. alert("조회 실패");
  479. }
  480. }
  481. function sheet4_OnSearchEnd(code, message) {
  482. if(code == 0) {
  483. setGridSize();
  484. sheet4.SetColFontColor("PAY_DIV", "#0000ff");
  485. sheet4.SetColFontColor("MOD_NO", "#0000ff");
  486. sheet4.SetColFontColor("GAUR_KIND_NM", "#0000ff");
  487. sheet4.SetColFontColor("TEMPLATE_NAME", "#0000ff");
  488. } else {
  489. alert("조회 실패");
  490. }
  491. }
  492. function sheet5_OnSearchEnd(code, message) {
  493. if(code == 0) {
  494. setGridSize();
  495. sheet5.SetColFontColor("MOD_NO", "#0000ff");
  496. sheet5.SetColFontColor("GAUR_KIND_NM", "#0000ff");
  497. sheet5.SetColFontColor("TEMPLATE_NAME", "#0000ff");
  498. } else {
  499. alert("조회 실패");
  500. }
  501. }
  502. function sheet6_OnSearchEnd(code, message) {
  503. if(code == 0) {
  504. setGridSize();
  505. sheet6.SetColFontColor("ACMP_NO", "#0000ff");
  506. } else {
  507. alert("조회 실패");
  508. }
  509. }
  510. function sheet7_OnSearchEnd(code, message) {
  511. if(code == 0) {
  512. setGridSize();
  513. sheet7.SetColFontColor("DEPOSIT_NM", "#0000ff");
  514. sheet7.SetColFontColor("DEPOSIT_SEQ", "#0000ff");
  515. } else {
  516. alert("조회 실패");
  517. }
  518. }
  519. function setGridSize() {
  520. sheet1.FitColWidth();
  521. sheet2.FitColWidth();
  522. sheet3.FitColWidth();
  523. sheet4.FitColWidth();
  524. sheet5.FitColWidth();
  525. sheet6.FitColWidth();
  526. sheet7.FitColWidth();
  527. }
  528. function sheet1_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  529. if(Row == 0)return;
  530. if ((sheet1.ColSaveName(Col) == "BID_DEG")) {
  531. if(sheet1.GetCellValue(Row, "MOD_STATUS_CD") == ""){
  532. alert("변경상태(MASTER)를 선택하십시오");
  533. return;
  534. }
  535. var status = sheet1.GetCellValue(Row,8);
  536. $("#BID_NO").val(sheet1.GetCellValue(Row, "BID_NO"));
  537. $("#BID_DEG").val(sheet1.GetCellValue(Row, "BID_DEG"));
  538. $("#MOD_STATUS_CD").val(sheet1.GetCellValue(Row, "MOD_STATUS_CD"));
  539. if (confirm("입찰상태(MASTER)를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet1.GetCellValue(Row, "MOD_STATUS_CD")+")")){
  540. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_BID_STATUS", document.form1);
  541. }
  542. }else if ((sheet1.ColSaveName(Col) == "VENDOR_NAME")) {
  543. if(sheet1.GetCellValue(Row, "DEMANDED_KIND") == "O"){
  544. alert("구매업체만 변경가능합니다.");
  545. return;
  546. }
  547. if(sheet1.GetCellValue(Row, "SUPP_MOD_STATUS_CD") == ""){
  548. alert("변경상태(SUPP)를 선택하십시오.");
  549. return;
  550. }
  551. var status = sheet1.GetCellValue(Row,8);
  552. $("#BID_NO").val(sheet1.GetCellValue(Row, "BID_NO"));
  553. $("#BID_DEG").val(sheet1.GetCellValue(Row, "BID_DEG"));
  554. $("#VENDOR_CD").val(sheet1.GetCellValue(Row, "VENDOR_CD"));
  555. $("#SUPP_MOD_STATUS_CD").val(sheet1.GetCellValue(Row, "SUPP_MOD_STATUS_CD"));
  556. if (confirm("입찰업체상태(SUPP)를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet1.GetCellValue(Row, "SUPP_MOD_STATUS_CD")+")") ){
  557. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_SUPP_BID_STATUS", document.form1);
  558. }
  559. }else if ((sheet1.ColSaveName(Col) == "BID_MASTER_NM")) {
  560. if(sheet1.GetCellValue(Row, "MOD_BID_MASTER_NM") == ""){
  561. alert("변경할 입찰명을 입력하십시오");
  562. return;
  563. }
  564. var status = sheet1.GetCellValue(Row,8);
  565. $("#DEMANDED_ID").val(sheet1.GetCellValue(Row, "DEMANDED_ID"));
  566. $("#MOD_BID_MASTER_NM").val(sheet1.GetCellValue(Row, "MOD_BID_MASTER_NM"));
  567. if (confirm("입찰명을 변경 하시겠습니까?")){
  568. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_BID_MASTER_NM", document.form1);
  569. }
  570. }else if ((sheet1.ColSaveName(Col) == "EVAL_EMPNM")) {
  571. if(sheet1.GetCellValue(Row, "EVAL_EMPNM") == ""){
  572. alert("등록된 TBE가 없습니다");
  573. return;
  574. }
  575. if(sheet1.GetCellValue(Row, "TBE_MOD_STATUS_CD") == ""){
  576. alert("변경상태(TBE)를 선택하십시오");
  577. return;
  578. }
  579. var status = sheet1.GetCellValue(Row,8);
  580. $("#BID_NO").val(sheet1.GetCellValue(Row, "BID_NO"));
  581. $("#BID_DEG").val(sheet1.GetCellValue(Row, "BID_DEG"));
  582. $("#TBE_MOD_STATUS_CD").val(sheet1.GetCellValue(Row, "TBE_MOD_STATUS_CD"));
  583. if (confirm("TBE 상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet1.GetCellValue(Row, "TBE_MOD_STATUS_CD")+")")){
  584. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_TBE_STATUS", document.form1);
  585. }
  586. }else if ((sheet1.ColSaveName(Col) == "CURRENCY_GB")) {
  587. if(sheet1.GetCellValue(Row, "EXCHANGE") == ""){
  588. alert("등록된 환율정보가 없습니다");
  589. return;
  590. }
  591. if(sheet1.GetCellValue(Row, "MOD_EXCHANGE") == ""){
  592. alert("변경환율을 입력하십시오");
  593. return;
  594. }
  595. var status = sheet1.GetCellValue(Row,8);
  596. $("#BID_NO").val(sheet1.GetCellValue(Row, "BID_NO"));
  597. $("#BID_DEG").val(sheet1.GetCellValue(Row, "BID_DEG"));
  598. $("#MOD_EXCHANGE").val(sheet1.GetCellValue(Row, "MOD_EXCHANGE"));
  599. if (confirm("환율정보를 변경 하시겠습니까?(변경하려는 환율값 : "+sheet1.GetCellValue(Row, "MOD_EXCHANGE")+")")){
  600. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_EXCHANGE_VALUE", document.form1);
  601. }
  602. }
  603. }
  604. function sheet1_OnSaveEnd(code, msg) {
  605. if(code >= 0) {
  606. alert("저장 성공");
  607. } else {
  608. alert("저장 실패");
  609. }
  610. jQuery("#btnSearch").click();
  611. }
  612. function sheet2_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  613. if(Row == 0)return;
  614. if ((sheet2.ColSaveName(Col) == "DOC_ID")) {
  615. if(sheet2.GetCellValue(Row, "MOD_SIGN_DECI_CLASS") == "00"){
  616. alert("변경상태를 선택하십시오");
  617. return;
  618. }
  619. var status = sheet2.GetCellValue(Row,8);
  620. $("#DOC_ID").val(sheet2.GetCellValue(Row, "DOC_ID"));
  621. $("#MOD_SIGN_DECI_CLASS").val(sheet2.GetCellValue(Row, "MOD_SIGN_DECI_CLASS"));
  622. if (confirm("ERP 결재상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet2.GetCellValue(Row, "MOD_SIGN_DECI_CLASS")+")")){
  623. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_ERP_SIGN_CLASS", document.form1);
  624. }
  625. }
  626. }
  627. function sheet2_OnSaveEnd(code, msg) {
  628. if(code >= 0) {
  629. alert("저장 성공");
  630. } else {
  631. alert("저장 실패");
  632. }
  633. jQuery("#btnSearch2").click();
  634. }
  635. function sheet3_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  636. if(Row == 0)return;
  637. if ((sheet3.ColSaveName(Col) == "TEMPLATE_NAME")) {
  638. var win_id = "Template";
  639. var p_template_cd = sheet3.GetCellValue(Row, "TEMPLATE_CD");
  640. var p_seq = sheet3.GetCellValue(Row, "SEQ");
  641. var p_job_div = sheet3.GetCellValue(Row, "JOB_DIV");
  642. var argObj = new Object();
  643. argObj.p_template_cd = p_template_cd;
  644. argObj.p_seq = p_seq;
  645. argObj.p_job_div = p_job_div;
  646. var link = "/test/TemplatePop.screen";
  647. link += "?pop_win_id="+win_id;
  648. link += "&p_template_cd="+p_template_cd;
  649. link += "&p_seq="+p_seq;
  650. link += "&p_job_div="+p_job_div;
  651. link += "&sModule=LM";
  652. fLayerPop(win_id, link, 1040, 500, '', '', 'NO');
  653. }
  654. }
  655. function sheet4_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  656. if(Row == 0)return;
  657. if ((sheet4.ColSaveName(Col) == "TEMPLATE_NAME")) {
  658. var win_id = "ContPurTemplate";
  659. var p_gubun = "P";
  660. var p_cont_mod_id = sheet4.GetCellValue(Row, "PUR_CONT_MOD_ID");
  661. var p_seq = sheet4.GetCellValue(Row, "SEQ");
  662. var argObj = new Object();
  663. argObj.p_gubun = p_gubun;
  664. argObj.p_cont_mod_id = p_cont_mod_id;
  665. argObj.p_seq = p_seq;
  666. var link = "/test/ContTemplatePop.screen";
  667. link += "?pop_win_id="+win_id;
  668. link += "&p_gubun="+p_gubun;
  669. link += "&p_cont_mod_id="+p_cont_mod_id;
  670. link += "&p_seq="+p_seq;
  671. link += "&sModule=LM";
  672. fLayerPop(win_id, link, 1040, 500, '', '', 'NO');
  673. }else if ((sheet4.ColSaveName(Col) == "MOD_NO")) {
  674. if(sheet4.GetCellValue(Row, "CONT_STATUS_CD") == ""){
  675. alert("변경상태(계약)를 선택하십시오.");
  676. return;
  677. }
  678. var status = sheet4.GetCellValue(Row,8);
  679. $("#PUR_CONT_MOD_ID").val(sheet4.GetCellValue(Row, "PUR_CONT_MOD_ID"));
  680. $("#CONT_STATUS_CD").val(sheet4.GetCellValue(Row, "CONT_STATUS_CD"));
  681. if (confirm("계약상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet4.GetCellValue(Row, "CONT_STATUS_CD")+")") ){
  682. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_PUR_CONT_STATUS", document.form1);
  683. }
  684. }else if ((sheet4.ColSaveName(Col) == "GAUR_KIND_NM")) {
  685. if(sheet4.GetCellValue(Row, "GAUR_KIND_NM") == ""){
  686. alert("등록된 보증서가 없습니다");
  687. return;
  688. }
  689. if(sheet4.GetCellValue(Row, "GUAR_STATUS_CD") == ""){
  690. alert("변경상태(보증)를 선택하십시오.");
  691. return;
  692. }
  693. if(sheet4.GetCellValue(Row, "MOD_GUAR_ONOFF_YN") == "00" || sheet4.GetCellValue(Row, "MOD_GUAR_ONOFF_YN") == ""){
  694. alert("변경온라인을 선택하십시오");
  695. return;
  696. }
  697. var status = sheet4.GetCellValue(Row,8);
  698. $("#PUR_CONT_MOD_ID").val(sheet4.GetCellValue(Row, "PUR_CONT_MOD_ID"));
  699. $("#WARR_SEQ").val(sheet4.GetCellValue(Row, "WARR_SEQ"));
  700. $("#GUAR_STATUS_CD").val(sheet4.GetCellValue(Row, "GUAR_STATUS_CD"));
  701. $("#MOD_GUAR_ONOFF_YN").val(sheet4.GetCellValue(Row, "MOD_GUAR_ONOFF_YN"));
  702. if (confirm("보증상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet4.GetCellValue(Row, "GUAR_STATUS_CD")+", 변경온라인유무값 : "+sheet4.GetCellValue(Row, "MOD_GUAR_ONOFF_YN")+")") ){
  703. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_PUR_WARR_STATUS", document.form1);
  704. }
  705. }
  706. }
  707. function sheet4_OnSaveEnd(code, msg) {
  708. if(code >= 0) {
  709. alert("저장 성공");
  710. } else {
  711. alert("저장 실패");
  712. }
  713. jQuery("#btnSearch4").click();
  714. }
  715. function sheet5_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  716. if(Row == 0)return;
  717. if ((sheet5.ColSaveName(Col) == "TEMPLATE_NAME")) {
  718. var win_id = "ContSubTemplate";
  719. var p_gubun = "O";
  720. var p_cont_mod_id = sheet5.GetCellValue(Row, "SUB_CONT_MOD_ID");
  721. var p_seq = sheet5.GetCellValue(Row, "SEQ");
  722. var argObj = new Object();
  723. argObj.p_gubun = p_gubun;
  724. argObj.p_cont_mod_id = p_cont_mod_id;
  725. argObj.p_seq = p_seq;
  726. var link = "/test/ContTemplatePop.screen";
  727. link += "?pop_win_id="+win_id;
  728. link += "&p_gubun="+p_gubun;
  729. link += "&p_cont_mod_id="+p_cont_mod_id;
  730. link += "&p_seq="+p_seq;
  731. link += "&sModule=LM";
  732. fLayerPop(win_id, link, 1040, 500, '', '', 'NO');
  733. }else if ((sheet5.ColSaveName(Col) == "MOD_NO")) {
  734. if(sheet5.GetCellValue(Row, "CONT_STATUS_CD") == ""){
  735. alert("변경상태(계약)를 선택하십시오.");
  736. return;
  737. }
  738. var status = sheet5.GetCellValue(Row,8);
  739. $("#SUB_CONT_MOD_ID").val(sheet5.GetCellValue(Row, "SUB_CONT_MOD_ID"));
  740. $("#CONT_STATUS_CD").val(sheet5.GetCellValue(Row, "CONT_STATUS_CD"));
  741. if (confirm("계약상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet5.GetCellValue(Row, "CONT_STATUS_CD")+")") ){
  742. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_SUB_CONT_STATUS", document.form1);
  743. }
  744. }else if ((sheet5.ColSaveName(Col) == "GAUR_KIND_NM")) {
  745. if(sheet5.GetCellValue(Row, "GAUR_KIND_NM") == ""){
  746. alert("등록된 보증서가 없습니다");
  747. return;
  748. }
  749. if(sheet5.GetCellValue(Row, "GUAR_STATUS_CD") == ""){
  750. alert("변경상태(보증)를 선택하십시오.");
  751. return;
  752. }
  753. if(sheet5.GetCellValue(Row, "MOD_GUAR_ONOFF_YN") == "00" || sheet5.GetCellValue(Row, "MOD_GUAR_ONOFF_YN") == ""){
  754. alert("변경온라인을 선택하십시오");
  755. return;
  756. }
  757. var status = sheet5.GetCellValue(Row,8);
  758. $("#PUR_CONT_MOD_ID").val(sheet5.GetCellValue(Row, "SUB_CONT_MOD_ID"));
  759. $("#WARR_SEQ").val(sheet5.GetCellValue(Row, "WARR_SEQ"));
  760. $("#GUAR_STATUS_CD").val(sheet5.GetCellValue(Row, "GUAR_STATUS_CD"));
  761. $("#MOD_GUAR_ONOFF_YN").val(sheet5.GetCellValue(Row, "MOD_GUAR_ONOFF_YN"));
  762. if (confirm("보증상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet5.GetCellValue(Row, "GUAR_STATUS_CD")+", 변경온라인유무값 : "+sheet5.GetCellValue(Row, "MOD_GUAR_ONOFF_YN")+")") ){
  763. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_SUB_WARR_STATUS", document.form1);
  764. }
  765. }
  766. }
  767. function sheet5_OnSaveEnd(code, msg) {
  768. if(code >= 0) {
  769. alert("저장 성공");
  770. } else {
  771. alert("저장 실패");
  772. }
  773. jQuery("#btnSearch4").click();
  774. }
  775. function sheet6_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  776. if(Row == 0)return;
  777. if ((sheet6.ColSaveName(Col) == "ACMP_NO")) {
  778. if(sheet6.GetCellValue(Row, "STATUS_CD2") == ""){
  779. alert("변경상태를 선택하십시오.");
  780. return;
  781. }
  782. $("#ACMP_ID").val(sheet6.GetCellValue(Row, "ACMP_ID"));
  783. $("#STATUS_CD2").val(sheet6.GetCellValue(Row, "STATUS_CD2"));
  784. if (confirm("기성상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet6.GetCellValue(Row, "STATUS_CD2")+")") ){
  785. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_SUB_PAY_STATUS", document.form1);
  786. }
  787. }
  788. }
  789. function sheet6_OnSaveEnd(code, msg) {
  790. if(code >= 0) {
  791. alert("저장 성공");
  792. } else {
  793. alert("저장 실패");
  794. }
  795. jQuery("#btnSearch6").click();
  796. }
  797. function sheet7_OnDblClick(Row, Col, Value, CellX, CellY, CellW, CellH) {
  798. if(Row == 0)return;
  799. if ((sheet7.ColSaveName(Col) == "DEPOSIT_SEQ")) {
  800. if(sheet7.GetCellValue(Row, "REQ_STATUS2") == ""){
  801. alert("변경상태를 선택하십시오.");
  802. return;
  803. }
  804. $("#PAYREQ_ID").val(sheet7.GetCellValue(Row, "PAYREQ_ID"));
  805. $("#REQ_STATUS2").val(sheet7.GetCellValue(Row, "REQ_STATUS2"));
  806. if (confirm("대금신청상태를 변경 하시겠습니까?(변경하려는 코드값 : "+sheet7.GetCellValue(Row, "REQ_STATUS2")+")") ){
  807. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_PUR_PAY_STATUS", document.form1);
  808. }
  809. }else if ((sheet7.ColSaveName(Col) == "DEPOSIT_NM")) {
  810. if( !(sheet7.GetCellValue(Row, "REMAINDER_ACMP_SUPPLYAMT") == "0" && sheet7.GetCellValue(Row, "REMAINDER_ACMP_VAT") != "0") ){
  811. alert("잔여부가세 보정 대상이 아닙니다.");
  812. return;
  813. }
  814. $("#PAYREQ_ID").val(sheet7.GetCellValue(Row, "PAYREQ_ID"));
  815. if (confirm("잔여부가세를 보정 하시겠습니까?") ){
  816. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_PUR_REVISE_REMAINDER", document.form1);
  817. }
  818. }
  819. }
  820. function sheet7_OnSaveEnd(code, msg) {
  821. if(code >= 0) {
  822. alert("저장 성공");
  823. } else {
  824. alert("저장 실패");
  825. }
  826. jQuery("#btnSearch7").click();
  827. }
  828. function SubetemplateClose(){
  829. setTimeout(function(){fLayerPopClose('Template');},100);
  830. jQuery("#btnSearch3").click();
  831. }
  832. function SubContPurTemplateClose(){
  833. setTimeout(function(){fLayerPopClose('ContPurTemplate');},100);
  834. jQuery("#btnSearch4").click();
  835. }
  836. function SubContSubTemplateClose(){
  837. setTimeout(function(){fLayerPopClose('ContSubTemplate');},100);
  838. jQuery("#btnSearch5").click();
  839. }
  840. //검색조건에 기성년월 초기 설정
  841. function setSearchDate(){
  842. var newDay = new Date( get_year(), get_month(), "");
  843. var lastDay = newDay.getDate();
  844. var searchFromDate = get_year() +'-'+ '01';
  845. var searchToDate = get_year() +'-'+ get_month();
  846. jQuery('#searchFromDate').val(searchFromDate);
  847. jQuery('#searchToDate').val(searchToDate);
  848. //검색조건 시작일
  849. var startDate = get_year() +'-'+ get_month() +'-'+ '01';
  850. if(jQuery('#searchDateStart').val() == ""){
  851. jQuery('#searchDateStart').val(startDate);
  852. }
  853. //검색조건 종료일
  854. var nowYearMonth = new Date( get_year(), get_month(), "");
  855. var lastDay = nowYearMonth.getDate();
  856. var endDate = get_year() +'-'+ get_month() +'-'+ lastDay;
  857. if(jQuery('#searchDateEnd').val() == ""){
  858. jQuery('#searchDateEnd').val(endDate);
  859. }
  860. }
  861. function calendar(thisDayObj){
  862. dlgCalendar(thisDayObj);
  863. }
  864. function doResult(resultObj) {
  865. try {
  866. document.form1.isSubmit = false;
  867. if( resultObj.getRequestEvent() == "SAVE_SEL_CNT") {
  868. if($("#and_1").val().trim() != "" && $("#and_2").val().trim() != "" && $("#and_3").val().trim() != "" && $("#and_1_val").val().trim() != "" && $("#and_2_val").val().trim() != "" && $("#and_3_val").val().trim() != ""){
  869. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#table_nm").val().trim()+"\n WHERE "+$("#where").val().trim()+" = "+$("#where_val").val().trim()+"\n AND "+$("#and_1").val().trim()+" = "+$("#and_1_val").val().trim()+"\n AND "+$("#and_2").val().trim()+" = "+$("#and_2_val").val().trim()+"\n AND "+$("#and_3").val().trim()+" = "+$("#and_3_val").val().trim() );
  870. }else if($("#and_1").val().trim() != "" && $("#and_2").val().trim() != "" && $("#and_1_val").val().trim() != "" && $("#and_2_val").val().trim() != ""){
  871. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#table_nm").val().trim()+"\n WHERE "+$("#where").val().trim()+" = "+$("#where_val").val().trim()+"\n AND "+$("#and_1").val().trim()+" = "+$("#and_1_val").val().trim()+"\n AND "+$("#and_2").val().trim()+" = "+$("#and_2_val").val().trim() );
  872. }else if($("#and_1").val().trim() != "" && $("#and_1_val").val().trim() != ""){
  873. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#table_nm").val().trim()+"\n WHERE "+$("#where").val().trim()+" = "+$("#where_val").val().trim()+"\n AND "+$("#and_1").val().trim()+" = "+$("#and_1_val").val().trim() );
  874. }else if($("#where").val().trim() != "" && $("#where_val").val().trim() != ""){
  875. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#table_nm").val().trim()+"\n WHERE "+$("#where").val().trim()+" = "+$("#where_val").val().trim() );
  876. }
  877. if (confirm("SQL결과값을 확인하셨습니까?")){
  878. submitXmlRequest("/test/ModStatusList_form.screen", "SAVE_MOD_LIST", document.form1);
  879. }
  880. }else if( resultObj.getRequestEvent() == "DEL_SEL_CNT") {
  881. if($("#del_and_1").val().trim() != "" && $("#del_and_2").val().trim() != "" && $("#del_and_3").val().trim() != "" && $("#del_and_1_val").val().trim() != "" && $("#del_and_2_val").val().trim() != "" && $("#del_and_3_val").val().trim() != ""){
  882. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#del_table_nm").val().trim()+"\n WHERE "+$("#del_where").val().trim()+" = "+$("#del_where_val").val().trim()+"\n AND "+$("#del_and_1").val().trim()+" = "+$("#del_and_1_val").val().trim()+"\n AND "+$("#del_and_2").val().trim()+" = "+$("#del_and_2_val").val().trim()+"\n AND "+$("#del_and_3").val().trim()+" = "+$("#del_and_3_val").val().trim() );
  883. }else if($("#del_and_1").val().trim() != "" && $("#del_and_2").val().trim() != "" && $("#del_and_1_val").val().trim() != "" && $("#del_and_2_val").val().trim() != ""){
  884. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#del_table_nm").val().trim()+"\n WHERE "+$("#del_where").val().trim()+" = "+$("#del_where_val").val().trim()+"\n AND "+$("#del_and_1").val().trim()+" = "+$("#del_and_1_val").val().trim()+"\n AND "+$("#del_and_2").val().trim()+" = "+$("#del_and_2_val").val().trim() );
  885. }else if($("#del_and_1").val().trim() != "" && $("#del_and_1_val").val().trim() != ""){
  886. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#del_table_nm").val().trim()+"\n WHERE "+$("#del_where").val().trim()+" = "+$("#del_where_val").val().trim()+"\n AND "+$("#del_and_1").val().trim()+" = "+$("#del_and_1_val").val().trim() );
  887. }else if($("#del_where").val().trim() != "" && $("#del_where_val").val().trim() != ""){
  888. alert("SELECT COUNT(*) AS CNT \n FROM "+$("#del_table_nm").val().trim()+"\n WHERE "+$("#del_where").val().trim()+" = "+$("#del_where_val").val().trim() );
  889. }
  890. if (confirm("SQL결과값을 확인하셨습니까?")){
  891. submitXmlRequest("/test/ModStatusList_form.screen", "DEL_MOD_LIST", document.form1);
  892. }
  893. }else if( resultObj.getRequestEvent() == "SAVE_MOD_LIST") {
  894. if( resultObj.getSuccess() )
  895. {
  896. alert("수정되었습니다.");
  897. }else{
  898. alert("입력값을 확인하십시오.");
  899. }
  900. }else if( resultObj.getRequestEvent() == "DEL_MOD_LIST") {
  901. if( resultObj.getSuccess() )
  902. {
  903. alert("삭제되었습니다.");
  904. }else{
  905. alert("입력값을 확인하십시오.");
  906. }
  907. }else if( resultObj.getRequestEvent() == "SAVE_BID_STATUS") {
  908. if( resultObj.getSuccess() )
  909. {
  910. alert("입찰상태가 수정되었습니다.");
  911. jQuery("#btnSearch1").click();
  912. }else{
  913. alert("입력값을 확인하십시오.");
  914. }
  915. }else if( resultObj.getRequestEvent() == "SAVE_SUPP_BID_STATUS") {
  916. if( resultObj.getSuccess() )
  917. {
  918. alert("구매업체 입찰상태가 수정되었습니다.");
  919. jQuery("#btnSearch1").click();
  920. }else{
  921. alert("입력값을 확인하십시오.");
  922. }
  923. }else if( resultObj.getRequestEvent() == "SAVE_BID_MASTER_NM") {
  924. if( resultObj.getSuccess() )
  925. {
  926. alert("입찰명이 수정되었습니다.");
  927. jQuery("#btnSearch1").click();
  928. }else{
  929. alert("입력값을 확인하십시오.");
  930. }
  931. }else if( resultObj.getRequestEvent() == "SAVE_TBE_STATUS") {
  932. if( resultObj.getSuccess() )
  933. {
  934. alert("TBE상태가 수정되었습니다.");
  935. jQuery("#btnSearch1").click();
  936. }else{
  937. alert("입력값을 확인하십시오.");
  938. }
  939. }else if( resultObj.getRequestEvent() == "SAVE_EXCHANGE_VALUE") {
  940. if( resultObj.getSuccess() )
  941. {
  942. alert("환율값이 수정되었습니다.");
  943. jQuery("#btnSearch1").click();
  944. }else{
  945. alert("입력값을 확인하십시오.");
  946. }
  947. }else if( resultObj.getRequestEvent() == "SAVE_ERP_SIGN_CLASS") {
  948. if( resultObj.getSuccess() )
  949. {
  950. alert("결재상태가 수정되었습니다.");
  951. jQuery("#btnSearch2").click();
  952. }else{
  953. alert("입력값을 확인하십시오.");
  954. }
  955. }else if( resultObj.getRequestEvent() == "SAVE_PUR_CONT_STATUS") {
  956. if( resultObj.getSuccess() )
  957. {
  958. alert("구매계약상태가 수정되었습니다.");
  959. jQuery("#btnSearch4").click();
  960. }else{
  961. alert("입력값을 확인하십시오.");
  962. }
  963. }else if( resultObj.getRequestEvent() == "SAVE_PUR_WARR_STATUS") {
  964. if( resultObj.getSuccess() )
  965. {
  966. alert("구매보증상태가 수정되었습니다.");
  967. jQuery("#btnSearch4").click();
  968. }else{
  969. alert("입력값을 확인하십시오.");
  970. }
  971. }else if( resultObj.getRequestEvent() == "SAVE_SUB_CONT_STATUS") {
  972. if( resultObj.getSuccess() )
  973. {
  974. alert("외주계약상태가 수정되었습니다.");
  975. jQuery("#btnSearch5").click();
  976. }else{
  977. alert("입력값을 확인하십시오.");
  978. }
  979. }else if( resultObj.getRequestEvent() == "SAVE_SUB_WARR_STATUS") {
  980. if( resultObj.getSuccess() )
  981. {
  982. alert("외주보증상태가 수정되었습니다.");
  983. jQuery("#btnSearch5").click();
  984. }else{
  985. alert("입력값을 확인하십시오.");
  986. }
  987. }else if( resultObj.getRequestEvent() == "START_SIGN_TEST") {
  988. if( resultObj.getSuccess() )
  989. {
  990. alert("결재 처리 완료되었습니다.");
  991. }else{
  992. alert("입력값을 확인하십시오.");
  993. }
  994. }else if( resultObj.getRequestEvent() == "SAVE_SUB_PAY_STATUS") {
  995. if( resultObj.getSuccess() )
  996. {
  997. alert("외주기성상태가 수정되었습니다.");
  998. jQuery("#btnSearch6").click();
  999. }else{
  1000. alert("입력값을 확인하십시오.");
  1001. }
  1002. }else if( resultObj.getRequestEvent() == "SAVE_PUR_PAY_STATUS") {
  1003. if( resultObj.getSuccess() )
  1004. {
  1005. alert("대금신청상태가 수정되었습니다.");
  1006. jQuery("#btnSearch7").click();
  1007. }else{
  1008. alert("입력값을 확인하십시오.");
  1009. }
  1010. }else if( resultObj.getRequestEvent() == "SAVE_PUR_REVISE_REMAINDER") {
  1011. if( resultObj.getSuccess() )
  1012. {
  1013. alert("잔여 부가세가 보정되었습니다.");
  1014. jQuery("#btnSearch7").click();
  1015. }else{
  1016. alert("입력값을 확인하십시오.");
  1017. }
  1018. }
  1019. }
  1020. catch(errorObject) {
  1021. showErrorDlg("doResult()", errorObject);
  1022. }
  1023. }
  1024. </script>
  1025. <modular:search id="form2">
  1026. <modular:key id="fevent" />
  1027. </modular:search>
  1028. <form id="form2" name="form2" method="post" modular:type="search" style="width:100%;height:100%;">
  1029. <INPUT type="hidden" name="fevent" id="fevent" value="">
  1030. <div align="left" id="title">
  1031. <ul>
  1032. <li>ERP결재상태 변경</li>
  1033. </ul>
  1034. </div>
  1035. <!-- 검색조건 시작 -->
  1036. <table id="search-table" class="search-form-table">
  1037. <colgroup>
  1038. <col width="100" />
  1039. <col width="100" />
  1040. <col width="100" />
  1041. <col width="100" />
  1042. <col width="100" />
  1043. <col width="100" />
  1044. <col width="100" />
  1045. </colgroup>
  1046. <tr height="25">
  1047. <th>
  1048. KEY_COL1
  1049. </th>
  1050. <td>
  1051. <input type="text" name="key_col1" id="key_col1" style="width: 90%;" value=""/>
  1052. </td>
  1053. <th>
  1054. KEY_COL2
  1055. </th>
  1056. <td>
  1057. <input type="text" name="key_col2" id="key_col2" style="width: 90%;" value=""/>
  1058. </td>
  1059. <th>
  1060. KEY_COL3
  1061. </th>
  1062. <td>
  1063. <input type="text" name="key_col3" id="key_col3" style="width: 90%;" value=""/>
  1064. </td>
  1065. <td class="button" rowspan="2">
  1066. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch2">검색</a></span>
  1067. </td>
  1068. </tr>
  1069. <th>
  1070. KEY_COL4
  1071. </th>
  1072. <td>
  1073. <input type="text" name="key_col4" id="key_col4" style="width: 90%;" value=""/>
  1074. </td>
  1075. <th>
  1076. KEY_COL5
  1077. </th>
  1078. <td>
  1079. <input type="text" name="key_col5" id="key_col5" style="width: 90%;" value=""/>
  1080. </td>
  1081. <th>
  1082. KEY_COL6
  1083. </th>
  1084. <td>
  1085. <input type="text" name="key_col6" id="key_col6" style="width: 90%;" value=""/>
  1086. </td>
  1087. </tr>
  1088. </table>
  1089. <!-- 검색조건 종료 -->
  1090. <div id="sheet2_div" style="padding-top:5px; height: auto; min-height: 200px; overflow: auto;">
  1091. <script>createIBSheet('sheet2','100%', '180px');</script>
  1092. </div>
  1093. <div align="left" id="title">
  1094. <ul>
  1095. <li>전자조달 템플릿 관리</li>
  1096. </ul>
  1097. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch3">검색</a></span>
  1098. </div>
  1099. <!-- 검색조건 시작 -->
  1100. <div id="sheet3_div" style="padding-top:5px; height: auto; min-height: 550px; overflow: auto;">
  1101. <script>createIBSheet('sheet3','100%', '550px');</script>
  1102. </div>
  1103. <div align="left" id="title">
  1104. <ul>
  1105. <li>입찰상태변경</li>
  1106. </ul>
  1107. </div>
  1108. <!-- 검색조건 시작 -->
  1109. <table id="search-table" class="search-form-table">
  1110. <colgroup>
  1111. <col width="100" />
  1112. <col width="350" />
  1113. <col width="100" />
  1114. <col width="*" />
  1115. <col width="150" />
  1116. </colgroup>
  1117. <tr>
  1118. <th>현장</th>
  1119. <td>
  1120. <%=InputText.getSiteCodeNew("p_dept_cd", "p_dept_nm", "", user, params.get("p_dept_cd"), params.get("p_dept_nm"))%>
  1121. </td>
  1122. <th>입찰공고명</th>
  1123. <td>
  1124. <INPUT type="text" name="P_BID_MASTER_NM" id="P_BID_MASTER_NM" class="input" value="<%=params.get("P_BID_MASTER_NM") %>" style="width:90%">
  1125. </td>
  1126. <td class="button" rowspan="2">
  1127. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch1">검색</a></span>
  1128. </td>
  1129. </tr>
  1130. <tr>
  1131. <th>입찰번호</th>
  1132. <td>
  1133. <INPUT type="text" name="P_BID_NO" id="P_BID_NO" class="input" value="<%=params.get("P_BID_NO") %>" style="width:90%">
  1134. </td>
  1135. <th>상태</th>
  1136. <td><%=CommCodeManager.getSelectCodeSearchList("BID_STATUS_CD","P_DEMANDED_STATUS","height=18;width:80px;","<option value=''>--전체--</option>",params.get("P_DEMANDED_STATUS"),"","DETAILCD") %>
  1137. </td>
  1138. </tr>
  1139. </table>
  1140. <!-- 검색조건 종료 -->
  1141. <div id="sheet1_div" style="padding-top:5px; height: auto; min-height: 350px; overflow: auto;">
  1142. <script>createIBSheet('sheet1','100%', '300px');</script>
  1143. </div>
  1144. <div align="left" id="title">
  1145. <ul>
  1146. <li>구매 계약서 관리</li>
  1147. </ul>
  1148. </div>
  1149. <!-- 검색조건 시작 -->
  1150. <table id="search-table" class="search-form-table">
  1151. <colgroup>
  1152. <col width="100" />
  1153. <col width="350" />
  1154. <col width="100" />
  1155. <col width="*" />
  1156. <col width="150" />
  1157. </colgroup>
  1158. <tr>
  1159. <th>현장</th>
  1160. <td>
  1161. <%=InputText.getSiteCodeNew("p_dept_cd2", "p_dept_nm2", "", user, params.get("p_dept_cd2"), params.get("p_dept_nm2"))%>
  1162. </td>
  1163. <th>계약명</th>
  1164. <td>
  1165. <INPUT type="text" name="P_CST_DOC_NAME" id="P_CST_DOC_NAME" class="input" value="<%=params.get("P_CST_DOC_NAME") %>" style="width:90%">
  1166. </td>
  1167. <td class="button" rowspan="2">
  1168. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch4">검색</a></span>
  1169. </td>
  1170. </tr>
  1171. <tr>
  1172. <th>계약번호</th>
  1173. <td>
  1174. <INPUT type="text" name="P_ORD_DOC_NO" id="P_ORD_DOC_NO" class="input" value="<%=params.get("P_ORD_DOC_NO") %>" style="width:90%">
  1175. </td>
  1176. <th>차수</th>
  1177. <td>
  1178. <INPUT type="text" name="P_MOD_NO" id="P_MOD_NO" class="input" value="<%=params.get("P_MOD_NO") %>" style="width:90%">
  1179. </td>
  1180. </tr>
  1181. </table>
  1182. <!-- 검색조건 종료 -->
  1183. <div id="sheet4_div" style="padding-top:5px; height: auto; min-height: 350px; overflow: auto;">
  1184. <script>createIBSheet('sheet4','100%', '300px');</script>
  1185. </div>
  1186. <div align="left" id="title">
  1187. <ul>
  1188. <li>외주 계약서 관리</li>
  1189. </ul>
  1190. </div>
  1191. <!-- 검색조건 시작 -->
  1192. <table id="search-table" class="search-form-table">
  1193. <colgroup>
  1194. <col width="100" />
  1195. <col width="350" />
  1196. <col width="100" />
  1197. <col width="*" />
  1198. <col width="150" />
  1199. </colgroup>
  1200. <tr>
  1201. <th>현장</th>
  1202. <td>
  1203. <%=InputText.getSiteCodeNew("p_dept_cd3", "p_dept_nm3", "", user, params.get("p_dept_cd3"), params.get("p_dept_nm3"))%>
  1204. </td>
  1205. <th>계약명</th>
  1206. <td>
  1207. <INPUT type="text" name="P_BUILD_NAME" id="P_BUILD_NAME" class="input" value="<%=params.get("P_BUILD_NAME") %>" style="width:90%">
  1208. </td>
  1209. <td class="button" rowspan="2">
  1210. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch5">검색</a></span>
  1211. </td>
  1212. </tr>
  1213. <tr>
  1214. <th>계약번호</th>
  1215. <td>
  1216. <INPUT type="text" name="P_CON_DOC_NO" id="P_CON_DOC_NO" class="input" value="<%=params.get("P_CON_DOC_NO") %>" style="width:90%">
  1217. </td>
  1218. <th>차수</th>
  1219. <td>
  1220. <INPUT type="text" name="P_MOD_NO" id="P_MOD_NO" class="input" value="<%=params.get("P_MOD_NO") %>" style="width:90%">
  1221. </td>
  1222. </tr>
  1223. </table>
  1224. <!-- 검색조건 종료 -->
  1225. <div id="sheet5_div" style="padding-top:5px; height: auto; min-height: 350px; overflow: auto;">
  1226. <script>createIBSheet('sheet5','100%', '300px');</script>
  1227. </div>
  1228. <div align="left" id="title">
  1229. <ul>
  1230. <li>외주 기성 관리</li>
  1231. </ul>
  1232. </div>
  1233. <!-- 검색조건 영역 : 시작 -->
  1234. <table id="search-table" class="search-form-table">
  1235. <colgroup>
  1236. <col width="100px">
  1237. <col width="*">
  1238. <col width="100px">
  1239. <col width="*">
  1240. <col width="100px">
  1241. </colgroup>
  1242. <TR>
  1243. <Th>현장</Th>
  1244. <TD>
  1245. <%=InputText.getSiteCodeNew("searchDeptCd", "searchDeptNm", "", user, "", "")%>
  1246. </TD>
  1247. <TH>업체명</TH>
  1248. <TD>
  1249. <INPUT type="text" id="searchCorp" name="searchCorp" value="" maxlength="50" class="input" style="IME-MODE : active; width:90%;" desc='업체명' onKeyPress="doKeyPress();">
  1250. </TD>
  1251. <TD class="button" rowspan="2">
  1252. <!-- 검색버튼 영역 : 시작 -->
  1253. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch6">검색</a></span>
  1254. <!-- 검색버튼 영역 : 종료 -->
  1255. </TD>
  1256. </TR>
  1257. <TR>
  1258. <Th>계약명</Th>
  1259. <TD>
  1260. <INPUT type="text" id="searchBuldNm" name="searchBuldNm" value="" maxlength="50" class="input" style="IME-MODE : active; width:90%;" desc='계약명' onKeyPress="doKeyPress();">
  1261. </TD>
  1262. <Th>기성년월</Th>
  1263. <TD>
  1264. <%= InputText.get("searchFromDate", "", 10, 50, "hangule,center, desc=기성년월, ReadOnly") %>
  1265. <IMG name="start_img" id="calender_from" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgMCalendar('searchFromDate');">
  1266. ~
  1267. <%= InputText.get("searchToDate", "", 10, 50, "hangule,center, desc=기성년월, ReadOnly") %>
  1268. <IMG name="start_img" id="calender_to" src="/img/buyer/button/bt_calender.gif" border="0" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:dlgMCalendar('searchToDate');">
  1269. </TD>
  1270. </TR>
  1271. </TABLE>
  1272. <!-- 검색조건 종료 -->
  1273. <div id="sheet6_div" style="padding-top:5px; height: auto; min-height: 350px; overflow: auto;">
  1274. <script>createIBSheet('sheet6','100%', '300px');</script>
  1275. </div>
  1276. <div align="left" id="title">
  1277. <ul>
  1278. <li>대금지급관리</li>
  1279. </ul>
  1280. </div>
  1281. <!-- 검색조건 영역 : 시작 -->
  1282. <table id="search-table" class="search-form-table">
  1283. <colgroup>
  1284. <col width="100px">
  1285. <col width="40%">
  1286. <col width="100px">
  1287. <col/>
  1288. <col width="100px">
  1289. </colgroup>
  1290. <TR>
  1291. <Th>현장</Th>
  1292. <TD>
  1293. <%=InputText.getSiteCodeNew("searchDeptCd2", "searchDeptNm2", "", user, "", "")%>
  1294. </TD>
  1295. <Th>계약명</Th>
  1296. <TD>
  1297. <INPUT type="text" id="searchBuildName" name="searchBuildName" maxlength="50" class="input" style="IME-MODE : active;width:95%;" desc='계약명' onKeyPress="doKeyPress();">
  1298. </TD>
  1299. <TD class="button" rowspan="3">
  1300. <!-- 검색버튼 영역 : 시작 -->
  1301. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch7">검색</a></span>
  1302. <!-- 검색버튼 영역 : 종료 -->
  1303. </TD>
  1304. </TR>
  1305. <TR>
  1306. <Th>증빙일</Th>
  1307. <TD>
  1308. <%= InputText.get("searchDateStart", initSearchDateStart, 15, 10, "Center, date, PerSize, readonly", "date", "") %>
  1309. <a href="JavaScript:calendar('searchDateStart');"><img src="/img/buyer/button/bt_calender.gif" alt="달력" border="0" align="absmiddle" /></a>
  1310. &nbsp;~&nbsp;
  1311. <%= InputText.get("searchDateEnd", initSearchDateEnd, 15, 10, "Center, date, PerSize, readonly", "date", "") %>
  1312. <a href="JavaScript:calendar('searchDateEnd');"><img src="/img/buyer/button/bt_calender.gif" alt="달력" border="0" align="absmiddle" /></a>
  1313. </TD>
  1314. <%-- <th>상태</th>
  1315. <td colspan="1">
  1316. <%= HTMLMaker.getSelectTag(statusComboList, "DETAILCD", "DETAILNM", "searchStatusCd", "width:25%;height=18;", "<option value=''>--전체--</option>", initStatusCd) %>
  1317. </td> --%>
  1318. <TH>업체명</TH>
  1319. <TD colspan="3">
  1320. <INPUT type="text" id="searchCorp2" name="searchCorp2" value="" maxlength="50" class="input" style="IME-MODE : active; width:42%;" desc='업체명' onKeyPress="doKeyPress();">
  1321. </TD>
  1322. </TR>
  1323. </TABLE>
  1324. <div id="sheet7_div" style="padding-top:5px; height: auto; min-height: 350px; overflow: auto;">
  1325. <script>createIBSheet('sheet7','100%', '350px');</script>
  1326. </div>
  1327. </form>
  1328. <form id="form1" name="form1" method="post">
  1329. <INPUT type="hidden" name="fevent" id="fevent" value="">
  1330. <INPUT type="hidden" name="p_user_sabun" value="">
  1331. <INPUT type="hidden" name="BID_NO" value="">
  1332. <INPUT type="hidden" name="BID_DEG" value="">
  1333. <INPUT type="hidden" name="VENDOR_CD" value="">
  1334. <INPUT type="hidden" name="MOD_STATUS_CD" value="">
  1335. <INPUT type="hidden" name="SUPP_MOD_STATUS_CD" value="">
  1336. <INPUT type="hidden" name="TBE_MOD_STATUS_CD" value="">
  1337. <INPUT type="hidden" name="BID_MASTER_NM" value="">
  1338. <INPUT type="hidden" name="MOD_BID_MASTER_NM" value="">
  1339. <INPUT type="hidden" name="DEMANDED_ID" value="">
  1340. <INPUT type="hidden" name="DOC_ID" value="">
  1341. <INPUT type="hidden" name="MOD_SIGN_DECI_CLASS" value="">
  1342. <INPUT type="hidden" name="MOD_EXCHANGE" value="">
  1343. <INPUT type="hidden" name="PUR_CONT_MOD_ID" value="">
  1344. <INPUT type="hidden" name="SUB_CONT_MOD_ID" value="">
  1345. <INPUT type="hidden" name="CONT_STATUS_CD" value="">
  1346. <INPUT type="hidden" name="GUAR_STATUS_CD" value="">
  1347. <INPUT type="hidden" name="WARR_SEQ" value="">
  1348. <INPUT type="hidden" name="MOD_GUAR_ONOFF_YN" value="">
  1349. <INPUT type="hidden" name="ACMP_ID" value="">
  1350. <INPUT type="hidden" name="STATUS_CD2" value="">
  1351. <INPUT type="hidden" name="PAYREQ_ID" value="">
  1352. <INPUT type="hidden" name="REQ_STATUS2" value="">
  1353. <!-- 제목 및 버튼(UPDATE) -->
  1354. <table width="100%" id="update_table1">
  1355. <colgroup>
  1356. <col width="500" />
  1357. <col width="*" />
  1358. </colgroup>
  1359. <tr>
  1360. <th>
  1361. <div align="left" id="title">
  1362. <ul>
  1363. <li>데이타 수정(update) <span style="color:yellow"> * SET 입력시 ''입력 필수</span></li>
  1364. </ul>
  1365. </div>
  1366. </th>
  1367. <td align="right">
  1368. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSave">수정</a></span>
  1369. </td>
  1370. </tr>
  1371. </table>
  1372. <TABLE class="form-table" id="update_table2">
  1373. <col width="150px">
  1374. <col>
  1375. <col width="150px">
  1376. <col>
  1377. <tr height="25">
  1378. <!-- 검색조건 타이틀 1 -->
  1379. <th class="required">
  1380. 테이블명
  1381. </th>
  1382. <td colspan="3">
  1383. <input type="text" name="table_nm" id="table_nm" numberOnly="true" style="width: 38%;" maxlength="100" value=""/>
  1384. </td>
  1385. <tr height="25">
  1386. <Th class="required">
  1387. SET_1
  1388. </th>
  1389. <td>
  1390. <input type="text" name="set_1" id="set_1" style="width: 90%;" value=""/>
  1391. </td>
  1392. <th class="required">
  1393. SET_1(값)
  1394. </th>
  1395. <td>
  1396. <input type="text" name="set_1_val" id="set_1_val" style="width: 90%;" value=""/>
  1397. </td>
  1398. </tr>
  1399. <tr height="25">
  1400. <th>
  1401. SET_2
  1402. </th>
  1403. <td>
  1404. <input type="text" name="set_2" id="set_2" style="width: 90%;" value=""/>
  1405. </td>
  1406. <th>
  1407. SET_2(값)
  1408. </th>
  1409. <td>
  1410. <input type="text" name="set_2_val" id="set_2_val" style="width: 90%;" value=""/>
  1411. </td>
  1412. </tr>
  1413. <Th>
  1414. SET_3
  1415. </th>
  1416. <td>
  1417. <input type="text" name="set_3" id="set_3" style="width: 90%;" value=""/>
  1418. </td>
  1419. <th>
  1420. SET_3(값)
  1421. </th>
  1422. <td>
  1423. <input type="text" name="set_3_val" id="set_3_val" style="width: 90%;" value=""/>
  1424. </td>
  1425. </tr>
  1426. <tr height="25">
  1427. <th>
  1428. SET_4
  1429. </th>
  1430. <td>
  1431. <input type="text" name="set_4" id="set_4" style="width: 90%;" value=""/>
  1432. </td>
  1433. <th>
  1434. SET_4(값)
  1435. </th>
  1436. <td>
  1437. <input type="text" name="set_4_val" id="set_4_val" style="width: 90%;" value=""/>
  1438. </td>
  1439. </tr>
  1440. <tr height="25">
  1441. <th class="required">
  1442. WHERE
  1443. </th>
  1444. <td>
  1445. <input type="text" name="where" id="where" style="width: 90%;" value=""/>
  1446. </td>
  1447. <th class="required">
  1448. WHERE(값)
  1449. </th>
  1450. <td colspan="3" >
  1451. <input type="text" name="where_val" id="where_val" style="width: 90%;" value=""/>
  1452. </td>
  1453. </tr>
  1454. <tr height="25">
  1455. <th>
  1456. AND_1
  1457. </th>
  1458. <td>
  1459. <input type="text" name="and_1" id="and_1" style="width: 90%;" value=""/>
  1460. </td>
  1461. <th>
  1462. AND_1(값)
  1463. </th>
  1464. <td colspan="3" >
  1465. <input type="text" name="and_1_val" id="and_1_val" style="width: 90%;" value=""/>
  1466. </td>
  1467. </tr>
  1468. <tr height="25">
  1469. <th>
  1470. AND_2
  1471. </th>
  1472. <td>
  1473. <input type="text" name="and_2" id="and_2" style="width: 90%;" value=""/>
  1474. </td>
  1475. <th>
  1476. AND_2(값)
  1477. </th>
  1478. <td colspan="3" >
  1479. <input type="text" name="and_2_val" id="and_2_val" style="width: 90%;" value=""/>
  1480. </td>
  1481. </tr>
  1482. <tr height="25">
  1483. <th>
  1484. AND_3
  1485. </th>
  1486. <td>
  1487. <input type="text" name="and_3" id="and_3" style="width: 90%;" value=""/>
  1488. </td>
  1489. <th>
  1490. AND_3(값)
  1491. </th>
  1492. <td colspan="3" >
  1493. <input type="text" name="and_3_val" id="and_3_val" style="width: 90%;" value=""/>
  1494. </td>
  1495. </tr>
  1496. </table>
  1497. <!-- 제목 및 버튼(DELETE) -->
  1498. <table width="100%" id="delete_table1">
  1499. <colgroup>
  1500. <col width="500" />
  1501. <col width="*" />
  1502. </colgroup>
  1503. <tr>
  1504. <th>
  1505. <div align="left" id="title">
  1506. <ul>
  1507. <li>데이타 삭제(delete)</li>
  1508. </ul>
  1509. </div>
  1510. </th>
  1511. <td align="right">
  1512. <span class="btnSearch center"><a href="javascript:void(0);" id="btnDel">삭제</a></span>
  1513. </td>
  1514. </tr>
  1515. </table>
  1516. <TABLE class="form-table" id="delete_table2">
  1517. <col width="150px">
  1518. <col>
  1519. <col width="150px">
  1520. <col>
  1521. <tr height="25">
  1522. <!-- 검색조건 타이틀 1 -->
  1523. <th class="required">
  1524. 테이블명
  1525. </th>
  1526. <td colspan="3">
  1527. <input type="text" name="del_table_nm" id="del_table_nm" numberOnly="true" style="width: 38%;" maxlength="100" value=""/>
  1528. </td>
  1529. <tr height="25">
  1530. <th class="required">
  1531. WHERE
  1532. </th>
  1533. <td>
  1534. <input type="text" name="del_where" id="del_where" style="width: 90%;" value=""/>
  1535. </td>
  1536. <th class="required">
  1537. WHERE(값)
  1538. </th>
  1539. <td colspan="3" >
  1540. <input type="text" name="del_where_val" id="del_where_val" style="width: 90%;" value=""/>
  1541. </td>
  1542. </tr>
  1543. <tr height="25">
  1544. <th>
  1545. AND_1
  1546. </th>
  1547. <td>
  1548. <input type="text" name="del_and_1" id="del_and_1" style="width: 90%;" value=""/>
  1549. </td>
  1550. <th>
  1551. AND_1(값)
  1552. </th>
  1553. <td colspan="3" >
  1554. <input type="text" name="del_and_1_val" id="del_and_1_val" style="width: 90%;" value=""/>
  1555. </td>
  1556. </tr>
  1557. <tr height="25">
  1558. <th>
  1559. AND_2
  1560. </th>
  1561. <td>
  1562. <input type="text" name="del_and_2" id="del_and_2" style="width: 90%;" value=""/>
  1563. </td>
  1564. <th>
  1565. AND_2(값)
  1566. </th>
  1567. <td colspan="3" >
  1568. <input type="text" name="del_and_2_val" id="del_and_2_val" style="width: 90%;" value=""/>
  1569. </td>
  1570. </tr>
  1571. <tr height="25">
  1572. <th>
  1573. AND_3
  1574. </th>
  1575. <td>
  1576. <input type="text" name="del_and_3" id="del_and_3" style="width: 90%;" value=""/>
  1577. </td>
  1578. <th>
  1579. AND_3(값)
  1580. </th>
  1581. <td colspan="3" >
  1582. <input type="text" name="del_and_3_val" id="del_and_3_val" style="width: 90%;" value=""/>
  1583. </td>
  1584. </tr>
  1585. </table>
  1586. <!-- 제목 및 버튼(결재 테스트) -->
  1587. <table width="100%" id="update_table3">
  1588. <colgroup>
  1589. <col width="500" />
  1590. <col width="*" />
  1591. </colgroup>
  1592. <tr>
  1593. <th>
  1594. <div align="left" id="title">
  1595. <ul>
  1596. <li>결재테스트 <span style="color:yellow"> * 개발위주 테스트 진행 요망</span></li>
  1597. </ul>
  1598. </div>
  1599. </th>
  1600. <td align="right">
  1601. <span class="btnSearch center"><a href="javascript:void(0);" id="btnStart">실행</a></span>
  1602. </td>
  1603. </tr>
  1604. </table>
  1605. <TABLE class="form-table" id="update_table4">
  1606. <col width="150px">
  1607. <col>
  1608. <col width="150px">
  1609. <col>
  1610. <tr height="25">
  1611. <!-- 검색조건 타이틀 1 -->
  1612. <th class="required">
  1613. SIGN_INTERFACE_ID
  1614. </th>
  1615. <td>
  1616. <input type="text" name="sign_interface_id" id="sign_interface_id" numberOnly="true" style="width: 38%;" maxlength="100" value=""/>
  1617. </td>
  1618. <Th class="required">
  1619. SIGN_DECI_CLASS
  1620. </th>
  1621. <td>
  1622. <input type="text" name="sign_deci_class" id="sign_deci_class" numberOnly="true" style="width: 38%;" maxlength="100" value=""/>
  1623. </td>
  1624. </tr>
  1625. </table>
  1626. </form>