From 5c0b61202e95c4c5380ec19421b43aab544bb594 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Fri, 7 Jun 2024 15:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=A1=A5=E8=B4=A7=E9=A2=9D=E5=BA=A6=E5=87=8F?= =?UTF-8?q?=E5=85=8D=E4=BF=A1=E6=81=AF=E5=8C=BA=E5=88=86=E4=B8=BA=20?= =?UTF-8?q?=E5=86=A0=E5=90=8D=E5=93=81=E7=89=8C=E5=87=8F=E5=85=8D=E5=92=8C?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=93=81=E7=89=8C=E5=87=8F=E5=85=8D=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E8=BF=9B=E8=B4=A7=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=8F=AF?= =?UTF-8?q?=E7=94=A8=E5=86=A0=E5=90=8D=E5=93=81=E7=89=8C=E9=A2=9D=E5=BA=A6?= =?UTF-8?q?=E5=92=8C=E5=85=B6=E4=BB=96=E5=93=81=E7=89=8C=E9=A2=9D=E5=BA=A6?= =?UTF-8?q?=EF=BC=9B=E5=A2=9E=E5=8A=A0=E5=95=86=E5=93=81=E5=93=81=E7=89=8C?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=88=E5=86=A0=E5=90=8D=E5=93=81=E7=89=8C?= =?UTF-8?q?or=E5=85=B6=E4=BB=96=E5=93=81=E7=89=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/store.js | 5 +- pages/supplier/stock/with_goods.vue | 210 ++++++++++++++++++++-------- pages/users/order_confirm/index.vue | 19 ++- 3 files changed, 169 insertions(+), 65 deletions(-) diff --git a/api/store.js b/api/store.js index 5fe2fb9..6ecd9c2 100644 --- a/api/store.js +++ b/api/store.js @@ -557,7 +557,10 @@ export function storeLogin(data) { export function storeLoginSimulation(merId) { return request.get(`store/merchant/simulation_login/${merId}`); } - +// 获取商户额度信息 +export function merchantQuotaInfo(merId) { + return request.get(`store/merchant/quotaInfo/${merId}`); +} diff --git a/pages/supplier/stock/with_goods.vue b/pages/supplier/stock/with_goods.vue index 4a339c1..fb4066a 100644 --- a/pages/supplier/stock/with_goods.vue +++ b/pages/supplier/stock/with_goods.vue @@ -23,6 +23,10 @@ {{ item.store_name }} + + 冠名品牌 + 其他品牌 + ¥{{ item.price }} @@ -60,16 +64,22 @@ - - - {{ totalNum > 99 ? '99+' : totalNum }} - - - 合计:¥{{ totalPrice }} + + + + {{ totalNum > 99 ? '99+' : totalNum }} + + + 合计:¥{{ totalPrice }} + + 立即结算 + 立即结算 + + + 可用冠名品牌额度:{{ title_surplus_quota || 0 }} + 可用其他品牌额度:{{ other_surplus_quota || 0 }} - 立即结算 - 立即结算 @@ -138,8 +148,8 @@