Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f84c10cd
authored
Oct 01, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能修改】商城:限时折扣,多乘以了 100 优惠金额
parent
79c3ba09
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
12 deletions
+1
-12
src/views/mall/promotion/discountActivity/DiscountActivityForm.vue
+1
-1
src/views/mall/promotion/discountActivity/discountActivity.data.ts
+0
-11
No files found.
src/views/mall/promotion/discountActivity/DiscountActivityForm.vue
View file @
f84c10cd
...
...
@@ -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
...
...
src/views/mall/promotion/discountActivity/discountActivity.data.ts
View file @
f84c10cd
...
...
@@ -71,17 +71,6 @@ const crudSchemas = reactive<CrudSchema[]>([
}
},
{
label
:
'优惠类型'
,
field
:
'discountType'
,
dictType
:
DICT_TYPE
.
PROMOTION_DISCOUNT_TYPE
,
dictClass
:
'number'
,
isSearch
:
true
,
form
:
{
component
:
'Radio'
,
value
:
1
}
},
{
label
:
'活动商品'
,
field
:
'spuId'
,
isTable
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment