瀏覽代碼

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

csx 3 年之前
父節點
當前提交
845416c6c0

+ 1 - 1
src/xt_pages/hospitalStation/newStatementPrintTwo.vue 查看文件

@@ -93,7 +93,7 @@
93 93
           })
94 94
             .then(function (response) {
95 95
               if (response.data.state == 0) {
96
-                this.$message.error(response.data.msg);
96
+                // this.$message.error(response.data.msg);
97 97
                 return false
98 98
               } else {
99 99
                 if (response.data.data.failed_code == -10) {

+ 1 - 1
src/xt_pages/hospitalStation/outpatientChargesManagement.vue 查看文件

@@ -3018,7 +3018,7 @@
3018 3018
             })
3019 3019
               .then(function(response) {
3020 3020
                 if (response.data.state == 0) {
3021
-                  that.$message.error(response.data.msg);
3021
+                  // that.$message.error(response.data.msg);
3022 3022
                   return false
3023 3023
                 } else {
3024 3024
                   if (response.data.data.failed_code == -10) {

+ 1 - 1
src/xt_pages/hospitalStation/treatTemplate/printOne.vue 查看文件

@@ -360,7 +360,7 @@
360 360
         })
361 361
           .then(function(response) {
362 362
             if (response.data.state == 0) {
363
-              that.$message.error(response.data.msg);
363
+              // that.$message.error(response.data.msg);
364 364
               return false
365 365
             } else {
366 366
               if (response.data.data.failed_code == -10) {

+ 1 - 1
src/xt_pages/outpatientCharges/newTreatTemplate/printTwo.vue 查看文件

@@ -449,7 +449,7 @@
449 449
         })
450 450
           .then(function(response) {
451 451
             if (response.data.state == 0) {
452
-              that.$message.error(response.data.msg)
452
+              // that.$message.error(response.data.msg)
453 453
               return false
454 454
             } else {
455 455
               if (response.data.data.failed_code == -10) {

+ 16 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

@@ -1069,7 +1069,7 @@
1069 1069
 
1070 1070
           if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 0) {
1071 1071
             var that = this
1072
-            
1072
+
1073 1073
             axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
1074 1074
               params: form
1075 1075
             })
@@ -3387,8 +3387,22 @@
3387 3387
             this.cal_three = three_count
3388 3388
 
3389 3389
             this.current_index = 0
3390
+            let ids = []
3391
+            let temp_order_id = 0
3390 3392
             for (let i = 0; i < this.patientTableData.length; i++) {
3393
+              // console.log(this.patientTableData[i])
3394
+
3391 3395
               if (this.hisPatientInfo.id == this.patientTableData[i].his_patient_id) {
3396
+                ids.push(this.patientTableData[i].order_id)
3397
+                // this.$refs.tab.setCurrentRow(this.patientTableData[i])
3398
+                // this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].order.number, this.patientTableData[i].his_patient.id, this.patientTableData[i].order.id)
3399
+              }
3400
+
3401
+            }
3402
+
3403
+            temp_order_id = ids[ids.length - 1]
3404
+            for (let i = 0; i < this.patientTableData.length; i++) {
3405
+              if (temp_order_id == this.patientTableData[i].order_id) {
3392 3406
                 this.$refs.tab.setCurrentRow(this.patientTableData[i])
3393 3407
                 this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].order.number, this.patientTableData[i].his_patient.id, this.patientTableData[i].order.id)
3394 3408
               }
@@ -4615,7 +4629,7 @@
4615 4629
             })
4616 4630
               .then(function(response) {
4617 4631
                 if (response.data.state == 0) {
4618
-                  that.$message.error(response.data.msg)
4632
+                  // that.$message.error(response.data.msg)
4619 4633
                   return false
4620 4634
                 } else {
4621 4635
                   if (response.data.data.failed_code == -10) {