Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 117d05c4
authored
Jul 08, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹
1 parent
e6d28f4b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
src/views/seckillActivity/crowdFundList.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/seckillActivity/crowdFundList.vue
View file @
117d05c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div
class=
"marketing p-t-20"
>
<div
class=
"marketing p-t-20"
>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
class=
"default-blue-btn el-icon-plus"
type=
"default"
@
click=
"handleEdit('add')"
fn=
"新
建
众筹"
mode=
"el-button"
>
新建众筹
</GLButton>
<GLButton
:size=
"size"
class=
"default-blue-btn el-icon-plus"
type=
"default"
@
click=
"handleEdit('add')"
fn=
"新
增
众筹"
mode=
"el-button"
>
新建众筹
</GLButton>
<el-button
:size=
"size"
type=
"default"
class=
"default-blue-btn"
@
click=
"handleJump"
>
订单管理
</el-button>
<el-button
:size=
"size"
type=
"default"
class=
"default-blue-btn"
@
click=
"handleJump"
>
订单管理
</el-button>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
...
...
src/views/seckillActivity/editActivity.vue
View file @
117d05c
...
@@ -499,7 +499,7 @@ export default {
...
@@ -499,7 +499,7 @@ export default {
this
.
getGoodInfo
(
info
.
goodsId
)
this
.
getGoodInfo
(
info
.
goodsId
)
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
form
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
form
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
form
.
goodsStock
=
info
.
goodsStock
form
.
goodsStock
=
info
.
goodsStock
+
''
}
}
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
this
.
editStatus
=
false
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
117d05c
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
}
}
],
],
goodsStock
:
[
goodsStock
:
[
{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}
,
{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}
// {
// {
// validator: (rule, value, callback) => {
// validator: (rule, value, callback) => {
// return value > this.selectedProInfo.goodsStock ? callback(new Error('活动库存不能大于商品库存')) : callback()
// return value > this.selectedProInfo.goodsStock ? callback(new Error('活动库存不能大于商品库存')) : callback()
...
@@ -749,7 +749,7 @@ export default {
...
@@ -749,7 +749,7 @@ export default {
this
.
getGoodInfo
(
info
.
goodsId
)
this
.
getGoodInfo
(
info
.
goodsId
)
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
this
.
editForm
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
this
.
editForm
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
this
.
editForm
.
goodsStock
=
info
.
goodsStock
this
.
editForm
.
goodsStock
=
info
.
goodsStock
+
''
}
}
// 地图
// 地图
if
(
info
.
activityAddressProvinceName
||
info
.
activityAddressCityName
)
{
if
(
info
.
activityAddressProvinceName
||
info
.
activityAddressCityName
)
{
...
...
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