diff --git a/src/views/mall/promotion/rewardActivity/RewardForm.vue b/src/views/mall/promotion/rewardActivity/RewardForm.vue index ec459467c..a5b15e48d 100644 --- a/src/views/mall/promotion/rewardActivity/RewardForm.vue +++ b/src/views/mall/promotion/rewardActivity/RewardForm.vue @@ -119,6 +119,7 @@ const open = async (type: string, id?: number) => { // 规则分转元 data.rules.forEach((item: any) => { item.discountPrice = fenToYuan(item.discountPrice || 0) + item.limit = fenToYuan(item.limit || 0) }) formData.value = data // 获得商品范围 @@ -150,6 +151,7 @@ const submitForm = async () => { // 规则元转分 data.rules.forEach((item) => { item.discountPrice = yuanToFen(item.discountPrice || 0) + item.limit = yuanToFen(item.limit || 0) }) // 设置商品范围 setProductScopeValues(data)