57 lines
1.1 KiB
JavaScript
57 lines
1.1 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2020-12-29 16:00:14
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2021-03-25 09:28:58
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
export function shelfList(data) { // 获取货架信息列表
|
|
return request({
|
|
url: '/api/wms/area/shelf',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function shelfDetail(id) { // 获取货架信息单条数据
|
|
return request({
|
|
url: '/api/wms/area/shelfById',
|
|
method: 'post',
|
|
data: { id }
|
|
})
|
|
}
|
|
|
|
export function shelfUpdate(data) { // 更新货架信息单条数据
|
|
return request({
|
|
// url: '/basic/shelf/update',
|
|
url: '/api/wms/area/updateshelf',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function shelfAdd(data) { // 新增货架信息单条数据
|
|
return request({
|
|
url: '/api/wms/area/addshelf',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function shelfCode() { // 获取货架信息code
|
|
return request({
|
|
url: '/api/wms/area/getCode',
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
export function shelfDelete(id) { // 删除货架信息单条数据
|
|
return request({
|
|
url: '/api/wms/area/deleteshelf',
|
|
method: 'post',
|
|
data: { id }
|
|
})
|
|
}
|