diff --git a/src/api/shop/goods.ts b/src/api/shop/goods.ts index 85446b2..0ab6d12 100644 --- a/src/api/shop/goods.ts +++ b/src/api/shop/goods.ts @@ -56,6 +56,8 @@ export interface GoodsDTO { cellNo?: number; /** 单元格编号(字符串形式) */ cellNoStr?: string; + /** 所属店铺名称 */ + shopNameStr?: string; /** 总库存量(含所有仓库) */ totalStock?: number; /** 商品使用说明 */ diff --git a/src/views/shop/goods/detail.vue b/src/views/shop/goods/detail.vue index ba1ee8d..1692406 100644 --- a/src/views/shop/goods/detail.vue +++ b/src/views/shop/goods/detail.vue @@ -118,7 +118,8 @@ watch(goodsId, () => { - + 编辑商品 @@ -134,9 +135,12 @@ watch(goodsId, () => {
- - {{ goodsInfo.usageInstruction || '暂无说明' }} + + {{ goodsInfo.cellNoStr ? '已上柜' : '未上柜' }} + {{ goodsInfo.shopNameStr }} + {{ goodsInfo.cabinetName }} + {{ goodsInfo.cellNoStr }}