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.
21 lines
630 B
21 lines
630 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmCustomerBomIndex(data) {
|
|
return axios.posts('/api/basedata/customer-bom/list',data)
|
|
}
|
|
// 创建
|
|
export function crmCustomerBomSave(data) {
|
|
return axios.posts('/api/basedata/customer-bom',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmCustomerBomRead(id) {
|
|
return axios.gets('/api/basedata/customer-bom/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmCustomerBomUpdate(id,data) {
|
|
return axios.puts('/api/basedata/customer-bom/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmCustomerBomDelete(data) {
|
|
return axios.posts('/api/basedata/customer-bom/delete',data)
|
|
}
|
|
|