init
This commit is contained in:
55
src/api/basicData/Cache/shelf.js
Normal file
55
src/api/basicData/Cache/shelf.js
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* @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: '/basic/shelf/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfDetail(id) { // 获取货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/get',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfUpdate(data) { // 更新货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfAdd(data) { // 新增货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfCode() { // 获取货架信息code
|
||||
return request({
|
||||
url: '/basic/shelf/get-code',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfDelete(id) { // 删除货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/delete',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user