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.
38 lines
969 B
38 lines
969 B
import request from '@/utils/request'
|
|
|
|
export default {
|
|
// 查询分页列表
|
|
listPage: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmcollectionrebatedistribution/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 获取车辆
|
|
pageList: function(data) {
|
|
return request({
|
|
url: '/base/v1/basevehicle/vehicleCollectionList',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 新增保存修改记录
|
|
save: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmcollectionrebatedistribution/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 通过sid查询一条记录
|
|
fetchBySid: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmcollectionrebatedistribution/fetchDetailsBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
}
|
|
|