仓库管理_客户信息:init

This commit is contained in:
qianhao.xu
2024-03-17 15:44:51 +08:00
parent 2353a0b3c0
commit 9d0b3f13f4
2 changed files with 382 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
/**
* 客户信息分页查询
* @param {查询条件} data
*/
export function listWmCustom(query) {
return request({
url: '/mes/wm/WmCustom/list',
method: 'get',
params: query,
})
}
/**
* 新增客户信息
* @param data
*/
export function addWmCustom(data) {
return request({
url: '/mes/wm/WmCustom',
method: 'post',
data: data,
})
}
/**
* 修改客户信息
* @param data
*/
export function updateWmCustom(data) {
return request({
url: '/mes/wm/WmCustom',
method: 'PUT',
data: data,
})
}
/**
* 获取客户信息详情
* @param {Id}
*/
export function getWmCustom(id) {
return request({
url: '/mes/wm/WmCustom/' + id,
method: 'get'
})
}
/**
* 删除客户信息
* @param {主键} pid
*/
export function delWmCustom(pid) {
return request({
url: '/mes/wm/WmCustom/' + pid,
method: 'delete'
})
}