From 4a811fb2cd4ee4e1cbfe284bfd1fe3a7d16204ce Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 02 四月 2026 17:35:48 +0800
Subject: [PATCH] fix: 终检表单优化检验用粉剂/液情况字段
---
src/api/productionManagement/productionOrder.js | 76 +++++++++++++++++++++++++++++++++++++
1 files changed, 75 insertions(+), 1 deletions(-)
diff --git a/src/api/productionManagement/productionOrder.js b/src/api/productionManagement/productionOrder.js
index 0c37be1..b706084 100644
--- a/src/api/productionManagement/productionOrder.js
+++ b/src/api/productionManagement/productionOrder.js
@@ -10,10 +10,52 @@
});
}
-
export function productOrderListPage(query) {
return request({
url: "/productOrder/page",
+ method: "get",
+ params: query,
+ });
+}
+
+// 鐢熶骇璁㈠崟-鎸変骇鍝佸瀷鍙锋煡璇㈠彲鐢ㄥ伐鑹鸿矾绾垮垪琛�
+export function listProcessRoute(query) {
+ return request({
+ url: "/productOrder/listProcessRoute",
+ method: "get",
+ params: query,
+ });
+}
+
+// 鐢熶骇璁㈠崟-缁戝畾宸ヨ壓璺嚎
+export function bindingRoute(data) {
+ return request({
+ url: "/productOrder/bindingRoute",
+ method: "post",
+ data,
+ });
+}
+
+// 鐢熶骇璁㈠崟-鏂板
+export function addProductOrder(data) {
+ return request({
+ url: "/productOrder/addProductOrder",
+ method: "post",
+ data: data,
+ });
+}
+
+export function delProductOrder(ids) {
+ return request({
+ url: `/productOrder/${ids}`,
+ method: "delete",
+ });
+}
+
+// 鐢熶骇璁㈠崟-鏌ヨ浜у搧缁撴瀯鍒楄〃
+export function listProcessBom(query) {
+ return request({
+ url: "/productOrder/listProcessBom",
method: "get",
params: query,
});
@@ -87,4 +129,36 @@
method: "post",
data: data,
});
+}
+
+export function finishOrder(id) {
+ return request({
+ url: `/productOrder/${id}`,
+ method: "patch",
+ });
+}
+
+// 淇濆瓨娓呭満璁板綍
+export function saveCleanRecord(id, data) {
+ return request({
+ url: `/productOrder/cleanRecord/${id}`,
+ method: "patch",
+ data: data,
+ });
+}
+
+//淇濆瓨鐢熶骇璁㈠崟棰嗘枡
+export function drawMaterials(data) {
+ return request({
+ url: "/productOrder/drawMaterials",
+ method: "post",
+ data: data,
+ });
+}
+
+export function getProductOrderBatchNoOptions() {
+ return request({
+ url: "/productOrder/getProductOrderBatchNo",
+ method: "get",
+ });
}
\ No newline at end of file
--
Gitblit v1.9.3