Commit 456f3d21 by 痴货

【功能优化】优化限时满减的金额数据库保存为分

parent 4d25dda7
......@@ -193,7 +193,7 @@ const submitForm = async () => {
const products = cloneDeep(spuAndSkuListRef.value.getSkuConfigs('productConfig'))
products.forEach((item: DiscountActivityApi.DiscountProductVO) => {
item.discountPercent = convertToInteger(item.discountPercent)
item.discountPrice = convertToInteger(item.discountPrice)
item.discountPrice = convertToInteger(yuanToFen(item.discountPrice))
})
const data = cloneDeep(formRef.value.formModel) as DiscountActivityApi.DiscountActivityVO
data.products = products
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment