Explorar o código

修复workcode为空的判断

695593266@qq.com hai 9 meses
pai
achega
add06e92a1
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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');
     },