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
610 B
22 lines
610 B
2 years ago
|
import axios from '@/axios/index'
|
||
|
// 获取列表
|
||
|
export function crmInReceiptIndex(data) {
|
||
|
return axios.posts('/api/basedata/in-receipt/list',data)
|
||
|
}
|
||
|
// 创建
|
||
|
export function crmInReceiptSave(data) {
|
||
|
return axios.posts('/api/basedata/in-receipt',data)
|
||
|
}
|
||
|
// 根据id获取
|
||
|
export function crmInReceiptRead(id) {
|
||
|
return axios.gets('/api/basedata/in-receipt/'+id)
|
||
|
}
|
||
|
// 根据id修改
|
||
|
export function crmInReceiptUpdate(id,data) {
|
||
|
return axios.puts('/api/basedata/in-receipt/'+id,data)
|
||
|
}
|
||
|
// 删除
|
||
|
export function crmInReceiptDelete(data) {
|
||
|
return axios.posts('/api/basedata/in-receipt/delete',data)
|
||
|
}
|