You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
886 B
TypeScript
34 lines
886 B
TypeScript
|
1 year ago
|
import { request } from '../../request';
|
||
|
|
|
||
|
|
const prefix = `/wms/wms/recptLine/`;
|
||
|
|
// ${functions}列表}
|
||
|
|
export function selectWmsItemRecptLineList(data: any) {
|
||
|
|
return request.get(`${prefix}list`, data);
|
||
|
|
}
|
||
|
|
// 查询所有${functions}
|
||
|
|
export function selectAllWmsItemRecptLineList(data: any) {
|
||
|
|
return request.get(`${prefix}selectAll`, data);
|
||
|
|
}
|
||
|
|
|
||
|
|
export function exportWmsItemRecptLine(data: any) {
|
||
|
|
return request.get(`${prefix}export`, data);
|
||
|
|
}
|
||
|
|
export function getWmsItemRecptLine(id: string | number) {
|
||
|
|
return request.get(`${prefix}${id}`);
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增
|
||
|
|
export function addWmsItemRecptLine(data: any) {
|
||
|
|
return request.post(`${prefix}add`, data);
|
||
|
|
}
|
||
|
|
|
||
|
|
// 编辑
|
||
|
|
export function editWmsItemRecptLine(data: any) {
|
||
|
|
return request.post(`${prefix}edit`, data);
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除
|
||
|
|
export function delWmsItemRecptLine(ids: string | number) {
|
||
|
|
return request.post(`${prefix}remove/${ids}`);
|
||
|
|
}
|