Browse Source

修复workcode为空的判断

695593266@qq.com 9 months ago
parent
commit
add06e92a1
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/unacceptedProduct/detail.vue

+ 4 - 1
src/views/unacceptedProduct/detail.vue

@@ -546,7 +546,10 @@
     async created() {
     async created() {
       this.qualityType = this.$route.query.qualityType;
       this.qualityType = this.$route.query.qualityType;
       this.warehouseList = await getWarehouseLists();
       this.warehouseList = await getWarehouseLists();
-      this.getRefluxTask();
+      if (this.$route.query.workOrderCode) {
+        this.getRefluxTask();
+      }
+
       // console.log(this.warehouseList, 'this.warehouseList');
       // console.log(this.warehouseList, 'this.warehouseList');
     },
     },