Browse Source

睿咨得上一步回显处理

cldu 2 weeks ago
parent
commit
c672008384
1 changed files with 7 additions and 4 deletions
  1. 7 4
      src/views/dataEntry_manage/thirdBase/rystad/rystadBatchToBase.vue

+ 7 - 4
src/views/dataEntry_manage/thirdBase/rystad/rystadBatchToBase.vue

@@ -250,10 +250,7 @@
           </el-table>
           <div class="tab-btn">
             <el-button
-              @click="
-                step--;
-                checkedSomeSelection();
-              "
+              @click="handleLastStep"
               class="width"
               style="margin-right: 80px"
               >{{ $t("Dialog.prev_step") }}</el-button
@@ -362,6 +359,12 @@ export default {
     this.getTableData("init");
   },
   methods: {
+    handleLastStep(){
+      this.step--;
+      this.$nextTick(()=>{
+        this.checkedSomeSelection();
+      })
+    },
     /* 下一步 */
     handleNextStep() {
       if (