diff --git a/src/api/shopSys.js b/src/api/shopSys.js index 624b991..f37ad27 100644 --- a/src/api/shopSys.js +++ b/src/api/shopSys.js @@ -64,3 +64,97 @@ export function logisticsDelete(data) { data }) } + + +//* ******************** 仓库 ********************* +// 仓库查询 +export function storehouseGetAll(data) { + return request({ + url: '/storehouse/getAll', + method: 'post', + data + }) +} + +// 仓库详情 +export function storehouseGetById(data) { + return request({ + url: '/storehouse/getById', + method: 'post', + data + }) +} + +// 添加仓库 +export function storehouseAdd(data) { + return request({ + url: '/storehouse/save', + method: 'post', + data + }) +} + +// 修改仓库 +export function storehouseUpdate(data) { + return request({ + url: '/storehouse/update', + method: 'post', + data + }) +} + +// 删除仓库 +export function storehouseDelete(data) { + return request({ + url: '/storehouse/delete', + method: 'post', + data + }) +} + + +//* ******************** 跨境信息 ********************* +// 获取全部 +export function shopcrossdetailGetAll(data) { + return request({ + url: '/shopcrossdetail/getAll', + method: 'post', + data + }) +} + +// 单个详情 +export function shopcrossdetailGetById(data) { + return request({ + url: '/shopcrossdetail/getById', + method: 'post', + data + }) +} + +// 添加 +export function shopcrossdetailAdd(data) { + return request({ + url: '/shopcrossdetail/save', + method: 'post', + data + }) +} + +// 修改 +export function shopcrossdetailUpdate(data) { + return request({ + url: '/shopcrossdetail/update', + method: 'post', + data + }) +} + +// 删除 +export function shopcrossdetailDelete(data) { + return request({ + url: '/shopcrossdetail/delete', + method: 'post', + data + }) +} diff --git a/src/views/commodity/commoditySystem/addCommodity.vue b/src/views/commodity/commoditySystem/addCommodity.vue index 34552e6..d4cef40 100644 --- a/src/views/commodity/commoditySystem/addCommodity.vue +++ b/src/views/commodity/commoditySystem/addCommodity.vue @@ -80,7 +80,7 @@ - + diff --git a/src/views/commodity/commoditySystem/addComponent.vue b/src/views/commodity/commoditySystem/addComponent.vue index b330449..98f82d6 100644 --- a/src/views/commodity/commoditySystem/addComponent.vue +++ b/src/views/commodity/commoditySystem/addComponent.vue @@ -57,6 +57,27 @@ + + + + + + + + + + + + +