From 9c9d121e47423b325e62bfd03b4332ec1e5bdf4d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 27 三月 2026 16:05:51 +0800
Subject: [PATCH] 军泰伟业 1.已发货数量等于总数量时,状态为已发货。已发货数量小于总数量时,状态建议新增发货中 2.产品清除工艺路线点击确定后,仍然回显绑定的工艺路线 3.新增退货单时,退一部分货后,继续对此退货单进行退货操作,展示数据有误

---
 src/api/salesManagement/deliveryLedger.js |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/src/api/salesManagement/deliveryLedger.js b/src/api/salesManagement/deliveryLedger.js
index bb8689f..f596724 100644
--- a/src/api/salesManagement/deliveryLedger.js
+++ b/src/api/salesManagement/deliveryLedger.js
@@ -19,6 +19,15 @@
   });
 }
 
+// 淇敼鍙戣揣鍙拌处
+export function deductStock(query) {
+  return request({
+    url: "/shippingInfo/deductStock",
+    method: "post",
+    data: query,
+  });
+}
+
 // 鍒犻櫎鍙戣揣鍙拌处
 export function delDeliveryLedger(query) {
   return request({
@@ -37,3 +46,50 @@
   });
 }
 
+// 鍙戣揣鏄庣粏鎺ュ彛
+
+// 鍒嗛〉鏌ヨ鍙戣揣鏄庣粏
+export function shippingInfoDetailListPage(query) {
+  return request({
+    url: "/shippingInfoDetail/listPage",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鏂板鍙戣揣鏄庣粏
+export function addShippingInfoDetail(data) {
+  return request({
+    url: "/shippingInfoDetail/add",
+    method: "post",
+    data,
+  });
+}
+
+// 淇敼鍙戣揣鏄庣粏
+export function updateShippingInfoDetail(data) {
+  return request({
+    url: "/shippingInfoDetail/update",
+    method: "post",
+    data,
+  });
+}
+
+// 鍒犻櫎鍙戣揣鏄庣粏
+export function delShippingInfoDetail(ids) {
+  return request({
+    url: "/shippingInfoDetail/delete",
+    method: "delete",
+    data: ids,
+  });
+}
+
+// 鏍规嵁ID鑾峰彇鍙戣揣淇℃伅
+export function getShippingInfoById(id) {
+  return request({
+    url: "/shippingInfo/getById",
+    method: "get",
+    params: { id },
+  });
+}
+

--
Gitblit v1.9.3