陈少旭 vor 1 Monat
Ursprung
Commit
504a4089a8

+ 9 - 12
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Datei anzeigen

@@ -3567,6 +3567,13 @@ export default {
3567 3567
         this.order_status = '已退费'
3568 3568
       }
3569 3569
 
3570
+      this.teamList = []
3571
+      this.$refs.tables.clearSelection()
3572
+      this.showOne = true
3573
+      this.showTwo = false
3574
+      this.showThree = false
3575
+      this.customTabIndex = 1
3576
+      this.rightTab = 1
3570 3577
     },
3571 3578
     removeTab(targetName) {
3572 3579
       if (this.curPrescriptions.order_status == 2 || this.curPrescriptions.order_status == 5 ) {
@@ -3891,19 +3898,9 @@ export default {
3891 3898
         }
3892 3899
       }
3893 3900
 
3894
-      // if (this.curPrescriptions.order_status == 2) {
3895
-      //   this.$message.error('该处方已经结算,无法继续添加药品或者项目')
3896
-      //   this.teamList = []
3897
-      //   this.curDrugs = []
3898
-      //   this.tempDrugs = []
3899
-      //   this.$refs.tables.clearSelection()
3900
-      //   this.$refs.multipleTableTwo.clearSelection()
3901
-      //   this.$refs.multipleTable.clearSelection()
3902
-      //   return
3903
-      // }
3904 3901
 
3905 3902
       if (this.curStatus == 1 && this.rightTab == 2) {
3906
-        this.$message.error('处方是药品,无法添加项目')
3903
+        this.$message.error('该处方是药品,无法添加项目')
3907 3904
         this.teamList = []
3908 3905
         this.$refs.tables.clearSelection()
3909 3906
 
@@ -3911,7 +3908,7 @@ export default {
3911 3908
       }
3912 3909
 
3913 3910
       if (this.curStatus == 2 && this.rightTab == 1) {
3914
-        this.$message.error('处方是项目,无法添加药品')
3911
+        this.$message.error('处方是项目,无法添加药品')
3915 3912
         this.curDrugs = []
3916 3913
         this.tempDrugs = []
3917 3914
         this.$refs.multipleTable.clearSelection()