Explorar el Código

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 hace 1 año
padre
commit
d3a70ac6fa
Se han modificado 1 ficheros con 125 adiciones y 25 borrados
  1. 125 25
      src/xt_pages/outpatientCharges/statementTemplate/printeEleven.vue

+ 125 - 25
src/xt_pages/outpatientCharges/statementTemplate/printeEleven.vue Ver fichero

@@ -4,24 +4,56 @@
4 4
     <div class="statementTable">
5 5
       <table border="1" style="border-collapse: collapse;width: 100%;border: none;">
6 6
         <tr>
7
-          <td colspan="4">医院机构名称:</td>
7
+          <td colspan="4">医院机构名称:{{info.fixmedins_name}}</td>
8 8
           <td colspan="4">发票号:</td>
9 9
         </tr>
10 10
         <tr style="border-bottom: 1px solid black;">
11
-          <td colspan="4" >单据编码:</td>
12
-          <td colspan="2" >就诊时间:</td>
13
-          <td colspan="2" >金额单位:元</td>
11
+          <td colspan="4" >单据编码:{{info.number}}</td>
12
+          <td colspan="2" >就诊时间:{{info.setl_time}}</td>
13
+          <td colspan="2" >金额单位:{{info.medfee_sumamt}}元</td>
14 14
         </tr>
15 15
         <tr>
16
-          <td colspan="4">姓名:</td>
17
-          <td colspan="4">身份证号:</td>
16
+          <td colspan="4">姓名:{{info.patient.name}}</td>
17
+          <td colspan="4">身份证号:{{info.patient.id_card_no}}</td>
18 18
         </tr>
19 19
         <tr>
20
-          <td colspan="8">诊断:</td>
20
+          <td colspan="8">诊断:{{info.diagnosis}}</td>
21 21
         </tr>
22 22
         <tr style="border-bottom: 1px solid black;">
23
-          <td colspan="4">人员类别:</td>
24
-          <td colspan="4">险种类型:</td>
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
+
56
+
25 57
         </tr>
26 58
         <tr style="border-bottom: 1px solid black;text-align: center;">
27 59
           <td width="12.5%">项目</td>
@@ -35,42 +67,42 @@
35 67
         </tr>
36 68
         <tr style="text-align: center;">
37 69
           <td>西药费</td>
38
-          <td>金额</td>
70
+          <td>{{info.western_medicine_cost_total}}</td>
39 71
           <td>化验费</td>
40
-          <td>金额</td>
72
+          <td>{{info.laboratory_cost_total}}</td>
41 73
           <td>治疗费</td>
42
-          <td>金额</td>
74
+          <td>{{info.treat_cost_total}}</td>
43 75
           <td>处置费</td>
44
-          <td>金额</td>
76
+          <td></td>
45 77
         </tr>
46 78
         <tr style="text-align: center;">
47 79
           <td>中成药</td>
48
-          <td>金额</td>
80
+          <td>{{info.chinese_traditional_medicine_cost_total}}</td>
49 81
           <td>诊疗费</td>
50
-          <td>金额</td>
82
+          <td></td>
51 83
           <td>材料费</td>
52
-          <td>金额</td>
84
+          <td>{{info.material_cost_total}}</td>
53 85
           <td>护理费</td>
54
-          <td>金额</td>
86
+          <td></td>
55 87
         </tr>
56 88
         <tr style="text-align: center;">
57 89
           <td>注射费</td>
58
-          <td>金额</td>
90
+          <td></td>
59 91
           <td>检查费</td>
60
-          <td>金额</td>
92
+          <td>{{info.check_cost_total}}</td>
61 93
           <td>输氧费</td>
62
-          <td>金额</td>
94
+          <td></td>
63 95
           <td>其他</td>
64
-          <td>金额</td>
96
+          <td>{{info.other_cost_total}}</td>
65 97
         </tr>
66 98
         <tr style="border-bottom: 1px solid black; font: 16px bolder;">
67
-          <td colspan="8">合计:</td>
99
+          <td colspan="8">合计:{{info.medfee_sumamt}}</td>
68 100
         </tr>
69 101
         <tr>
70
-          <td colspan="8">医保基金支付金额:</td>
102
+          <td colspan="8">医保基金支付金额:{{info.fund_pay_sumamt}}</td>
71 103
         </tr>
72 104
         <tr style="border-bottom: 1px solid black;">
73
-          <td colspan="8">个人现金支付金额:</td>
105
+          <td colspan="8">个人现金支付金额:{{info.psn_cash_pay}}</td>
74 106
         </tr>
75 107
         <tr>
76 108
           <td colspan="2">家属或参保人签名:</td>
@@ -84,6 +116,75 @@
84 116
     </div>
85 117
   </div>
86 118
 </template>
119
+<script>
120
+import { uParseTime } from '@/utils/tools'
121
+export default {
122
+  data() {
123
+    return {
124
+      list: {},
125
+      prescription: [],
126
+      patient: {},
127
+      orgname: '',
128
+
129
+      result: {},
130
+      org_code: '',
131
+      patient_name: '',
132
+      doctor_code: '',
133
+      doctor_name: '',
134
+
135
+      name_arr: [],
136
+      spec_arr: [],
137
+      count_arr: [],
138
+      price_arr: [],
139
+      total_arr: []
140
+
141
+    }
142
+  },
143
+  props: {
144
+    paramsObj: Object,
145
+    info: {
146
+      type: Object,
147
+      default: function() {
148
+        return {}
149
+      }
150
+    },
151
+    balanceAccounts: Object
152
+  },
153
+  methods: {
154
+    getDay(dateString1,dateString2){
155
+      var  startDate = Date.parse(dateString1);
156
+      var  endDate = Date.parse(dateString2);
157
+      if (startDate>endDate){
158
+        return 0;
159
+      }
160
+      if (startDate==endDate){
161
+        return 1;
162
+      }
163
+      var days=(endDate - startDate)/(1*24*60*60*1000);
164
+      return  days;
165
+    },
166
+    getTime(value, temp) {
167
+      if (value != undefined) {
168
+        return uParseTime(value, temp)
169
+      }
170
+      return ''
171
+    }
172
+  },
173
+  mounted() {
174
+
175
+
176
+  },
177
+  watch: {
178
+    paramsObj: {//深度监听,可监听到对象、数组的变化
179
+      handler(val, oldVal) {
180
+
181
+
182
+      },
183
+      deep: true
184
+    }
185
+  }
186
+}
187
+</script>
87 188
 
88 189
 <style lang="scss" scoped>
89 190
 .statement-print {
@@ -110,5 +211,4 @@
110 211
     border: none;
111 212
   }
112 213
 }
113
-
114 214
 </style>