Browse Source

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

xmg123 3 days ago
parent
commit
a1d4133649
1 changed files with 9 additions and 6 deletions
  1. 9 6
      src/xt_pages/outpatientTool/gatherPrint.vue

+ 9 - 6
src/xt_pages/outpatientTool/gatherPrint.vue View File

@@ -300,13 +300,17 @@
300 300
           obj.total = this.getAllPiceTwo(arr)
301 301
           for(let i=0;i<arr.length;i++){
302 302
             if(arr[i].advice_id >0){
303
-               arr[i].cost_type = this.getDrugType(arr[i].cost_type)
303
+               arr[i].cost_type = this.getType(arr[i].child[0].med_chrgitm_type)
304 304
             }
305 305
             if(arr[i].type ==2){
306
-              arr[i].cost_type = this.getCostType(arr[i].cost_type)
306
+              arr[i].cost_type = this.getType(arr[i].child[0].med_chrgitm_type)
307 307
             }
308 308
           }
309 309
           arr.push(obj)
310
+            console.log("arr")
311
+            console.log(arr)
312
+            console.log("arr")
313
+
310 314
 
311 315
           this.tableList = arr
312 316
 
@@ -637,7 +641,7 @@
637 641
 
638 642
             break
639 643
           case '09':
640
-            return '西药'
644
+            return '西药'
641 645
 
642 646
             break
643 647
           case '10':
@@ -645,7 +649,7 @@
645 649
 
646 650
             break
647 651
           case '11':
648
-            return '中成药'
652
+            return '中成药'
649 653
 
650 654
             break
651 655
           case '12':
@@ -657,8 +661,7 @@
657 661
 
658 662
             break
659 663
           case '14':
660
-            return '其他费'
661
-
664
+            return '其他'
662 665
             break
663 666
 
664 667
         }