moreShopAdmin/src/api/inventory_warehouse.ts
mkm 300bdd8863 feat(inventory-store): 优化门店名称搜索功能
- 在编辑页面和列表页面添加门店名称搜索功能
- 使用远程搜索方法获取门店列表
- 在表格中显示门店名称而非 ID
- 根据模式动态显示数量输入框或门店选择框
2025-02-14 18:00:17 +08:00

30 lines
1.0 KiB
TypeScript

import request from '@/utils/request'
// 仓库盘存列表
export function apiInventoryWarehouseLists(params: any) {
return request.get({ url: '/inventory_warehouse/inventorywarehouse/lists', params })
}
// 添加仓库盘存
export function apiInventoryWarehouseAdd(params: any) {
return request.post({ url: '/inventory_warehouse/inventorywarehouse/add', params })
}
// 编辑仓库盘存
export function apiInventoryWarehouseEdit(params: any) {
return request.post({ url: '/inventory_warehouse/inventorywarehouse/edit', params })
}
// 删除仓库盘存
export function apiInventoryWarehouseDelete(params: any) {
return request.post({ url: '/inventory_warehouse/inventorywarehouse/delete', params })
}
// 仓库盘存详情
export function apiInventoryWarehouseDetail(params: any) {
return request.get({ url: '/inventory_warehouse/inventorywarehouse/detail', params })
}
export function apiInventoryWarehouseEnterNums(params: any) {
return request.post({ url: '/inventory_warehouse/inventorywarehouse/enter_nums', params })
}