charles
2024-08-06 5ecb7958c96d3f0b6d47b79aff7eb306c2cf690f
src/api/operate/inventoryAdjustment.js
@@ -56,4 +56,36 @@
    method: "post",
    data
  })
}
}
// 字典列表
export function getDictListApi(data) {
    return request({
        url: "/api-wms/v1/dict/getDictList",
        method: "post",
        data
    });
}
//新增字典 /api-wms/v1/dict/add
export function addDictApi(data) {
  return request({
      url: "/api-wms/v1/dict/add",
      method: "post",
      data
  });
}
//删除字典
export function deleteDictApi(id) {
    return request({
        url: `/api-wms/v1/dict/delete/${id}`,
        method: "delete",
    });
}
// 修改字典
export function editDictApi(data) {
    return request({
        url: "/api-wms/v1/dict/edit",
        method: "post",
        data
    });
}