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
736 B
21 lines
736 B
import axios from '@/axios/index'
|
|
// 获取列表
|
|
export function crmPurchasePriceDetailIndex(data) {
|
|
return axios.posts('/api/basedata/purchase-price-detail/list',data)
|
|
}
|
|
// 创建
|
|
export function crmPurchasePriceDetailSave(data) {
|
|
return axios.posts('/api/basedata/purchase-price-detail',data)
|
|
}
|
|
// 根据id获取
|
|
export function crmPurchasePriceDetailRead(id) {
|
|
return axios.gets('/api/basedata/purchase-price-detail/'+id)
|
|
}
|
|
// 根据id修改
|
|
export function crmPurchasePriceDetailUpdate(id,data) {
|
|
return axios.puts('/api/basedata/purchase-price-detail/'+id,data)
|
|
}
|
|
// 删除
|
|
export function crmPurchasePriceDetailDelete(data) {
|
|
return axios.posts('/api/basedata/purchase-price-detail/delete',data)
|
|
}
|
|
|