SMMNB01810_이송요원정보추가삭제.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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. <M0556list/>
  11. <M0557list/>
  12. <M0558list/>
  13. <issdept/>
  14. </init>
  15. <main>
  16. <tranempinfo>
  17. <pid/>
  18. <patnm/>
  19. <wardcd/>
  20. <roomcd/>
  21. <trtarget/>
  22. <trtargetetc/>
  23. <startposcd/>
  24. <arvposcd/>
  25. <movewayno/>
  26. <remark/>
  27. <freetext/>
  28. <freeflag/>
  29. <patsearflag>1</patsearflag>
  30. <callflag>1</callflag>
  31. <trno/>
  32. <trposstm/>
  33. <prcsstat/>
  34. <rsrvdd/>
  35. <rsrvdt/>
  36. <wardtel/>
  37. <tremp/>
  38. <rsrvyn/>
  39. <rsrvtm/>
  40. <startposnm/>
  41. <calldeptflag/>
  42. <trflag/>
  43. <prepfact/>
  44. <trflagnm/>
  45. <prcpno/>
  46. <arvposnm/>
  47. </tranempinfo>
  48. <cmbdata>
  49. <movewaylist>
  50. <movewayno/>
  51. <movewaynm/>
  52. </movewaylist>
  53. <remarklist>
  54. <remarkno/>
  55. <cnts/>
  56. </remarklist>
  57. <rgstdeptlist>
  58. <rgstdeptcd/>
  59. <rgstdeptnm/>
  60. </rgstdeptlist>
  61. <arvposlist>
  62. <arvposcd/>
  63. <arvposnm/>
  64. </arvposlist>
  65. </cmbdata>
  66. <cond>
  67. <status/>
  68. <trno/>
  69. </cond>
  70. </main>
  71. <hidden>
  72. <orddeptlist>
  73. <dept>
  74. <depthngnm/>
  75. <deptcd/>
  76. </dept>
  77. </orddeptlist>
  78. </hidden>
  79. <send>
  80. <reqdata/>
  81. <savedata/>
  82. </send>
  83. <temp>
  84. <tranempinfo/>
  85. <patinfo>
  86. <pid/>
  87. <patnm/>
  88. <wardcd/>
  89. <roomcd/>
  90. </patinfo>
  91. <deptsear>
  92. <cd/>
  93. <nm/>
  94. <kk/>
  95. </deptsear>
  96. </temp>
  97. <code>
  98. <codelist>
  99. <cdnm/>
  100. <cdid/>
  101. </codelist>
  102. </code>
  103. </root>
  104. </instance>
  105. <script type="javascript" ev:event="xforms-ready">
  106. <![CDATA[
  107. fInit();
  108. ]]>
  109. </script>
  110. <submission id="TRMNB01811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cmbdata"/>
  111. <submission id="TRMNB01812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/tranempinfo"/>
  112. <submission id="TXMNB01811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  113. <submission id="TRMNB01813" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptlist"/>
  114. <submission id="TRMNB01814" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/patinfo"/>
  115. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temp/deptsear"/>
  116. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/orddeptlist"/>
  117. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/code/codelist"/>
  118. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  119. <submission id="TRMNW04008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/roomcdgrup"/>
  120. <submission id="TRMNW04009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/patientgrup"/>
  121. </model>
  122. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  123. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  127. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB01810.js"/>
  128. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  129. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  130. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  131. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  132. </xhtml:head>
  133. <xhtml:body pagewidth="525" pageheight="235" guideline="1,1;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  134. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:175px; ">
  135. <select1 id="radio1" ref="/root/main/tranempinfo/trflag" appearance="full" cols="5" overflow="visible" style="left:73px; top:55px; width:427px; height:20px; border-style:none; ">
  136. <choices>
  137. <itemset nodeset="/root/init/M0556list/M0556">
  138. <label ref="cdnm"/>
  139. <value ref="cdid"/>
  140. </itemset>
  141. </choices>
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. if(model.getValue("/root/main/tranempinfo/trflag") =="1") {
  145. caption14.visible = true;
  146. ipt_trtarget.visible = true;
  147. caption6.visible = true;
  148. cmb_trtargetetc.visible = true;
  149. caption9.visible = false;
  150. input2.visible = false;
  151. caption10.visible = false;
  152. combo2.visible = false;
  153. caption13.visible = false;
  154. input3.visible = false;
  155. caption17.visible = false;
  156. input4.visible = false;
  157. }
  158. else if(model.getValue("/root/main/tranempinfo/trflag") =="2") {
  159. caption9.visible = true;
  160. input2.visible = true;
  161. caption10.visible = true;
  162. combo2.visible = true;
  163. caption14.visible = false;
  164. ipt_trtarget.visible = false;
  165. caption6.visible = false;
  166. cmb_trtargetetc.visible = false;
  167. caption13.visible = false;
  168. input3.visible = false;
  169. caption17.visible = false;
  170. input4.visible = false;
  171. }
  172. else if(model.getValue("/root/main/tranempinfo/trflag") =="3") {
  173. caption13.visible = true;
  174. input3.visible = true;
  175. caption14.visible = false;
  176. ipt_trtarget.visible = false;
  177. caption6.visible = false;
  178. cmb_trtargetetc.visible = false;
  179. caption9.visible = false;
  180. input2.visible = false;
  181. caption10.visible = false;
  182. combo2.visible = false;
  183. caption17.visible = false;
  184. input4.visible = false;
  185. }
  186. else if(model.getValue("/root/main/tranempinfo/trflag") =="4" || model.getValue("/root/main/tranempinfo/trflag") =="5") {
  187. caption17.visible = true;
  188. input4.visible = true;
  189. caption14.visible = false;
  190. ipt_trtarget.visible = false;
  191. caption6.visible = false;
  192. cmb_trtargetetc.visible = false;
  193. caption9.visible = false;
  194. input2.visible = false;
  195. caption10.visible = false;
  196. combo2.visible = false;
  197. caption13.visible = false;
  198. input3.visible = false;
  199. }
  200. ]]>
  201. </script>
  202. </select1>
  203. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:244px; height:14px; ">이송업무 등록 및 수정</caption>
  204. <button id="btn_save" class="btn2_letter2" navindex="12" style="left:457px; top:5px; width:42px; height:19px; ">
  205. <caption>저장</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. fExeSaveTranCall();
  209. ]]>
  210. </script>
  211. </button>
  212. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
  213. <line id="line2" class="line_2" style="x1:1px; y1:52px; x2:501px; y2:52px; "/>
  214. <caption id="caption2" class="cell_1" style="left:0px; top:30px; width:70px; height:23px; vertical-align:middle; ">환자정보</caption>
  215. <line id="line3" class="line_2" style="x1:0px; y1:76px; x2:500px; y2:76px; "/>
  216. <caption id="caption4" class="cell_1" style="left:71px; top:30px; width:35px; height:23px; vertical-align:middle; ">병동</caption>
  217. <caption id="caption5" class="cell_1" style="left:211px; top:29px; width:36px; height:23px; vertical-align:middle; ">병실</caption>
  218. <caption id="caption6" class="cell_1" visibility="hidden" style="left:330px; top:78px; width:58px; height:23px; vertical-align:middle; ">종류</caption>
  219. <select1 id="cmb_trtargetetc" ref="/root/main/tranempinfo/trtargetetc" class="combo_default" navindex="3" appearance="minimal" style="left:390px; top:80px; width:110px; height:19px; ">
  220. <choices>
  221. <itemset nodeset="/root/init/M0557list/M0557">
  222. <label ref="cdnm"/>
  223. <value ref="cdid"/>
  224. </itemset>
  225. </choices>
  226. </select1>
  227. <line id="line4" class="line_2" style="x1:0px; y1:125px; x2:500px; y2:125px; "/>
  228. <select1 id="cmb_moveway" ref="/root/main/tranempinfo/movewayno" class="combo_s_essential" navindex="5" appearance="minimal" style="left:73px; top:129px; width:90px; height:19px; ">
  229. <choices>
  230. <itemset nodeset="/root/main/cmbdata/movewaylist">
  231. <label ref="movewaynm"/>
  232. <value ref="movewayno"/>
  233. </itemset>
  234. </choices>
  235. <script type="javascript" ev:event="xforms-value-changed">
  236. <![CDATA[
  237. if( model.getValue("/root/main/tranempinfo/startposcd") == "" ) {
  238. model.setFocus("cmb_startpos");
  239. }else {
  240. model.copyNode("/root/send/reqdata", "/root/main/tranempinfo");
  241. //submit("TRMNB01812", false);
  242. model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
  243. ipt_wardtel.refresh();
  244. }
  245. ]]>
  246. </script>
  247. </select1>
  248. <select1 id="cmb_remark" ref="/root/main/tranempinfo/remark" class="combo_default" appearance="minimal" style="left:73px; top:152px; width:182px; height:19px; ">
  249. <choices>
  250. <itemset nodeset="/root/main/cmbdata/remarklist">
  251. <label ref="cnts"/>
  252. <value ref="remarkno"/>
  253. </itemset>
  254. </choices>
  255. </select1>
  256. <line id="line5" class="line_2" style="x1:0px; y1:149px; x2:500px; y2:149px; "/>
  257. <caption id="caption7" class="cell_1" style="left:0px; top:127px; width:70px; height:23px; vertical-align:middle; ">이동수단</caption>
  258. <caption id="caption8" class="cell_1" style="left:0px; top:151px; width:70px; height:23px; vertical-align:middle; ">Remark</caption>
  259. <line id="line6" class="line_3" style="x1:0px; y1:173px; x2:500px; y2:173px; "/>
  260. <input id="ipt_remark" ref="/root/main/tranempinfo/freetext" navindex="10" style="left:73px; top:152px; width:182px; height:19px; "/>
  261. <select id="chk_freetext" ref="/root/main/tranempinfo/freeflag" overflow="visible" appearance="full" style="left:258px; top:153px; width:70px; height:20px; border-style:none; ">
  262. <choices>
  263. <item>
  264. <label>직접입력</label>
  265. <value>1</value>
  266. </item>
  267. </choices>
  268. <script type="javascript" ev:event="onclick">
  269. <![CDATA[
  270. var flag = model.getValue("/root/main/tranempinfo/freeflag");
  271. if( flag == "1" ) {
  272. ipt_remark.visible = true;
  273. cmb_remark.visible = false;
  274. model.setValue("/root/main/tranempinfo/remark", "");
  275. }else {
  276. ipt_remark.visible = false;
  277. cmb_remark.visible = true;
  278. model.setValue("/root/main/tranempinfo/freetext", "");
  279. }
  280. model.refresh();
  281. ]]>
  282. </script>
  283. </select>
  284. <caption id="caption11" class="cell_1" style="left:0px; top:103px; width:70px; height:23px; vertical-align:middle; ">출발지</caption>
  285. <caption id="caption12" class="cell_1" style="left:166px; top:103px; width:70px; height:23px; vertical-align:middle; ">도착지</caption>
  286. <select1 id="cmb_arvpos" ref="/root/main/tranempinfo/arvposcd" class="combo_s_essential" navindex="6" appearance="minimal" editmode="inputsearch" style="left:238px; top:105px; width:90px; height:19px; ">
  287. <choices>
  288. <itemset nodeset="/root/init/issdept/dept">
  289. <label ref="depthngnm"/>
  290. <value ref="deptcd"/>
  291. </itemset>
  292. </choices>
  293. <script type="javascript" ev:event="onkeydown">
  294. <![CDATA[
  295. if(event.keyCode == "13") {
  296. cmb_arvpos.refresh();
  297. }
  298. ]]>
  299. </script>
  300. <script type="javascript" ev:event="DOMFocusOut">
  301. <![CDATA[
  302. cmb_arvpos.refresh();
  303. ]]>
  304. </script>
  305. </select1>
  306. <button id="btn_patsear" class="icon_search" style="left:477px; top:32px; width:16px; height:16px; ">
  307. <caption/>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. var refCond = model.getValue("/root/main/tranempinfo/pid");
  311. if( refCond.isNumber() ) {//숫자이면 등록번호, 아니면 환자명 체크
  312. model.setValue("/root/main/tranempinfo/patsearflag", "2");
  313. }else {
  314. model.setValue("/root/main/tranempinfo/patsearflag", "1");
  315. }
  316. setParameter("refnm", refCond);
  317. modal("SMMNB00700" ,"", "400", "150", "SMMNB00700", "/root/main/tranempinfo/patsearflag", "/root/main/cond/refflag");
  318. var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
  319. var getDataTemp = getData.split("|");
  320. if( getData == "" ) {
  321. return;
  322. }else {
  323. model.setValue("/root/main/tranempinfo/pid", getDataTemp[0]);
  324. //ipt_pid.refresh();
  325. model.setValue("/root/main/tranempinfo/patnm", getDataTemp[1]);
  326. model.setValue("/root/main/tranempinfo/wardcd", getDataTemp[9]);
  327. model.setValue("/root/main/tranempinfo/roomcd", getDataTemp[10]);
  328. model.setValue("/root/main/tranempinfo/patsearflag", getDataTemp[11]);
  329. model.setFocus("cmb_trtargetetc");
  330. model.refresh();
  331. }
  332. fGetRoom(); //병실 조회
  333. fGetPatient(); //환자검색
  334. model.setFocus("ipt_trtarget");
  335. ]]>
  336. </script>
  337. </button>
  338. <input id="output1" ref="/root/main/tranempinfo/pid" disabled="true" appearance="input" style="left:400px; top:30px; width:74px; height:19px; "/>
  339. <caption id="caption14" class="cell_1" style="left:0px; top:78px; width:70px; height:23px; vertical-align:middle; ">처방명</caption>
  340. <input id="ipt_trtarget" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:73px; top:80px; width:255px; height:19px; "/>
  341. <line id="line7" class="line_2" style="x1:0px; y1:101px; x2:500px; y2:101px; "/>
  342. <select1 id="combo1" ref="/root/main/tranempinfo/wardcd" appearance="minimal" style="left:109px; top:30px; width:98px; height:19px; ">
  343. <choices>
  344. <itemset nodeset="/root/hidden/orddeptlist/dept">
  345. <label ref="depthngnm"/>
  346. <value ref="deptcd"/>
  347. </itemset>
  348. </choices>
  349. <script type="javascript" ev:event="xforms-select">
  350. <![CDATA[
  351. //조회조건 clear
  352. model.setValue('/root/main/tranempinfo/roomcd', '');
  353. model.setValue('/root/main/tranempinfo/pid', '');
  354. model.setValue('/root/main/tranempinfo/patnm', '');
  355. //병동에 해당되는 병실검색
  356. fGetRoom();
  357. ]]>
  358. </script>
  359. </select1>
  360. <caption id="caption15" class="cell_1" style="left:330px; top:103px; width:58px; height:23px; vertical-align:middle; ">예약일시</caption>
  361. <input id="output2" ref="/root/main/tranempinfo/rsrvdt" class="input_default" navindex="7" format="hh:nn" style="left:460px; top:105px; width:40px; height:19px; "/>
  362. <caption id="caption16" class="cell_1" style="left:330px; top:149px; width:58px; height:23px; vertical-align:middle; ">회신번호</caption>
  363. <input id="ipt_wardtel" ref="/root/main/tranempinfo/wardtel" class="input_s_essential" navindex="9" format="9999" style="left:390px; top:152px; width:110px; height:19px; "/>
  364. <input id="input1" ref="/root/main/tranempinfo/rsrvdd" disabled="true" format="yyyy-mm-dd" style="left:390px; top:105px; width:68px; height:19px; "/>
  365. <caption id="caption3" class="cell_1" style="left:0px; top:54px; width:70px; height:23px; vertical-align:middle; ">이송구분</caption>
  366. <input id="input2" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:73px; top:80px; width:255px; height:19px; "/>
  367. <caption id="caption9" class="cell_1" style="left:0px; top:78px; width:70px; height:23px; vertical-align:middle; ">이송약품</caption>
  368. <caption id="caption10" class="cell_1" visibility="hidden" style="left:330px; top:78px; width:58px; height:23px; vertical-align:middle; ">약품번호</caption>
  369. <input id="combo2" ref="/root/main/tranempinfo/prcpno" class="input_default" navindex="2" style="left:390px; top:80px; width:110px; height:19px; "/>
  370. <input id="input3" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:72px; top:80px; width:428px; height:19px; "/>
  371. <caption id="caption13" class="cell_1" style="left:0px; top:79px; width:70px; height:23px; vertical-align:middle; ">이송검체</caption>
  372. <caption id="caption17" class="cell_1" style="left:0px; top:79px; width:70px; height:23px; vertical-align:middle; ">물품/기타</caption>
  373. <input id="input4" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:72px; top:80px; width:428px; height:19px; "/>
  374. <caption id="caption18" class="cell_1" style="left:166px; top:127px; width:70px; height:23px; vertical-align:middle; ">준비사항</caption>
  375. <select id="checkbox1" ref="/root/main/tranempinfo/prepfact" overflow="visible" appearance="full" cols="4" sep="^" style="left:238px; top:130px; width:260px; height:20px; border-style:none; ">
  376. <choices>
  377. <itemset nodeset="/root/init/M0558list/M0558">
  378. <label ref="cdnm"/>
  379. <value ref="cdid"/>
  380. </itemset>
  381. </choices>
  382. </select>
  383. <select1 id="combo3" ref="/root/main/tranempinfo/patnm" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:325px; top:30px; width:74px; height:19px; ">
  384. <choices>
  385. <itemset nodeset="/root/hidden/patientgrup/patientgruplist">
  386. <label ref="patientnm"/>
  387. <value ref="pid"/>
  388. </itemset>
  389. </choices>
  390. <script type="javascript" ev:event="xforms-select">
  391. <![CDATA[
  392. //조회조건 clear
  393. model.setValue('/root/main/tranempinfo/pid', '');
  394. //선택한 병실에 해당하는 환자리스트 조회
  395. fGetPatient();
  396. model.setValue("/root/main/tranempinfo/pid",combo3.value);
  397. model.refresh();
  398. ]]>
  399. </script>
  400. </select1>
  401. <select1 id="combo4" ref="/root/main/tranempinfo/roomcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:249px; top:30px; width:74px; height:19px; ">
  402. <choices>
  403. <itemset nodeset="/root/hidden/roomcdgrup/roomcdgruplist">
  404. <label ref="roomnm"/>
  405. <value ref="roomcd"/>
  406. </itemset>
  407. </choices>
  408. <script type="javascript" ev:event="xforms-select">
  409. <![CDATA[
  410. //조회조건 clear
  411. model.setValue('/root/main/tranempinfo/pid', '');
  412. model.setValue('/root/main/tranempinfo/patnm', '');
  413. model.refresh();
  414. //선택한 병실에 해당하는 환자리스트 조회
  415. fGetPatient();
  416. ]]>
  417. </script>
  418. </select1>
  419. </group>
  420. <group id="grp_btn" scroll="auto" style="left:0px; top:176px; width:501px; height:27px; ">
  421. <button id="btn_cncl" class="btn4_letter2" navindex="13" style="left:444px; top:3px; width:56px; height:22px; ">
  422. <caption>취소</caption>
  423. <script type="javascript" ev:event="DOMActivate">
  424. <![CDATA[
  425. setParameter("refstatus", "C");
  426. window.close();
  427. ]]>
  428. </script>
  429. </button>
  430. </group>
  431. <button id="btn_issdept" class="icon_search" visibility="visible" style="left:50px; top:105px; width:16px; height:16px; ">
  432. <caption/>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. setParameter("SPMMB02600_trgtnode_path", "/root/main/tranempinfo/startposcd");
  436. modal("SPMMB02600");
  437. model.removenode("/root/send/reqdata");
  438. model.makeNode("/root/send/reqdata");
  439. model.makeValue("/root/send/reqdata/startposcd", model.getValue("/root/main/tranempinfo/startposcd"));
  440. submit("TRMNB01812");
  441. model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
  442. model.refresh();
  443. ]]>
  444. </script>
  445. </button>
  446. <select1 id="cmb_startpos" ref="/root/main/tranempinfo/startposcd" class="combo_s_essential" appearance="minimal" editmode="inputsearch" itemcount="40" style="left:72px; top:105px; width:92px; height:19px; text-align:left; ">
  447. <choices>
  448. <itemset nodeset="/root/init/issdept/dept">
  449. <label ref="depthngnm"/>
  450. <value ref="deptcd"/>
  451. </itemset>
  452. </choices>
  453. <script type="javascript" ev:event="onkeydown">
  454. <![CDATA[
  455. if(event.keyCode == "13") {
  456. cmb_startpos.refresh();
  457. }
  458. ]]>
  459. </script>
  460. <script type="javascript" ev:event="DOMFocusOut">
  461. <![CDATA[
  462. cmb_startpos.refresh();
  463. ]]>
  464. </script>
  465. <script type="javascript" ev:event="xforms-value-changed">
  466. <![CDATA[
  467. model.removenode("/root/send/reqdata");
  468. model.makeNode("/root/send/reqdata");
  469. model.makeValue("/root/send/reqdata/startposcd", model.getValue("/root/main/tranempinfo/startposcd"));
  470. submit("TRMNB01812");
  471. model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
  472. model.refresh();
  473. ]]>
  474. </script>
  475. </select1>
  476. <button id="bnt_arvpos" class="icon_search" visibility="visible" style="left:215px; top:105px; width:16px; height:16px; ">
  477. <caption/>
  478. <script type="javascript" ev:event="DOMActivate">
  479. <![CDATA[
  480. setParameter("SPMMB02600_trgtnode_path", "/root/main/tranempinfo/arvposcd");
  481. modal("SPMMB02600");
  482. model.refresh();
  483. ]]>
  484. </script>
  485. </button>
  486. </xhtml:body>
  487. </xhtml:html>