SMRSI0600_보나에스입고조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <init>
  10. <instcd/>
  11. </init>
  12. <send>
  13. <instcd/>
  14. <bonawinlist/>
  15. <bonaordlist/>
  16. </send>
  17. <main>
  18. <bonawinlist/>
  19. <bonaordlist/>
  20. </main>
  21. <temp/>
  22. <hidden/>
  23. </root>
  24. </instance>
  25. <submission id="TRRSI06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  26. <submission id="TXRSI06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  27. <submission id="TRRSI06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  28. <submission id="TXRSI06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize();
  32. misfComboComCdList("Z0007", cmb_instcd); //기관코드
  33. misfMsterDetailSet(grd_bonawinlist,null,"TRRSI06001","Y");
  34. btn_save.disabled = !(checkAuth("X"));
  35. model.refresh();
  36. ]]>
  37. </script>
  38. </model>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript">
  44. <![CDATA[
  45. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  46. function fInitialize() {
  47. model.resetInstanceNode("/root/send");
  48. misfGridInit(grd_bonawinlist);
  49. misfGridInit(grd_bonaordlist);
  50. model.refresh();
  51. }
  52. ]]>
  53. </script>
  54. </xhtml:head>
  55. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:13px; ">보나에스입고관리</caption>
  58. </group>
  59. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  60. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:45px; vertical-align:top; ">
  61. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  63. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. //Mater에 해당하는 정보를 클릭시 Detail이 출력됨
  68. if ( switch1.selectedIndex == 0 ) {
  69. misfGridInit(grd_bonawinlist);
  70. misfMsterDetailRetrieve();
  71. }else if ( switch1.selectedIndex == 1 ) {
  72. misfGridInit(grd_bonaordlist);
  73. submit("TRRSI06101");
  74. }
  75. model.refresh();
  76. ]]>
  77. </script>
  78. </button>
  79. <caption id="caption2" class="search_name" style="left:11px; top:11px; width:86px; height:17px; ">기관코드 :</caption>
  80. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:10px; width:189px; height:19px; ">
  81. <choices>
  82. <itemset nodeset="/root/init/instcd">
  83. <label/>
  84. <value/>
  85. </itemset>
  86. </choices>
  87. </select1>
  88. </group>
  89. <switch id="switch1" style="left:0px; top:85px; width:1195px; height:659px; ">
  90. <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:657px; ">
  91. <button id="btn_grdadd1" class="btn2_letter3" style="left:1081px; top:5px; width:53px; height:19px; ">
  92. <caption>행추가</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. misfGridIUD(grd_bonawinlist, "A");
  96. ]]>
  97. </script>
  98. </button>
  99. <button id="btn_grddel1" class="btn2_letter3" style="left:1137px; top:5px; width:53px; height:19px; ">
  100. <caption>행삭제</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. misfGridIUD(grd_bonawinlist, "D");
  104. ]]>
  105. </script>
  106. </button>
  107. <caption id="caption19" class="tit_2" style="left:5px; top:10px; width:110px; height:13px; ">보나에스 입고</caption>
  108. <datagrid id="grd_bonawinlist" nodeset="/root/main/bonawinlist" allowuserresize="true" caption="IF ID^IF 송신일자^IF 종류^IF 수신일자^IF 상태^IF 에러사유^기관코드^물품구분^입고일자^입고번호^입고일련번호^물품코드^보나에스코드^입고부서코드^구매요구일자^구매요구번호^구매요구일련번호^입고포장수량^입고포장단위^입고포장단위당갯수^입고수량^입고단위^입고단가^입고금액^유효기간^제품번호^EDICD^보나에스출고번호^보나에스 출고순번^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="50,50,50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:31px; width:1193px; height:626px; ">
  109. <col ref="ifid"/>
  110. <col ref="ifsnddt" type="input"/>
  111. <col ref="ifcmd" type="input"/>
  112. <col ref="ifrsvdt" type="input"/>
  113. <col ref="ifstatus" type="input"/>
  114. <col ref="iffailrsn" type="input"/>
  115. <col ref="instcd" type="input"/>
  116. <col ref="goodflag" type="input"/>
  117. <col ref="windd" type="input"/>
  118. <col ref="winno" type="input"/>
  119. <col ref="winseqno" type="input"/>
  120. <col ref="goodcd" type="input"/>
  121. <col ref="bnscd" type="input"/>
  122. <col ref="windeptcd" type="input"/>
  123. <col ref="purcdmnddd" type="input"/>
  124. <col ref="purcdmndno" type="input"/>
  125. <col ref="purcdmndseq" type="input"/>
  126. <col ref="winpackqty" type="input"/>
  127. <col ref="winpackunit" type="input"/>
  128. <col ref="winpackcntperunit" type="input"/>
  129. <col ref="winqty" type="input"/>
  130. <col ref="winunit" type="input"/>
  131. <col ref="winunitcost" type="input"/>
  132. <col ref="winamt" type="input"/>
  133. <col ref="valiterm" type="input"/>
  134. <col ref="lotno" type="input"/>
  135. <col ref="edicd" type="input"/>
  136. <col ref="bideliveno" type="input"/>
  137. <col ref="bideliveseq" type="input"/>
  138. <col ref="fstrgstrid" type="input"/>
  139. <col ref="fstrgstdt" type="input"/>
  140. <col ref="lastupdtrid" type="input"/>
  141. <col ref="lastupdtdt" type="input"/>
  142. </datagrid>
  143. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1193px; y2:26px; "/>
  144. </case>
  145. <case id="case2">
  146. <button id="btn_save2" class="btn2_letter3" style="left:1081px; top:5px; width:53px; height:19px; ">
  147. <caption>행추가</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. misfGridIUD(grd_bonaordlist, "A");
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="btn_del2" class="btn2_letter3" style="left:1137px; top:5px; width:53px; height:19px; ">
  155. <caption>행삭제</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. misfGridIUD(grd_bonaordlist, "D");
  159. ]]>
  160. </script>
  161. </button>
  162. <caption id="caption20" class="tit_2" style="left:5px; top:10px; width:110px; height:13px; ">보나에스 발주</caption>
  163. <line id="line3" class="line_1" style="x1:0px; y1:26px; x2:1193px; y2:26px; "/>
  164. <datagrid id="grd_bonaordlist" nodeset="/root/main/bonaordlist" allowuserresize="true" caption="IF ID^IF 송신일자^IF 종류^IF 수신일자^IF 상태^IF 에러사유^기관코드^물품구분^구매요구일자^구매요구번호^구매요구일련번호^구매요구구분^요구부서코드^요구자ID^물품코드^보나에스코드^요구포장수량^요구포장단위^요구포장단위당갯수^요구량^요구단위^물품단가^요구금액^보조거래처코드^공급처코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="50,50,50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:31px; width:1193px; height:626px; ">
  165. <col ref="ifid"/>
  166. <col ref="ifsnddt" type="input"/>
  167. <col ref="ifcmd" type="input"/>
  168. <col ref="ifrsvdt" type="input"/>
  169. <col ref="ifstatus" type="input"/>
  170. <col ref="iffailrsn" type="input"/>
  171. <col ref="instcd" type="input"/>
  172. <col ref="goodflag" type="input"/>
  173. <col ref="purcdmnddd" type="input"/>
  174. <col ref="purcdmndno" type="input"/>
  175. <col ref="purcdmndseq" type="input"/>
  176. <col ref="purcreqflag" type="input"/>
  177. <col ref="reqdeptcd" type="input"/>
  178. <col ref="reqpsn" type="input"/>
  179. <col ref="goodcd" type="input"/>
  180. <col ref="bnscd" type="input"/>
  181. <col ref="reqpackcnt" type="input"/>
  182. <col ref="reqpackunit" type="input"/>
  183. <col ref="reqpackcntperunit" type="input"/>
  184. <col ref="reqqty" type="input"/>
  185. <col ref="requnit" type="input"/>
  186. <col ref="goodunitcost" type="input"/>
  187. <col ref="reqfla" type="input"/>
  188. <col ref="subsuplplcecd" type="input"/>
  189. <col ref="suplplcecd" type="input"/>
  190. <col ref="fstrgstrid" type="input"/>
  191. <col ref="fstrgstdt" type="input"/>
  192. <col ref="lastupdtrid" type="input"/>
  193. <col ref="lastupdtdt" type="input"/>
  194. </datagrid>
  195. </case>
  196. </switch>
  197. <button id="button2" class="btn_sw" group="tab" style="left:145px; top:64px; width:144px; height:22px; ">
  198. <caption>보나에스발주</caption>
  199. <toggle case="case2" ev:event="onclick"/>
  200. </button>
  201. <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:64px; width:144px; height:22px; ">
  202. <caption>보나에스입고</caption>
  203. <toggle case="case1" ev:event="onclick"/>
  204. </button>
  205. </group>
  206. <group id="group4" style="left:0px; top:13px; width:1195px; height:27px; ">
  207. <line id="line16" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  208. <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
  209. <caption>저장</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. if ( switch1.selectedIndex == 0 ) {
  213. misfSave("TXRSI06001");
  214. }else if ( switch1.selectedIndex == 1 ) {
  215. model.setValue("/root/send/bonaordlist" ,grd_bonaordlist.getUpdateData());
  216. submit("TXRSI06101");
  217. }
  218. misfMsterDetailRetrieve();
  219. model.refresh();
  220. ]]>
  221. </script>
  222. </button>
  223. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  224. <caption>초기화</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. fInitialize();
  228. ]]>
  229. </script>
  230. </button>
  231. </group>
  232. </xhtml:body>
  233. </xhtml:html>