Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c998f56f
authored
Jan 14, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改众筹活动价格
1 parent
12250b5e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
16 deletions
src/components/activity-model/index.vue
src/views/store/components/activity.vue
src/views/store/components/carChannel.vue
src/views/store/components/selectGiftDialog.vue
src/components/activity-model/index.vue
View file @
c998f56
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<div
class=
"goods-title"
>
{{
item
.
goodsName
}}
</div>
<div
class=
"goods-title"
>
{{
item
.
goodsName
}}
</div>
<div
class=
"goods-price"
>
<div
class=
"goods-price"
>
价格/元:
价格/元:
<span
class=
"theme-color"
>
{{
item
.
originalPrice
}}
</span>
<span
class=
"theme-color"
>
{{
Number
(
item
.
originalPrice
)
/
100
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
params
.
title
=
this
.
selectItem
.
forwardTitle
params
.
title
=
this
.
selectItem
.
forwardTitle
params
.
picurl
=
this
.
selectItem
.
activityImg
params
.
picurl
=
this
.
selectItem
.
activityImg
}
}
this
.
$emit
(
'selectActivity'
,
{
marketingId
,
activityPrice
,
marketingType
:
this
.
activeName
,
marketingName
,
marketingContent
,
...
params
})
this
.
$emit
(
'selectActivity'
,
{
activeName
:
this
.
activeName
,
marketingId
,
activityPrice
,
marketingType
:
this
.
activeName
,
marketingName
,
marketingContent
,
...
params
})
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
this
.
pageSize
=
val
...
...
src/views/store/components/activity.vue
View file @
c998f56
...
@@ -206,19 +206,18 @@ export default {
...
@@ -206,19 +206,18 @@ export default {
contentName
:
data
.
marketingName
contentName
:
data
.
marketingName
}
}
this
.
activityForm
.
pagePathContent
=
data
.
marketingId
this
.
activityForm
.
pagePathContent
=
data
.
marketingId
if
(
this
.
activityForm
.
activityDetails
.
selectType
==
'goods'
)
{
if
(
this
.
channelType
==
3
)
{
this
.
activityForm
.
pagePathType
=
2
//众筹活动
this
.
activityForm
.
productPrice
=
this
.
activityForm
.
activityDetails
.
originalPrice
this
.
activityForm
.
productPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
originalPrice
)
/
100
this
.
activityForm
.
activityPrice
=
this
.
activityForm
.
activityDetails
.
retailPrice
this
.
activityForm
.
activityPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
crowdFundingPrice
)
/
100
this
.
activityForm
.
activityDetails
.
contentName
=
this
.
activityForm
.
activityDetails
.
goodsName
this
.
activityForm
.
activityDetails
.
contentImage
=
this
.
activityForm
.
activityDetails
.
goodsImage
this
.
activityForm
.
activityDetails
.
contentPrice
=
this
.
activityForm
.
activityDetails
.
originalPrice
}
else
{
}
else
{
this
.
activityForm
.
pagePathType
=
1
//定保
this
.
activityForm
.
productPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
crowdFundingPrice
)
/
100
this
.
activityForm
.
productPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
crowdFundingPrice
)
/
100
this
.
activityForm
.
activityPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
activityPrice
)
/
100
this
.
activityForm
.
activityPrice
=
Number
(
this
.
activityForm
.
activityDetails
.
activityPrice
)
/
100
this
.
activityForm
.
activityDetails
.
contentName
=
this
.
activityForm
.
activityDetails
.
activityName
}
}
this
.
activityForm
.
pagePathType
=
1
this
.
activityForm
.
activityDetails
.
contentName
=
this
.
activityForm
.
activityDetails
.
activityName
this
.
$refs
.
ruleForm
.
clearValidate
(
'pagePathContent'
)
this
.
$refs
.
ruleForm
.
clearValidate
(
'pagePathContent'
)
},
},
...
...
src/views/store/components/carChannel.vue
View file @
c998f56
...
@@ -681,16 +681,23 @@ export default {
...
@@ -681,16 +681,23 @@ export default {
this
.
editForm
.
pagePathContent
=
data
.
marketingId
this
.
editForm
.
pagePathContent
=
data
.
marketingId
if
(
this
.
editForm
.
activityDetails
.
selectType
==
'goods'
)
{
if
(
this
.
editForm
.
activityDetails
.
selectType
==
'goods'
)
{
this
.
editForm
.
pagePathType
=
2
this
.
editForm
.
pagePathType
=
2
this
.
editForm
.
productPrice
=
this
.
editForm
.
activityDetails
.
originalPrice
this
.
editForm
.
productPrice
=
Number
(
this
.
editForm
.
activityDetails
.
originalPrice
)
/
100
this
.
editForm
.
activityPrice
=
this
.
editForm
.
activityDetails
.
retailPrice
this
.
editForm
.
activityPrice
=
Number
(
this
.
editForm
.
activityDetails
.
retailPrice
)
/
100
this
.
editForm
.
activityDetails
.
pagePathType
=
2
this
.
editForm
.
activityDetails
.
pagePathType
=
2
this
.
editForm
.
activityDetails
.
contentName
=
this
.
editForm
.
activityDetails
.
goodsName
this
.
editForm
.
activityDetails
.
contentName
=
this
.
editForm
.
activityDetails
.
goodsName
this
.
editForm
.
activityDetails
.
contentImage
=
this
.
editForm
.
activityDetails
.
goodsImage
this
.
editForm
.
activityDetails
.
contentImage
=
this
.
editForm
.
activityDetails
.
goodsImage
this
.
editForm
.
activityDetails
.
contentPrice
=
this
.
editForm
.
activityDetails
.
originalPrice
this
.
editForm
.
activityDetails
.
contentPrice
=
Number
(
this
.
editForm
.
activityDetails
.
originalPrice
)
/
100
}
else
{
}
else
{
this
.
editForm
.
pagePathType
=
1
this
.
editForm
.
pagePathType
=
1
if
(
this
.
editForm
.
activityDetails
.
activeName
==
1
)
{
//众筹活动
this
.
editForm
.
productPrice
=
Number
(
this
.
editForm
.
activityDetails
.
originalPrice
)
/
100
this
.
editForm
.
activityPrice
=
Number
(
this
.
editForm
.
activityDetails
.
crowdFundingPrice
)
/
100
}
else
{
this
.
editForm
.
productPrice
=
Number
(
this
.
editForm
.
activityDetails
.
crowdFundingPrice
)
/
100
this
.
editForm
.
productPrice
=
Number
(
this
.
editForm
.
activityDetails
.
crowdFundingPrice
)
/
100
this
.
editForm
.
activityPrice
=
Number
(
this
.
editForm
.
activityDetails
.
activityPrice
)
/
100
this
.
editForm
.
activityPrice
=
Number
(
this
.
editForm
.
activityDetails
.
activityPrice
)
/
100
}
this
.
editForm
.
activityDetails
.
pagePathType
=
1
this
.
editForm
.
activityDetails
.
pagePathType
=
1
this
.
editForm
.
activityDetails
.
contentName
=
this
.
editForm
.
activityDetails
.
activityName
this
.
editForm
.
activityDetails
.
contentName
=
this
.
editForm
.
activityDetails
.
activityName
}
}
...
@@ -704,7 +711,7 @@ export default {
...
@@ -704,7 +711,7 @@ export default {
contentList
.
pagePathType
=
contentList
.
activityDetails
.
selectType
==
'goods'
?
2
:
1
contentList
.
pagePathType
=
contentList
.
activityDetails
.
selectType
==
'goods'
?
2
:
1
contentList
.
activityDetails
.
contentName
=
contentList
.
pagePathType
==
2
?
contentList
.
activityDetails
.
goodsName
:
contentList
.
activityDetails
.
activityName
contentList
.
activityDetails
.
contentName
=
contentList
.
pagePathType
==
2
?
contentList
.
activityDetails
.
goodsName
:
contentList
.
activityDetails
.
activityName
contentList
.
activityDetails
.
contentImage
=
contentList
.
activityDetails
.
goodsImage
contentList
.
activityDetails
.
contentImage
=
contentList
.
activityDetails
.
goodsImage
contentList
.
activityDetails
.
contentPrice
=
contentList
.
activityDetails
.
originalPrice
contentList
.
activityDetails
.
contentPrice
=
Number
(
contentList
.
activityDetails
.
originalPrice
)
/
100
contentList
.
pagePathContent
=
data
.
marketingId
contentList
.
pagePathContent
=
data
.
marketingId
}
}
if
(
this
.
editForm
.
topicStyle
==
3
)
{
if
(
this
.
editForm
.
topicStyle
==
3
)
{
...
...
src/views/store/components/selectGiftDialog.vue
View file @
c998f56
...
@@ -165,7 +165,7 @@ export default {
...
@@ -165,7 +165,7 @@ export default {
},
},
{
{
label
:
'剩余库存'
,
label
:
'剩余库存'
,
prop
:
'
residueAmount
'
prop
:
'
stock
'
}
}
]
]
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment