gaoluyang
19 小时以前 19aa78a505d468739a61054f07d0840477192b2d
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 },
  });
}