We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d25dda commit 456f3d2Copy full SHA for 456f3d2
src/views/mall/promotion/discountActivity/DiscountActivityForm.vue
@@ -193,7 +193,7 @@ const submitForm = async () => {
193
const products = cloneDeep(spuAndSkuListRef.value.getSkuConfigs('productConfig'))
194
products.forEach((item: DiscountActivityApi.DiscountProductVO) => {
195
item.discountPercent = convertToInteger(item.discountPercent)
196
- item.discountPrice = convertToInteger(item.discountPrice)
+ item.discountPrice = convertToInteger(yuanToFen(item.discountPrice))
197
})
198
const data = cloneDeep(formRef.value.formModel) as DiscountActivityApi.DiscountActivityVO
199
data.products = products
0 commit comments