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

检索条件修改后清除选择专利情况

zhuliu преди 1 година
родител
ревизия
9ccd0eb348
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 1 0
      src/views/project/patentCollection/components/mixins/fastSelectPatent.js
  2. 2 0
      src/views/project/patentCollection/index.vue

+ 1 - 0
src/views/project/patentCollection/components/mixins/fastSelectPatent.js

@@ -271,6 +271,7 @@ export const fastSelectPatent = {
             this.getSelectedTotal()
             this.loading = false
             this.$message.success('删除成功')
+            this.handleCancelSelectNumber()
             this.getList()
             if(this.$refs.customFields){
               this.$refs.customFields.refreshOptions(1)

+ 2 - 0
src/views/project/patentCollection/index.vue

@@ -345,6 +345,7 @@ export default {
       this.searchStr = searchStr
       this.customFields = customFields
       this.queryParams.current = 1
+      this.handleCancelSelectNumber()
       this.getList()
       this.$nextTick(()=>{
         this.$refs.customFields.close()
@@ -908,6 +909,7 @@ export default {
       }
     },
     submitIndex(){
+      this.handleCancelSelectNumber()
       this.getList()
       this.$refs.customFields.refreshOptions(1)
     },