Преглед на файлове

益兽园医生确认处方

xdd преди 1 месец
родител
ревизия
92c399abbe
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      src/views/his/prescribe/index.vue

+ 1 - 2
src/views/his/prescribe/index.vue

@@ -528,8 +528,6 @@ export default {
         if (this.form.prescribeId) {
           this.drugQueryParams.prescribeId = this.form.prescribeId;
         }
-      }).finally(()=>{
-        this.currentConfirm = null;
       })
     },
     confirmPrescribe(){
@@ -593,6 +591,7 @@ export default {
     handleDialogClose() {
       // 重置药品相关数据
       this.drugList = [];
+      this.currentConfirm = null;
       this.drugTotal = 0;
       this.drugQueryParams.pageNum = 1;
       this.activeTab = 'basic';