【前端】智能库房综合管理系统前端项目
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.
 
 
 
 
 

44 lines
1.1 KiB

import request from '@/utils/request'
import qs from 'qs'
// 入库 初始化档案盒装盒信息
export function initCaseByArchives(params) {
return request({
url: 'api/storage/initCaseByArchives' + '?' + qs.stringify(params, { indices: false }),
method: 'get'
})
}
// 入库 判断位置是否被占用
export function isOccupy(params) {
return request({
url: 'api/storage/isOccupy' + '?' + qs.stringify(params, { indices: false }),
method: 'get'
})
}
// 入库
export function collect(params) {
return request({
url: 'api/storage/collect',
method: 'post',
data: params
})
}
// 出库
export function grant(params) {
return request({
url: 'api/storage/grant',
method: 'post',
data: params
})
}
// 出入库记录 导出
export function exportStorageLogList(params) {
return request({
url: 'api/storage/exportStorageLogList' + '?' + qs.stringify(params, { responseType: 'blob' }),
method: 'get'
})
}
export default { initCaseByArchives, isOccupy, collect, grant, exportStorageLogList }