Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

summaryPrint.vue 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <template>
  2. <div id="allList-print" class="allList-print">
  3. <div class="allListTitle">{{ $store.getters.xt_user.org.org_name }}汇总清单</div>
  4. <div class="allListInfo">
  5. <div>科别:门诊</div>
  6. <div>床号:</div>
  7. <div>门诊号:{{ order.mdtrt_id }}</div>
  8. <div>患者姓名:{{ patient.name }}</div>
  9. </div>
  10. <div class="allListInfo">
  11. <div>预交款:</div>
  12. <div>门诊日期:</div>
  13. <div>总费用:{{ order.medfee_sumamt }}</div>
  14. </div>
  15. <div class="allListInfo">
  16. <div>西药:{{order.westernMedicineCostTotal?order.westernMedicineCostTotal:''}}</div>
  17. <div >中成药:{{order.chineseTraditionalMedicineCostTotal?order.chineseTraditionalMedicineCostTotal:''}}</div>
  18. <div >中草药:</div>
  19. <div >检查费:{{order.checkCostTotal?order.checkCostTotal:''}}</div>
  20. </div>
  21. <div class="allListInfo">
  22. <div >输氧费:</div>
  23. <div>手术费:{{order.operationCostTotal?order.operationCostTotal:''}}</div>
  24. <div >化验费:{{order.laboratoryCostTotal?order.laboratoryCostTotal:''}}</div>
  25. <div>输血费:</div>
  26. </div>
  27. <div class="allListInfo">
  28. <div >诊察费:{{order.zhenChaCostTotal?order.zhenChaCostTotal:''}}</div>
  29. <div >治疗费:{{order.treatCostTotal?order.treatCostTotal:''}}</div>
  30. <div >护理费:</div>
  31. <div >床位费:{{order.bedCostTotal?order.bedCostTotal:''}}</div>
  32. </div>
  33. <div class="allListInfo">
  34. <div >麻醉费:</div>
  35. <div >材料费:{{order.materialCostTotal?order.materialCostTotal:''}}</div>
  36. <div >其他费:{{order.otherCostTotal?order.otherCostTotal:''}}</div>
  37. </div>
  38. <!-- <div style="display:flex;justify-content: space-between;">-->
  39. <!-- <div style="position: absolute;top:160px;left:40px">西药</div>-->
  40. <!-- <div style="position: absolute;top:160px;left:110px">{{ list.westernMedicineCostTotal }}</div>-->
  41. <!-- <div style="position: absolute;top:160px;left:180px">检查费</div>-->
  42. <!-- <div style="position: absolute;top:160px;left:260px">{{ list.checkCostTotal }}</div>-->
  43. <!-- <div style="position: absolute;top:160px;left:340px">化验费</div>-->
  44. <!-- <div style="position: absolute;top:160px;left:420px">{{ list.treatCostTotal }}</div>-->
  45. <!-- <div style="position: absolute;top:160px;left:500px">治疗费</div>-->
  46. <!-- <div style="position: absolute;top:160px;left:580px">{{ list.bedCostTotal }}</div>-->
  47. <!-- <div style="position: absolute;top:160px;left:500px">麻醉费</div>-->
  48. <!-- <div style="position: absolute;top:160px;left:580px">{{ list.bedCostTotal }}</div>-->
  49. <!-- </div>-->
  50. <!-- <div style="display:flex;justify-content: space-between;">-->
  51. <!-- <div style="position: absolute;top:190px;left:40px">中成药</div>-->
  52. <!-- <div style="position: absolute;top:190px;left:110px">{{ list.chineseTraditionalMedicineCostTotal }}</div>-->
  53. <!-- <div style="position: absolute;top:190px;left:180px">输氧费</div>-->
  54. <!-- <div style="position: absolute;top:190px;left:260px">{{ list.laboratoryCostTotal }}</div>-->
  55. <!-- <div style="position: absolute;top:190px;left:340px">输血费</div>-->
  56. <!-- <div style="position: absolute;top:190px;left:420px">{{ list.operationCostTotal }}</div>-->
  57. <!-- <div style="position: absolute;top:190px;left:500px">护理费</div>-->
  58. <!-- <div style="position: absolute;top:190px;left:580px">{{ list.otherCostTotal }}</div>-->
  59. <!-- <div style="position: absolute;top:160px;left:500px">材料费</div>-->
  60. <!-- <div style="position: absolute;top:160px;left:580px">{{ list.bedCostTotal }}</div>-->
  61. <!-- </div>-->
  62. <!-- <div style="display:flex;justify-content: space-between;">-->
  63. <!-- <div style="position: absolute;top:210px;left:40px">中草药</div>-->
  64. <!-- <div style="position: absolute;top:210px;left:110px"></div>-->
  65. <!-- <div style="position: absolute;top:210px;left:180px">手术费</div>-->
  66. <!-- <div style="position: absolute;top:210px;left:260px"></div>-->
  67. <!-- <div style="position: absolute;top:210px;left:340px">诊察费</div>-->
  68. <!-- <div style="position: absolute;top:210px;left:420px">{{ list.materialCostTotal }}</div>-->
  69. <!-- <div style="position: absolute;top:210px;left:500px">床位费</div>-->
  70. <!-- <div style="position: absolute;top:210px;left:580px"></div>-->
  71. <!-- <div style="position: absolute;top:160px;left:500px">其他</div>-->
  72. <!-- <div style="position: absolute;top:160px;left:580px">{{ list.bedCostTotal }}</div>-->
  73. <!-- </div>-->
  74. <table class="allListTable" border="1">
  75. <tr>
  76. <td style="width:10%">费用类别</td>
  77. <td style="width:35%">项目名称</td>
  78. <td style="width:15%">规格</td>
  79. <td style="width:5%">单位</td>
  80. <td style="width:10%">数量</td>
  81. <td style="width:10%">单价</td>
  82. <td style="width:10%">金额</td>
  83. <td style="width:10%">医保类型</td>
  84. </tr>
  85. <template v-for='(item,index) in list'>
  86. <tr>
  87. <td style="width:10%">{{ item.med_chrgitm_type }}</td>
  88. <td style="width:35%">{{ item.name }}</td>
  89. <td style="width:15%">{{ item.spec }}</td>
  90. <td style="width:5%">{{ item.unit }}</td>
  91. <td style="width:10%">{{ item.count }}</td>
  92. <td style="width:10%">{{ item.price }}</td>
  93. <td style="width:10%">{{ (item.price * item.count).toFixed(2) }}</td>
  94. <td style="width:10%">{{ item.medicine_insurance_kind }}</td>
  95. </tr>
  96. </template>
  97. </table>
  98. </div>
  99. </template>
  100. <script>
  101. import { uParseTime } from '@/utils/tools'
  102. export default {
  103. props: {
  104. list: {
  105. type: Array,
  106. default: function() {
  107. return []
  108. }
  109. }, patient: {
  110. type: Object,
  111. default: function() {
  112. return {}
  113. }
  114. }, order: {
  115. type: Object,
  116. default: function() {
  117. return {}
  118. }
  119. }, admin: {
  120. type: Object,
  121. default: function() {
  122. return {}
  123. }
  124. }, hospital: {
  125. type: Object,
  126. default: function() {
  127. return {}
  128. }
  129. }
  130. },
  131. data() {
  132. return {
  133. page: 1,
  134. pageArr: []
  135. }
  136. },
  137. methods: {
  138. getNowTime: function() {
  139. let dateTime
  140. let yy = new Date().getFullYear()
  141. let mm = new Date().getMonth() + 1
  142. let dd = new Date().getDate()
  143. let hh = new Date().getHours()
  144. let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
  145. :
  146. new Date().getMinutes()
  147. let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
  148. :
  149. new Date().getSeconds()
  150. dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
  151. return dateTime
  152. },
  153. getTimes(time) {
  154. return uParseTime(time, '{y}-{m}-{d}')
  155. }, getTotal: function(items) {
  156. let total = 0
  157. for (let i = 0; i < items.length; i++) {
  158. total = total + (items[i].count * items[i].price).toFixed(2)
  159. }
  160. return total
  161. }
  162. },
  163. watch: {
  164. list: {
  165. handler(newVal) {
  166. this.getPage()
  167. },
  168. deep: true
  169. }
  170. }
  171. }
  172. </script>
  173. <style lang="scss" scoped>
  174. .allList-print {
  175. -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
  176. -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  177. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  178. margin-bottom: 20px;
  179. padding: 20px 10px;
  180. }
  181. .allListTitle {
  182. font-size: 24px;
  183. text-align: center;
  184. font-weight: bold;
  185. margin-bottom: 10px;
  186. }
  187. .allListInfo {
  188. display: flex;
  189. font-size: 16px;
  190. justify-content: space-between;
  191. margin: 10px 0;
  192. }
  193. .allListTable {
  194. width: 100%;
  195. text-align: center;
  196. border-collapse: collapse;
  197. line-height: 20px;
  198. font-size: 14px;
  199. border-color: #000;
  200. text-align: left;
  201. }
  202. .allListTable tr td {
  203. padding: 0 5px;
  204. }
  205. .tableBottom {
  206. font-size: 16px;
  207. display: flex;
  208. margin-top: 20px;
  209. }
  210. .tableBottomOne {
  211. margin-right: 40px;
  212. }
  213. </style>