From 908555743c2c36d7e13a129f4ad78f3f69602489 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 16 十月 2025 09:14:17 +0800
Subject: [PATCH] 生产管控-生产订单添加随机排产功能
---
src/api/production/index.js | 76 ++++++++++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/src/api/production/index.js b/src/api/production/index.js
index f0ad4e5..6186d8d 100644
--- a/src/api/production/index.js
+++ b/src/api/production/index.js
@@ -10,4 +10,80 @@
})
}
+// /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'
+ })
+}
+
+// /productionMaster/deleteProductionInventory
+// 鍒犻櫎涓昏〃
+export function deleteProductionInventory(data) {
+ return request({
+ url: '/productionMaster/deleteProductionInventory',
+ method: 'delete',
+ data: data
+ })
+}
+
+// /productionMaster/delPM
+// 鍒犻櫎涓昏〃
+export function delPM(data) {
+ return request({
+ url: '/productionMaster/delPM',
+ method: 'delete',
+ data: data
+ })
+}
+
+// /coalInfo/coalInfoList
+// 鏌ヨ鐓ょ鍒楄〃
+export function getCoalInfoList(query) {
+ return request({
+ url: '/coalInfo/coalInfoList',
+ method: 'get',
+ params: query
+ })
+}
+
+// /productionMaster/randomScheduling
+// 闅忔満鎺掍骇
+export function randomScheduling() {
+ return request({
+ url: '/productionMaster/randomScheduling',
+ method: 'get'
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3