瀏覽代碼

修复workcode为空的判断

695593266@qq.com 10 月之前
父節點
當前提交
add06e92a1
共有 1 個文件被更改,包括 4 次插入1 次删除
  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');
     },