From fe44869e3ab926c3e1065145337b79eb6e2fb2cd Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 01 六月 2026 14:00:14 +0800
Subject: [PATCH] feat(shipping): 1.发货的时候需要填出库批号,选入库批号 2.可以按批号,批量入库 3.销售退货将发货单号改成出库批号

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

diff --git a/src/api/basicData/parameterMaintenance.js b/src/api/basicData/parameterMaintenance.js
new file mode 100644
index 0000000..86d889e
--- /dev/null
+++ b/src/api/basicData/parameterMaintenance.js
@@ -0,0 +1,81 @@
+// 鍙傛暟缁存姢椤甸潰鎺ュ彛
+import request from "@/utils/request";
+
+// 鏌ヨ鍙傛暟鍒楄〃
+export function parameterListPage(query) {
+  return request({
+    url: "/basic/parameter/listPage",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鏂板鍙傛暟
+export function addParameter(data) {
+  return request({
+    url: "/basic/parameter/add",
+    method: "post",
+    data: data,
+  });
+}
+
+// 缂栬緫鍙傛暟
+export function updateParameter(data) {
+  return request({
+    url: "/basic/parameter/update",
+    method: "put",
+    data: data,
+  });
+}
+
+// 鍒犻櫎鍙傛暟
+export function delParameter(ids) {
+  return request({
+    url: "/basic/parameter/del",
+    method: "delete",
+    data: Array.isArray(ids) ? ids : [ids],
+  });
+}
+
+// 鑾峰彇浜у搧绫诲瀷鍒楄〃
+export function getProductTypes() {
+  return request({
+    url: "/basic/product/typeList",
+    method: "get",
+  });
+}
+
+// 鏂板鍩虹鍙傛暟
+export function addBaseParam(data) {
+  return request({
+    url: "/technologyParam/add",
+    method: "post",
+    data: data,
+  });
+}
+
+// 缂栬緫鍩虹鍙傛暟
+export function editBaseParam(data) {
+  return request({
+    url: "/technologyParam/edit",
+    method: "put",
+    data: data,
+  });
+}
+
+// 鏌ヨ鍩虹鍙傛暟鍒楄〃
+export function getBaseParamList(query) {
+  return request({
+    url: "/technologyParam/list",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鍒犻櫎鍩虹鍙傛暟
+export function removeBaseParam(ids) {
+  return request({
+    url: `/technologyParam/remove/` + ids,
+    method: "delete",
+  });
+}

--
Gitblit v1.9.3