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

printeEleven.vue 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <template>
  2. <div id="statement-print" class="statement-print">
  3. <div class="statementTitle">费用明细清算单</div>
  4. <div class="statementTable" style="word-wrap: break-word; word-break: break-all;">
  5. <table border="1" style="border-collapse: collapse;width: 100%;border: none;">
  6. <tr>
  7. <td colspan="4">医院机构名称:{{info.fixmedins_name}}</td>
  8. <td colspan="4">发票号:</td>
  9. </tr>
  10. <tr style="border-bottom: 1px solid black;">
  11. <td colspan="2">单据编码:{{info.number}}</td>
  12. <td colspan="4">就诊时间:{{getTime(info.new_order.settle_accounts_date,"{y}-{m}-{d}")}}</td>
  13. <td colspan="3">金额单位:{{info.medfee_sumamt}}元</td>
  14. </tr>
  15. <tr>
  16. <td colspan="4">姓名:{{info.patient.name}}</td>
  17. <td colspan="4">身份证号:{{info.patient.id_card_no}}</td>
  18. </tr>
  19. <tr>
  20. <td colspan="8">诊断:{{info.diagnosis}}</td>
  21. </tr>
  22. <tr style="border-bottom: 1px solid black;">
  23. <td colspan="4" v-if="info.psn_type == '11'">人员类别:在职</td>
  24. <td colspan="4" v-else-if="info.psn_type == '1101'">人员类别:职工在职</td>
  25. <td colspan="4" v-else-if="info.psn_type == '1102'">人员类别:公务员在职</td>
  26. <td colspan="4" v-else-if="info.psn_type == '1103'">人员类别:灵活就业人员在职</td>
  27. <td colspan="4" v-else-if="info.psn_type == '1160'">人员类别:地方其他扩展人员</td>
  28. <td colspan="4" v-else-if="info.psn_type == '12'">人员类别:退休人员</td>
  29. <td colspan="4" v-else-if="info.psn_type == '1201'">人员类别:职工退休</td>
  30. <td colspan="4" v-else-if="info.psn_type == '1202'">人员类别:公务员退休</td>
  31. <td colspan="4" v-else-if="info.psn_type == '1203'">人员类别:灵活就业人员退休</td>
  32. <td colspan="4" v-else-if="info.psn_type == '1260'">人员类别:地方其他扩展人员</td>
  33. <td colspan="4" v-else-if="info.psn_type == '13'">人员类别:离休</td>
  34. <td colspan="4" v-else-if="info.psn_type == '1300'">人员类别:离休人员</td>
  35. <td colspan="4" v-else-if="info.psn_type == '1360'">人员类别:地方其他扩展人员</td>
  36. <td colspan="4" v-else-if="info.psn_type == '14'">人员类别:居民(未成年)</td>
  37. <td colspan="4" v-else-if="info.psn_type == '1401'">人员类别:新生儿</td>
  38. <td colspan="4" v-else-if="info.psn_type == '1402'">人员类别:学龄前儿童</td>
  39. <td colspan="4" v-else-if="info.psn_type == '1403'">人员类别:中小学生</td>
  40. <td colspan="4" v-else-if="info.psn_type == '1404'">人员类别:大学生</td>
  41. <td colspan="4" v-else-if="info.psn_type == '1405'">人员类别:未成年(未入学)</td>
  42. <td colspan="4" v-else-if="info.psn_type == '15'">人员类别:居民(成年)</td>
  43. <td colspan="4" v-else-if="info.psn_type == '1501'">人员类别:普通居民(成年)</td>
  44. <td colspan="4" v-else-if="info.psn_type == '1560'">人员类别:地方其他扩展身份</td>
  45. <td colspan="4" v-else-if="info.psn_type == '16'">人员类别:居民(老年)</td>
  46. <td colspan="4" v-else></td>
  47. <td colspan="4" v-if="info.insutype == '310'">险种类型:职工基本医疗保险</td>
  48. <td colspan="4" v-if="info.insutype == '320'">险种类型:公务员医疗补助</td>
  49. <td colspan="4" v-if="info.insutype == '330'">险种类型:大额医疗费用补助</td>
  50. <td colspan="4" v-if="info.insutype == '340'">险种类型:离休人员医疗保障</td>
  51. <td colspan="4" v-if="info.insutype == '390'">险种类型:城乡居民基本医疗保险</td>
  52. <td colspan="4" v-if="info.insutype == '392'">险种类型:城乡居民大病医疗保险</td>
  53. <td colspan="4" v-if="info.insutype == '510'">险种类型:生育保险</td>
  54. <td colspan="4" v-else></td>
  55. </tr>
  56. <tr style="border-bottom: 1px solid black;text-align: center;">
  57. <td width="15.1%">医保编码</td>
  58. <td width="9.1%">医院编码</td>
  59. <td width="15.1%">医院名称</td>
  60. <td width="6.1%">单位</td>
  61. <td width="15.1%">规格</td>
  62. <td width="6.1%">数量</td>
  63. <td width="8.1%">单价</td>
  64. <td width="8.1%">金额</td>
  65. <td width="10.1%">医保标识</td>
  66. </tr>
  67. <!-- width="72.6%" 16.82% 16.1-->
  68. <tr>
  69. <td colspan="9" style="line-height: 30px;">
  70. <div v-for="item in info.new_list">
  71. <div style="display: flex;border-bottom: 1px solid black;font-size: 16px;font-weight: bolder;">
  72. <div style="width: 67.6%;">{{item.med_chrgitm_name}}</div>
  73. <div style="width: 8.1%;text-align: center;">小计</div>
  74. <div style="width: 8.1%;text-align: center;">{{item.total}}</div>
  75. </div>
  76. <div v-for="subItem in item.details" style="display: flex; border-bottom: 1px solid black;">
  77. <div style="width: 16.4%;padding: 5px;">{{subItem.yibao_code}}</div>
  78. <div style="width: 9.9%;padding: 5px;">{{subItem.yiyuan_code}}</div>
  79. <div style="width: 16.4%;padding: 5px;">{{subItem.name}}</div>
  80. <div style="width: 6.7%;padding: 5px;text-align: center;">{{subItem.unit}}</div>
  81. <div style="width: 16.4%;padding: 5px;">{{subItem.spec}}</div>
  82. <div style="width: 6.7%;padding: 5px;text-align: center;">{{subItem.count}}</div>
  83. <div style="width: 8.1%;padding: 5px;text-align: center;">{{subItem.price}}</div>
  84. <div style="width: 8.1%;padding: 5px;text-align: center;">{{subItem.total_price}}</div>
  85. <div style="width: 10.1%;padding: 5px;"></div>
  86. </div>
  87. </div>
  88. </td>
  89. </tr>
  90. <tr style="border-bottom: 1px solid black; font: 16px bolder;">
  91. <td colspan="8">合计:{{info.medfee_sumamt}}</td>
  92. </tr>
  93. <tr>
  94. <td colspan="8">医保基金支付金额:{{info.fund_pay_sumamt}}</td>
  95. </tr>
  96. <tr style="border-bottom: 1px solid black;">
  97. <td colspan="8">个人现金支付金额:{{info.psn_cash_pay}}</td>
  98. </tr>
  99. <tr>
  100. <td colspan="2" >家属或参保人签名:</td>
  101. <td colspan="2" >收费员签名:</td>
  102. <td colspan="2" >医院盖章:</td>
  103. </tr>
  104. <tr>
  105. <td colspan="8" style="padding-top: 40px;">医师签名:</td>
  106. </tr>
  107. </table>
  108. </div>
  109. </div>
  110. </template>
  111. <script>
  112. import { uParseTime } from '@/utils/tools'
  113. export default {
  114. data() {
  115. return {
  116. list: {},
  117. prescription: [],
  118. patient: {},
  119. orgname: '',
  120. result: {},
  121. org_code: '',
  122. patient_name: '',
  123. doctor_code: '',
  124. doctor_name: '',
  125. name_arr: [],
  126. spec_arr: [],
  127. count_arr: [],
  128. price_arr: [],
  129. total_arr: []
  130. }
  131. },
  132. props: {
  133. paramsObj: Object,
  134. info: {
  135. type: Object,
  136. default: function() {
  137. return {}
  138. }
  139. },
  140. balanceAccounts: Object
  141. },
  142. methods: {
  143. getDay(dateString1,dateString2){
  144. var startDate = Date.parse(dateString1);
  145. var endDate = Date.parse(dateString2);
  146. if (startDate>endDate){
  147. return 0;
  148. }
  149. if (startDate==endDate){
  150. return 1;
  151. }
  152. var days=(endDate - startDate)/(1*24*60*60*1000);
  153. return days;
  154. },
  155. getTime(value, temp) {
  156. if (value != undefined) {
  157. return uParseTime(value, temp)
  158. }
  159. return ''
  160. }
  161. },
  162. mounted() {
  163. },
  164. watch: {
  165. paramsObj: {//深度监听,可监听到对象、数组的变化
  166. handler(val, oldVal) {
  167. },
  168. deep: true
  169. }
  170. }
  171. }
  172. </script>
  173. <style lang="scss" scoped>
  174. .statement-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. .statementTitle {
  182. font-size: 28px;
  183. text-align: center;
  184. font-weight: bold;
  185. margin-bottom: 10px;
  186. }
  187. .statementTable {
  188. width: 100%;
  189. font-size: 14px;
  190. table tr td{
  191. padding: 5px;
  192. line-height: 30px;
  193. border: none;
  194. }
  195. }
  196. </style>