KUCPB00020_배부기준등록.xrw 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>원가 배부코드 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <acntperchgrinfo>
  11. <acntperchgrlist/>
  12. </acntperchgrinfo>
  13. </main>
  14. <init>
  15. </init>
  16. <send>
  17. <reqdata/>
  18. <savedata/>
  19. </send>
  20. <hidden>
  21. <commoninfo>
  22. <perchgrlist1/>
  23. <perchgrlist2/>
  24. <perchgrlist3/>
  25. <perchgrlist4/>
  26. <perchgrlist5/>
  27. <acntlist/>
  28. </commoninfo>
  29. </hidden>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. model.removeNodeset("/root/main/acntperchgrinfo/acntperchgrlist");
  35. misfComboComCdList("030M0006" ,cmb_sanctflag);
  36. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  37. if(submit("TRRSA00101")){
  38. if(submit("TRRSA00102")){
  39. }
  40. }
  41. model.refresh();
  42. ]]>
  43. </script>
  44. <submission id="TRRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/commoninfo"/>
  45. <submission id="TRRSA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acntperchgrinfo"/>
  46. <submission id="TXRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/acntperchgrinfo"/>
  47. </model>
  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="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. </xhtml:head>
  54. <xhtml:body pagewidth="1200" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group3" scroll="auto" style="left:8px; top:0px; width:1190px; height:710px; ">
  56. <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:1180px; y2:41px; "/>
  57. <datagrid id="grd_acntperchgrlist" nodeset="/root/main/acntperchgrinfo/acntperchgrlist" caption="배부코드^배부명^구분^적용일자^자료구분^시작코드^종료코드^단위^비고^instcd^seqno^oldsanctflag^oldacntcd" colsep="^" colwidth="74, 258, 57, 112, 71, 132, 134, 50, 255, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:45px; width:1185px; height:645px; ">
  58. <col ref="sanctflag" type="input" style="text-align:center; "/>
  59. <col editmode="inputsearch" itemcount="20" ref="acntcd" type="input" showmask="true" style="text-align:left; "/>
  60. <col editmode="inputsearch" itemcount="20" ref="perchgr_1" type="combo" showmask="true" style="text-align:left; ">
  61. <choices>
  62. <itemset nodeset="/root/hidden/commoninfo/perchgrlist1">
  63. <label ref="cdnm"/>
  64. <value ref="cdid"/>
  65. </itemset>
  66. </choices>
  67. </col>
  68. <col editmode="inputsearch" itemcount="20" ref="perchgr_2" type="input" format="yyyy/mm/dd" mask="include" showmask="true" style="text-align:center; "/>
  69. <col editmode="inputsearch" itemcount="20" ref="perchgr_3" type="combo" showmask="true" style="text-align:center; ">
  70. <choices>
  71. <itemset nodeset="/root/hidden/commoninfo/perchgrlist3">
  72. <label ref="cdnm"/>
  73. <value ref="cdid"/>
  74. </itemset>
  75. </choices>
  76. </col>
  77. <col editmode="inputsearch" itemcount="20" ref="perchgr_4" type="combo" showmask="true" style="text-align:left; ">
  78. <choices>
  79. <itemset nodeset="/root/hidden/commoninfo/perchgrlist4">
  80. <label ref="cdnm"/>
  81. <value ref="cdid"/>
  82. </itemset>
  83. </choices>
  84. </col>
  85. <col editmode="inputsearch" itemcount="20" ref="perchgr_5" type="combo" showmask="true" style="text-align:left; ">
  86. <choices>
  87. <itemset nodeset="/root/hidden/commoninfo/perchgrlist5">
  88. <label ref="cdnm"/>
  89. <value ref="cdid"/>
  90. </itemset>
  91. </choices>
  92. </col>
  93. <col ref="cmt" type="input"/>
  94. <col ref="bigo" type="input"/>
  95. <col ref="instcd" visibility="hidden"/>
  96. <col ref="seqno" visibility="hidden"/>
  97. <col ref="oldsanctflag" visibility="hidden"/>
  98. <col ref="oldacntcd" visibility="hidden"/>
  99. </datagrid>
  100. <group id="group2" style="left:0px; top:0px; width:465px; height:13px; ">
  101. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:255px; height:13px; color:#000000; ">원가 배부코드 등록 ( w_won0e020 )</caption>
  102. </group>
  103. <button id="btn_chrtdeptdel" class="btn2_letter3" style="left:1012px; top:20px; width:53px; height:19px; ">
  104. <caption>행삭제</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. var acntcd = grd_acntperchgrlist.valueMatrix(grd_acntperchgrlist.row,grd_acntperchgrlist.colRef("acntcd"));
  108. if((grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="1")||(grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="3")){
  109. grd_acntperchgrlist.deleteRow(grd_acntperchgrlist.row);
  110. }else{
  111. grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row) ="4";
  112. }
  113. ]]>
  114. </script>
  115. </button>
  116. <button id="btn_chrtdeptadd" class="btn2_letter3" style="left:955px; top:20px; width:53px; height:19px; ">
  117. <caption>행추가</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. grd_acntperchgrlist.addRow(false);
  121. model.setValue("/root/main/acntperchgrinfo/acntperchgrlist["+grd_acntperchgrlist.row+"]/instcd",getUserInfo("dutplceinstcd"));
  122. model.setFocus("grd_acntperchgrlist");
  123. grd_acntperchgrlist.col = grd_acntperchgrlist.colRef("sanctflag");
  124. grd_acntperchgrlist.editCell();
  125. ]]>
  126. </script>
  127. </button>
  128. <button id="btn_chrtdeptsave" class="btn4_letter2" style="left:1069px; top:17px; width:56px; height:22px; ">
  129. <caption>저장</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. model.makeValue("/root/send/savedata/acntperchgrlist",grd_acntperchgrlist.getUpdateData());
  133. if(submit("TXRSA00101")){
  134. btn_search.dispatch("DOMActivate");
  135. }
  136. ]]>
  137. </script>
  138. </button>
  139. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1129px; top:17px; width:56px; height:22px; text-align:left; ">
  140. <caption>조회</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  144. if(submit("TRRSA00102")){
  145. model.removeNodeset("/root/send/reqdata");
  146. }
  147. ]]>
  148. </script>
  149. </button>
  150. <select1 id="cmb_sanctflag" ref="/root/cond/sanctflag" class="combo_s_fix" visibility="hidden" appearance="minimal" style="left:520px; top:20px; width:135px; height:19px; text-align:center; ">
  151. <choices>
  152. <itemset nodeset="/root/init/sanctflag">
  153. <label ref="cdnm"/>
  154. <value ref="cdid"/>
  155. </itemset>
  156. </choices>
  157. </select1>
  158. </group>
  159. </xhtml:body>
  160. </xhtml:html>