【功能修改】商城:限时折扣,多乘以了 100 优惠金额
parent
79c3ba090f
commit
f84c10cdea
|
@ -190,7 +190,7 @@ const submitForm = async () => {
|
|||
const products = cloneDeep(spuAndSkuListRef.value.getSkuConfigs('productConfig'))
|
||||
products.forEach((item: DiscountActivityApi.DiscountProductVO) => {
|
||||
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
|
||||
data.products = products
|
||||
|
|
|
@ -70,17 +70,6 @@ const crudSchemas = reactive<CrudSchema[]>([
|
|||
width: 120
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '优惠类型',
|
||||
field: 'discountType',
|
||||
dictType: DICT_TYPE.PROMOTION_DISCOUNT_TYPE,
|
||||
dictClass: 'number',
|
||||
isSearch: true,
|
||||
form: {
|
||||
component: 'Radio',
|
||||
value: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '活动商品',
|
||||
field: 'spuId',
|
||||
|
|
Loading…
Reference in New Issue