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'
})
}

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询测试模块列表
export function listTestModule(query) {
return request({
url: '/testModule/list',
method: 'get',
params: query
})
}
// 查询测试模块详细
export function getTestModule(id) {
return request({
url: '/testModule/' + id,
method: 'get'
})
}
// 新增测试模块
export function addTestModule(data) {
return request({
url: '/testModule/add',
method: 'post',
data: data
})
}
// 修改测试模块
export function updateTestModule(data) {
return request({
url: '/testModule/edit',
method: 'put',
data: data
})
}
// 删除测试模块
export function delTestModule(id) {
return request({
url: '/testModule/' + id,
method: 'delete'
})
}