SMMNP04700_누적물품의뢰 조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. <oproomlist>
  11. <oproomcd/>
  12. <oproomnm/>
  13. </oproomlist>
  14. </init>
  15. <main>
  16. <cond>
  17. <reqfromdd/>
  18. <reqtodd/>
  19. <oproomcd/>
  20. <goodcd/>
  21. <allsizespecid/>
  22. <goodnm/>
  23. <deliveflag>0</deliveflag>
  24. <refflag>Y</refflag>
  25. </cond>
  26. <acmlgoodreqlist>
  27. <delivereqdd/>
  28. <oproomcd/>
  29. <useflag/>
  30. <goodcd/>
  31. <allsizespecid/>
  32. <goodalias/>
  33. <prodcmpynm/>
  34. <unit/>
  35. <reqqty/>
  36. <deliveqty/>
  37. <cnfm/>
  38. <uncnfmresn/>
  39. </acmlgoodreqlist>
  40. </main>
  41. <send>
  42. <reqdata/>
  43. </send>
  44. <hidden/>
  45. <temp>
  46. <refflag/>
  47. <goodcond>Y</goodcond>
  48. </temp>
  49. </root>
  50. </instance>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. fInit();
  54. ]]>
  55. </script>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP04700.js"/>
  60. <submission id="TRMNP04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acmlgoodreqlist"/>
  61. <submission id="TRMNP04702" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproomlist"/>
  62. </model>
  63. </xhtml:head>
  64. <xhtml:body guideline="1,1196;2,753;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:248px; height:14px; ">누적물품의뢰 조회</caption>
  67. </group>
  68. <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
  69. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:65px; vertical-align:top; ">
  70. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <caption id="caption26" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">의뢰일자 :</caption>
  72. <button id="button1" class="btn1_letter2" style="left:1034px; top:21px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. fSearch();
  77. ]]>
  78. </script>
  79. </button>
  80. <button id="btn_saveexcel" class="btn1_letter4" style="left:1092px; top:21px; width:80px; height:22px; ">
  81. <caption>엑셀저장</caption>
  82. </button>
  83. <line id="line13" class="line_4" style="x1:1025px; y1:17px; x2:1025px; y2:47px; "/>
  84. <caption id="caption1" class="search_name" style="left:385px; top:9px; width:83px; height:17px; ">수 술 방 :</caption>
  85. <caption id="caption11" class="search_n_b" style="left:206px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  86. <input id="ipt_fromdd" ref="/root/main/cond/reqfromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:8px; width:100px; height:19px; ">
  87. <script type="javascript" ev:event="xforms-value-changed">
  88. <![CDATA[
  89. fSearch();
  90. ]]>
  91. </script>
  92. </input>
  93. <input id="ipt_todd" ref="/root/main/cond/reqtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:222px; top:8px; width:100px; height:19px; ">
  94. <script type="javascript" ev:event="xforms-value-changed">
  95. <![CDATA[
  96. fSearch();
  97. ]]>
  98. </script>
  99. </input>
  100. <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:472px; top:8px; width:100px; height:19px; ">
  101. <choices>
  102. <itemset nodeset="/root/init/oproomlist">
  103. <label ref="oproomnm"/>
  104. <value ref="oproomcd"/>
  105. </itemset>
  106. </choices>
  107. <script type="javascript" ev:event="xforms-value-changed">
  108. <![CDATA[
  109. fSearch();
  110. ]]>
  111. </script>
  112. </select1>
  113. <output id="opt_allsizespecid" ref="/root/main/cond/allsizespecid" class="output_fix" appearance="output" style="left:230px; top:34px; width:45px; height:19px; text-align:center; "/>
  114. <button id="btn_search" class="icon_search" style="left:207px; top:35px; width:16px; height:16px; ">
  115. <caption/>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. var refflag = model.getValue("/root/temp/refflag");
  119. if( refflag == "1" ) { /*물품명으로 검색*/
  120. setParameter("refnm", model.getValue("/root/main/cond/goodnm"));
  121. setParameter("refflag", "1");
  122. }else if( refflag == "2" ) { /*물품코드으로 검색*/
  123. setParameter("refnm", model.getValue("/root/main/cond/goodcd"));
  124. setParameter("refflag", "2");
  125. }
  126. modal("SMMNP04460" ,"", "100", "100", "SMMNP04460", "/root/temp/goodcond", "/root/main/cond/goodcond");
  127. var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
  128. if( getData == "") {
  129. return;
  130. }else {
  131. var getDataTemp1 = getData.split("▩");
  132. var getDataTemp2 = getDataTemp1[0].split("|");
  133. model.setValue("/root/main/cond/goodcd", getDataTemp2[0]);
  134. model.setValue("/root/main/cond/goodnm", getDataTemp2[1]);
  135. model.setValue("/root/main/cond/allsizespecid", getDataTemp2[2]);
  136. ipt_goodcd.refresh();
  137. ipt_goodnm.refresh();
  138. opt_allsizespecid.refresh();
  139. model.copyNode("/root/send/reqdata", "/root/main/cond");
  140. submit("TRMNP04701");
  141. }
  142. ]]>
  143. </script>
  144. </button>
  145. <caption id="caption3" class="search_name" style="left:15px; top:34px; width:89px; height:17px; ">물품코드 :</caption>
  146. <input id="ipt_goodnm" ref="/root/main/cond/goodnm" class="input_search" style="left:280px; top:34px; width:292px; height:19px; ">
  147. <script type="javascript" ev:event="onkeyup">
  148. <![CDATA[
  149. model.setValue("/root/temp/refflag", "1");
  150. inputEnterKey("btn_search", "DOMActivate");
  151. ]]>
  152. </script>
  153. </input>
  154. <input id="ipt_goodcd" ref="/root/main/cond/goodcd" class="input_search" style="left:102px; top:34px; width:100px; height:19px; ">
  155. <script type="javascript" ev:event="onkeyup">
  156. <![CDATA[
  157. model.setValue("/root/temp/refflag", "2");
  158. inputEnterKey("btn_search", "DOMActivate");
  159. ]]>
  160. </script>
  161. </input>
  162. <caption id="caption4" class="search_name" style="left:595px; top:9px; width:89px; height:17px; ">불출구분 :</caption>
  163. <select1 id="radio2" ref="/root/main/cond/deliveflag" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:685px; top:9px; width:160px; height:20px; border-style:none; ">
  164. <choices>
  165. <item>
  166. <label>전체</label>
  167. <value>0</value>
  168. </item>
  169. <item>
  170. <label>미확정</label>
  171. <value>1</value>
  172. </item>
  173. <item>
  174. <label>확정</label>
  175. <value>2</value>
  176. </item>
  177. </choices>
  178. <script type="javascript" ev:event="xforms-value-changed">
  179. <![CDATA[
  180. var reqfromdd = model.getValue("/root/main/cond/reqfromdd");
  181. var reqtodd = model.getValue("/root/main/cond/reqtodd");
  182. if( ( reqfromdd == "" )&&( reqtodd == "" ) ) {//조회할 의뢰일자를 입력해야 한다.
  183. messageBox("의뢰일자를 선택 하지", "E007");
  184. model.setFocus("ipt_fromdd");
  185. }else {
  186. model.copyNode("/root/send/reqdata", "/root/main/cond");
  187. submit("TRMNP04701");
  188. grd_acmlgoodreqlist.autoResize = true;
  189. var refMsg = model.getValue("/root/properties/error/msg");
  190. var refMsgCnt = refMsg.substring(0, 1);
  191. if( refMsgCnt == "0" ) {
  192. messageBox("조회된 결과가", "I004");
  193. model.setFocus("ipt_fromdd");
  194. }
  195. }
  196. ]]>
  197. </script>
  198. </select1>
  199. </group>
  200. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  201. <datagrid id="grd_acmlgoodreqlist" nodeset="/root/main/acmlgoodreqlist" autoresize="true" caption="의뢰일자^수술방^사용구분^물품코드^SIZEID^물품명칭(규격,모델)^제조원^단위^의뢰량^불출량^확정^미확정사유" colsep="^" colwidth="80, 60, 75, 80, 45, 350, 80, 55, 55, 55, 55, 165" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:1195px; height:550px; ">
  202. <col ref="delivereqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  203. <col disabled="true" ref="oproomcd" type="combo" style="text-align:center; ">
  204. <choices>
  205. <itemset nodeset="/root/init/oproomlist">
  206. <label ref="oproomnm"/>
  207. <value ref="oproomcd"/>
  208. </itemset>
  209. </choices>
  210. </col>
  211. <col disabled="true" ref="useflag" type="combo">
  212. <choices>
  213. <item>
  214. <label>재사용물품</label>
  215. <value>Y</value>
  216. </item>
  217. <item>
  218. <label>누적물품</label>
  219. <value>Z</value>
  220. </item>
  221. <item>
  222. <label>1회사용</label>
  223. <value>N</value>
  224. </item>
  225. </choices>
  226. </col>
  227. <col ref="goodcd" style="text-align:center; "/>
  228. <col ref="allsizespecid" style="text-align:center; "/>
  229. <col ref="goodalias"/>
  230. <col ref="prodcmpynm"/>
  231. <col disabled="true" ref="unit" type="combo" style="text-align:center; ">
  232. <choices>
  233. <item>
  234. <label>each</label>
  235. <value>EA</value>
  236. </item>
  237. <item>
  238. <label>pack</label>
  239. <value>PK</value>
  240. </item>
  241. <item>
  242. <label>box</label>
  243. <value>BOX</value>
  244. </item>
  245. <item>
  246. <label>roll</label>
  247. <value>ROL</value>
  248. </item>
  249. <item>
  250. <label>set</label>
  251. <value>SET</value>
  252. </item>
  253. </choices>
  254. </col>
  255. <col ref="reqqty" style="text-align:right; "/>
  256. <col ref="deliveqty" style="text-align:right; "/>
  257. <col disabled="true" ref="cnfm" type="combo" style="text-align:center; ">
  258. <choices>
  259. <item>
  260. <label>확정</label>
  261. <value>Y</value>
  262. </item>
  263. <item>
  264. <label>미확정</label>
  265. <value>N</value>
  266. </item>
  267. </choices>
  268. </col>
  269. <col ref="uncnfmresn" style="text-align:left; "/>
  270. </datagrid>
  271. <caption id="caption22" class="tit_2" style="left:5px; top:80px; width:170px; height:13px; ">누적물품 불출의뢰 리스트</caption>
  272. </group>
  273. </xhtml:body>
  274. </xhtml:html>