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.
50 lines
1.4 KiB
50 lines
1.4 KiB
1 year ago
|
import request from '@/utils/request'
|
||
|
|
||
|
export default {
|
||
|
// 查询分页列表 -- 库存查询
|
||
|
listPage: function(data) {
|
||
|
return request({
|
||
|
url: '/apiadmin/inventory/wmsinventory/listPage',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
// 库存查询 -- 删除
|
||
|
deleteBySids: function(data) {
|
||
|
return request({
|
||
|
url: '/riskcenter/v1/LoanLawsuitApply/deleteBySids',
|
||
|
method: 'DELETE',
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
// 库存出入库记录
|
||
|
getWmsInventoryRecordList: function(data) {
|
||
|
return request({
|
||
|
url: '/wms/apiadmin/inventory/wmsinventoryrecord/getWmsInventoryRecordList',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
},
|
||
|
// 查询分页列表 -- 出入库查询
|
||
|
pageList: function(data) {
|
||
|
return request({
|
||
|
url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
// 出入库查询 -- 导出
|
||
|
exportExcel: function(data) {
|
||
|
return request({
|
||
|
url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel',
|
||
|
method: 'post',
|
||
|
responseType: 'blob', // 表明返回服务器返回的数据类型
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
}
|
||
|
}
|