Browse Source

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

28169 7 months ago
parent
commit
04c8ba58d3

+ 4 - 2
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -14,10 +14,11 @@
14 14
     </template>
15 15
 
16 16
     <div class='dialysisPage' style="padding-top:40px;">
17
-      <printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
17
+      
18 18
       <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191"
19 19
         :list="list" :patient="patient" :order="order" :admin="admin">
20 20
       </listPrintforu>
21
+      <printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
21 22
       <printTwo v-if="org_id == 10106 && this.paramsObj.balance_accounts_type != 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
22 23
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
23 24
 <!--      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
@@ -171,7 +172,8 @@
171 172
                 let obj = {
172 173
                   med_chrgitm_type: this.getType(infos.med_chrgitm_type),
173 174
                   price: infos.pric.toFixed(4),
174
-                  count: infos.cnt
175
+                  count: infos.cnt,
176
+                  selfpay_prop:infos.selfpay_prop,
175 177
                 }
176 178
                 if (infos.advice && infos.advice.id == 0 && infos.project && infos.project.id > 0) {
177 179
                   obj['p_time'] = this.getTimes(infos.project.prescription.ctime)

+ 8 - 4
src/xt_pages/outpatientCharges/listTemplate/listPrintforu.vue View File

@@ -24,25 +24,30 @@
24 24
         
25 25
         <table class="listTable" style="text-align: center;">
26 26
             <tr style="border-bottom: 1px solid black;">
27
-              <td style="width:30%">医保编码</td>
27
+              <td style="width:25%">医保编码</td>
28 28
               <td style="width:25%">项目名称</td>
29 29
               <td style="width:15%">规格</td>
30 30
               <td style="width:5%">数量</td>
31 31
               <td style="width:5%">单位</td>
32 32
               <td style="width:8%">单价(元)</td>
33 33
               <td style="width:8%">金额(元)</td>
34
+              <td style="width:8%">自负比例</td>
34 35
             </tr>
35 36
             <tr v-for="(item,index) in list" style="line-height: 30px;">
36 37
                 <!-- <template v-if="index == (list.length)-1">
37 38
                     <tr style="border-bottom: 1px solid black;"></tr>
38 39
                 </template> -->
39
-                <td style="width:30%">{{item.code}}</td>
40
+                <td style="width:25%">{{item.code}}</td>
40 41
                 <td style="width:25%">{{item.name}}</td>
41 42
                 <td style="width:15%">{{item.spec}}</td>
42 43
                 <td style="width:5%">{{item.count}}</td>
43 44
                 <td style="width:5%">{{item.unit}}</td>
44 45
                 <td style="width:8%">{{(item.price*1).toFixed(2)}}</td>
45 46
                 <td style="width:8%">{{(item.price * item.count).toFixed(2)}}</td>
47
+                <td style="width:8%">
48
+                  {{(item.selfpay_prop)*100}}
49
+                  <span v-if="item.selfpay_prop !=''">%</span>
50
+                </td>
46 51
             </tr>
47 52
         </table>
48 53
         <div style="border-top: 1px solid black;">
@@ -139,8 +144,7 @@ export default {
139 144
               this.pageArr.push(num)
140 145
           }
141 146
       }
142
-     
143
-      console.log('this.pageArr',this.pageArr);
147
+      console.log('this.pageArr',this.list);
144 148
     },
145 149
     getlist(){
146 150
       // if(this.list.length <= 17){

+ 17 - 1
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -951,6 +951,10 @@ export default {
951 951
                 response.data.data.treatCostSelfTotal
952 952
               that.info['treat_cost_part_self_total'] =
953 953
                 response.data.data.treatCostPartSelfTotal
954
+
955
+
956
+
957
+
954 958
               that.info['date'] = response.data.data.date
955 959
               that.info['number'] = response.data.data.number
956 960
               that.info['order_infos'] = response.data.data.order_infos
@@ -1234,6 +1238,8 @@ export default {
1234 1238
               that.info['order_infos'] = response.data.data.order_infos
1235 1239
               that.info['diagnosis'] = response.data.data.diagnosis
1236 1240
 
1241
+
1242
+
1237 1243
               let list = []
1238 1244
               for (let i = 0; i < response.data.data.order_infos.length; i++) {
1239 1245
                 let order = response.data.data.order_infos[i]
@@ -1380,6 +1386,9 @@ export default {
1380 1386
                   response.data.data.treatCostSelfTotal
1381 1387
                 that.info['treat_cost_part_self_total'] =
1382 1388
                   response.data.data.treatCostPartSelfTotal
1389
+
1390
+
1391
+
1383 1392
                 that.info['date'] = response.data.data.date
1384 1393
                 that.info['number'] = response.data.data.number
1385 1394
                 that.info['order_infos'] = response.data.data.order_infos
@@ -1845,7 +1854,14 @@ export default {
1845 1854
                     funds.push(objs)
1846 1855
                   }
1847 1856
                   that.info['funds'] = funds
1848
-                  console.log(that.info)
1857
+
1858
+                  that.info['zc_cost_total'] =
1859
+                    response.data.data.zcCostTotal
1860
+                  that.info['zc_cost_self_total'] =
1861
+                    response.data.data.zcCostSelfTotal
1862
+                  that.info['zc_cost_part_self_total'] =
1863
+                    response.data.data.zcCostPartSelfTotal
1864
+
1849 1865
                 }
1850 1866
               })
1851 1867
               .catch(function(error) {

+ 7 - 7
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -243,10 +243,10 @@
243 243
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
244 244
         <td style="text-align:right;padding-right:10px;">0</td>
245 245
         <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
246
-        <td style="text-align:right;padding-right:10px;"></td>
247
-        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
248
-        <td style="text-align:right;padding-right:10px;"></td>
249
-        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
246
+        <td>诊察费</td>
247
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.zc_cost_total}}</td>
248
+        <td style="text-align:right;padding-right:10px;">{{info.zc_self_total}}</td>
249
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.zc_part_self_total}}</td>
250 250
       </tr>
251 251
       <tr>
252 252
         <td>合计</td>
@@ -254,20 +254,20 @@
254 254
           parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
255 255
           parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
256 256
           parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
257
-          parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
257
+          parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)+ parseFloat(info.zc_cost_total)).toFixed(2) }}
258 258
         </td>
259 259
         <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
260 260
           parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
261 261
           parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
262 262
           parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
263
-          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
263
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_total)).toFixed(2)}}
264 264
         </td>
265 265
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
266 266
           parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
267 267
           parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
268 268
           parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
269 269
           parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
270
-          parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
270
+          parseFloat(info.treat_cost_part_self_total) + parseFloat(info.zc_cost_part_self_total)).toFixed(2)}}
271 271
         </td>
272 272
 
273 273
         <td>报销比例</td>

+ 11 - 0
src/xt_pages/outpatientCharges/summary.vue View File

@@ -290,6 +290,17 @@
290 290
           </template>
291 291
         </el-table-column>
292 292
 
293
+        <el-table-column align="center" width="90" prop="name" label="险种类型">
294
+          <template slot-scope="scope">
295
+            <div v-if="scope.row.insutype == '390'">
296
+              城乡居民
297
+            </div>
298
+            <div v-if="scope.row.insutype == '310'">
299
+              职工
300
+            </div>
301
+          </template>
302
+        </el-table-column>
303
+
293 304
 
294 305
         <el-table-column align="center" width="90" prop="name" label="就诊凭证类型">
295 306
           <template slot-scope="scope">