This commit is contained in:
2022-01-13 10:45:55 +08:00
parent 9673c1ba30
commit 7bc184c9c7
18 changed files with 548 additions and 424 deletions

View File

@@ -2,14 +2,14 @@
* @Author: zwq
* @Date: 2020-12-29 16:00:14
* @LastEditors: zwq
* @LastEditTime: 2021-01-27 16:42:27
* @LastEditTime: 2022-01-11 16:16:07
* @Description:
*/
import request from '@/utils/request'
export function areaList(data) { // 获取缓存区区域信息列表
return request({
url: '/basic/area/page',
url: '/api/wms/area/shelf',
method: 'post',
data
})
@@ -17,7 +17,7 @@ export function areaList(data) { // 获取缓存区区域信息列表
export function areaDetail(id) { // 获取缓存区区域信息单条数据
return request({
url: '/basic/area/get',
url: '/api/wms/area/get',
method: 'post',
data: { id }
})
@@ -25,7 +25,7 @@ export function areaDetail(id) { // 获取缓存区区域信息单条数据
export function areaUpdate(data) { // 更新缓存区区域信息单条数据
return request({
url: '/basic/area/update',
url: '/api/wms/area/update',
method: 'post',
data
})
@@ -33,7 +33,7 @@ export function areaUpdate(data) { // 更新缓存区区域信息单条数据
export function areaAdd(data) { // 新增缓存区区域信息单条数据
return request({
url: '/basic/area/add',
url: '/api/wms/area/add',
method: 'post',
data
})
@@ -41,14 +41,14 @@ export function areaAdd(data) { // 新增缓存区区域信息单条数据
export function areaCode() { // 获取缓存区区域信息code
return request({
url: '/basic/area/get-code',
url: '/api/wms/area/get-code',
method: 'post'
})
}
export function areaDelete(id) { // 删除缓存区区域信息单条数据
return request({
url: '/basic/area/delete',
url: '/api/wms/area/delete',
method: 'post',
data: { id }
})