zhuliu 3 månader sedan
förälder
incheckning
1d851bae0a
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. 9 1
      src/views/components/import/task/components/index.vue

+ 9 - 1
src/views/components/import/task/components/index.vue

@@ -153,7 +153,15 @@ export default {
       ],
     };
   },
-  watch: {},
+  watch: {
+    importToId(){
+      this.searchFiled2= {
+        projectId: this.importToType == 2?null:this.importToId,
+        productId: this.importToType == 2?this.importToId:null,
+      }
+      this.getList()
+    },
+  },
   computed: {
     ...mapGetters(['webSocket', 'userinfo']),
     importType() {