From a8809c3d35b66f4becc87ac8ac67503aa83c7359 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 06 一月 2026 18:04:36 +0800
Subject: [PATCH] 1.生产工单做流转单2.生产订单工艺路线做排序删除3.生产工单加报工

---
 src/api/productionManagement/productionOrder.js |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 0 deletions(-)

diff --git a/src/api/productionManagement/productionOrder.js b/src/api/productionManagement/productionOrder.js
index ab3dc06..0c37be1 100644
--- a/src/api/productionManagement/productionOrder.js
+++ b/src/api/productionManagement/productionOrder.js
@@ -9,6 +9,43 @@
     params: query,
   });
 }
+
+
+export function productOrderListPage(query) {
+  return request({
+    url: "/productOrder/page",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鑾峰彇鐐掓満姝e湪宸ヤ綔閲忔暟鎹�
+export function schedulingList(query) {
+  return request({
+    url: "/salesLedger/scheduling/list",
+    method: "get",
+    params: query,
+  });
+}
+
+// 淇濆瓨鐐掓満璁剧疆
+export function addSpeculatTrading(data) {
+  return request({
+    url: "/salesLedger/scheduling/addSpeculatTrading",
+    method: "post",
+    data: data,
+  });
+}
+
+// 淇敼鐐掓満璁剧疆
+export function updateSpeculatTrading(data) {
+  return request({
+    url: "/salesLedger/scheduling/updateSpeculatTrading",
+    method: "post",
+    data: data,
+  });
+}
+
 // 鐢熶骇娲惧伐
 export function productionDispatch(query) {
   return request({
@@ -16,4 +53,38 @@
     method: "post",
     data: query,
   });
+}
+// 鑷姩娲惧伐
+export function productionDispatchList(query) {
+  return request({
+    url: "/salesLedger/scheduling/productionDispatchList",
+    method: "post",
+    data: query,
+  });
+}
+
+// 鏌ヨ鎹熻�楃巼
+export function getLossRate() {
+  return request({
+    url: "/salesLedger/scheduling/loss",
+    method: "get",
+  });
+}
+
+// 鏂板鎹熻�楃巼
+export function addLossRate(data) {
+  return request({
+    url: "/salesLedger/scheduling/addLoss",
+    method: "post",
+    data: data,
+  });
+}
+
+// 淇敼鎹熻�楃巼
+export function updateLossRate(data) {
+  return request({
+    url: "/salesLedger/scheduling/updateLoss",
+    method: "post",
+    data: data,
+  });
 }
\ No newline at end of file

--
Gitblit v1.9.3