From f3155b9e31d79a27f3272e58d990e3717b7a948f Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 11 Apr 2024 09:33:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E6=80=BB=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20=E8=87=AA=E6=8F=90=E7=82=B9=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product.js | 14 +- src/router/modules/product.js | 12 +- src/views/product/addProduct/index.vue | 6 +- src/views/product/point/index.vue | 296 +++++++++++++++++++++++++ 4 files changed, 319 insertions(+), 9 deletions(-) create mode 100644 src/views/product/point/index.vue diff --git a/src/api/product.js b/src/api/product.js index 844d972..9189763 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -592,7 +592,17 @@ export function productEditApi(id, data) { export function changeProductStatus(id, status) { return request.post(`store/product/change_status/${id}`, { status }) } - - +// 提货点管理 -- 列表获取 +export function pointGetList(data) { + return request.get(`store/point/list`, data) +} +// 提货点管理 -- 提交编辑 +export function pointEdit(data) { + return request.post(`store/point/edit`, data) +} +// 提货点管理 -- 列表获取 +export function pointDel(id) { + return request.post(`store/point/del/${id}`) +} diff --git a/src/router/modules/product.js b/src/router/modules/product.js index 070e9e7..d7bdb0f 100644 --- a/src/router/modules/product.js +++ b/src/router/modules/product.js @@ -131,8 +131,16 @@ const productRouter = meta: { title: '商品添加', noCache: true - }, - hidden: true + } + }, + { + path: 'point', + component: () => import('@/views/product/point/index'), + name: 'point', + meta: { + title: '提货点管理', + noCache: true + } }, ] } diff --git a/src/views/product/addProduct/index.vue b/src/views/product/addProduct/index.vue index 18a839c..1b7f63a 100644 --- a/src/views/product/addProduct/index.vue +++ b/src/views/product/addProduct/index.vue @@ -1076,11 +1076,7 @@
- + {{ item.name }} diff --git a/src/views/product/point/index.vue b/src/views/product/point/index.vue new file mode 100644 index 0000000..f2d396a --- /dev/null +++ b/src/views/product/point/index.vue @@ -0,0 +1,296 @@ +