【BUG】修改满减优惠门槛 金额在商场端小100倍的问题

pull/551/head
痴货 2024-08-28 16:30:21 +08:00
parent fc4e47bc36
commit b474105338
1 changed files with 2 additions and 0 deletions

View File

@ -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)