SMMNP05000_수술실사용물품.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <opfromdd/>
  18. <optodd/>
  19. <oproomcd/>
  20. <refflag/>
  21. </cond>
  22. <purcreqlist>
  23. <chkflag/>
  24. <opdd/>
  25. <oproomcd/>
  26. <patnm/>
  27. <pid/>
  28. <goodcd/>
  29. <allsizespecid/>
  30. <goodalias/>
  31. <useqty/>
  32. <transstat/>
  33. <cust/>
  34. <custtel/>
  35. </purcreqlist>
  36. </main>
  37. <send>
  38. <reqdata/>
  39. <savedata/>
  40. </send>
  41. <hidden>
  42. <orddeptlist>
  43. <dept>
  44. <depthngnm/>
  45. <deptcd/>
  46. </dept>
  47. </orddeptlist>
  48. </hidden>
  49. <temp/>
  50. </root>
  51. </instance>
  52. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/orddeptlist"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. var curtDate = getCurrentDate();
  56. curtDate = curtDate.substr(0, 8);
  57. model.setValue("/root/main/cond/opfromdd", curtDate);
  58. model.setValue("/root/main/cond/optodd", curtDate);
  59. grd_purcreqlist.fixedcellcheckbox(0,1) = true;
  60. var instcd = getUserInfo("dutplceinstcd");
  61. instcd = "012";
  62. var standard_yn = "orduseyn";
  63. var ord_deptflag = 'D';
  64. var rslt_ref = "/root/hidden/orddeptlist";
  65. var sort_field = "depthngnm";
  66. var sort_method = "";
  67. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
  68. submit("TRMNP05001");
  69. ]]>
  70. </script>
  71. <submission id="TRMNP05001" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproomlist"/>
  72. <submission id="TRMNP05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/purcreqlist"/>
  73. </model>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  78. </xhtml:head>
  79. <xhtml:body guideline="1,1196;2,753;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  81. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:248px; height:14px; ">수탁자료 구매전송</caption>
  82. </group>
  83. <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
  84. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  85. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  86. <caption id="caption26" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">의뢰일자 :</caption>
  87. <button id="button1" class="btn1_letter2" style="left:948px; top:7px; width:56px; height:22px; ">
  88. <caption>조회</caption>
  89. </button>
  90. <button id="button5" class="btn1_letter4" style="left:1007px; top:7px; width:80px; height:22px; ">
  91. <caption>구매전송</caption>
  92. </button>
  93. <line id="line13" class="line_4" style="x1:932px; y1:6px; x2:932px; y2:28px; "/>
  94. <caption id="caption1" class="search_name" style="left:340px; top:9px; width:79px; height:17px; ">수술방 :</caption>
  95. <caption id="caption11" class="search_n_b" style="left:206px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  96. <input id="input8" ref="/root/의뢰일자1" class="input_s_essential" inputtype="date" style="left:102px; top:8px; width:100px; height:19px; "/>
  97. <input id="input9" ref="/root/의뢰일자2" class="input_s_essential" inputtype="date" style="left:222px; top:8px; width:100px; height:19px; "/>
  98. <select1 id="combo1" ref="/root/수술방" class="combo_search" appearance="minimal" style="left:415px; top:8px; width:75px; height:19px; ">
  99. <choices>
  100. <item>
  101. <label>01 1번방</label>
  102. <value>1</value>
  103. </item>
  104. <item>
  105. <label>02 2번방</label>
  106. <value>2</value>
  107. </item>
  108. <item>
  109. <label>03 3번방</label>
  110. <value>3</value>
  111. </item>
  112. <item>
  113. <label>04 4번방</label>
  114. <value>4</value>
  115. </item>
  116. </choices>
  117. </select1>
  118. <caption id="caption4" class="search_name" style="left:510px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
  119. <select1 id="combo2" ref="/root/물품구분" class="combo_search" appearance="minimal" style="left:600px; top:8px; width:90px; height:19px; ">
  120. <choices>
  121. <item>
  122. <label>1 구매</label>
  123. <value>1</value>
  124. </item>
  125. <item>
  126. <label>2 가입고</label>
  127. <value>2</value>
  128. </item>
  129. <item>
  130. <label>3 수탁</label>
  131. <value>3</value>
  132. </item>
  133. <item>
  134. <label>4 미청구</label>
  135. <value>4</value>
  136. </item>
  137. <item>
  138. <label>5 청구서</label>
  139. <value>5</value>
  140. </item>
  141. </choices>
  142. </select1>
  143. <select1 id="combo3" ref="/root/수술과" class="combo_search" appearance="minimal" style="left:785px; top:8px; width:130px; height:19px; ">
  144. <choices>
  145. <item>
  146. <label>10100 내과</label>
  147. <value>1</value>
  148. </item>
  149. <item>
  150. <label>10131 소화기내과</label>
  151. <value>2</value>
  152. </item>
  153. <item>
  154. <label>10133 심장내과</label>
  155. <value>3</value>
  156. </item>
  157. <item>
  158. <label>10134 혈액종양내과</label>
  159. <value>4</value>
  160. </item>
  161. <item>
  162. <label>10135 내분비내과</label>
  163. <value>5</value>
  164. </item>
  165. </choices>
  166. </select1>
  167. <caption id="caption5" class="search_name" style="left:710px; top:9px; width:86px; height:17px; ">수술과 :</caption>
  168. <button id="button2" class="btn1_letter5" style="left:1090px; top:7px; width:80px; height:22px; ">
  169. <caption>스케줄조회</caption>
  170. </button>
  171. </group>
  172. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:550px; y2:65px; "/>
  173. <datagrid id="datagrid1" nodeset="/root/item/grid" caption="자재코드^코드^처방명칭^규격^구분^수량^수가코드" colsep="^" colwidth="98, 65, 94, 66, 56, 45, 87" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:70px; width:550px; height:650px; ">
  174. <col ref="의뢰"/>
  175. <col ref="수술방"/>
  176. <col ref="사용구분"/>
  177. <col ref="물품코드"/>
  178. <col ref="물품명칭"/>
  179. <col ref="제조원"/>
  180. <col ref="단위"/>
  181. </datagrid>
  182. <caption id="caption22" class="tit_2" style="left:5px; top:50px; width:82px; height:13px; ">사용물품</caption>
  183. <button id="button12" class="btn2_letter4" style="left:485px; top:43px; width:64px; height:19px; ">
  184. <caption>엑셀저장</caption>
  185. </button>
  186. <caption id="caption2" class="tit_2" style="left:855px; top:50px; width:82px; height:13px; ">사용물품</caption>
  187. <line id="line2" class="line_1" style="x1:850px; y1:65px; x2:1400px; y2:65px; "/>
  188. <button id="button3" class="btn2_letter4" style="left:1335px; top:43px; width:64px; height:19px; ">
  189. <caption>엑셀저장</caption>
  190. </button>
  191. <datagrid id="datagrid2" nodeset="/root/item/grid" caption="자재코드^코드^처방명칭^규격^구분^수량^수가코드" colsep="^" colwidth="98, 65, 94, 66, 56, 45, 87" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:850px; top:70px; width:550px; height:650px; ">
  192. <col ref="의뢰"/>
  193. <col ref="수술방"/>
  194. <col ref="사용구분"/>
  195. <col ref="물품코드"/>
  196. <col ref="물품명칭"/>
  197. <col ref="제조원"/>
  198. <col ref="단위"/>
  199. </datagrid>
  200. </group>
  201. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  202. <group id="group1" scroll="auto" style="left:0px; top:18px; width:1195px; height:735px; ">
  203. <group id="group2" style="left:0px; top:5px; width:1194px; height:40px; vertical-align:top; ">
  204. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  205. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">수술일자 :</caption>
  206. <button id="button4" class="btn1_letter2" style="left:958px; top:9px; width:56px; height:22px; ">
  207. <caption>조회</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. model.copyNode("/root/send/reqdata", "/root/main/cond");
  211. submit("TRMNP05002");
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="button6" class="btn1_letter4" style="left:1017px; top:9px; width:80px; height:22px; ">
  216. <caption>업체전송</caption>
  217. </button>
  218. <line id="line3" class="line_4" style="x1:947px; y1:9px; x2:947px; y2:31px; "/>
  219. <caption id="caption7" class="search_name" style="left:355px; top:9px; width:79px; height:17px; ">수술방 :</caption>
  220. <caption id="caption8" class="search_n_b" style="left:206px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  221. <input id="input1" ref="/root/main/cond/opfromdd" class="input_s_essential" inputtype="date" style="left:102px; top:8px; width:100px; height:19px; ">
  222. <script type="javascript" ev:event="xforms-value-changed">
  223. <![CDATA[
  224. model.copyNode("/root/send/reqdata", "/root/main/cond");
  225. submit("TRMNP05002");
  226. ]]>
  227. </script>
  228. </input>
  229. <input id="input2" ref="/root/main/cond/optodd" class="input_s_essential" inputtype="date" style="left:222px; top:8px; width:100px; height:19px; ">
  230. <script type="javascript" ev:event="xforms-value-changed">
  231. <![CDATA[
  232. model.copyNode("/root/send/reqdata", "/root/main/cond");
  233. submit("TRMNP05002");
  234. ]]>
  235. </script>
  236. </input>
  237. <select1 id="combo4" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:430px; top:8px; width:95px; height:19px; ">
  238. <choices>
  239. <itemset nodeset="/root/init/oproomlist">
  240. <label ref="oproomnm"/>
  241. <value ref="oproomcd"/>
  242. </itemset>
  243. </choices>
  244. <script type="javascript" ev:event="xforms-value-changed">
  245. <![CDATA[
  246. model.copyNode("/root/send/reqdata", "/root/main/cond");
  247. submit("TRMNP05002");
  248. ]]>
  249. </script>
  250. </select1>
  251. <button id="button10" class="btn1_letter4" style="left:1100px; top:9px; width:80px; height:22px; ">
  252. <caption>엑셀저장</caption>
  253. </button>
  254. <select1 id="radio1" ref="/root/main/cond/refflag" overflow="visible" appearance="full" cols="3" style="left:565px; top:10px; width:165px; height:20px; border-style:none; ">
  255. <choices>
  256. <item>
  257. <label>전체</label>
  258. <value>0</value>
  259. </item>
  260. <item>
  261. <label>전송</label>
  262. <value>1</value>
  263. </item>
  264. <item>
  265. <label>미전송</label>
  266. <value>2</value>
  267. </item>
  268. </choices>
  269. </select1>
  270. </group>
  271. <line id="line4" class="line_1" style="x1:0px; y1:50px; x2:1195px; y2:50px; "/>
  272. <datagrid id="grd_purcreqlist" nodeset="/root/main/purcreqlist" caption="^수술일자^수술방^환자명^등록번호^물품코드^SIZEID^물품명(규격,모델,제조원)^사용수량^전송상태^거래처^연락처" colsep="^" colwidth="40, 80, 60, 90, 80, 80, 45, 400, 60, 60, 75, 85" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:55px; width:1195px; height:650px; ">
  273. <col ref="chkflag" type="checkbox" style="text-align:center; "/>
  274. <col ref="opdd" style="text-align:center; "/>
  275. <col disabled="true" ref="oproomcd" type="combo">
  276. <choices>
  277. <itemset nodeset="/root/init/oproomlist">
  278. <label ref="oproomnm"/>
  279. <value ref="oproomcd"/>
  280. </itemset>
  281. </choices>
  282. </col>
  283. <col ref="patnm" style="text-align:center; "/>
  284. <col ref="pid" style="text-align:center; "/>
  285. <col ref="goodcd" style="text-align:center; "/>
  286. <col ref="allsizespecid"/>
  287. <col ref="goodalias"/>
  288. <col ref="useqty"/>
  289. <col ref="transstat"/>
  290. <col ref="cust"/>
  291. <col ref="custtel"/>
  292. </datagrid>
  293. </group>
  294. </xhtml:body>
  295. </xhtml:html>