mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-06-19 14:52:00 +08:00
【功能修改】商城:限时折扣,多乘以了 100 优惠金额
This commit is contained in:
parent
79c3ba090f
commit
f84c10cdea
@ -190,7 +190,7 @@ const submitForm = async () => {
|
|||||||
const products = cloneDeep(spuAndSkuListRef.value.getSkuConfigs('productConfig'))
|
const products = cloneDeep(spuAndSkuListRef.value.getSkuConfigs('productConfig'))
|
||||||
products.forEach((item: DiscountActivityApi.DiscountProductVO) => {
|
products.forEach((item: DiscountActivityApi.DiscountProductVO) => {
|
||||||
item.discountPercent = convertToInteger(item.discountPercent)
|
item.discountPercent = convertToInteger(item.discountPercent)
|
||||||
item.discountPrice = convertToInteger(yuanToFen(item.discountPrice))
|
item.discountPrice = convertToInteger(item.discountPrice)
|
||||||
})
|
})
|
||||||
const data = cloneDeep(formRef.value.formModel) as DiscountActivityApi.DiscountActivityVO
|
const data = cloneDeep(formRef.value.formModel) as DiscountActivityApi.DiscountActivityVO
|
||||||
data.products = products
|
data.products = products
|
||||||
|
@ -70,17 +70,6 @@ const crudSchemas = reactive<CrudSchema[]>([
|
|||||||
width: 120
|
width: 120
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: '优惠类型',
|
|
||||||
field: 'discountType',
|
|
||||||
dictType: DICT_TYPE.PROMOTION_DISCOUNT_TYPE,
|
|
||||||
dictClass: 'number',
|
|
||||||
isSearch: true,
|
|
||||||
form: {
|
|
||||||
component: 'Radio',
|
|
||||||
value: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: '活动商品',
|
label: '活动商品',
|
||||||
field: 'spuId',
|
field: 'spuId',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user