lxf 1 年之前
父節點
當前提交
6d8123ba5f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/production/operation/batching/quick.vue

+ 3 - 1
src/views/production/operation/batching/quick.vue

@@ -193,7 +193,9 @@ onMounted(() => {
       }
     }
     proxy.post("/stockPreparation/getPackageBomList", orderList).then((res) => {
-      formData.data.inOutStorageBomList = formData.data.inOutStorageBomList.concat(res);
+      if (res && res.length > 0) {
+        formData.data.inOutStorageBomList = formData.data.inOutStorageBomList.concat(res);
+      }
     });
   }
 });