SMRPB01702_인사코드조건항목HELP.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>조건항목</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <comcd>
  11. <comcodelist/>
  12. </comcd>
  13. <deptcodelist>
  14. <deptcd/>
  15. <depthngnm/>
  16. </deptcodelist>
  17. <payitem>
  18. <payitemlist/>
  19. </payitem>
  20. </main>
  21. <target/>
  22. <init>
  23. <operator>
  24. <code>=</code>
  25. <cdnm>=</cdnm>
  26. </operator>
  27. <conector>
  28. <code>AND</code>
  29. <cdnm>AND</cdnm>
  30. <code>OR</code>
  31. <cdnm>OR</cdnm>
  32. </conector>
  33. <cond1>
  34. <code>Y</code>
  35. <cdnm>조건값1</cdnm>
  36. </cond1>
  37. <cond2>
  38. <code>Y</code>
  39. <cdnm>조건값2</cdnm>
  40. </cond2>
  41. <condvalu1/>
  42. <condvalu2/>
  43. </init>
  44. <send>
  45. <captitle/>
  46. <operator/>
  47. <conector/>
  48. <condvalu1/>
  49. <condvalu2/>
  50. <condvalu1nm/>
  51. <condvalu2nm/>
  52. <code/>
  53. <cdnm/>
  54. <cond1/>
  55. <cond2/>
  56. <comcdref>
  57. <cdgrupid/>
  58. <cdid/>
  59. <cdnm/>
  60. <refcond/>
  61. </comcdref>
  62. <deptref>
  63. <refcond/>
  64. <deptnm/>
  65. <deptcd/>
  66. <instcd/>
  67. <all>Y</all>
  68. </deptref>
  69. <payitem>
  70. <saldfrayflag/>
  71. <paydeduflag/>
  72. <getcond/>
  73. </payitem>
  74. </send>
  75. </root>
  76. </instance>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. fSettingControl();
  80. ]]>
  81. </script>
  82. <submission id="TRRPZ00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/comcdref" resultref="/root/main/comcd"/>
  83. <submission id="TRRPZ00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptref" resultref="/root/main"/>
  84. <submission id="TRRWZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  91. <script type="javascript">
  92. <![CDATA[
  93. function fSettingControl()
  94. {
  95. var itemkind = model.getValue("/root/target/defaultvalue/itemkind");
  96. var operator = model.getValue("/root/target/defaultvalue/operator");
  97. var conector = model.getValue("/root/target/defaultvalue/conector");
  98. var condvalu1 = model.getValue("/root/target/defaultvalue/condvalu1");
  99. var condvalu2 = model.getValue("/root/target/defaultvalue/condvalu2");
  100. var condvalu1nm = model.getValue("/root/target/defaultvalue/condvalu1nm");
  101. var condvalu2nm = model.getValue("/root/target/defaultvalue/condvalu2nm");
  102. var itemnm = model.getValue("/root/target/defaultvalue/itemnm");
  103. var cdtblnm = model.getValue("/root/target/defaultvalue/cdtblnm");
  104. var colnm= model.getValue("/root/target/defaultvalue/colnm");
  105. var codeflag = model.getValue("/root/target/defaultvalue/codeflag");
  106. addGridComboItemAll("cmb_operator","<>","<>","above");
  107. addGridComboItemAll("cmb_operator",">",">","above");
  108. addGridComboItemAll("cmb_operator",">=",">=","above");
  109. addGridComboItemAll("cmb_operator","<","<","above");
  110. addGridComboItemAll("cmb_operator","<=","<=","above");
  111. addGridComboItemAll("cmb_operator","BETWEEN","BETWEEN","above");
  112. addGridComboItemAll("cmb_operator","IN","IN","above");
  113. addGridComboItemAll("cmb_operator","NOT IN","NOT IN","above");
  114. if (operator == null || operator == "") {
  115. model.setValue(cmb_operator.attribute("ref"),"=");
  116. }
  117. else {
  118. model.setValue(cmb_operator.attribute("ref"),operator);
  119. }
  120. model.setValue(ipt_condvalu1.attribute("ref"),condvalu1);
  121. model.setValue(ipt_condvalu2.attribute("ref"),condvalu2);
  122. model.setValue(opt_condvalu1nm.attribute("ref"),condvalu1nm);
  123. model.setValue(opt_condvalu2nm.attribute("ref"),condvalu2nm);
  124. if(conector.length == 0){
  125. model.setValue(cmb_conector.attribute("ref"),"AND");
  126. }
  127. else{
  128. model.setValue(cmb_conector.attribute("ref"),conector);
  129. }
  130. rbo_cond2.disabled = true;
  131. ipt_condvalu2.disabled = true;
  132. model.setValue(opt_title.attribute("ref"),itemnm);
  133. misfGridInit(grd_code);
  134. misfGridInit(grd_dept);
  135. if(cdtblnm == "ZBCMCODE"){
  136. grd_dept.attribute("visibility") = "hidden";
  137. grd_pay.attribute("visibility") = "hidden";
  138. grd_code.attribute("visibility") = "visible";
  139. model.setValue("/root/send/comcdref/cdgrupid",codeflag);
  140. }
  141. else if(cdtblnm == "ZSDDDEPT"){
  142. grd_code.attribute("visibility") = "hidden";
  143. grd_pay.attribute("visibility") = "hidden";
  144. grd_dept.attribute("visibility") = "visible";
  145. }
  146. else if(cdtblnm == "RWCMPYTL"){
  147. grd_code.attribute("visibility") = "hidden";
  148. grd_dept.attribute("visibility") = "hidden";
  149. grd_pay.attribute("visibility") = "visible";
  150. }
  151. else{
  152. grd_dept.attribute("visibility") = "hidden";
  153. grd_code.attribute("visibility") = "visible";
  154. if(colnm == "MARYYN"){
  155. misfGridIUD(grd_code, "A");
  156. misfGridIUD(grd_code, "A");
  157. model.setValue(grd_code.attribute("nodeset")+"["+(1)+"]/cdid", "N");
  158. model.setValue(grd_code.attribute("nodeset")+"["+(1)+"]/cdnm", "미혼");
  159. model.setValue(grd_code.attribute("nodeset")+"["+(2)+"]/cdid", "Y");
  160. model.setValue(grd_code.attribute("nodeset")+"["+(2)+"]/cdnm", "결혼");
  161. }
  162. else{
  163. misfGridIUD(grd_code, "A");
  164. misfGridIUD(grd_code, "A");
  165. model.setValue(grd_code.attribute("nodeset")+"["+(1)+"]/cdid", "N");
  166. model.setValue(grd_code.attribute("nodeset")+"["+(1)+"]/cdnm", "해당없음");
  167. model.setValue(grd_code.attribute("nodeset")+"["+(2)+"]/cdid", "Y");
  168. model.setValue(grd_code.attribute("nodeset")+"["+(2)+"]/cdnm", "해당");
  169. }
  170. }
  171. grd_code.caption = itemnm + "코드^" + itemnm + "명";
  172. grd_dept.caption = "기관명^" + itemnm + "코드^" + itemnm + "명";
  173. model.setValue(rbo_cond1.attribute("ref"),"Y");
  174. model.refresh();
  175. }
  176. function fChkReturn(){
  177. var operator = model.getValue(cmb_operator.attribute("ref"));
  178. var condvalu1 = model.getValue(ipt_condvalu1.attribute("ref"));
  179. var condvalu2 = model.getValue(ipt_condvalu2.attribute("ref"));
  180. var itemkind = model.getValue("/root/target/defaultvalue/itemkind");
  181. condvalu1 = condvalu1.setReplaceWord("'","");
  182. condvalu2 = condvalu2.setReplaceWord("'","");
  183. if(operator.length == 0){
  184. messageBox("연산자는","I003");
  185. model.setFocus("cmb_operator");
  186. return false;
  187. }
  188. if(condvalu1.length == 0){
  189. messageBox("조건값1은","I003");
  190. model.setFocus("ipt_condvalu1");
  191. return false;
  192. }
  193. if((operator == "BETWEEN") && (condvalu2.length == 0)){
  194. messageBox("조건값2는","I003");
  195. model.setFocus("ipt_condvalu2");
  196. return false;
  197. }
  198. model.refresh();
  199. return true;
  200. }
  201. function fSettingCodeFindList(){
  202. misfGridInit(grd_code);
  203. misfGridInit(grd_dept);
  204. var itemkind = model.getValue("/root/target/defaultvalue/itemkind");
  205. if(itemkind == "CODE"){
  206. var cdtblnm = model.getValue("/root/target/defaultvalue/cdtblnm");
  207. if(cdtblnm == "ZBCMCODE"){
  208. if(model.getValue(ipt_cdnm.attribute("ref")).length>0){
  209. model.setValue("/root/send/comcdref/cdnm",model.getValue(ipt_cdnm.attribute("ref")));
  210. model.setValue("/root/send/comcdref/refcond","cdnm");
  211. }
  212. else{
  213. model.setValue("/root/send/comcdref/cdid", model.getValue(ipt_code.attribute("ref")));
  214. model.setValue("/root/send/comcdref/refcond","cdid");
  215. }
  216. submit("TRRPZ00301");
  217. }
  218. else if(cdtblnm == "ZSDDDEPT"){
  219. if(model.getValue(ipt_cdnm.attribute("ref")).length>0){
  220. model.setValue("/root/send/deptref/deptnm",model.getValue(ipt_cdnm.attribute("ref")));
  221. model.setValue("/root/send/deptref/refcond","deptnm");
  222. }
  223. else{
  224. model.setValue("/root/send/deptref/deptcd", model.getValue(ipt_code.attribute("ref")));
  225. model.setValue("/root/send/deptref/refcond","deptcd");
  226. }
  227. submit("TRRPZ00201");
  228. }
  229. else if(cdtblnm == "RWCMPYTL"){
  230. submit("TRRWZ00101");
  231. }
  232. }
  233. }
  234. function fSelectDataGrid(){
  235. var itemkind = model.getValue("/root/target/defaultvalue/itemkind");
  236. var condvalu1 = model.getValue(ipt_condvalu1.attribute("ref"))
  237. var condvalu2 = model.getValue(ipt_condvalu2.attribute("ref"))
  238. var condvalu1nm = model.getValue(opt_condvalu1nm.attribute("ref"))
  239. var condvalu2nm = model.getValue(opt_condvalu2nm.attribute("ref"))
  240. var itemnm = model.getValue("/root/target/defaultvalue/itemnm");
  241. var cdtblnm = model.getValue("/root/target/defaultvalue/cdtblnm");
  242. var colnm= model.getValue("/root/target/defaultvalue/colnm");
  243. var operator= model.getValue(cmb_operator.attribute("ref"))
  244. var condflag1 = model.getValue(rbo_cond1.attribute("ref"));
  245. var condflag2 = model.getValue(rbo_cond2.attribute("ref"));
  246. if(operator.length == 0){
  247. messageBox("연산자는","I003");
  248. model.setFocus("cmb_operator");
  249. return false;
  250. }
  251. if(itemkind == "CODE" && cdtblnm == "ZSDDDEPT"){
  252. data = model.getValue(grd_dept.attribute("nodeset")+"["+(grd_dept.row - grd_dept.fixedRows + 1)+"]/deptcd");
  253. datanm = model.getValue(grd_dept.attribute("nodeset")+"["+(grd_dept.row - grd_dept.fixedRows + 1)+"]/depthngnm");
  254. }
  255. else if(itemkind == "CODE" && cdtblnm == "RWCMPYTL"){
  256. data = model.getValue(grd_pay.attribute("nodeset")+"["+(grd_pay.row - grd_pay.fixedRows + 1)+"]/payitemcd");
  257. datanm = model.getValue(grd_pay.attribute("nodeset")+"["+(grd_pay.row - grd_pay.fixedRows + 1)+"]/prntnm");
  258. }
  259. else{
  260. data = model.getValue(grd_code.attribute("nodeset")+"["+(grd_code.row - grd_code.fixedRows + 1)+"]/cdid");
  261. datanm = model.getValue(grd_code.attribute("nodeset")+"["+(grd_code.row - grd_code.fixedRows + 1)+"]/cdnm");
  262. }
  263. if(condflag1 == "Y"){
  264. fSettingResultData(operator,ipt_condvalu1,opt_condvalu1nm,data,datanm);
  265. }
  266. else{
  267. fSettingResultData(operator,ipt_condvalu2,opt_condvalu2nm,data,datanm);
  268. }
  269. model.refresh();
  270. }
  271. function fSettingResultData(operator,pcondvalu,pcondvalunm,data,datanm){
  272. if(operator == "IN" || operator == "NOT IN"){
  273. var valu = model.getValue(pcondvalu.attribute("ref"));
  274. var valunm = model.getValue(pcondvalunm.attribute("ref"));
  275. if(valu.length==0)
  276. {
  277. model.setValue(pcondvalu.attribute("ref"), "'" + data +"'");
  278. model.setValue(pcondvalunm.attribute("ref"),"'" + datanm +"'");
  279. }
  280. else{
  281. model.setValue(pcondvalu.attribute("ref"), valu + ",'" + data +"'");
  282. model.setValue(pcondvalunm.attribute("ref"), valunm + ",'" + datanm +"'");
  283. }
  284. }
  285. else{
  286. model.setValue(pcondvalu.attribute("ref"), "'" + data+ "'");
  287. model.setValue(pcondvalunm.attribute("ref"), "'" + datanm+ "'");
  288. }
  289. }
  290. ]]>
  291. </script>
  292. </xhtml:head>
  293. <xhtml:body pagewidth="450" pageheight="560" guideline="1,155;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  294. <group id="group3" scroll="auto" style="left:10px; top:0px; width:385px; height:110px; ">
  295. <line id="line30" class="line_2" style="x1:4px; y1:55px; x2:385px; y2:55px; "/>
  296. <caption id="caption50" class="cell_1" style="left:3px; top:31px; width:56px; height:23px; vertical-align:middle; ">연산자</caption>
  297. <caption id="caption52" class="cell_1" style="left:3px; top:56px; width:56px; height:23px; vertical-align:middle; ">조건값1</caption>
  298. <select1 id="cmb_operator" ref="/root/send/operator" appearance="minimal" style="left:60px; top:33px; width:132px; height:19px; ">
  299. <choices>
  300. <itemset nodeset="/root/init/operator">
  301. <label ref="code"/>
  302. <value ref="cdnm"/>
  303. </itemset>
  304. </choices>
  305. <script type="javascript" ev:event="xforms-value-changed">
  306. <![CDATA[
  307. var operation = model.getValue(cmb_operator.attribute("ref"));
  308. if(operation == "BETWEEN"){
  309. rbo_cond2.disabled = false;
  310. }
  311. else{
  312. rbo_cond2.disabled = true;
  313. model.setValue(rbo_cond1.attribute("ref"),"Y");
  314. model.setValue(rbo_cond2.attribute("ref"),"");
  315. model.setValue(opt_condvalu2nm.attribute("ref"),"");
  316. model.setValue(ipt_condvalu2.attribute("ref"),"");
  317. rbo_cond1.refresh();
  318. rbo_cond2.refresh();
  319. opt_condvalu2nm.refresh();
  320. ipt_condvalu2.refresh();
  321. }
  322. ]]>
  323. </script>
  324. </select1>
  325. <caption id="caption1" class="cell_1" style="left:195px; top:30px; width:56px; height:23px; vertical-align:middle; ">연결자</caption>
  326. <select1 id="cmb_conector" ref="/root/send/conector" appearance="minimal" style="left:252px; top:33px; width:132px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/init/conector">
  329. <label ref="cdnm"/>
  330. <value ref="code"/>
  331. </itemset>
  332. </choices>
  333. </select1>
  334. <input id="ipt_condvalu1" ref="/root/send/condvalu1" visibility="hidden" style="left:300px; top:60px; width:70px; height:19px; "/>
  335. <caption id="caption2" class="cell_1" style="left:3px; top:81px; width:56px; height:23px; vertical-align:middle; ">조건값2</caption>
  336. <input id="ipt_condvalu2" ref="/root/send/condvalu2" visibility="hidden" style="left:305px; top:85px; width:60px; height:19px; "/>
  337. <line id="line1" class="line_2" style="x1:4px; y1:80px; x2:385px; y2:80px; "/>
  338. <line id="line2" class="line_2" style="x1:3px; y1:104px; x2:384px; y2:104px; "/>
  339. <line id="line3" class="line_1" style="x1:3px; y1:25px; x2:385px; y2:25px; "/>
  340. <caption id="cap_title" class="tit_2" style="left:2px; top:10px; width:15px; height:13px; vertical-align:middle; "/>
  341. <output id="opt_title" ref="/root/send/captitle" style="left:12px; top:5px; width:360px; height:19px; font-weight:bold; "/>
  342. <output id="opt_condvalu1nm" ref="/root/send/condvalu1nm" style="left:60px; top:57px; width:324px; height:19px; "/>
  343. <output id="opt_condvalu2nm" ref="/root/send/condvalu2nm" style="left:60px; top:84px; width:324px; height:19px; "/>
  344. </group>
  345. <group id="group1" scroll="auto" style="left:9px; top:525px; width:386px; height:27px; ">
  346. <button id="btn_confirm" class="btn4_letter2" style="left:267px; top:2px; width:56px; height:22px; ">
  347. <caption>확인</caption>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. if(!fChkReturn())return;
  351. var rtnvalue = "operator▦conector▦condvalu1▦condvalu1nm▦condvalu2▦condvalu2nm▩" + cmb_operator.value + "▦" + cmb_conector.value + "▦" +ipt_condvalu1.value+ "▦" + opt_condvalu1nm.value + "▦" + ipt_condvalu2.value + "▦" + opt_condvalu2nm.value +"▩";
  352. if ( checkOpener() ) {
  353. opener.javascript.setParameter("SMRPB01702_", rtnvalue);
  354. } else {
  355. var rtn = messageBox("상위화면을 찾을 수", "E001");
  356. }
  357. window.close();
  358. ]]>
  359. </script>
  360. </button>
  361. <button id="btn_cancel" class="btn4_letter2" style="left:324px; top:2px; width:56px; height:22px; ">
  362. <caption>취소</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. window.close();
  366. ]]>
  367. </script>
  368. </button>
  369. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:384; y2:0px; "/>
  370. </group>
  371. <group id="group2" style="left:10px; top:115px; width:385px; height:410px; ">
  372. <caption id="caption3" class="tit_2" style="left:2px; top:4px; width:144px; height:14px; vertical-align:middle; ">코드검색조건</caption>
  373. <caption id="caption4" class="cell_1" style="left:3px; top:20px; width:56px; height:23px; vertical-align:middle; ">코드명</caption>
  374. <input id="ipt_cdnm" ref="/root/send/cdnm" style="left:60px; top:22px; width:190px; height:19px; ">
  375. <script type="javascript" ev:event="onkeyup">
  376. <![CDATA[
  377. inputEnterKey("btn_search", "DOMActivate");
  378. ]]>
  379. </script>
  380. </input>
  381. <caption id="caption5" class="cell_1" style="left:3px; top:45px; width:56px; height:23px; vertical-align:middle; ">코 드</caption>
  382. <input id="ipt_code" ref="/root/send/code" style="left:60px; top:47px; width:190px; height:19px; ">
  383. <script type="javascript" ev:event="onkeyup">
  384. <![CDATA[
  385. inputEnterKey("btn_search", "DOMActivate");
  386. ]]>
  387. </script>
  388. </input>
  389. <select1 id="rbo_cond1" ref="/root/send/cond1" appearance="full" cols="1" overflow="visible" style="left:255px; top:23px; width:71px; height:19px; border-style:none; ">
  390. <choices>
  391. <itemset nodeset="/root/init/cond1">
  392. <label ref="cdnm"/>
  393. <value ref="code"/>
  394. </itemset>
  395. </choices>
  396. <script type="javascript" ev:event="xforms-value-changed">
  397. <![CDATA[
  398. model.setValue(rbo_cond2.attribute("ref"),"");
  399. rbo_cond2.refresh();
  400. ]]>
  401. </script>
  402. </select1>
  403. <button id="btn_search" class="btn2_letter2" style="left:334px; top:24px; width:42px; height:19px; ">
  404. <caption>검색</caption>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. fSettingCodeFindList();
  408. ]]>
  409. </script>
  410. </button>
  411. <button id="btn_aprv" class="btn2_letter2" style="left:334px; top:44px; width:42px; height:19px; ">
  412. <caption>확인</caption>
  413. <script type="javascript" ev:event="DOMActivate">
  414. <![CDATA[
  415. fSelectDataGrid();
  416. ]]>
  417. </script>
  418. </button>
  419. <datagrid id="grd_code" nodeset="/root/main/comcd/comcodelist" caption="코드^코드명" colsep="^" colwidth="100, 262" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:69px; width:382px; height:339px; ">
  420. <col ref="cdid"/>
  421. <col ref="cdnm"/>
  422. <script type="javascript" ev:event="ondblclick">
  423. <![CDATA[
  424. btn_aprv.dispatch("DOMActivate");
  425. ]]>
  426. </script>
  427. </datagrid>
  428. <datagrid id="grd_dept" nodeset="/root/main/deptcodelist" caption="기관명^코드^코드명" colsep="^" colwidth="100,100, 162" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:69px; width:382px; height:339px; ">
  429. <col ref="instnm"/>
  430. <col ref="deptcd"/>
  431. <col ref="depthngnm"/>
  432. <script type="javascript" ev:event="ondblclick">
  433. <![CDATA[
  434. btn_aprv.dispatch("DOMActivate");
  435. ]]>
  436. </script>
  437. </datagrid>
  438. <select1 id="rbo_cond2" ref="/root/send/cond2" appearance="full" cols="1" overflow="visible" style="left:255px; top:48px; width:71px; height:19px; border-style:none; ">
  439. <choices>
  440. <itemset nodeset="/root/init/cond2">
  441. <label ref="cdnm"/>
  442. <value ref="code"/>
  443. </itemset>
  444. </choices>
  445. <script type="javascript" ev:event="xforms-value-changed">
  446. <![CDATA[
  447. model.setValue(rbo_cond1.attribute("ref"),"");
  448. rbo_cond1.refresh();
  449. ]]>
  450. </script>
  451. </select1>
  452. <datagrid id="grd_pay" nodeset="/root/main/payitem/payitemlist" caption="코드^코드명" colsep="^" colwidth="100, 262" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:69px; width:382px; height:339px; ">
  453. <col ref="payitemcd"/>
  454. <col ref="prntnm"/>
  455. <script type="javascript" ev:event="ondblclick">
  456. <![CDATA[
  457. btn_aprv.dispatch("DOMActivate");
  458. ]]>
  459. </script>
  460. </datagrid>
  461. </group>
  462. <line id="line4" class="line_1" style="x1:13px; y1:107px; x2:395px; y2:107px; "/>
  463. </xhtml:body>
  464. </xhtml:html>