From 51bf36b25bd2065a1d1ff9a0c3981b57b54aa119 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 30 四月 2026 10:16:01 +0800
Subject: [PATCH] 报工按钮点击控制,指定报工人回显,批号去掉校验

---
 src/api/basicData/common.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/api/basicData/common.js b/src/api/basicData/common.js
index 01c6f35..547c1e1 100644
--- a/src/api/basicData/common.js
+++ b/src/api/basicData/common.js
@@ -11,3 +11,15 @@
     },
   })
 }
+
+// 閫氱敤涓婁紶鎺ュ彛锛屾敮鎸� FormData 鎵归噺浼犳枃浠�,姘镐笉杩囨湡锛屾厧鐢�
+export function uploadPublicFile(data) {
+  return request({
+    url: '/common/public/upload',
+    method: 'post',
+    data,
+    headers: {
+      'Content-Type': 'multipart/form-data',
+    },
+  })
+}

--
Gitblit v1.9.3