diff --git a/src/api/shop/shop.ts b/src/api/shop/shop.ts index f7ec002..3c9e644 100644 --- a/src/api/shop/shop.ts +++ b/src/api/shop/shop.ts @@ -25,6 +25,8 @@ export interface ShopDTO { mode?: number; /** 借呗支付(1-正常使用 0-禁止使用) */ balanceEnable?: number; + /** 机柜数量 */ + cabinetCount?: number; } /** 新增商店命令 */ diff --git a/src/views/cabinet/shop/card.vue b/src/views/cabinet/shop/card.vue index 0b73bd0..a0ba1e0 100644 --- a/src/views/cabinet/shop/card.vue +++ b/src/views/cabinet/shop/card.vue @@ -148,7 +148,8 @@ function getPaymentMethods(mode: number): Array<{ label: string; type: string }> 运行模式:{{ - getModeText(item.mode) }} + getModeText(item.mode) }} + 机柜数量:{{ item.cabinetCount }}