【BUG】修改满减优惠门槛 金额在商场端小100倍的问题
parent
fc4e47bc36
commit
b474105338
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue