Quellcode durchsuchen

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

csx vor 3 Jahren
Ursprung
Commit
90dd5a3855
1 geänderte Dateien mit 20 neuen und 6 gelöschten Zeilen
  1. 20 6
      src/xt_pages/outpatientCharges/summary.vue

+ 20 - 6
src/xt_pages/outpatientCharges/summary.vue Datei anzeigen

@@ -104,7 +104,7 @@
104 104
                             结算单
105 105
                         </el-button>
106 106
                         <el-button size="mini" type="primary" v-if="scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106" @click="settlementPrint(scope.row)">结算单</el-button>
107
-                        <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">
107
+                        <el-button size="mini" type="primary" @click="toRefund(scope.row)">
108 108
                             退费
109 109
                         </el-button>
110 110
                         <el-button size="mini" type="primary" @click="invoicePrint(scope.row)">打印发票</el-button>
@@ -247,7 +247,7 @@
247 247
         }
248 248
 
249 249
       },toRefund(row){
250
-        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106) {
250
+        if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990) {
251 251
           var that = this;
252 252
           this.$confirm('是否退费', '退费', {
253 253
             confirmButtonText: '确 定',
@@ -362,6 +362,7 @@
362 362
               let balance_accounts = '';
363 363
 
364 364
               let order_status = '';
365
+              let charge_name = '';
365 366
 
366 367
               if (order.his_patient != null && order.his_patient.number.length > 0) {
367 368
                 number = order.his_patient.number
@@ -392,6 +393,11 @@
392 393
                 doctor_name = order.p_info.doctor
393 394
               }
394 395
 
396
+              if (order.creator != null) {
397
+                charge_name = this.getName(order.creator)
398
+              }
399
+
400
+
395 401
               if (order.order_status == 1) {
396 402
                 order_status = '待结算'
397 403
               }
@@ -409,25 +415,33 @@
409 415
                 '患者姓名': name,
410 416
                 '应收金额': order.medfee_sumamt,
411 417
                 '实收金额': order.medfee_sumamt,
418
+                '医保统筹金额': order.fund_pay_sumamt,
419
+                '大额基金金额': order.hifob_pay,
420
+                '大病基金金额': order.hifmi_pay,
421
+                '补充保险基金金额': order.hifes_pay,
422
+                '医疗救助基金金额': order.maf_pay,
423
+                '公务员基金': order.cvlserv_pay,
424
+                '个人支付基金': order.psn_cash_pay,
425
+                '个人账户支付金额': order.acct_pay,
412 426
                 '科室': department,
413 427
                 '医生姓名': doctor_name,
414 428
                 '收费类别': balance_accounts,
415
-                '收费者姓名': doctor_name,
429
+                '收费者姓名': charge_name,
416 430
                 '总金额': order.medfee_sumamt,
417 431
                 '现金支付': '',
418 432
                 '账户支付': '',
419 433
                 '支付宝支付': '',
420 434
                 '微信支付': '',
421 435
                 '其他支付': '',
422
-                '收费日期': '',
436
+                '收费时间': order.setl_time,
423 437
                 '收费状态': order_status,
424 438
                 '退费日期': ''
425 439
               };
426 440
               list.push(obj)
427 441
             }
428 442
             import('@/vendor/Export2Excel').then(excel => {
429
-              const tHeader = ['就诊号', '患者姓名', '应收金额', '实收金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费日期', '收费状态', '退费日期'];
430
-              const filterVal = ['就诊号', '患者姓名', '应收金额', '实收金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费日期', '收费状态', '退费日期'];
443
+              const tHeader = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期'];
444
+              const filterVal = ['就诊号', '患者姓名', '应收金额', '实收金额', '医保统筹金额', '大额基金金额', '大病基金金额', '补充保险基金金额', '医疗救助基金金额', '公务员基金', '个人支付基金', '个人账户支付金额', '科室', '医生姓名', '收费类别', '收费者姓名', '总金额', '现金支付', '账户支付', '支付宝支付', '微信支付', '其他支付', '收费时间', '收费状态', '退费日期'];
431 445
               const data = this.formatJson(filterVal, list);
432 446
               excel.export_json_to_excel({
433 447
                 header: tHeader,