Browse Source

Merge branch 'termLink0615' into test

wyq 4 years ago
parent
commit
94acd9566f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/base/LtModal.vue

+ 2 - 2
src/components/base/LtModal.vue

@@ -299,9 +299,9 @@ export default {
         return;
         return;
       }
       }
       const { hisName, hisDetailName } = this.form;
       const { hisName, hisDetailName } = this.form;
-      if (hisName !== '' && hisDetailName === '') {
+      if (hisName !== '' && hisDetailName === '' && this.type == 1) {
         this.ty = 1;
         this.ty = 1;
-      } else if (hisName !== '' && hisDetailName !== '') {
+      } else if (hisName !== '' && hisDetailName !== '' && this.type == 1) {
         this.ty = 2;
         this.ty = 2;
       }
       }
       this.searchType = this.ty;
       this.searchType = this.ty;