Ver código fonte

fix: 重置选择状态和分页信息,确保对话框关闭时清空相关数据

xieyong 5 dias atrás
pai
commit
a6340d78ec

+ 2 - 0
src/views/warehouseManagement/stocktaking/work/components/disposeDialog.vue

@@ -462,6 +462,8 @@
         this.pages.keyWord = '';
         this.pages.keyWord = '';
         this.selection = [];
         this.selection = [];
         this.controlTableData = [];
         this.controlTableData = [];
+        this.selectionIds = [];
+        this.pages.pageNum = 1;
         this.visibleDialog = false;
         this.visibleDialog = false;
       },
       },
       async _getInformation() {
       async _getInformation() {