You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
670 B
22 lines
670 B
2 years ago
|
import axios from '@/axios/index'
|
||
|
// 获取列表
|
||
|
export function crmInventoryOccupyIndex(data) {
|
||
|
return axios.posts('/api/basedata/inventory-occupy/list',data)
|
||
|
}
|
||
|
// 创建
|
||
|
export function crmInventoryOccupySave(data) {
|
||
|
return axios.posts('/api/basedata/inventory-occupy',data)
|
||
|
}
|
||
|
// 根据id获取
|
||
|
export function crmInventoryOccupyRead(id) {
|
||
|
return axios.gets('/api/basedata/inventory-occupy/'+id)
|
||
|
}
|
||
|
// 根据id修改
|
||
|
export function crmInventoryOccupyUpdate(id,data) {
|
||
|
return axios.puts('/api/basedata/inventory-occupy/'+id,data)
|
||
|
}
|
||
|
// 删除
|
||
|
export function crmInventoryOccupyDelete(data) {
|
||
|
return axios.posts('/api/basedata/inventory-occupy/delete',data)
|
||
|
}
|