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 b78c8dcf
authored
Jul 08, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'chenwq_dev_v2.6.0' into 'v2.6.0'
Chenwq dev v2.6.0 See merge request
!226
2 parents
866a71ec
f634a69e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
src/views/seckillActivity/crowdFundList.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/seckillActivity/crowdFundList.vue
View file @
b78c8dc
...
...
@@ -2,7 +2,7 @@
<
template
>
<div
class=
"marketing p-t-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>
</div>
<div
class=
"container"
>
...
...
src/views/seckillActivity/editActivity.vue
View file @
b78c8dc
...
...
@@ -499,7 +499,7 @@ export default {
this
.
getGoodInfo
(
info
.
goodsId
)
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
form
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
form
.
goodsStock
=
info
.
goodsStock
form
.
goodsStock
=
info
.
goodsStock
+
''
}
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
b78c8dc
...
...
@@ -78,6 +78,11 @@
<glsx-combi-form
class=
"edit-form-container"
ref=
"serviceEditFormRef"
:isEdit=
"true"
:isBlock=
"false"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"serviceEditFormData"
:formRules=
"editRule"
></glsx-combi-form>
</div>
</
template
>
<
template
slot=
"activityMusic"
>
<el-upload
class=
"upload-demo"
action=
""
accept=
"audio/mp3, audio/m4a"
:http-request=
"handleMusicUpload"
:on-change=
"handleMusicChange"
:on-remove=
"handleRemove"
:before-remove=
"beforeRemove"
:limit=
"1"
:on-exceed=
"handleExceed"
:file-list=
"fileList"
>
<el-button
class=
"el-icon-plus"
size=
"small"
type=
"default"
>
背景音乐
</el-button>
</el-upload>
</
template
>
<
template
slot=
"fictitious"
>
<div
class=
"fictitious"
id=
"fictitious"
>
<el-form-item
label=
"参团:"
prop=
"fictitiousGroupQuantity"
labelWidth=
"60px"
>
...
...
@@ -227,7 +232,7 @@ export default {
}
],
goodsStock
:
[
{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}
,
{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}
// {
// validator: (rule, value, callback) => {
// return value > this.selectedProInfo.goodsStock ? callback(new Error('活动库存不能大于商品库存')) : callback()
...
...
@@ -462,7 +467,9 @@ export default {
},
{
label
:
'音乐文件'
,
tips
:
'活动页背景音乐'
name
:
'activityMusic'
,
tips
:
'活动页背景音乐'
,
// addHtml: 'activityMusic'
},
{
label
:
'预估销量'
,
...
...
@@ -721,6 +728,15 @@ export default {
return
this
.
limitPriceForInput
(
val
,
5
,
0
,
0
,
maxValue
)
},
// 音乐
handleMusicUpload
()
{
console
.
log
(
'???'
)
},
handleMusicChange
(
file
)
{
console
.
log
(
file
)
},
// 表单设置
handleDescribeAdd
()
{
this
.
formDescribeList
.
push
({
...
...
@@ -749,7 +765,7 @@ export default {
this
.
getGoodInfo
(
info
.
goodsId
)
if
(
info
.
activityPrice
!=
null
&&
info
.
goodsStock
!=
null
)
{
this
.
editForm
.
activityPrice
=
(
info
.
activityPrice
/
100
).
toFixed
(
2
)
this
.
editForm
.
goodsStock
=
info
.
goodsStock
this
.
editForm
.
goodsStock
=
info
.
goodsStock
+
''
}
// 地图
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