diff --git a/src/pages/shop/components/product-sku.vue b/src/pages/shop/components/product-sku.vue index 96aac93..1010b5a 100644 --- a/src/pages/shop/components/product-sku.vue +++ b/src/pages/shop/components/product-sku.vue @@ -26,11 +26,11 @@ {{ state.goodsDetail.productName }} - 促销 ¥{{ parseFloat(state.selectedSku.promotionPrice) || state.selectedSku.retailPrice || 0 }} + 促销 ¥{{ hooks.useMoney(state.selectedSku.promotionPrice) || hooks.useMoney(state.selectedSku.retailPrice) || 0 }} - 原价 ¥{{ state.selectedSku.retailPrice || 0 }} + 原价 ¥{{ hooks.useMoney(state.selectedSku.retailPrice) || 0 }} - 内装数量:{{ state.selectedSku.packageNum || 0 }} + 库存:{{ state.selectedSku.stock || 0 }} 已选择:{{ `${state.selectedSku.spec || "未选择"} / ${state.selectedSku.unit || "未选择"},数量:${state.goodsCount}` }} @@ -71,7 +71,7 @@