From 975ae30432f1a5867f4a0f41a54f1bfca45513f6 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 28 Feb 2024 18:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E9=85=92=E9=81=93?= =?UTF-8?q?=E9=A6=86=E8=BF=9B=E8=B4=A7=E9=A1=B5=E9=9D=A2=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=EF=BC=9A=E9=85=92=E9=81=93=E9=A6=86=E5=92=8C=E5=95=86?= =?UTF-8?q?=E6=88=B7=E7=99=BB=E5=BD=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/store.js | 5 +- api/supplier.js | 4 + pages.json | 13 +- pages/admin/business/index.vue | 352 ++++++++++++++++--------- pages/supplier/stock/with_goods.vue | 382 ++++++++++++++++++++++++++++ pages/user/index.vue | 34 ++- store/getters.js | 5 + store/modules/app.js | 8 + utils/request.js | 1 + 9 files changed, 669 insertions(+), 135 deletions(-) create mode 100644 pages/supplier/stock/with_goods.vue diff --git a/api/store.js b/api/store.js index d935139..c0beaa5 100644 --- a/api/store.js +++ b/api/store.js @@ -545,4 +545,7 @@ export function priceRuleApi(id) { noAuth: true }); } - +// 酒道馆登录 +export function storeLogin(data) { + return request.get("store/merchant/login", data); +} diff --git a/api/supplier.js b/api/supplier.js index 0393a63..db46fa7 100644 --- a/api/supplier.js +++ b/api/supplier.js @@ -12,6 +12,10 @@ export function supplierApplyRecord(data) { export function supplierApplyInfo(data) { return request.get(`supplier/apply_info`, data); } +// 供应商商品列表 +export function supplierGoodsList(data) { + return request.get(`supplier/goods_list`, data); +} diff --git a/pages.json b/pages.json index 025ff01..732621d 100644 --- a/pages.json +++ b/pages.json @@ -1369,10 +1369,6 @@ "navigationBarTitleText": "佣金明细" } } - - - - ] }, { @@ -1390,7 +1386,16 @@ "style": { "navigationBarTitleText": "申请记录" } + }, + { + "path": "stock/with_goods", + "style": { + "navigationBarTitleText": "立即进货" + } } + + + ] }, { diff --git a/pages/admin/business/index.vue b/pages/admin/business/index.vue index b7efe0d..dfb4455 100644 --- a/pages/admin/business/index.vue +++ b/pages/admin/business/index.vue @@ -1,25 +1,42 @@