陈少旭 1 月之前
父節點
當前提交
504a4089a8
共有 1 個文件被更改,包括 9 次插入12 次删除
  1. 9 12
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue

+ 9 - 12
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

3567
         this.order_status = '已退费'
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
     removeTab(targetName) {
3578
     removeTab(targetName) {
3572
       if (this.curPrescriptions.order_status == 2 || this.curPrescriptions.order_status == 5 ) {
3579
       if (this.curPrescriptions.order_status == 2 || this.curPrescriptions.order_status == 5 ) {
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
       if (this.curStatus == 1 && this.rightTab == 2) {
3902
       if (this.curStatus == 1 && this.rightTab == 2) {
3906
-        this.$message.error('处方是药品,无法添加项目')
3903
+        this.$message.error('该处方是药品,无法添加项目')
3907
         this.teamList = []
3904
         this.teamList = []
3908
         this.$refs.tables.clearSelection()
3905
         this.$refs.tables.clearSelection()
3909
 
3906
 
3911
       }
3908
       }
3912
 
3909
 
3913
       if (this.curStatus == 2 && this.rightTab == 1) {
3910
       if (this.curStatus == 2 && this.rightTab == 1) {
3914
-        this.$message.error('处方是项目,无法添加药品')
3911
+        this.$message.error('处方是项目,无法添加药品')
3915
         this.curDrugs = []
3912
         this.curDrugs = []
3916
         this.tempDrugs = []
3913
         this.tempDrugs = []
3917
         this.$refs.multipleTable.clearSelection()
3914
         this.$refs.multipleTable.clearSelection()