File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
src/views/mall/promotion/discountActivity Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ const submitForm = async () => {
190
190
const products = cloneDeep (spuAndSkuListRef .value .getSkuConfigs (' productConfig' ))
191
191
products .forEach ((item : DiscountActivityApi .DiscountProductVO ) => {
192
192
item .discountPercent = convertToInteger (item .discountPercent )
193
- item .discountPrice = convertToInteger (yuanToFen ( item .discountPrice ) )
193
+ item .discountPrice = convertToInteger (item .discountPrice )
194
194
})
195
195
const data = cloneDeep (formRef .value .formModel ) as DiscountActivityApi .DiscountActivityVO
196
196
data .products = products
Original file line number Diff line number Diff line change @@ -70,17 +70,6 @@ const crudSchemas = reactive<CrudSchema[]>([
70
70
width : 120
71
71
}
72
72
} ,
73
- {
74
- label : '优惠类型' ,
75
- field : 'discountType' ,
76
- dictType : DICT_TYPE . PROMOTION_DISCOUNT_TYPE ,
77
- dictClass : 'number' ,
78
- isSearch : true ,
79
- form : {
80
- component : 'Radio' ,
81
- value : 1
82
- }
83
- } ,
84
73
{
85
74
label : '活动商品' ,
86
75
field : 'spuId' ,
You can’t perform that action at this time.
0 commit comments