test_user vor 2 Jahren
Ursprung
Commit
e2692f4fc6

+ 1 - 1
src/xt_pages/hospitalStation/invoicePrint.vue Datei anzeigen

@@ -24,7 +24,7 @@
24 24
           :paramsObj="invoiceParams"
25 25
         ></printOne>
26 26
         <printTwo
27
-          v-if="org_id == 10215 "
27
+          v-if="org_id == 10215||org_id == 0"
28 28
           :paramsObj="invoiceParams"
29 29
         ></printTwo>
30 30
         <printThree

+ 2 - 12
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue Datei anzeigen

@@ -269,7 +269,7 @@
269 269
           </span>
270 270
         </span>
271 271
         <span style="position: absolute; top: 235px; left: 500px">{{
272
-          totalPrice.toFixed(2)
272
+          totalPrice
273 273
         }}</span>
274 274
       </div>
275 275
       <!-- <div style="position: absolute;top:300px;left:460px">现金:{{ list.psn_cash_money }}</div> -->
@@ -326,17 +326,7 @@ export default {
326 326
       getInvoice(params).then((res) => {
327 327
         this.$nextTick(() => {
328 328
           this.list = res.data.data;
329
-          this.totalPrice =
330
-            this.list.westernMedicineCostTotal +
331
-            this.list.checkCostTotal +
332
-            this.list.treatCostTotal +
333
-            this.list.bedCostTotal +
334
-            this.list.chineseTraditionalMedicineCostTotal +
335
-            this.list.laboratoryCostTotal +
336
-            this.list.operationCostTotal +
337
-            this.list.otherCostTotal +
338
-            this.list.materialCostTotal +
339
-            this.list.zhenChaCostTotal;
329
+          this.totalPrice =this.list.order.medfee_sumamt
340 330
           this.smalltoBIG(this.list.order.medfee_sumamt);
341 331
           var data = new Date(res.data.data.date * 1000);
342 332
           var month =

+ 43 - 43
src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue Datei anzeigen

@@ -93,13 +93,13 @@
93 93
       </tr>
94 94
       <tr>
95 95
         <td>床位费</td>
96
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total}}</td>
97
-        <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total}}</td>
98
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total}}</td>
96
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total.toFixed(2)}}</td>
97
+        <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total.toFixed(2)}}</td>
98
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total.toFixed(2)}}</td>
99 99
         <td>西成药</td>
100
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
101
-        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
102
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
100
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total.toFixed(2)}}</td>
101
+        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total.toFixed(2)}}</td>
102
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total.toFixed(2)}}</td>
103 103
       </tr>
104 104
       <tr>
105 105
         <td>中药费</td>
@@ -107,11 +107,11 @@
107 107
         <td style="text-align:right;padding-right:10px;">0</td>
108 108
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
109 109
         <td>中成药</td>
110
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}
110
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total.toFixed(2)}}
111 111
         </td>
112
-        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
112
+        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total.toFixed(2)}}</td>
113 113
         <td colspan="2" style="text-align:right;padding-right:10px;">
114
-          {{info.chinese_traditional_medicine_cost_part_self_total}}
114
+          {{info.chinese_traditional_medicine_cost_part_self_total.toFixed(2)}}
115 115
         </td>
116 116
       </tr>
117 117
       <tr>
@@ -120,15 +120,15 @@
120 120
         <td style="text-align:right;padding-right:10px;">0</td>
121 121
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
122 122
         <td>检查费</td>
123
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
124
-        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
125
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
123
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total.toFixed(2)}}</td>
124
+        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total.toFixed(2)}}</td>
125
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total.toFixed(2)}}</td>
126 126
       </tr>
127 127
       <tr>
128 128
         <td>治疗费</td>
129
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
130
-        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
131
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
129
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total.toFixed(2)}}</td>
130
+        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total.toFixed(2)}}</td>
131
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total.toFixed(2)}}</td>
132 132
         <td>放射费</td>
133 133
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
134 134
         <td style="text-align:right;padding-right:10px;">0</td>
@@ -136,13 +136,13 @@
136 136
       </tr>
