소스 검색

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

csx 4 년 전
부모
커밋
90dd5a3855
1개의 변경된 파일20개의 추가작업 그리고 6개의 파일을 삭제
  1. 20 6
      src/xt_pages/outpatientCharges/summary.vue

+ 20 - 6
src/xt_pages/outpatientCharges/summary.vue 파일 보기

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