SPRSO10000_약국이송청구(경북대).xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <druggooddelivereqinfo>
  11. <druggooddelivereqlist>
  12. </druggooddelivereqlist>
  13. </druggooddelivereqinfo>
  14. <druggooddelivereqdetailinfo>
  15. <druggooddelivereqdetailist/>
  16. <druggooddelivereqcustinfo>
  17. <druggoodreqcustlist/>
  18. </druggooddelivereqcustinfo>
  19. </druggooddelivereqdetailinfo>
  20. </main>
  21. <cond>
  22. <srchfromdd/>
  23. <srchtodd/>
  24. <maincustlastsuplplce/>
  25. <srchflag/>
  26. <delivedeptcd/>
  27. </cond>
  28. <send>
  29. <reqdata/>
  30. <savedata/>
  31. </send>
  32. <init>
  33. </init>
  34. <hidden>
  35. </hidden>
  36. <temp>
  37. <hidden/>
  38. </temp>
  39. </root>
  40. </instance>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  47. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  48. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. model.removeNodeset(grd_druggoodreqlist.nodeset);
  54. model.removeNodeset(grd_druggoodreqdetailist.nodeset);
  55. var bfdd = ((getCurrentDate()).toDate()).getAddDate(-7, "D");
  56. model.setValue("/root/cond/srchfromdd",bfdd.getDateFormat());
  57. model.setValue("/root/cond/srchtodd" ,getCurrentDate());
  58. // misfComboComCdList("030M0010",cmb_deliveflag);
  59. // addComboItem( "cmb_maincustlastsuplplce", "전체", "", "above" );
  60. if(submit("TRRSO10001")){
  61. }
  62. model.refresh();
  63. ]]>
  64. </script>
  65. <submission id="TRRSO10001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/druggooddelivereqinfo"/>
  66. <submission id="TRRSO10002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/druggooddelivereqdetailinfo"/>
  67. </model>
  68. <script type="javascript">
  69. <![CDATA[
  70. /**
  71. * @ver : 2010-10-22
  72. * @desc : 약품불출요구사항 그리드 더블클릭시 상세정보 조회
  73. * @param :
  74. * @return :
  75. * @---------------------------------------------------
  76. */
  77. function fDrugReqDetailSrch(){
  78. var sRow = grd_druggoodreqlist.row - grd_druggoodreqlist.fixedRows + 1
  79. if(grd_druggoodreqlist.col != grd_druggoodreqlist.colRef("deliveflag")){
  80. var trantretdd = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("trantretdd"));
  81. if(trantretdd==""){
  82. var SendReqdd = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("reqdd"));
  83. var SendReqdeptcd = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("reqdeptcd"));
  84. var SendReqno = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("reqno"));
  85. var SrchReqFlag = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("srchreqflag"));
  86. var TrantretDD = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("trantretdd"));
  87. var DeliveDD = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("delivedd"));
  88. var DeliveNO = grd_druggoodreqlist.valueMatrix(sRow,grd_druggoodreqlist.colRef("deliveno"));
  89. var SendCustcd = model.getValue("/root/cond/maincustlastsuplplce");
  90. model.makeValue("/root/send/reqdata/reqdd" ,SendReqdd);
  91. model.makeValue("/root/send/reqdata/reqdeptcd" ,SendReqdeptcd);
  92. model.makeValue("/root/send/reqdata/reqno" ,SendReqno);
  93. model.makeValue("/root/send/reqdata/custcd" ,SendCustcd);
  94. model.makeValue("/root/send/reqdata/srchreqflag",SrchReqFlag);
  95. model.makeValue("/root/send/reqdata/trantretdd" ,TrantretDD);
  96. model.makeValue("/root/send/reqdata/delivedd" ,DeliveDD);
  97. model.makeValue("/root/send/reqdata/deliveno" ,DeliveNO);
  98. //일반지원부서에서 청구한 약품들은 청구부서를 불출부서로 셋팅하기 위한 flag
  99. model.makeValue("/root/send/reqdata/reqflag" ,model.getValue("/root/cond/reqflag"));
  100. if(submit("TRRSO10002")){
  101. addComboItem( "cmb_maincustlastsuplplce", "전체", "", "above" );
  102. model.removeNodeset("/root/send/reqdata");
  103. grd_druggoodreqdetailist.col =grd_druggoodreqdetailist.colRef("delivepackqty");
  104. model.setFocus("grd_druggoodreqdetailist");
  105. grd_druggoodreqdetailist.editCell();
  106. }
  107. }else if(trantretdd!=""){
  108. messageBox("이미 이송완료된 건","I009");
  109. return;
  110. }
  111. }
  112. }
  113. ]]>
  114. </script>
  115. </xhtml:head>
  116. <xhtml:body pagewidth="800" pageheight="700">
  117. <datagrid id="grd_druggoodreqlist" nodeset="/root/main/druggooddelivereqinfo/druggooddelivereqlist" class="datagrid2" caption="불출요구창고^불출요구창고^요구일자^순번^불출창고^건수^불출여부^불출일자^불출순번^이송일자^srchreqflag" colsep="^" colwidth="100, 18, 101, 42, 95, 44, 119, 91, 57, 95, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:4px; top:86px; width:785px; height:159px; ">
  118. <col ref="reqdeptnm" style="text-align:center; "/>
  119. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  120. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  121. <col ref="reqno" style="text-align:center; "/>
  122. <col ref="delivedeptcd" style="text-align:center; "/>
  123. <col ref="goodcnt" style="text-align:center; "/>
  124. <col ref="deliveflag" type="combo" visibility="hidden" style="text-align:center; ">
  125. <choices>
  126. <itemset nodeset="/root/init/cmb_deliveflag/comcodelist">
  127. <label ref="cdnm"/>
  128. <value ref="cdid"/>
  129. </itemset>
  130. </choices>
  131. </col>
  132. <col ref="delivedd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  133. <col ref="deliveno" visibility="hidden" style="text-align:center; "/>
  134. <col ref="trantretdd" format="yyyy-mm-dd" style="text-align:center; "/>
  135. <col ref="srchreqflag" visibility="hidden" style="text-align:center; "/>
  136. <script type="javascript" ev:event="ondblclick">
  137. <![CDATA[
  138. if(!isDataCell())return;
  139. fDrugReqDetailSrch();
  140. ]]>
  141. </script>
  142. </datagrid>
  143. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:157px; height:14px; ">마약이송청구</caption>
  144. <line id="line2" class="line_1" style="x1:4px; y1:81px; x2:789px; y2:81px; "/>
  145. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:20px; width:785px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  146. <caption id="caption1" class="tit_2" style="left:4px; top:66px; width:135px; height:14px; ">마약이송청구현황</caption>
  147. <line id="line13" class="line_4" style="x1:716px; y1:30px; x2:716px; y2:52px; "/>
  148. <button id="bnt_srch" class="btn1_letter2" style="left:725px; top:30px; width:56px; height:22px; ">
  149. <caption>조회</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. if(submit("TRRSO10001")){
  153. }
  154. ]]>
  155. </script>
  156. </button>
  157. <caption id="cap_dd" class="search_name" style="left:15px; top:30px; width:99px; height:17px; ">요구일자 :</caption>
  158. <caption id="caption23" style="left:213px; top:30px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  159. <input id="ipt_purcdmndtodd" ref="/root/cond/srchtodd" class="input_s_fix" inputtype="date" style="left:228px; top:30px; width:100px; height:19px; "/>
  160. <input id="ipt_purcdmndfrdd" ref="/root/cond/srchfromdd" class="input_s_fix" inputtype="date" style="left:110px; top:30px; width:100px; height:19px; "/>
  161. <datagrid id="grd_druggoodreqdetailist" nodeset="/root/main/druggooddelivereqdetailinfo/druggooddelivereqdetailist" class="datagrid2" caption="약품명(영문)^거래처^거래처코드^포장규격^발주단위^환산량^요구량^불출량^이송량^현재고^goodcd^reqdeptcd^reqdd^reqno^reqseqno^goodunitcost^reqfla^requnit^reqpackcnt^goodpurccost^reqflag^reqqty^reqpackfla^deliveqty" colsep="^" colwidth="220, 102, 24, 67, 65, 44, 55, 51, 63, 58, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:5px; top:270px; width:785px; height:380px; ">
  162. <col ref="goodengnm" type="output" style="text-align:left; "/>
  163. <col ref="maincustlastsuplplcenm" style="text-align:center; "/>
  164. <col ref="maincustlastsuplplce" visibility="hidden"/>
  165. <col ref="packspec" style="text-align:center; "/>
  166. <col ref="reqpackunit" style="text-align:center; "/>
  167. <col ref="reqpackperunitqty" format="#,###.##" style="text-align:right; "/>
  168. <col ref="reqpackqty" format="#,###.##" style="text-align:right; "/>
  169. <col ref="delivedeptqty" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  170. <col ref="delivepackqty" type="input" format="#,###.##" style="text-align:right; "/>
  171. <col ref="stocqty" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  172. <col ref="goodcd" visibility="hidden" style="text-align:center; "/>
  173. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  174. <col ref="reqdd" visibility="hidden" style="text-align:center; "/>
  175. <col ref="reqno" visibility="hidden" style="text-align:center; "/>
  176. <col ref="reqseqno" visibility="hidden" style="text-align:center; "/>
  177. <col ref="goodunitcost" visibility="hidden" style="text-align:center; "/>
  178. <col ref="reqfla" visibility="hidden" style="text-align:center; "/>
  179. <col ref="requnit" visibility="hidden" style="text-align:center; "/>
  180. <col ref="reqpackcnt" visibility="hidden" style="text-align:center; "/>
  181. <col ref="goodpurccost" visibility="hidden" style="text-align:center; "/>
  182. <col ref="reqflag" visibility="hidden" style="text-align:center; "/>
  183. <col ref="reqqty" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  184. <col ref="reqpackfla" visibility="hidden" style="text-align:right; "/>
  185. <col ref="deliveqty" visibility="hidden" style="text-align:right; "/>
  186. <script type="javascript" ev:event="onendedit">
  187. <![CDATA[
  188. if(grd_druggoodreqdetailist.col == grd_druggoodreqdetailist.colRef("delivepackqty"))
  189. {
  190. var reqpackperunitqty = parseFloat(grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("reqpackperunitqty")));
  191. var delivepackqty = parseFloat(grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("delivepackqty")));
  192. var goodunitcost = parseFloat(grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("goodunitcost")));
  193. var goodpurccost = parseFloat(grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("goodpurccost")));
  194. var deliveqty;
  195. grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("deliveqty")) = delivepackqty*reqpackperunitqty;
  196. deliveqty= parseFloat(grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("deliveqty")));
  197. grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("reqfla")) = deliveqty*goodunitcost;
  198. grd_druggoodreqdetailist.valueMatrix(grd_druggoodreqdetailist.row,grd_druggoodreqdetailist.colRef("reqpackfla")) = delivepackqty*goodpurccost;
  199. if(grd_druggoodreqdetailist.row < grd_druggoodreqdetailist.rows - grd_druggoodreqdetailist.fixedRows)
  200. {
  201. grd_druggoodreqdetailist.row = grd_druggoodreqdetailist.row + 1;
  202. grd_druggoodreqdetailist.select(grd_druggoodreqdetailist.row, grd_druggoodreqdetailist.colRef("delivepackqty")) = true;
  203. }
  204. }
  205. ]]>
  206. </script>
  207. </datagrid>
  208. <caption id="caption3" class="tit_2" style="left:5px; top:250px; width:165px; height:14px; ">마약이송청구상세현황</caption>
  209. <line id="line1" class="line_1" style="x1:5px; y1:265px; x2:790px; y2:265px; "/>
  210. <caption id="caption4" class="search_name" visibility="hidden" style="left:410px; top:30px; width:125px; height:17px; ">거래처 조건조회:</caption>
  211. <select1 id="cmb_maincustlastsuplplce" ref="/root/cond/maincustlastsuplplce" class="input_essential" visibility="hidden" appearance="minimal" style="left:540px; top:30px; width:170px; height:19px; text-align:center; ">
  212. <choices>
  213. <itemset nodeset="/root/main/druggooddelivereqdetailinfo/druggooddelivereqcustinfo/druggoodreqcustlist">
  214. <label ref="custnm"/>
  215. <value ref="custcd"/>
  216. </itemset>
  217. </choices>
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. fDrugReqDetailSrch();
  221. ]]>
  222. </script>
  223. </select1>
  224. <select id="checkbox1" ref="/root/cond/srchflag" visibility="hidden" overflow="visible" appearance="full" style="left:335px; top:29px; width:70px; height:20px; border-style:none; ">
  225. <choices>
  226. <item>
  227. <label>불출일자</label>
  228. <value>Y</value>
  229. </item>
  230. </choices>
  231. <script type="javascript" ev:event="xforms-value-changed">
  232. <![CDATA[
  233. var SrchFlag = model.getValue("/root/cond/srchflag");
  234. if(SrchFlag=="Y"){
  235. cap_dd.value="불출일자"
  236. }else{
  237. cap_dd.value="요구일자"
  238. }
  239. cap_dd.refresh();
  240. ]]>
  241. </script>
  242. </select>
  243. <button id="btn_save" class="btn4_letter2" style="left:734px; top:660px; width:56px; height:22px; ">
  244. <caption>취소</caption>
  245. <script type="javascript" ev:event="DOMActivate">
  246. <![CDATA[
  247. model.close();
  248. ]]>
  249. </script>
  250. </button>
  251. <button id="button1" class="btn4_letter2" style="left:675px; top:660px; width:56px; height:22px; ">
  252. <caption>선택</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. var nodelist = instance1.selectNodes(grd_druggoodreqdetailist.nodeset);
  256. var rCVS = getNodeListCSV(nodelist);
  257. for(var i =1;i <=nodelist.length;i++){
  258. var delivepackqty = grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("delivepackqty"));
  259. if(delivepackqty==""){
  260. messageBox("이송량을","C001");
  261. model.setFocus("grd_druggoodreqdetailist");
  262. grd_druggoodreqdetailist.col =grd_druggoodreqdetailist.colRef("delivepackqty");
  263. grd_druggoodreqdetailist.editCell();
  264. return;
  265. }
  266. }
  267. if ( checkOpener() ) {
  268. opener.javascript.fGetDrugGoodReqInfo(rCVS);
  269. } else {
  270. var rtn = messageBox("상위화면을 찾을 수", "E001");
  271. }
  272. model.close();
  273. ]]>
  274. </script>
  275. </button>
  276. <button id="btn_listcopy" class="btn2_letter8" style="left:681px; top:245px; width:108px; height:19px; ">
  277. <caption>
  278. <![CDATA[요구량 -> 이송량]]>
  279. </caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. for(var i =grd_druggoodreqdetailist.fixedRows;i <grd_druggoodreqdetailist.rows;i++){
  283. var reqpackqty = grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("reqpackqty"));
  284. var reqqty = grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("reqqty"));
  285. var goodunitcost = parseFloat(grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("goodunitcost")));
  286. var goodpurccost = parseFloat(grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("goodpurccost")));
  287. grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("delivepackqty"))=reqpackqty;
  288. grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("deliveqty"))=reqqty;
  289. var delivepackqty = parseFloat(grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("delivepackqty")));
  290. var deliveqty = parseFloat(grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("deliveqty")));
  291. grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("reqfla"))= deliveqty*goodunitcost;
  292. grd_druggoodreqdetailist.valueMatrix(i,grd_druggoodreqdetailist.colRef("reqpackfla"))=delivepackqty*goodpurccost;
  293. }
  294. grd_druggoodreqdetailist.col =grd_druggoodreqdetailist.colRef("delivepackqty");
  295. model.setFocus("grd_druggoodreqdetailist");
  296. grd_druggoodreqdetailist.editCell();
  297. ]]>
  298. </script>
  299. </button>
  300. <button id="btn_prnt" class="btn6_letter2" visibility="hidden" style="left:220px; top:660px; width:56px; height:22px; ">
  301. <caption>출력</caption>
  302. <script type="javascript" ev:event="DOMActivate">
  303. <![CDATA[
  304. model.removeNodeset("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist");
  305. model.removeNodeset("/root/prtinfo");
  306. model.makeNode("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist");
  307. model.makeNode("/root/prtinfo/baseinfo");
  308. model.makeValue("/root/prtinfo/baseinfo/dutplceinstnm" ,getUserInfo("dutplceinstnm"));
  309. model.makeValue("/root/prtinfo/baseinfo/dutplcenm" ,getUserInfo("dutplcenm"));
  310. model.makeValue("/root/prtinfo/baseinfo/usernm" ,getUserInfo("usernm"));
  311. var paramreqflag = opener.javascript.getParameter("reqflag");
  312. model.makeValue("/root/prtinfo/baseinfo/paramreqflag" ,paramreqflag);
  313. copyNodesetType("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist","/root/main/druggoodreqdetailinfo/druggoodreqdetailist","replace");
  314. exeReportPreview("RPRSR10404","XMLSTR","/root/prtinfo", "", "true", "", "", "", "", "true");
  315. ]]>
  316. </script>
  317. </button>
  318. <button id="button2" class="btn6_letter4" visibility="hidden" style="left:279px; top:660px; width:80px; height:22px; ">
  319. <caption>미리보기</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. model.removeNodeset("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist");
  323. model.removeNodeset("/root/prtinfo");
  324. model.makeNode("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist");
  325. model.makeNode("/root/prtinfo/baseinfo");
  326. model.makeValue("/root/prtinfo/baseinfo/dutplceinstnm" ,getUserInfo("dutplceinstnm"));
  327. model.makeValue("/root/prtinfo/baseinfo/dutplcenm" ,getUserInfo("dutplcenm"));
  328. model.makeValue("/root/prtinfo/baseinfo/usernm" ,getUserInfo("usernm"));
  329. var paramreqflag = opener.javascript.getParameter("reqflag");
  330. model.makeValue("/root/prtinfo/baseinfo/paramreqflag" ,paramreqflag);
  331. copyNodesetType("/root/prtinfo/druggoodreqdetailinfo/druggoodreqdetailist","/root/main/druggoodreqdetailinfo/druggoodreqdetailist","replace");
  332. exeReportPreview("RPRSR10404","XMLSTR","/root/prtinfo");
  333. ]]>
  334. </script>
  335. </button>
  336. <button id="button3" class="btn6_letter3" style="left:5px; top:660px; width:68px; height:22px; ">
  337. <caption>Excel</caption>
  338. <script type="javascript" ev:event="DOMActivate">
  339. <![CDATA[
  340. misfSaveExcel(grd_druggoodreqdetailist);
  341. ]]>
  342. </script>
  343. </button>
  344. <select1 id="cmb_deliveflag" visibility="hidden" appearance="minimal" style="left:645px; top:60px; width:140px; height:19px; ">
  345. <choices>
  346. <itemset nodeset="/root/init/cmb_deliveflag">
  347. <label ref="cdnm"/>
  348. <value ref="cdid"/>
  349. </itemset>
  350. </choices>
  351. </select1>
  352. </xhtml:body>
  353. </xhtml:html>