From 0f4dc4ea8a7de1ffdf34a640c79c29d55b79321c Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 13 六月 2025 17:53:27 +0800
Subject: [PATCH] 添加生产管理接口及优化表格字段

---
 src/api/production/index.js |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/src/api/production/index.js b/src/api/production/index.js
index f0ad4e5..9cb0823 100644
--- a/src/api/production/index.js
+++ b/src/api/production/index.js
@@ -10,4 +10,42 @@
     })
 }
 
+// /productionMaster/list
+// 涓昏〃鍒楄〃
+export function getProductionMasterList(query) {
+    return request({
+        url: '/productionMaster/list',
+        method: 'get',
+        params: query
+    })
+}
+
+// /production/list
+// 鐢熶骇鍔犲伐涓存椂鏁版嵁
+export function getProductionList(query) {
+    return request({
+        url: '/production/list',
+        method: 'get',
+        params: query
+    })
+}
+
+// /productionMaster/addOrEditPM
+// 鏂板鎴栦慨鏀逛富琛�
+export function addOrEditPM(data) {
+    return request({
+        url: '/productionMaster/addOrEditPM',
+        method: 'post',
+        data: data
+    })
+}
+
+
+// 鏌ヨ鐢熶骇鍔犲伐-姝e紡搴撶叅绉嶅垪琛�
+export function getOfficialById(id) {
+    return request({
+        url: '/officialInventory/official/' + id,
+        method: 'get'
+    })
+}
 

--
Gitblit v1.9.3