【功能优化】优化限时满减的金额数据库保存为分
parent
4d25dda7fd
commit
456f3d210a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue