Selaa lähdekoodia

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

zhuliu 1 vuosi sitten
vanhempi
commit
9ccd0eb348

+ 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)
     },