SMRSG10300_(부품)창고재고입고(경북대).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  11. <acsrswininfo>
  12. <acsrswinlist/>
  13. </acsrswininfo>
  14. </list>
  15. </main>
  16. <send>
  17. <search>
  18. <instcd/>
  19. <goodflag/>
  20. <lrgcd/>
  21. <mdlcd/>
  22. <goodcd/>
  23. <goodnm/>
  24. <windtfrom/>
  25. <windtto/>
  26. <reqddfrom/>
  27. <reqddto/>
  28. </search>
  29. <acsrswinlist/>
  30. </send>
  31. <init>
  32. <windd/>
  33. </init>
  34. <temp>
  35. </temp>
  36. </root>
  37. </instance>
  38. <bind id="reqamt" ref="/root/main/list/acsrswininfo/acsrswinlist/reqamt" calculate="../winqty * ../requnitcost"/>
  39. <submission id="TRRSG07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/acsrswininfo"/>
  40. <submission id="TXRSG07101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acsrswinlist" resultref="/root/temp"/>
  41. <submission id="TRRSG10301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/acsrswininfo"/>
  42. <submission id="TXRSG07151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acsrswinlist" resultref="/root/temp"/>
  43. </model>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. //화면 Control을 초기화한다
  47. fInitialize();
  48. ]]>
  49. </script>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript">
  57. <![CDATA[
  58. function fInitialize()
  59. {
  60. misfComboComCdListMulti("Z0007","cmb_instcd");
  61. model.setValue(ipt_windtfrom.attribute("ref") , getCurrentDate());
  62. model.setValue(ipt_windtto.attribute("ref") , getCurrentDate());
  63. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  64. model.setValue(cmb_goodflag.attribute("ref") , "BC");
  65. //rszfGoodFlagListByPgmGubn(cmb_goodflag,"1","N");
  66. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  67. addComboItem( "cmb_lrgcd" , "전체", "", "above");
  68. model.removeNodeset("/root/main/list/acsrswininfo/acsrswinlist");
  69. model.removeNodeset("/root/main/list/acsrswininfo/acsrswinlist");
  70. model.refresh();
  71. }
  72. function fSearch()
  73. {
  74. model.removeNodeset("/root/main/list/acsrswininfo/acsrswinlist");
  75. submit("TRRSG07101");
  76. }
  77. ]]>
  78. </script>
  79. </xhtml:head>
  80. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  81. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  82. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">부품 물품 입고</caption>
  83. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  84. </group>
  85. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  86. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
  87. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  88. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  89. <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
  90. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  91. <caption>조회</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. model.removeNodeset("/root/main/list/acsrswininfo/acsrswinlist");
  95. submit("TRRSG10301");
  96. ]]>
  97. </script>
  98. </button>
  99. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:104px; top:10px; width:206px; height:19px; ">
  100. <choices>
  101. <itemset nodeset="/root/main/init">
  102. <label ref="cnstnm"/>
  103. <value ref="cnstcd"/>
  104. </itemset>
  105. </choices>
  106. </select1>
  107. <caption id="cap_instcd" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  108. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" disabled="true" appearance="minimal" style="left:414px; top:10px; width:121px; height:19px; ">
  109. <choices>
  110. <item>
  111. <label>수리부품</label>
  112. <value>BC</value>
  113. </item>
  114. </choices>
  115. <script type="javascript" ev:event="xforms-value-changed">
  116. <![CDATA[
  117. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  118. addComboItem( "cmb_lrgcd", "전체", "", "above");
  119. cmb_mdlcd.value='';
  120. model.refresh();
  121. ]]>
  122. </script>
  123. </select1>
  124. <caption id="cap_goodflag" class="search_name" style="left:320px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
  125. <select1 id="cmb_lrgcd" ref="/root/send/search/lrgcd" appearance="minimal" style="left:414px; top:36px; width:121px; height:19px; ">
  126. <choices>
  127. <itemset>
  128. <label/>
  129. <value/>
  130. </itemset>
  131. </choices>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
  135. cmb_mdlcd.dispatch("xforms-value-changed");
  136. addComboItem( "cmb_mdlcd", "전체", "", "above");
  137. model.refresh();
  138. ]]>
  139. </script>
  140. </select1>
  141. <select1 id="cmb_mdlcd" ref="/root/send/search/mdlcd" appearance="minimal" style="left:639px; top:36px; width:126px; height:19px; ">
  142. <choices>
  143. <itemset>
  144. <label/>
  145. <value/>
  146. </itemset>
  147. </choices>
  148. </select1>
  149. <caption id="caption7" class="search_name" style="left:320px; top:36px; width:88px; height:17px; ">대 분 류 :</caption>
  150. <caption id="caption8" class="search_name" style="left:543px; top:36px; width:88px; height:17px; ">중 분 류 :</caption>
  151. <input id="ipt_goodnm" ref="/root/send/search/goodnm" class="output_search" style="left:745px; top:10px; width:140px; height:19px; "/>
  152. <button id="btn_goodcd" class="icon_search" style="left:726px; top:10px; width:16px; height:16px; ">
  153. <caption/>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd","cmb_instcd");
  157. model.refresh();
  158. ]]>
  159. </script>
  160. </button>
  161. <input id="ipt_goodcd" ref="/root/send/search/goodcd" class="input_search" maxlength="10" appearance="input" style="left:639px; top:10px; width:81px; height:19px; "/>
  162. <caption id="cap_goodcd" class="search_name" style="left:545px; top:10px; width:86px; height:17px; ">물품코드 :</caption>
  163. <caption id="caption29" style="left:200px; top:37px; width:15px; height:17px; ">~</caption>
  164. <input id="ipt_windtfrom" ref="/root/send/search/windtfrom" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:104px; top:36px; width:91px; height:19px; "/>
  165. <caption id="cap_windd" class="search_name" style="left:10px; top:36px; width:86px; height:17px; ">입고기간 :</caption>
  166. <input id="ipt_windtto" ref="/root/send/search/windtto" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:220px; top:36px; width:91px; height:19px; "/>
  167. <input id="ipt_reqddto" ref="/root/send/search/reqddto" class="input_s_essential" inputtype="date" style="left:1010px; top:36px; width:91px; height:19px; "/>
  168. <input id="ipt_reqddfrom" ref="/root/send/search/reqddfrom" class="input_s_essential" inputtype="date" style="left:900px; top:36px; width:91px; height:19px; "/>
  169. <caption id="caption12" style="left:995px; top:36px; width:20px; height:20px; font-weight:bold; ">~</caption>
  170. <caption id="cap_reqdd1S" class="search_name" style="left:775px; top:36px; width:112px; height:17px; ">수리요구일자 :</caption>
  171. </group>
  172. <datagrid id="grd_acsrswin" nodeset="/root/main/list/acsrswininfo/acsrswinlist" caption="기관코드^물품구분^수리요구일^번호^물품코드^물품코드^물품명^EDICD^물품규격^모델^보조거래처코드^보조거래처명^주거래처코드^주거래처명^입고단위^실재고량^입고수량^입고단가^입고금액^입고일자^입고번호^입고자^비고" colsep="^" colwidth="5, 7, 80, 49, 116, 22, 131, 9, 104, 102, 6, 6, 5, 120, 68, 72, 70, 73, 73, 80, 72, 66, 213" explorerbar="sortshow" frozencols="8" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:115px; width:1185px; height:610px; font-weight:normal; text-align:center; ">
  173. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  174. <col ref="goodflag" visibility="hidden" style="text-align:center; "/>
  175. <col ref="reqdd" format="yyyy/mm/dd" style="text-align:center; "/>
  176. <col ref="reqno" style="text-align:center; "/>
  177. <col ref="goodcd" style="text-align:center; "/>
  178. <col ref="allsizespecid" style="text-align:center; "/>
  179. <col ref="goodnm" style="text-align:center; padding-left:10; "/>
  180. <col ref="edicd" visibility="hidden" style="text-align:center; padding-left:10; "/>
  181. <col ref="goodspec" style="text-align:center; padding-left:10; "/>
  182. <col ref="goodmodel" style="text-align:center; padding-left:10; "/>
  183. <col ref="suppcustcd" visibility="hidden" style="text-align:left; "/>
  184. <col ref="suppcustnm" visibility="hidden" style="text-align:center; padding-left:10; "/>
  185. <col ref="maincustlastsuplplce" visibility="hidden" style="text-align:left; "/>
  186. <col ref="maincustlastsuplplcenm" style="text-align:center; padding-left:10; "/>
  187. <col ref="winunit" style="text-align:center; "/>
  188. <col ref="stocqty" format="#,###" style="text-align:right; "/>
  189. <col ref="winqty" format="#,###" style="text-align:right; "/>
  190. <col ref="winunitcost" format="#,###" style="text-align:right; "/>
  191. <col ref="winamt" format="#,###" style="text-align:right; "/>
  192. <col ref="windd" format="yyyy/mm/dd" style="text-align:center; "/>
  193. <col ref="winseqno" style="text-align:center; "/>
  194. <col ref="winpsnnm" style="text-align:center; "/>
  195. <col ref="cmt" style="text-align:left; padding-left:10; "/>
  196. <script type="javascript" ev:event="onaftersort">
  197. <![CDATA[
  198. grd_acsrswin.gridToInstance();
  199. ]]>
  200. </script>
  201. </datagrid>
  202. <caption id="caption1" class="tit_2" style="left:0px; top:92px; width:143px; height:13px; ">입고 내역 조회</caption>
  203. <line id="line2" class="line_1" style="x1:0px; y1:109px; x2:1185px; y2:109px; "/>
  204. </group>
  205. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  206. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  207. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  208. <caption>초기화</caption>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. fInitialize();
  212. ]]>
  213. </script>
  214. </button>
  215. </group>
  216. </xhtml:body>
  217. </xhtml:html>