Ver código fonte

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

csx 3 anos atrás
pai
commit
6cde8a251f

+ 17 - 5
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Ver arquivo

@@ -885,7 +885,7 @@
885 885
             this.hisPatientDatas = response.data.data.list_two
886 886
             this.cal_one = one_count
887 887
             this.cal_two = response.data.data.charge_list.length
888
-            this.all_charge_table_data = response.data.data.charge_list
888
+
889 889
             this.cal_three = three_count
890 890
             this.current_index = 0
891 891
 
@@ -921,7 +921,10 @@
921 921
 
922 922
                   }
923 923
                   this.chargePatientTableData.push(obj)
924
+
924 925
                 }
926
+                this.all_charge_table_data =this.chargePatientTableData
927
+
925 928
 
926 929
                 if (this.chargePatientTableData.length > 0) {
927 930
                   for (let i = 0; i < this.chargePatientTableData.length; i++) {
@@ -998,7 +1001,7 @@
998 1001
 
999 1002
             this.cal_one = one_count
1000 1003
             this.cal_two = response.data.data.charge_list.length
1001
-            this.all_charge_table_data = response.data.data.charge_list
1004
+            // this.all_charge_table_data = response.data.data.charge_list
1002 1005
             this.cal_three = three_count
1003 1006
             this.current_index = 0
1004 1007
 
@@ -1033,7 +1036,10 @@
1033 1036
 
1034 1037
                   }
1035 1038
                   this.chargePatientTableData.push(obj)
1039
+
1036 1040
                 }
1041
+                this.all_charge_table_data =this.chargePatientTableData
1042
+
1037 1043
                 for (let i = 0; i < this.chargePatientTableData.length; i++) {
1038 1044
                   if (this.patientInfo.id == this.chargePatientTableData[i].id) {
1039 1045
                     this.current_index = i
@@ -2071,7 +2077,7 @@
2071 2077
 
2072 2078
             this.cal_one = one_count
2073 2079
             this.cal_two = response.data.data.charge_list.length
2074
-            this.all_charge_table_data = response.data.data.charge_list
2080
+            // this.all_charge_table_data = response.data.data.charge_list
2075 2081
             this.cal_three = three_count
2076 2082
 
2077 2083
             switch (temp_id) {
@@ -2107,6 +2113,8 @@
2107 2113
                   }
2108 2114
                   this.chargePatientTableData.push(obj)
2109 2115
                 }
2116
+                this.all_charge_table_data =this.chargePatientTableData
2117
+
2110 2118
                 for (let i = 0; i < this.chargePatientTableData.length; i++) {
2111 2119
                   if (this.patientInfo.id == this.chargePatientTableData[i].id) {
2112 2120
                     this.current_index = i
@@ -2225,7 +2233,7 @@
2225 2233
 
2226 2234
             this.cal_one = one_count
2227 2235
             this.cal_two = response.data.data.charge_list.length
2228
-            this.all_charge_table_data = response.data.data.charge_list
2236
+            // this.all_charge_table_data = response.data.data.charge_list
2229 2237
             // this.cal_three = three_count;
2230 2238
 
2231 2239
             switch (temp_id) {
@@ -2269,6 +2277,8 @@
2269 2277
                   }
2270 2278
                   this.chargePatientTableData.push(obj)
2271 2279
                 }
2280
+                this.all_charge_table_data =this.chargePatientTableData
2281
+
2272 2282
 
2273 2283
                 this.current_index = 0
2274 2284
                 this.$refs.tab.setCurrentRow(this.chargePatientTableData[0])
@@ -2362,7 +2372,7 @@
2362 2372
             this.hisPatientDatas = response.data.data.list_two
2363 2373
             this.cal_one = one_count
2364 2374
             this.cal_two = response.data.data.charge_list.length
2365
-            this.all_charge_table_data = response.data.data.charge_list
2375
+            // this.all_charge_table_data = response.data.data.charge_list
2366 2376
             this.current_index = 0
2367 2377
 
2368 2378
             switch (this.radio) {
@@ -2390,6 +2400,8 @@
2390 2400
                   }
2391 2401
                   this.chargePatientTableData.push(obj)
2392 2402
                 }
2403
+                this.all_charge_table_data =this.chargePatientTableData
2404
+
2393 2405
                 this.$refs.tab.setCurrentRow(this.chargePatientTableData[0])
2394 2406
                 this.getPatientInformation(this.chargePatientTableData[0].id, this.chargePatientTableData[0].number, this.patientTableData[0].his_patient_id)
2395 2407
                 break

+ 2 - 3
src/xt_pages/hospitalStation/summary.vue Ver arquivo

@@ -502,6 +502,7 @@
502 502
         }
503 503
 
504 504
       }, toRefund(row) {
505
+        console.log("~~~~~~~")
505 506
         if (row.his_hospital_patient.balance_accounts_type != 2) {
506 507
           var that = this
507 508
           this.$confirm('是否退费', '退费', {
@@ -549,9 +550,7 @@
549 550
             type: 'warning'
550 551
           }).then(() => {
551 552
             let params = {
552
-              'order_id': this.order.id,
553
-              'patient_id': this.patientInfo.id,
554
-              'record_time': this.record_date
553
+              'order_id': row.id,
555 554
 
556 555
             }
557 556
             HopitalunRefund(params).then(response => {