SMAGR03200_업체전송내역.xrw 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <main>
  10. <ipgoinfo>
  11. <ipgolist>
  12. <senddate/>
  13. <goodcd/>
  14. <goodnm/>
  15. <goodspec/>
  16. <goodmodel/>
  17. <allsizespecidnm/>
  18. <prodcmpynm/>
  19. <custnm/>
  20. <prcpqty/>
  21. <useqty/>
  22. <outqty/>
  23. <addqty/>
  24. <sendqty/>
  25. <inqty/>
  26. <meinqty/>
  27. <perchgr/>
  28. </ipgolist>
  29. </ipgoinfo>
  30. </main>
  31. <send>
  32. <iodate/>
  33. <custnm/>
  34. <prodcmpynm/>
  35. <goodcd/>
  36. <goodnm/>
  37. <totinqty/>
  38. <totrtninqty/>
  39. <prcpdd/>
  40. <globalinstance>
  41. <instance1/>
  42. </globalinstance>
  43. </send>
  44. <init>
  45. <baseinfo>
  46. <intiunit/>
  47. </baseinfo>
  48. </init>
  49. <hidden>
  50. <item/>
  51. </hidden>
  52. <cmb_info>
  53. <dpcminfo>
  54. <dpcmcust>
  55. <custnm/>
  56. <perchgr/>
  57. <cntctel/>
  58. <faxno/>
  59. <mpphontel/>
  60. <email/>
  61. <auttrsmflag/>
  62. <custcd/>
  63. <suppdeptcd/>
  64. <instcd/>
  65. <trsmtrid/>
  66. <useyn/>
  67. </dpcmcust>
  68. </dpcminfo>
  69. </cmb_info>
  70. </root>
  71. </instance>
  72. <submission id="TRAGR03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ipgoinfo"/>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. aezfSetSuppDeptcd();
  76. zbcfGetCodeList( new Array("R0039"), new Array("/root/init/baseinfo/intiunit") );
  77. submit("TRAGA00101");
  78. model.setValue("/root/send/iodate", getCurrentDate().toDate().getAddDate(-15,"D").getDateFormat("YYYYMMDD"));
  79. model.setValue("/root/send/prcpdd", getCurrentDate());
  80. btn_sea.dispatch("DOMActivate");
  81. ]]>
  82. </script>
  83. <submission id="TRZBC00101"/>
  84. <submission id="TRAGA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info/dpcminfo"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  89. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  90. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  91. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  92. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  93. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  95. </xhtml:head>
  96. <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  97. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:769px; ">
  98. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:67px; vertical-align:top; ">
  99. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  100. <line id="line13" class="line_4" style="x1:1102px; y1:7px; x2:1102px; y2:59px; "/>
  101. <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:1120px; top:20px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. model.removeNodeset("/root/main/ipgoinfo/ipgolist");
  106. submit("TRAGR03201");
  107. model.refresh();
  108. ]]>
  109. </script>
  110. </button>
  111. <caption id="caption2" class="search_name" style="left:15px; top:12px; width:86px; height:17px; ">전송일자 :</caption>
  112. <input id="input1" ref="/root/send/iodate" navindex="1" inputtype="date" style="left:110px; top:11px; width:120px; height:19px; text-align:center; "/>
  113. <caption id="caption3" class="search_name" style="left:485px; top:12px; width:86px; height:17px; ">거래처명 :</caption>
  114. <caption id="caption4" class="search_name" style="left:745px; top:12px; width:99px; height:17px; ">제조회사명 :</caption>
  115. <input id="input3" ref="/root/send/prodcmpynm" navindex="3" style="left:855px; top:11px; width:145px; height:19px; "/>
  116. <caption id="caption1" class="search_name" style="left:15px; top:42px; width:86px; height:17px; ">물품코드 :</caption>
  117. <caption id="caption5" class="search_name" style="left:250px; top:42px; width:93px; height:17px; ">물 품 명 :</caption>
  118. <input id="input4" ref="/root/send/goodcd" navindex="4" style="left:110px; top:39px; width:120px; height:19px; "/>
  119. <input id="input5" ref="/root/send/goodnm" navindex="5" style="left:345px; top:39px; width:120px; height:19px; "/>
  120. <caption id="caption8" class="search_name" visibility="hidden" style="left:385px; top:12px; width:86px; height:17px; ">처방일자 :</caption>
  121. <input id="input6" ref="/root/send/prcpdd" navindex="1" inputtype="date" style="left:255px; top:11px; width:120px; height:19px; text-align:center; "/>
  122. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1016px; top:45px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  123. <caption>엑셀저장</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  127. if(file == "") return;
  128. datagrid1.saveExcel(file, "sheet1");
  129. ]]>
  130. </script>
  131. </button>
  132. <caption id="caption7" style="left:235px; top:13px; width:20px; height:20px; text-align:center; ">~</caption>
  133. <select1 id="combo1" ref="/root/send/custnm" appearance="minimal" editmode="input" style="left:580px; top:11px; width:145px; height:19px; ">
  134. <choices>
  135. <itemset nodeset="/root/cmb_info/dpcminfo">
  136. <label ref="dpcmcust/custnm"/>
  137. <value ref="dpcmcust/custnm"/>
  138. </itemset>
  139. </choices>
  140. </select1>
  141. </group>
  142. <line id="line1" class="line_1" style="x1:3px; y1:79px; x2:1194px; y2:80px; "/>
  143. <datagrid id="datagrid1" nodeset="/root/main/ipgoinfo/ipgolist" caption="전송일시^물품코드^물품명^모델^규격^All Size^제조회사^거래처^처방량/사용량^사용량^처방수량/사용량^추가전송수량^전송수량^입고량^미입고량^담당자" colsep="^" colwidth="125, 83, 144, 89, 99, 103, 123, 105, 97, 59, 100, 82, 62, 55, 60, 64" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:82px; width:1191px; height:685px; ">
  144. <col ref="senddate" visibility="hidden" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  145. <col ref="goodcd" style="text-align:left; "/>
  146. <col ref="goodnm" style="text-align:left; "/>
  147. <col ref="goodmodel" style="text-align:left; "/>
  148. <col ref="goodspec" style="text-align:left; "/>
  149. <col ref="allsizespecidnm" style="text-align:left; "/>
  150. <col ref="prodcmpynm" style="text-align:left; "/>
  151. <col ref="custnm" style="text-align:left; "/>
  152. <col ref="prcpqty" format="#,###" style="text-align:right; "/>
  153. <col ref="useqty" visibility="hidden" format="#,###" style="text-align:right; "/>
  154. <col ref="outqty" visibility="hidden" format="#,###" style="text-align:right; "/>
  155. <col ref="addqty" format="#,###" style="text-align:right; "/>
  156. <col ref="sendqty" format="#,###" style="text-align:right; "/>
  157. <col ref="inqty" format="#,###" style="text-align:right; "/>
  158. <col ref="meinqty" format="#,###" style="text-align:right; "/>
  159. <col ref="perchgr"/>
  160. <script type="javascript" ev:event="xforms-value-changed">
  161. <![CDATA[
  162. ]]>
  163. </script>
  164. <script type="javascript" ev:event="onendedit">
  165. <![CDATA[
  166. var scol = datagrid1.col;
  167. if (datagrid1.colRef("inqty") == scol){
  168. var irow = datagrid1.row + 1;
  169. if (irow <= datagrid1.rows){
  170. datagrid1.row = irow;
  171. datagrid1.col = datagrid1.colRef("inqty");
  172. datagrid1.dispatch("onentercell");
  173. datagrid1.editCell();
  174. datagrid1.refresh();
  175. }
  176. }
  177. ]]>
  178. </script>
  179. <script type="javascript" ev:event="onaftersort">
  180. <![CDATA[
  181. datagrid1.gridToInstance();
  182. ]]>
  183. </script>
  184. </datagrid>
  185. </group>
  186. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  187. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">업체전송내역</caption>
  188. </group>
  189. </xhtml:body>
  190. </xhtml:html>