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' }) } }