From 458dd6178b917a304d7539aa30e8103e4362588e Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 10:38:09 +0800
Subject: [PATCH] 修改BUG: 1.仓储物流--生产仓库--生产领料:新增领料出库单时报错,提示"请求参数不正确:生产任务ID不能为空",导致无法新增。 2.仓储物流--生产仓库--生产领料:对新增到领料出库单进行拣货时,提示"提示:库存记录与提交的物料、批次或库位信息不一致"导致无法进行拣货

---
 src/api/system/post/index.ts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts
index 8b32ad2..3032a56 100644
--- a/src/api/system/post/index.ts
+++ b/src/api/system/post/index.ts
@@ -61,3 +61,16 @@
     params,
   });
 }
+
+/** 涓嬭浇宀椾綅瀵煎叆妯℃澘 */
+export function importPostTemplate() {
+  return requestClient.download('/system/post/get-import-template');
+}
+
+/** 瀵煎叆宀椾綅 */
+export function importPost(file: File, updateSupport: boolean) {
+  return requestClient.upload('/system/post/import', {
+    file,
+    updateSupport,
+  });
+}

--
Gitblit v1.9.3