From 3b42d703a85d289812de145508eb3f3a0c832120 Mon Sep 17 00:00:00 2001 From: panxiaohe <1074118755@qq.com> Date: Thu, 6 Apr 2023 06:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=A8=E5=A2=83=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=BD=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shopSys.js | 94 ++++++ .../commodity/commoditySystem/addCommodity.vue | 2 +- .../commodity/commoditySystem/addComponent.vue | 52 ++++ src/views/system/shopCrossDetail/edit.vue | 187 ++++++++++++ src/views/system/shopCrossDetail/index.vue | 136 +++++++++ src/views/system/storehouse/Edit.vue | 318 +++++++++++++++++++++ src/views/system/storehouse/index.vue | 217 ++++++++++++++ 7 files changed, 1005 insertions(+), 1 deletion(-) create mode 100644 src/views/system/shopCrossDetail/edit.vue create mode 100644 src/views/system/shopCrossDetail/index.vue create mode 100644 src/views/system/storehouse/Edit.vue create mode 100644 src/views/system/storehouse/index.vue 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 @@ + + + + + + + + + + + + +