This commit is contained in:
manful mr
2025-12-24 18:35:28 +08:00
parent 9cdd638b99
commit 60240d5a70
5 changed files with 747 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
/**
* 库存表分页查询
* @param {查询条件} data
*/
export function listMmInventory(query) {
return request({
url: 'BZFM/MmInventory/list',
method: 'get',
params: query,
})
}
/**
* 新增库存表
* @param data
*/
export function addMmInventory(data) {
return request({
url: 'BZFM/MmInventory',
method: 'post',
data: data,
})
}
/**
* 修改库存表
* @param data
*/
export function updateMmInventory(data) {
return request({
url: 'BZFM/MmInventory',
method: 'PUT',
data: data,
})
}
/**
* 获取库存表详情
* @param {Id}
*/
export function getMmInventory(id) {
return request({
url: 'BZFM/MmInventory/' + id,
method: 'get'
})
}
/**
* 删除库存表
* @param {主键} pid
*/
export function delMmInventory(pid) {
return request({
url: 'BZFM/MmInventory/delete/' + pid,
method: 'POST'
})
}