mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
fix:【商城】店铺装修-优惠劵卡片:discountPercent 少 10.0 除数
This commit is contained in:
parent
440422aab7
commit
2c8f1626ec
@ -13,7 +13,7 @@ export const CouponDiscount = defineComponent({
|
|||||||
setup(props) {
|
setup(props) {
|
||||||
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
|
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
|
||||||
// 折扣
|
// 折扣
|
||||||
let value = coupon.discountPercent + ''
|
let value = coupon.discountPercent / 10 + ''
|
||||||
let suffix = ' 折'
|
let suffix = ' 折'
|
||||||
// 满减
|
// 满减
|
||||||
if (coupon.discountType === PromotionDiscountTypeEnum.PRICE.type) {
|
if (coupon.discountType === PromotionDiscountTypeEnum.PRICE.type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user