137 137
       <tr>
138 138
         <td>手术费</td>
139
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
140
-        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
141
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
139
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total.toFixed(2)}}</td>
140
+        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total.toFixed(2)}}</td>
141
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total.toFixed(2)}}</td>
142 142
         <td>化验费</td>
143
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
144
-        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
145
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
143
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total.toFixed(2)}}</td>
144
+        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total.toFixed(2)}}</td>
145
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total.toFixed(2)}}</td>
146 146
       </tr>
147 147
       <tr>
148 148
         <td>输血费</td>
@@ -156,9 +156,9 @@
156 156
       </tr>
157 157
       <tr>
158 158
         <td>其他</td>
159
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
160
-        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
161
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
159
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total.toFixed(2)}}</td>
160
+        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total.toFixed(2)}}</td>
161
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total.toFixed(2)}}</td>
162 162
         <td>麻醉费</td>
163 163
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
164 164
         <td style="text-align:right;padding-right:10px;">0</td>
@@ -166,9 +166,9 @@
166 166
       </tr>
167 167
       <tr>
168 168
         <td>材料费</td>
169
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
170
-        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
171
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
169
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total.toFixed(2)}}</td>
170
+        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total.toFixed(2)}}</td>
171
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total.toFixed(2)}}</td>
172 172
         <td>特殊检查费</td>
173 173
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
174 174
         <td style="text-align:right;padding-right:10px;">0</td>
@@ -186,24 +186,24 @@
186 186
       </tr>
187 187
       <tr>
188 188
         <td>合计</td>
189
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +
190
-            parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
191
-            parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
192
-            parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
193
-            parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
189
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total.toFixed(2)) +
190
+            parseFloat(info.operation_cost_total.toFixed(2)) + parseFloat(info.other_cost_total.toFixed(2)) +
191
+            parseFloat(info.material_cost_total.toFixed(2)) + parseFloat(info.western_medicine_cost_total.toFixed(2)) +
192
+            parseFloat(info.chinese_traditional_medicine_cost_total.toFixed(2)) + parseFloat(info.check_cost_total.toFixed(2)) +
193
+            parseFloat(info.laboratory_cost_total.toFixed(2)) + parseFloat(info.treat_cost_total.toFixed(2))).toFixed(2) }}
194 194
         </td>
195
-        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
196
-            parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
197
-            parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
198
-            parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
199
-            parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
195
+        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total.toFixed(2) )+
196
+            parseFloat(info.operation_cost_self_total.toFixed(2)) + parseFloat(info.other_cost_self_total.toFixed(2)) +
197
+            parseFloat(info.material_cost_self_total.toFixed(2)) + parseFloat(info.western_medicine_cost_self_total.toFixed(2)) +
198
+            parseFloat(info.chinese_traditional_medicine_cost_self_total.toFixed(2)) + parseFloat(info.check_cost_self_total.toFixed(2)) +
199
+            parseFloat(info.laboratory_cost_self_total.toFixed(2)) + parseFloat(info.treat_cost_self_total.toFixed(2))).toFixed(2)}}
200 200
         </td>
201
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
202
-            parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
203
-            parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
204
-            parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
205
-            parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
206
-            parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
201
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total.toFixed(2)) +
202
+            parseFloat(info.operation_cost_part_self_total.toFixed(2)) + parseFloat(info.other_cost_part_self_total.toFixed(2)) +
203
+            parseFloat(info.material_cost_part_self_total.toFixed(2)) + parseFloat(info.western_medicine_cost_part_self_total.toFixed(2)) +
204
+            parseFloat(info.chinese_traditional_medicine_cost_part_self_total.toFixed(2)) +
205
+            parseFloat(info.check_cost_part_self_total.toFixed(2)) + parseFloat(info.laboratory_cost_part_self_total.toFixed(2)) +
206
+            parseFloat(info.treat_cost_part_self_total.toFixed(2))).toFixed(2)}}
207 207
         </td>
208 208
         <td style="text-align:right;padding-right:10px;"></td>
209 209
         <td colspan="2" style="text-align:right;padding-right:10px;"></td>