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