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.
63 lines
1.7 KiB
63 lines
1.7 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
// 查询分页列表(盘库记录列表)
|
|
listPage: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehicleinventory/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 判断是否生成盘库记录
|
|
getInventoryRecords: function(userSid) {
|
|
return request({
|
|
url: '/scm/v1/scmvehinventorymonth/getInventoryRecords/' + userSid,
|
|
method: 'get'
|
|
})
|
|
},
|
|
// 盘库操作(库存车辆列表)
|
|
pagelist: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehicleinventory/stayListPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 盘库操作(库存车辆列表--点击确认)
|
|
saveInventory: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehicleinventory/saveInventory',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 盘库报告列表
|
|
baoGao: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehinventorymonth/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 盘库报告(查看盘库报告)
|
|
getCarInventoryReport: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehinventorymonth/getCarInventoryReport/' + data,
|
|
method: 'get'
|
|
})
|
|
},
|
|
// 盘库报告(发送盘库报告)
|
|
sendReport: function(data) {
|
|
return request({
|
|
url: '/scm/v1/scmvehinventoryreport/sendReport',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
}
|
|
|