SPABO61400_일치자수관리.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <matchinfo>
  11. <item>
  12. <updtseq/>
  13. <matchpsncnt1/>
  14. <lastupdtrid/>
  15. <lastupdtdt/>
  16. </item>
  17. </matchinfo>
  18. </main>
  19. <send>
  20. <req>
  21. <trnptsrchdata>
  22. <pid/>
  23. <trnptflag/>
  24. <boneassocd/>
  25. </trnptsrchdata>
  26. <matchdata/>
  27. </req>
  28. </send>
  29. <init>
  30. <cmbinfo>
  31. <boneassocd>
  32. <A0164>
  33. <cdid/>
  34. <cdnm/>
  35. </A0164>
  36. </boneassocd>
  37. </cmbinfo>
  38. </init>
  39. <hidden>
  40. </hidden>
  41. <temp>
  42. <ret/>
  43. <tempcodeinfo/>
  44. <tempcodeinfo2/>
  45. </temp>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  52. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  53. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. //zbcfGetCodeList( new Array("A0164"), new Array("/root/init/cmbinfo/boneassocd"));
  57. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  58. aboGetCodeList( new Array("A0164"), new Array("/root/init/cmbinfo/boneassocd"));
  59. if ( checkOpener() ) {
  60. model.setValue("/root/send/req/trnptsrchdata/boneassocd", opener.model.getValue("/root/temp/boneassocd"));
  61. model.setValue("/root/send/req/trnptsrchdata/pid" , opener.model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  62. model.setValue("/root/send/req/trnptsrchdata/trnptflag" , opener.model.getValue("/root/send/req/trnptsrchdata/trnptflag"));
  63. model.refresh();
  64. } else {
  65. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  66. }
  67. submit("TRABO61401");
  68. btn_save.disabled = !checkAuth("X");
  69. model.refresh();
  70. ]]>
  71. </script>
  72. <submission id="TRABO61401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/matchinfo"/>
  73. <submission id="TXABO61401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/temp/ret"/>
  74. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  75. <script type="javascript" ev:event="xforms-refresh">
  76. <![CDATA[
  77. var imatchpsncnt1 = 0;
  78. for( var i = 1; i < grd_matchlist.rows; i++ ) {
  79. if ( model.getValue("/root/main/matchinfo/item[" + i + "]/matchpsncnt1") != "") {
  80. imatchpsncnt1 = imatchpsncnt1 + parseInt(model.getValue("/root/main/matchinfo/item[" + i + "]/matchpsncnt1"));
  81. }
  82. }
  83. opener.model.setValue("/root/temp/srchmaininfo/matchpsncnt1", imatchpsncnt1);
  84. ]]>
  85. </script>
  86. </model>
  87. </xhtml:head>
  88. <xhtml:body pagewidth="368" pageheight="350" guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:345px; height:306px; ">
  90. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:155px; height:13px; ">일치자수 관리</caption>
  91. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:340px; y2:25px; "/>
  92. <button id="btn_grddel" class="btn2_letter3" style="left:283px; top:35px; width:53px; height:19px; ">
  93. <caption>행삭제</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. grd_matchlist.addStatus(grd_matchlist.row,"delete");
  97. ]]>
  98. </script>
  99. </button>
  100. <button id="btn_grdadd" class="btn2_letter3" style="left:227px; top:35px; width:53px; height:19px; ">
  101. <caption>행추가</caption>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. grd_matchlist.addRow();
  105. grd_matchlist.refresh();
  106. ]]>
  107. </script>
  108. </button>
  109. <datagrid id="grd_matchlist" nodeset="/root/main/matchinfo/item" allowselection="false" caption="순번^일치자수^작성자^작성일시" colsep="^" colwidth="16, 60, 78, 140" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:55px; width:338px; height:251px; ">
  110. <col ref="updtseq" visibility="hidden"/>
  111. <col ref="matchpsncnt1" type="input"/>
  112. <col ref="lastupdtrid"/>
  113. <col ref="lastupdtdt" format="yyyy-mm-dd hh:mm:ss"/>
  114. </datagrid>
  115. <select1 id="combo22" ref="/root/send/req/trnptsrchdata/boneassocd" class="combo_essential" disabled="true" appearance="minimal" style="left:0px; top:35px; width:100px; height:19px; ">
  116. <choices>
  117. <itemset nodeset="/root/init/cmbinfo/boneassocd/A0164">
  118. <label ref="cdnm"/>
  119. <value ref="cdid"/>
  120. </itemset>
  121. </choices>
  122. </select1>
  123. </group>
  124. <group id="grp_btn" scroll="auto" style="left:0px; top:306px; width:345px; height:27px; ">
  125. <button id="btn_cls" class="btn4_letter2" style="left:285px; top:4px; width:56px; height:22px; ">
  126. <caption>닫기</caption>
  127. <close ev:event="DOMActivate"/>
  128. </button>
  129. <button id="btn_save" class="btn4_letter2" style="left:225px; top:4px; width:56px; height:22px; ">
  130. <caption>저장</caption>
  131. <script type="javascript" ev:event="onclick">
  132. <![CDATA[
  133. model.setValue("/root/send/req/matchdata", grd_matchlist.getUpdateData());
  134. submit("TXABO61401");
  135. submit("TRABO61401");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. </group>
  141. </xhtml:body>
  142. </xhtml:html>