SPRSO20800_재고조회(처방현황).xrw 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <detail>
  10. <deptstocklist/>
  11. </detail>
  12. <main>
  13. <deptstocklist/>
  14. </main>
  15. <send>
  16. <rgstdd/>
  17. <ioflag/>
  18. <prcpdeptcd/>
  19. <totqty/>
  20. <instcd/>
  21. <wareflag/>
  22. <goodcd/>
  23. <dd/>
  24. <allsearchchk/>
  25. </send>s
  26. <init>
  27. </init>
  28. <hidden/>
  29. <temp/>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. //misfGridInit(grd_win);
  35. //misfMsterDetailSet(grd_win, null, "TRRSO20501" ,"N");
  36. submit("TRRSO21303");
  37. for(i = 1 ; i < grd_win.rows ; i++){
  38. var calcamt = grd_win.valueMatrix(i, grd_win.colRef("calcamt"));
  39. if(parseInt(calcamt) == 0){
  40. grd_win.cellStyle("background-color",i ,1 ,i ,19) = "#ffffcc";
  41. }
  42. }
  43. model.refresh();
  44. ]]>
  45. </script>
  46. <submission id="TRRSO21303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  52. </xhtml:head>
  53. <xhtml:body pagewidth="1200" pageheight="450">
  54. <line id="line8" class="line_1" style="x1:0px; y1:22px; x2:1193px; y2:22px; "/>
  55. <caption id="caption20" class="tit_2" style="left:11px; top:7px; width:184px; height:14px; ">처방현황</caption>
  56. <button id="btn_close" class="btn4_letter2" style="left:1135px; top:420px; width:56px; height:22px; ">
  57. <caption>닫기</caption>
  58. <script type="javascript" ev:event="DOMActivate">
  59. <![CDATA[
  60. window.close();
  61. ]]>
  62. </script>
  63. </button>
  64. <datagrid id="grd_win" nodeset="/root/main/deptstocklist" caption="등록일자^등록번호^환자명^처방일자^구분^처방과^진료과^병동^병실^처방의사^처방량^횟수^일수^총처방량^금액^집계방법^" colwidth="90, 90, 75, 85, 65, 90, 90, 80, 65, 75, 48, 55, 55, 55, 65, 60" explorerbar="sort" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" style="left:0px; top:27px; width:1193px; height:388px; ">
  65. <col ref="rgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  66. <col ref="pid"/>
  67. <col ref="patnm" style="text-align:center; "/>
  68. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  69. <col disabled="true" ref="ioflag" type="combo">
  70. <choices>
  71. <item>
  72. <label>입원</label>
  73. <value>I</value>
  74. </item>
  75. <item>
  76. <label>외래</label>
  77. <value>O</value>
  78. </item>
  79. <item>
  80. <label>건진</label>
  81. <value>S</value>
  82. </item>
  83. <item>
  84. <label>응급</label>
  85. <value>E</value>
  86. </item>
  87. <item>
  88. <label>DSC</label>
  89. <value>D</value>
  90. </item>
  91. </choices>
  92. </col>
  93. <col ref="prcpdeptcdnm"/>
  94. <col ref="orddeptcdnm"/>
  95. <col ref="wardnm"/>
  96. <col ref="room"/>
  97. <col ref="prcppsnnm" style="text-align:center; "/>
  98. <col ref="goodqty" style="text-align:right; padding-right:5; "/>
  99. <col ref="times" style="text-align:right; padding-right:5; "/>
  100. <col ref="dayno" style="text-align:right; padding-right:5; "/>
  101. <col ref="totqty" style="text-align:right; padding-right:5; "/>
  102. <col ref="calcamt" format="(-)#,##0" style="text-align:right; padding-right:5; "/>
  103. <col ref="reqmthd"/>
  104. <script type="javascript" ev:event="onaftersort">
  105. <![CDATA[
  106. grd_win.gridToInstance();
  107. ]]>
  108. </script>
  109. </datagrid>
  110. </xhtml:body>
  111. </xhtml:html>