SMLLF00100_계검사계코드관리.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLF00100_계검사계코드관리.xrw
  4. * 설 명 : 검사시행부서코드관리 조회 및 등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.04.10
  8. * 수정이력 : 2007.07.27 박정은 lastupdtdt 수정함
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>검사시행부서코드관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <flag>
  20. <cond1>2</cond1>
  21. </flag>
  22. <sectlist>
  23. <sectfromdd/>
  24. <secttodd/>
  25. <sectcd/>
  26. <sectnm/>
  27. <sectscrnnm/>
  28. <sectabbrnm/>
  29. <sectprntnm/>
  30. <sectlblnm/>
  31. <sectdispseq/>
  32. </sectlist>
  33. <tsectlist>
  34. <tsectfromdd/>
  35. <tsecttodd/>
  36. <sectcd/>
  37. <tsectcd/>
  38. <tsectnm/>
  39. <tsectscrnnm/>
  40. <tsectabbrnm/>
  41. <tsectprntnm/>
  42. <tsectlblnm/>
  43. <sectdispseq/>
  44. <tsectdispseq/>
  45. </tsectlist>
  46. <MSG/>
  47. <getUsernm/>
  48. </main>
  49. <send>
  50. <refgbn/>
  51. <sectcd/>
  52. <sectdata/>
  53. <tsectdata/>
  54. <deptflag/>
  55. <codeflag/>
  56. </send>
  57. <init>
  58. </init>
  59. <hidden>
  60. <ref>
  61. <refgbn>1</refgbn>
  62. </ref>
  63. <sectseq/>
  64. <deptflagcd/>
  65. </hidden>
  66. <temp>
  67. <addlist/>
  68. <sendlist>
  69. <sectcd/>
  70. </sendlist>
  71. </temp>
  72. </root>
  73. </instance>
  74. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  75. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  76. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  77. <!-- 계코드 조회-->
  78. <submission id="TRLLF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
  79. <!-- 검사계코드 조회-->
  80. <submission id="TRLLF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
  81. <!-- 계코드 수정,등록-->
  82. <!-- 검사계코드 수정,등록-->
  83. <submission id="TXLLF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
  84. <submission id="TXLLF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
  85. <!--<submission id="TRLZZ00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>-->
  86. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  87. <script ev:event="xforms-ready" type="javascript">
  88. <![CDATA[
  89. // 권한 설정
  90. //var auth = model.getValue("/root/properties/auth");
  91. //checkAuth(auth);
  92. //btn_save.disabled = !checkAuth("X") ;
  93. // 초기정보 조회
  94. model.setValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
  95. submit("TRLZZ00101");
  96. model.removeNodeset("/root/main/sectlist");
  97. model.removeNodeset("/root/main/tsectlist");
  98. model.refresh();
  99. fSetHddentodd();
  100. ]]>
  101. </script>
  102. </model>
  103. <script type="javascript">
  104. <![CDATA[
  105. //조회구분에 따라 상용종료일 숨기기
  106. function fSetHddentodd(){
  107. if(cmb_refgbn.value == "1"){
  108. grd_sect.colHidden(2) = true;
  109. grd_tsect.colHidden(2) = true;
  110. }else if(cmb_refgbn.value =="2"){
  111. grd_sect.colHidden(2) = false;
  112. grd_tsect.colHidden(2) = false;
  113. }
  114. }
  115. // 행추가 버튼
  116. /*function fInsRowAdd(pGridId) {
  117. pGridId.addRow();
  118. }
  119. */
  120. // 시행부서코드목록 행추가
  121. function fSetSectRowAdd(){
  122. modal("SPLLF10100","","","","","","");
  123. var addstring = model.getValue("/root/temp/addlist/addstring");
  124. var addlen = addstring.split("▩");
  125. for(i = 0 ; i < addlen.length-1 ; i ++){
  126. grd_sect.addRow(false);
  127. grd_sect.rowStatus(0) = 1;
  128. var today = getCurrentDate();
  129. var additemlist = addlen[i].split("▦");
  130. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectfromdd", today);
  131. model.setValue("/root/main/sectlist["+grd_sect.row+"]/secttodd", "99991231");
  132. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectcd", additemlist[0]);
  133. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectnm", additemlist[1]);
  134. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectscrnnm", additemlist[2]);
  135. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectabbrnm", additemlist[3]);
  136. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectprntnm", additemlist[4]);
  137. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectlblnm", additemlist[5]);
  138. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectdispseq", (parseInt(model.getValue("/root/main/sectlist["+(grd_sect.row-1)+"]/sectdispseq"))+1));
  139. model.setValue("/root/hidden/sectseq", model.getValue("/root/main/sectlist["+grd_sect.row+"]/sectdispseq"));
  140. }
  141. /*
  142. grd_sect.addRow(false);
  143. grd_sect.rowStatus(0) = 1;
  144. var today = getCurrentDate();
  145. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectfromdd", today);
  146. model.setValue("/root/main/sectlist["+grd_sect.row+"]/secttodd", "99991231");
  147. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectabbrnm", "-");
  148. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectprntnm", "-");
  149. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectlblnm", "-");
  150. model.setValue("/root/main/sectlist["+grd_sect.row+"]/sectdispseq", (parseInt(model.getValue("/root/main/sectlist["+(grd_sect.row-1)+"]/sectdispseq"))+1));
  151. model.setValue("/root/hidden/sectseq", model.getValue("/root/main/sectlist["+grd_sect.row+"]/sectdispseq"));
  152. */
  153. model.removeNodeset("/root/main/tsectlist");
  154. grd_tsect.refresh();
  155. }
  156. // 시행부서 상세코드목록 행추가
  157. function fSetTsectRowAdd(){
  158. modal("SPLLF10200","","","","","/root/main/sectlist["+grd_sect.row+"]","/root/temp/sectinfo");
  159. var addstring = model.getValue("/root/temp/addlist/addstring");
  160. var addlen = addstring.split("▩");
  161. for(i = 0 ; i < addlen.length-1 ; i ++){
  162. grd_tsect.addRow(false);
  163. grd_tsect.rowStatus(0) = 1;
  164. var today = getCurrentDate();
  165. var additemlist = addlen[i].split("▦");
  166. var Row = grd_tsect.row-1;
  167. model.setValue("/root/main/tsectlist["+Row+"]/tsectfromdd", today);
  168. model.setValue("/root/main/tsectlist["+Row+"]/tsecttodd", "99991231");
  169. model.setValue("/root/main/tsectlist["+Row+"]/tsectcd", additemlist[0]);
  170. model.setValue("/root/main/tsectlist["+Row+"]/tsectnm", additemlist[1]);
  171. model.setValue("/root/main/tsectlist["+Row+"]/tsectscrnnm", additemlist[2]);
  172. model.setValue("/root/main/tsectlist["+Row+"]/tsectabbrnm", additemlist[3]);
  173. model.setValue("/root/main/tsectlist["+Row+"]/tsectprntnm", additemlist[4]);
  174. model.setValue("/root/main/tsectlist["+Row+"]/tsectlblnm", additemlist[5]);
  175. if(grd_tsect.row <3){
  176. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/sectdispseq", model.getValue("/root/hidden/sectseq"));
  177. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectdispseq", "1");
  178. }else{
  179. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/sectdispseq", model.getValue("/root/main/tsectlist["+(grd_tsect.row-2)+"]/sectdispseq"));
  180. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectdispseq", (parseInt(model.getValue("/root/main/tsectlist["+(grd_tsect.row-2)+"]/tsectdispseq"))+1));
  181. }
  182. }
  183. /*
  184. grd_tsect.addRow();
  185. var today = getCurrentDate();
  186. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectfromdd", today);
  187. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsecttodd", "99991231");
  188. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectabbrnm", "-");
  189. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectprntnm", "-");
  190. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectlblnm", "-");
  191. if(grd_tsect.row <3){
  192. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/sectdispseq", model.getValue("/root/hidden/sectseq"));
  193. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectdispseq", "1");
  194. }else{
  195. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/sectdispseq", model.getValue("/root/main/tsectlist["+(grd_tsect.row-2)+"]/sectdispseq"));
  196. model.setValue("/root/main/tsectlist["+(grd_tsect.row-1)+"]/tsectdispseq", (parseInt(model.getValue("/root/main/tsectlist["+(grd_tsect.row-2)+"]/tsectdispseq"))+1));
  197. }
  198. */
  199. }
  200. // 상세 행추가시 계 널값 체크
  201. function fGetSectNull(){
  202. var msg = "";
  203. var nullyn = "true";
  204. var sectRow = grd_sect.row;
  205. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectdispseq")==""){
  206. msg = "[계표시순서] 는 " ;
  207. nullyn = "false";
  208. }
  209. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectlblnm")==""){
  210. msg = "[계라벨명] 은 " ;
  211. nullyn = "false";
  212. }
  213. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectprntnm")==""){
  214. msg = "[계출력명] 은 " ;
  215. nullyn = "false";
  216. }
  217. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectabbrnm")==""){
  218. msg = "[계약어명] 은 " ;
  219. nullyn = "false";
  220. }
  221. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectscrnnm")==""){
  222. msg = "[계화면명] 은 " ;
  223. nullyn = "false";
  224. }
  225. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectnm")==""){
  226. msg = "[계명] 은 " ;
  227. nullyn = "false";
  228. }
  229. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectcd")==""){
  230. msg = "[계코드] 는 " ;
  231. nullyn = "false";
  232. }
  233. if(model.getValue("/root/main/sectlist["+sectRow+"]/secttodd")==""){
  234. msg = "[사용종료일] 은 " ;
  235. nullyn = "false";
  236. }
  237. if(model.getValue("/root/main/sectlist["+sectRow+"]/sectfromdd")==""){
  238. msg = "[사용시작일] 은 " ;
  239. nullyn = "false";
  240. }
  241. if(nullyn == "false"){
  242. messageBox(msg, "I003", "");
  243. }
  244. return nullyn;
  245. }
  246. // 초기화 버튼
  247. function fSetInit() {
  248. //model.reset();
  249. model.removeNodeset("/root/main/sectlist");
  250. model.removeNodeset("/root/main/tsectlist");
  251. model.refresh();
  252. }
  253. // 계리스트 조회
  254. function fGetSectTsect(){
  255. grd_sect.rebuildstyle();
  256. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  257. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  258. submit("TRLLF00101"); // 계 리스트 조회
  259. var gbn = model.getValue("/root/hidden/ref/refgbn");
  260. var today = getCurrentDate();
  261. // 전체조회일때 종료된 데이터 배경색 바꾸기
  262. if(gbn=="2"){
  263. setRowStyle("grd_sect", "0", today, "secttodd", "small");
  264. }
  265. // 계리스트 존재시 검사계 자동조회
  266. if(grd_sect.rows > 0){
  267. grd_sect.row = 1;
  268. fGetTsect(1);
  269. }
  270. }
  271. // 검사계 리스트 조회
  272. function fGetTsect(sectRow){
  273. grd_tsect.allStyle("all", "background-color") = "#FFFFFF";
  274. var cdd = model.getValue("/root/main/sectlist["+sectRow+"]/sectcd");
  275. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  276. model.setValue("/root/send/sectcd", cdd);
  277. submit("TRLLF00102");
  278. setRowStyle("grd_tsect", "0", getCurrentDate(), "tsecttodd", "small");
  279. }
  280. // 저장버튼 클릭시
  281. function fExeSectTsect(){
  282. //var sectdata = grd_sect.getUpdateData();
  283. var sectdata = getGridUpdateData(grd_sect);
  284. var row = grd_sect.row;
  285. var today = getCurrentDate();
  286. var tsectRow = grd_tsect.rows;
  287. var sectcd = model.getValue("/root/main/sectlist["+grd_sect.row+"]/sectcd");
  288. if(tsectRow <3){
  289. //alert("시행부서 상세 코드 정보를 입력하십시오.");
  290. messageBox("시행부서 상세 코드 정보를 ", "C001");
  291. return;
  292. }
  293. //계 정보 등록
  294. model.setValue("/root/send/sectdata", sectdata);
  295. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  296. submit("TXLLF00101");
  297. // 검사계 정보 등록
  298. //var tsectdata = grd_tsect.getUpdateData();
  299. var tsectdata = getGridUpdateData(grd_tsect);
  300. model.setValue("/root/send/sectcd", sectcd);
  301. model.setValue("/root/send/tsectdata", tsectdata);
  302. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  303. submit("TXLLF00102");
  304. var gbn = model.getValue("/root/hidden/ref/refgbn");
  305. // 전체조회일때 종료된 데이터 배경색 바꾸기
  306. /*
  307. if(gbn=="2"){
  308. // 계
  309. for(i=1; i<=grd_sect.rows; i++){
  310. grd_sect.rowStyle(i, "data", "background-color") = "#FFFFFF";
  311. if(model.getValue("/root/main/sectlist["+i+"]/secttodd") < today){
  312. grd_sect.rowStyle(i, "data", "background-color") = "#f3e1bf";
  313. //setRowStyle(grd_tube , "background-color" , "1" , i ); -- common js
  314. }
  315. }
  316. // 계검사계
  317. for(j=1; j<= grd_tsect.rows; j++){
  318. grd_tsect.rowStyle(i, "data", "background-color") = "#FFFFFF";
  319. if(model.getValue("/root/main/tsectlist["+j+"]/tsecttodd") < today){
  320. grd_tsect.rowStyle(j, "data", "background-color") = "#f3e1bf";
  321. }
  322. }
  323. }*/
  324. }
  325. // Null 체크
  326. function fNullCheck(){
  327. var msg = "";
  328. var nullyn = "true";
  329. if(grd_tsect.rows <3){
  330. //alert("시행부서 상세 코드 정보를 입력하십시오.");
  331. messageBox("시행부서 상세 코드 정보를 ", "C001");
  332. return;
  333. }
  334. for(i=1; i<grd_tsect.rows; i++ ){
  335. //if(grd_tsect.rowStatus(i) == 3 || grd_tsect.rowStatus(i) == 1){
  336. if(model.getValue("/root/main/tsectlist["+i+"]/tsectdispseq")==""){
  337. msg = "[검사계표시순서] 는 " ;
  338. nullyn = "false";
  339. }
  340. if(model.getValue("/root/main/tsectlist["+i+"]/sectdispseq")==""){
  341. msg = "[계표시순서] 는 " ;
  342. nullyn = "false";
  343. }
  344. if(model.getValue("/root/main/tsectlist["+i+"]/tsectlblnm")==""){
  345. msg = "[검사계라벨명] 은 " ;
  346. nullyn = "false";
  347. }
  348. if(model.getValue("/root/main/tsectlist["+i+"]/tsectprntnm")==""){
  349. msg = "[검사계출력명] 은 " ;
  350. nullyn = "false";
  351. }
  352. if(model.getValue("/root/main/tsectlist["+i+"]/tsectabbrnm")==""){
  353. msg = "[검사계약어명] 은 " ;
  354. nullyn = "false";
  355. }
  356. if(model.getValue("/root/main/tsectlist["+i+"]/tsectscrnnm")==""){
  357. msg = "[검사계화면명] 은 " ;
  358. nullyn = "false";
  359. }
  360. if(model.getValue("/root/main/tsectlist["+i+"]/tsectnm")==""){
  361. msg = "[검사계명] 은 " ;
  362. nullyn = "false";
  363. }
  364. if(model.getValue("/root/main/tsectlist["+i+"]/tsectcd")==""){
  365. msg = "[검사계코드] 는 " ;
  366. nullyn = "false";
  367. }
  368. if(model.getValue("/root/main/tsectlist["+i+"]/tsecttodd")==""){
  369. msg = "[사용종료일] 은 " ;
  370. nullyn = "false";
  371. }
  372. if(model.getValue("/root/main/tsectlist["+i+"]/tsectfromdd")==""){
  373. msg = "[사용시작일] 은 " ;
  374. nullyn = "false";
  375. }
  376. //}
  377. if(nullyn == "false"){
  378. messageBox(msg, "I003", "");
  379. }
  380. return nullyn;
  381. }
  382. }
  383. ]]>
  384. </script>
  385. </xhtml:head>
  386. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  387. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  388. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">검사시행부서코드관리</caption>
  389. </group>
  390. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  391. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  392. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0; width:1195px; height:35px; "/>
  393. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90; height:17px; ">조회구분 :</caption>
  394. <line id="line11" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  395. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:57px; height:22px; ">
  396. <caption>조회</caption>
  397. <script ev:event="DOMActivate" type="javascript">
  398. <![CDATA[
  399. // 계코드 조회
  400. fGetSectTsect();
  401. ]]>
  402. </script>
  403. </button>
  404. <select1 id="cmb_refgbn" ref="/root/hidden/ref/refgbn" class="combo_s_essential" appearance="minimal" style="left:108px; top:8px; width:150px; height:19px; ">
  405. <choices>
  406. <item>
  407. <label>사용코드</label>
  408. <value>1</value>
  409. </item>
  410. <item>
  411. <label>전체코드</label>
  412. <value>2</value>
  413. </item>
  414. </choices>
  415. <script ev:event="xforms-select" type="javascript">
  416. <![CDATA[
  417. fSetHddentodd();
  418. ]]>
  419. </script>
  420. </select1>
  421. </group>
  422. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">시행부서코드목록</caption>
  423. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:495px; y2:70px; "/>
  424. <line id="line1" class="line_1" style="x1:500px; y1:70px; x2:1194px; y2:70px; "/>
  425. <caption id="caption3" class="tit_2" style="left:505px; top:55px; width:147px; height:14px; ">시행부서상세코드목록</caption>
  426. <datagrid id="grd_sect" nodeset="/root/main/sectlist" caption="사용시작일^사용종료일^계코드^계명^계명(화면)^계명(약어)^계명(출력)^계명(라벨)^표시순서" colwidth="85, 85, 50, 70, 90, 80, 80, 80, 60" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:0px; top:75px; width:495px; height:669px; ">
  427. <col ref="sectfromdd" type="inputdate"/>
  428. <col ref="secttodd" type="inputdate"/>
  429. <col ref="sectcd" type="input"/>
  430. <col ref="sectnm" type="input"/>
  431. <col ref="sectscrnnm" type="input"/>
  432. <col ref="sectabbrnm" type="input"/>
  433. <col ref="sectprntnm" type="input"/>
  434. <col ref="sectlblnm" type="input"/>
  435. <col ref="sectdispseq" type="input"/>
  436. <script ev:event="onclick" type="javascript">
  437. <![CDATA[
  438. // 검사계코드 리스트 조회
  439. fGetTsect(grd_sect.row);
  440. ]]>
  441. </script>
  442. <script ev:event="onaftersort" type="javascript">
  443. <![CDATA[
  444. grd_sect.gridToInstance();
  445. ]]>
  446. </script>
  447. </datagrid>
  448. <datagrid id="grd_tsect" nodeset="/root/main/tsectlist" caption="사용시작일^사용종료일^검사계코드^검사계코드^검사계명^검사계명(화면)^검사계명(약어)^검사계명(출력)^검사계명(라벨)^계표시순서^검사계표시순서|사용시작일^사용종료일^계^검사계^검사계명^검사계명(화면)^검사계명(약어)^검사계명(출력)^검사계명(라벨)^계표시순서^검사계표시순서" colwidth="85, 85, 33, 38, 60, 90, 90, 90, 90, 60, 60" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:500px; top:75px; width:695px; height:669px; ">
  449. <col ref="tsectfromdd" type="inputdate"/>
  450. <col ref="tsecttodd" type="inputdate"/>
  451. <col ref="sectcd"/>
  452. <col ref="tsectcd" type="input"/>
  453. <col ref="tsectnm" type="input"/>
  454. <col ref="tsectscrnnm" type="input"/>
  455. <col ref="tsectabbrnm" type="input"/>
  456. <col ref="tsectprntnm" type="input"/>
  457. <col ref="tsectlblnm" type="input"/>
  458. <col ref="sectdispseq" type="input"/>
  459. <col ref="tsectdispseq" type="input"/>
  460. <script ev:event="onaftersort" type="javascript">
  461. <![CDATA[
  462. grd_tsect.gridToInstance();
  463. ]]>
  464. </script>
  465. </datagrid>
  466. <button id="btn_addnew1" class="btn2_letter3" style="left:442px; top:49px; width:53px; height:19px; ">
  467. <caption>행추가</caption>
  468. <script ev:event="DOMActivate" type="javascript">
  469. <![CDATA[
  470. fSetSectRowAdd();
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="btn_addnew2" class="btn2_letter3" style="left:1142px; top:49px; width:53px; height:19px; ">
  475. <caption>행추가</caption>
  476. <script ev:event="DOMActivate" type="javascript">
  477. <![CDATA[
  478. if(fGetSectNull()=="true"){
  479. fSetTsectRowAdd();
  480. }
  481. ]]>
  482. </script>
  483. </button>
  484. </group>
  485. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  486. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  487. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  488. <caption>초기화</caption>
  489. <script ev:event="DOMActivate" type="javascript">
  490. <![CDATA[
  491. fSetInit();
  492. ]]>
  493. </script>
  494. </button>
  495. <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  496. <caption>저장</caption>
  497. <script ev:event="DOMActivate" type="javascript">
  498. <![CDATA[
  499. if(fNullCheck()=="true"){
  500. fExeSectTsect();
  501. }
  502. ]]>
  503. </script>
  504. </button>
  505. </group>
  506. </xhtml:body>
  507. </xhtml:html>