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