Przeglądaj źródła

修复workcode为空的判断

695593266@qq.com 9 miesięcy temu
rodzic
commit
add06e92a1
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/views/unacceptedProduct/detail.vue

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

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