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 @@