|
|
@ -24,6 +24,12 @@ export const getSwitch = async (id: number) => { |
|
|
|
return await request.get({ url: `/wms/switch/get?id=` + id }) |
|
|
|
} |
|
|
|
|
|
|
|
// 查询单据开关详情
|
|
|
|
export const getByCode = async (code) => { |
|
|
|
return await request.get({ url: `/wms/switch/getByCode?code=` + code }) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 新增单据开关
|
|
|
|
export const createSwitch = async (data: SwitchVO) => { |
|
|
|
return await request.post({ url: `/wms/switch/create`, data }) |
|
|
|