Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 f8b26e1d
authored
Dec 27, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.3.0' of
http://192.168.3.233:8090/saas/scrm-micro-battles
into v3.3.0
2 parents
33936a95
a14cf230
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
390 additions
and
666 deletions
src/views/seckillActivity/editCrowdFund.vue
src/views/seckillActivity/editCrowdFund.vue
View file @
f8b26e1
<!-- 众筹活动 -->
<!-- 众筹活动 -->
<
template
>
<
template
>
<div
<div
v-loading=
"loading"
v-loading=
"loading"
class=
"edit-activity"
>
class=
"edit-activity"
>
<!-- 导航 -->
<!-- 导航 -->
<el-tabs
<el-tabs
:tab-position=
"tabPosition"
:tab-position=
"tabPosition"
v-model=
"tabName"
v-model=
"tabName"
class=
"nav-tabs"
class=
"nav-tabs"
@
tab-click=
"whereToGo(tabName)"
@
tab-click=
"whereToGo(tabName)"
>
>
<el-tab-pane
label=
"基本信息"
<el-tab-pane
name=
"basic"
></el-tab-pane>
label=
"基本信息"
<el-tab-pane
label=
"活动配置"
name=
"basic"
name=
"config"
></el-tab-pane>
></el-tab-pane>
<el-tab-pane
label=
"活动配置"
name=
"config"
></el-tab-pane>
<el-tab-pane
name=
"activityServices"
>
<el-tab-pane
name=
"activityServices"
>
<span
<span
class=
"p-l-23"
class=
"p-l-23"
slot=
"label"
>
服务说明
</span>
slot=
"label"
>
服务说明
</span>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
name=
"activityCommoditys"
>
<el-tab-pane
name=
"activityCommoditys"
>
<span
<span
class=
"p-l-23"
class=
"p-l-23"
slot=
"label"
>
商品答疑
</span>
slot=
"label"
>
商品答疑
</span>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
name=
"activityExperienceDTOs"
>
<el-tab-pane
name=
"activityExperienceDTOs"
>
<span
<span
class=
"p-l-23"
class=
"p-l-23"
slot=
"label"
>
服务评价
</span>
slot=
"label"
>
服务评价
</span>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
name=
"live"
>
<el-tab-pane
name=
"live"
>
<span
<span
class=
"p-l-23"
class=
"p-l-23"
slot=
"label"
>
直播配置
</span>
slot=
"label"
>
直播配置
</span>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<div
class=
"marketing edit-box"
>
<div
class=
"marketing edit-box"
>
<!-- 基本信息 -->
<!-- 基本信息 -->
<div
<div
class=
"container edit-container"
class=
"container edit-container"
style=
"min-height: 520px !important;"
>
style=
"min-height: 520px !important;"
<p
class=
"edit-title"
>
id=
"basic"
>
基本信息
</p>
<p
<glsx-combi-form
class=
"edit-form-container"
class=
"edit-title"
id=
"basic"
>
基本信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
ref=
"editFormRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formObj=
"editForm"
:formData=
"editFormData"
:formData=
"editFormData"
:formRules=
"editRule"
:formRules=
"editRule"
>
>
<div
slot=
"merchantHtml"
>
<div
slot=
"merchantHtml"
>
<el-button
<el-button
type=
"default"
type=
"default"
class=
"el-icon-plus"
class=
"el-icon-plus"
v-if=
"!isDisabled"
v-if=
"!isDisabled"
@
click=
"handleRelateStoreClose"
@
click=
"handleRelateStoreClose"
>
选择门店
</el-button>
>
选择门店
</el-button>
<div
class=
"merchantNameLabel"
<div
v-if=
"editForm.merchantName"
>
class=
"merchantNameLabel"
v-if=
"editForm.merchantName"
>
<p>
所属门店
</p>
<p>
所属门店
</p>
<div
class=
"merchantName ellipsis-1"
>
{{
editForm
.
merchantName
}}
</div>
<div
class=
"merchantName ellipsis-1"
>
{{
editForm
.
merchantName
}}
</div>
</div>
</div>
</div>
</div>
<div
<div
slot=
"activityImg"
slot=
"activityImg"
class=
"edit-tips m-t-8"
>
展示在首页的活动详情页
</div>
class=
"edit-tips m-t-8"
<template
slot=
"activityTimeHtml"
>
展示在首页的活动详情页
</div>
slot-scope=
"scope"
>
<template
<el-date-picker
v-model=
"editForm.activityTime"
slot=
"activityTimeHtml"
slot-scope=
"scope"
>
<el-date-picker
v-model=
"editForm.activityTime"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
:default-time=
"['00:00:00', '23:59:59']"
:default-time=
"['00:00:00', '23:59:59']"
@
change=
"e => handleTimeChange(e, scope.scope)"
@
change=
"e => handleTimeChange(e, scope.scope)"
></el-date-picker>
></el-date-picker>
</
template
>
</
template
>
<div
<div
slot=
"goodsHtml"
slot=
"goodsHtml"
style=
"width:700px"
>
style=
"width:700px"
<el-button
type=
"default"
>
<el-button
type=
"default"
class=
"el-icon-plus"
class=
"el-icon-plus"
v-if=
"!isDisabled"
v-if=
"!isDisabled"
@
click=
"handleRelateProClose"
@
click=
"handleRelateProClose"
>
选择商品
</el-button>
>
选择商品
</el-button>
<div
v-if=
"selectedProInfo.id && !specificationDetailList.length"
<div
style=
"margin-top: 10px"
>
v-if=
"selectedProInfo.id && !specificationDetailList.length"
style=
"margin-top: 10px"
>
<p>
<p>
<img
<img
class=
"img-60"
class=
"img-60"
:src=
"selectedProInfo.goodsImage"
/>
:src=
"selectedProInfo.goodsImage"
/>
零售价 {{ (selectedProInfo.retailPrice / 100).toFixed(2) }}元
零售价 {{ (selectedProInfo.retailPrice / 100).toFixed(2) }}元
商品库存 {{ selectedProInfo.goodsStock }}件
商品库存 {{ selectedProInfo.goodsStock }}件
</p>
</p>
<el-form-item
<el-form-item
label=
"众筹价:"
label=
"众筹价:"
prop=
"crowdFundingPrice"
prop=
"crowdFundingPrice"
id=
"crowdFundingPrice"
id=
"crowdFundingPrice"
>
>
<el-input
v-model=
"editForm.crowdFundingPrice"
<el-input
style=
"width: 150px"
><span
slot=
"append"
>
元
</span></el-input>
v-model=
"editForm.crowdFundingPrice"
style=
"width: 150px"
><span
slot=
"append"
>
元
</span></el-input>
<span
class=
"balancePayment"
>
尾款:
<span
class=
"balancePayment"
>
尾款:
{{ editForm.crowdFundingPrice | filterBalancePayment(editForm.activityPrice) }}
</span>
{{ editForm.crowdFundingPrice | filterBalancePayment(editForm.activityPrice) }}
</span>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"定金:"
label=
"定金:"
prop=
"activityPrice"
prop=
"activityPrice"
id=
"activityPrice"
id=
"activityPrice"
>
>
<el-input
v-model=
"editForm.activityPrice"
<el-input
style=
"width: 150px"
><span
slot=
"append"
>
元
</span></el-input>
v-model=
"editForm.activityPrice"
style=
"width: 150px"
><span
slot=
"append"
>
元
</span></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"活动库存:"
label=
"活动库存:"
prop=
"goodsStock"
prop=
"goodsStock"
id=
"goodsStock"
id=
"goodsStock"
>
>
<el-input
v-model=
"editForm.goodsStock"
<el-input
v-model=
"editForm.goodsStock"
style=
"width: 150px"
style=
"width: 150px"
:disabled=
"isDisabled"
:disabled=
"isDisabled"
><span
slot=
"append"
>
件
</span></el-input>
><span
slot=
"append"
>
件
</span></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
<div
<div
slot=
"specificationsHtml"
slot=
"specificationsHtml"
v-if=
"specificationDetailList.length"
v-if=
"specificationDetailList.length"
class=
"flex"
class=
"flex"
style=
"min-width: 600px"
style=
"min-width: 600px"
id=
"specificationDetailList"
id=
"specificationDetailList"
>
>
<div
style=
"width: calc(100%)"
>
<div
style=
"width: calc(100%)"
>
<table
<table
class=
"table-spesc"
class=
"table-spesc"
style=
"width: calc(100%)"
>
style=
"width: calc(100%)"
>
<tbody>
<tbody>
<tr>
<tr>
<td
<td
:style=
"{ width: specsWidth }"
:style=
"{ width: specsWidth }"
v-for=
"(subItem, subIndex) in specificationDetailList"
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
:key=
"subIndex"
>
{{ subItem.specificationName }}
</td>
>
{{ subItem.specificationName }}
</td>
<td
:style=
"{ width: specsWidth }"
>
零售价(元)
</td>
<td
:style=
"{ width: specsWidth }"
>
零售价(元)
</td>
<td
:style=
"{ width: specsWidth }"
>
库存
</td>
<td
:style=
"{ width: specsWidth }"
>
库存
</td>
<td
:style=
"{ width: specsWidth }"
>
设置秒杀价
</td>
<td
:style=
"{ width: specsWidth }"
>
设置秒杀价
</td>
...
@@ -182,41 +124,31 @@
...
@@ -182,41 +124,31 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<table
<table
class=
"table-spesc"
class=
"table-spesc"
style=
"max-height: 400px"
>
style=
"max-height: 400px"
>
<tbody>
<tbody>
<tr
<tr
style=
"border-bottom: 1px solid rgb(235, 235, 235)"
style=
"border-bottom: 1px solid rgb(235, 235, 235)"
v-for=
"(item, index) in nameToValSpecsList"
v-for=
"(item, index) in nameToValSpecsList"
:key=
"index"
:key=
"index"
>
>
<td
:style=
"{ width: specsWidth }"
<td
:style=
"{ width: specsWidth }"
v-for=
"(n, idx) in item.specsValueList"
v-for=
"(n, idx) in item.specsValueList"
:key=
"idx"
:key=
"idx"
>
{{ n }}
</td>
>
{{ n }}
</td>
<td
:style=
"{ width: specsWidth }"
>
{{ item.retailPrice }}元
</td>
<td
:style=
"{ width: specsWidth }"
>
{{ item.retailPrice }}元
</td>
<td
:style=
"{ width: specsWidth }"
>
{{ item.stock }}件
</td>
<td
:style=
"{ width: specsWidth }"
>
{{ item.stock }}件
</td>
<td
:style=
"{ width: specsWidth }"
>
<td
:style=
"{ width: specsWidth }"
>
<el-input
<el-input
:disabled=
"isDisabled"
:disabled=
"isDisabled"
placeholder=
"秒杀价"
placeholder=
"秒杀价"
style=
"width: 90%"
style=
"width: 90%"
v-model=
"item.activityPrice"
v-model=
"item.activityPrice"
@
input=
"item.activityPrice = activityPrice_input($event, item.retailPrice)"
@
input=
"item.activityPrice = activityPrice_input($event, item.retailPrice)"
>
>
</el-input>
</el-input>
</td>
</td>
<td
:style=
"{ width: specsWidth }"
>
<td
:style=
"{ width: specsWidth }"
>
<el-input
<el-input
:disabled=
"isDisabled"
:disabled=
"isDisabled"
placeholder=
"活动库存"
placeholder=
"活动库存"
style=
"width: 90%"
style=
"width: 90%"
v-model=
"item.goodsStock"
v-model=
"item.goodsStock"
@
input=
"item.goodsStock = goodsStock_input($event, item.stock)"
@
input=
"item.goodsStock = goodsStock_input($event, item.stock)"
>
>
</el-input>
</el-input>
</td>
</td>
</tr>
</tr>
...
@@ -224,31 +156,22 @@
...
@@ -224,31 +156,22 @@
</table>
</table>
</div>
</div>
</div>
</div>
<
template
<
template
slot=
"limitPurchaseFlag"
slot=
"limitPurchaseFlag"
slot-scope=
"scope"
>
slot-scope=
"scope"
<el-radio-group
v-model=
"editForm[scope.scope.name]"
>
@
change=
"handleIsLimit"
>
<el-radio-group
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
v-model=
"editForm[scope.scope.name]"
@
change=
"handleIsLimit"
>
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
:key=
"index"
:key=
"index"
:label=
"item[scope.scope.optionId]"
:label=
"item[scope.scope.optionId]"
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
</el-radio>
</el-radio>
</el-radio-group>
</el-radio-group>
<p
<p
v-if=
"editForm[scope.scope.name] == 2"
v-if=
"editForm[scope.scope.name] == 2"
id=
"limitPurchaseNumber"
id=
"limitPurchaseNumber"
style=
"color: #333333;"
style=
"color: #333333;"
>
>
每人限购
每人限购
<el-form-item
prop=
"limitPurchaseNumber"
>
<el-form-item
prop=
"limitPurchaseNumber"
>
<el-input
<el-input
v-model=
"editForm.limitPurchaseNumber"
v-model=
"editForm.limitPurchaseNumber"
placeholder=
"请输入限购次数"
></el-input>
placeholder=
"请输入限购次数"
></el-input>
</el-form-item>
</el-form-item>
件
件
</p>
</p>
...
@@ -257,106 +180,76 @@
...
@@ -257,106 +180,76 @@
</div>
</div>
<!-- 活动配置 -->
<!-- 活动配置 -->
<div
class=
"container edit-container crowd-config"
>
<div
class=
"container edit-container crowd-config"
>
<p
<p
class=
"edit-title"
class=
"edit-title"
id=
"config"
>
活动配置
</p>
id=
"config"
<glsx-combi-form
class=
"edit-form-container"
>
活动配置
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"configEditFormRef"
ref=
"configEditFormRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formObj=
"editForm"
:formData=
"configEditFormData"
:formData=
"configEditFormData"
:formRules=
"editRule"
:formRules=
"editRule"
>
>
<
template
slot=
"customerServiceFlag"
<
template
slot-scope=
"scope"
>
slot=
"customerServiceFlag"
slot-scope=
"scope"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
>
<el-radio
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
v-for=
"(item, index) in scope.scope.optionList"
:key=
"index"
:key=
"index"
:label=
"item[scope.scope.optionId]"
:label=
"item[scope.scope.optionId]"
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
</el-radio>
</el-radio>
</el-radio-group>
</el-radio-group>
<div
<div
class=
"customer-service"
class=
"customer-service"
v-if=
"editForm[scope.scope.name] == 2"
v-if=
"editForm[scope.scope.name] == 2"
id=
"customerServiceFlag"
id=
"customerServiceFlag"
>
>
<glsx-combi-form
class=
"edit-form-container"
<glsx-combi-form
class=
"edit-form-container"
ref=
"customerEditFormRef"
ref=
"customerEditFormRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"false"
:isBlock=
"false"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formObj=
"editForm"
:formData=
"customerEditFormData"
:formData=
"customerEditFormData"
:formRules=
"editRule"
:formRules=
"editRule"
></glsx-combi-form>
></glsx-combi-form>
</div>
</div>
</
template
>
</
template
>
<
template
<
template
slot=
"activityMusic"
slot=
"activityMusic"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
<div
class=
"music-box flex-center"
class=
"music-box flex-center"
v-for=
"(item, index) in musicList"
v-for=
"(item, index) in musicList"
:key=
"index"
:key=
"index"
@
click=
"handleMusicChange(index)"
@
click=
"handleMusicChange(index)"
>
>
<div
class=
"music-icon"
<div
@
click
.
stop=
"handleMusic(item, index)"
>
class=
"music-icon"
@
click
.
stop=
"handleMusic(item, index)"
>
<div
:class=
"[index != playObj.idx ? 'icon-start' : 'icon-stop']"
></div>
<div
:class=
"[index != playObj.idx ? 'icon-start' : 'icon-stop']"
></div>
<img
src=
"@/assets/seckillActivity/icon-music-default.png"
/>
<img
src=
"@/assets/seckillActivity/icon-music-default.png"
/>
</div>
</div>
<div
class=
"music-name"
>
<div
class=
"music-name"
>
<p
<p
class=
"ellipsis-1"
class=
"ellipsis-1"
style=
"max-width: 90%;"
>
{{
item
.
name
}}
</p>
style=
"max-width: 90%;"
>
{{
item
.
name
}}
</p>
.mp3
.mp3
</div>
</div>
<img
<img
v-show=
"item.isCheck"
v-show=
"item.isCheck"
:class=
"
{ 'icon-check': item.isCheck }"
:class=
"
{ 'icon-check': item.isCheck }"
src="@/assets/seckillActivity/icon-check.png"
src="@/assets/seckillActivity/icon-check.png" />
/>
</div>
</div>
</div>
</div>
<el-upload
<el-upload
class=
"m-t-10"
class=
"m-t-10"
action=
""
action=
""
accept=
"audio/mp3, audio/m4a"
accept=
"audio/mp3, audio/m4a"
:show-file-list=
"false"
:show-file-list=
"false"
:http-request=
"handleMusicUpload"
:http-request=
"handleMusicUpload"
:before-upload=
"e => handleMusicBeforeUpload(e, scope.scope)"
:before-upload=
"e => handleMusicBeforeUpload(e, scope.scope)"
:file-list=
"fileList"
:file-list=
"fileList"
>
>
<el-button
class=
"el-icon-plus"
<el-button
class=
"el-icon-plus"
size=
"small"
size=
"small"
type=
"default"
type=
"default"
>
背景音乐
</el-button>
>
背景音乐
</el-button>
</el-upload>
</el-upload>
<audio
<audio
v-if=
"playObj.src"
v-if=
"playObj.src"
style=
"display: none;"
style=
"display: none;"
id=
"music-audio"
id=
"music-audio"
controls
controls
>
>
<source
type=
"audio/mpeg"
<source
:src=
"playObj.src"
/>
type=
"audio/mpeg"
:src=
"playObj.src"
/>
</audio>
</audio>
<!--
<div
v-if=
"editForm[scope.scope.name]"
class=
"flex"
>
<!--
<div
v-if=
"editForm[scope.scope.name]"
class=
"flex"
>
<audio
controls
>
<audio
controls
>
...
@@ -366,103 +259,69 @@
...
@@ -366,103 +259,69 @@
</div>
-->
</div>
-->
</
template
>
</
template
>
<
template
slot=
"fictitious"
>
<
template
slot=
"fictitious"
>
<div
<div
class=
"fictitious"
class=
"fictitious"
id=
"fictitious"
>
id=
"fictitious"
<el-form-item
label=
"参团:"
>
<el-form-item
label=
"参团:"
prop=
"fictitiousGroupQuantity"
prop=
"fictitiousGroupQuantity"
labelWidth=
"60px"
labelWidth=
"60px"
>
>
<el-input
v-model=
"editForm.fictitiousGroupQuantity"
<el-input
v-model=
"editForm.fictitiousGroupQuantity"
style=
"width: 90px"
style=
"width: 90px"
maxlength=
"50"
maxlength=
"50"
placeholder=
"参团人数"
placeholder=
"参团人数"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
id=
"fictitiousLadderQuantity"
id=
"fictitiousLadderQuantity"
label=
"阶梯人数:"
label=
"阶梯人数:"
prop=
"fictitiousLadderQuantity"
prop=
"fictitiousLadderQuantity"
labelWidth=
"90px"
labelWidth=
"90px"
>
>
<el-input
v-model=
"editForm.fictitiousLadderQuantity"
<el-input
v-model=
"editForm.fictitiousLadderQuantity"
style=
"width: 90px"
style=
"width: 90px"
maxlength=
"50"
maxlength=
"50"
placeholder=
"阶梯人数"
placeholder=
"阶梯人数"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
id=
"fictitiousViewQuantity"
id=
"fictitiousViewQuantity"
label=
"浏览:"
label=
"浏览:"
prop=
"fictitiousViewQuantity"
prop=
"fictitiousViewQuantity"
labelWidth=
"60px"
labelWidth=
"60px"
>
>
<el-input
v-model=
"editForm.fictitiousViewQuantity"
<el-input
v-model=
"editForm.fictitiousViewQuantity"
style=
"width: 90px"
style=
"width: 90px"
maxlength=
"50"
maxlength=
"50"
placeholder=
"浏览人数"
placeholder=
"浏览人数"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<div
<div
slot=
"activityBigImg"
slot=
"activityBigImg"
class=
"edit-tips m-t-8"
>
建议尺寸750*1258
</div>
class=
"edit-tips m-t-8"
<div
slot=
"activityVideos"
>
建议尺寸750*1258
</div>
class=
"edit-tips m-t-8"
>
最多上传6个视频
</div>
<div
<div
slot=
"posterImg"
slot=
"activityVideos"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
class=
"edit-tips m-t-8"
<div
class=
"form-describe-box"
>
最多上传6个视频
</div>
slot=
"formDescribe"
>
<div
slot=
"posterImg"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
<div
class=
"form-describe-box"
slot=
"formDescribe"
>
<el-checkbox-group
v-model=
"editForm.formDescribeCheck"
>
<el-checkbox-group
v-model=
"editForm.formDescribeCheck"
>
<el-checkbox
<el-checkbox
v-for=
"(item, index) in formDescribeCheckList"
v-for=
"(item, index) in formDescribeCheckList"
:label=
"item.value"
:label=
"item.value"
:key=
"index"
:key=
"index"
>
{{ item.label }}
</el-checkbox>
>
{{ item.label }}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
<div
<div
v-for=
"(item, index) in formDescribeList"
v-for=
"(item, index) in formDescribeList"
:key=
"index"
:key=
"index"
class=
"form-describe flex-default"
class=
"form-describe flex-default"
>
>
<el-input
class=
"describe-input"
<el-input
class=
"describe-input"
v-model=
"item.value"
v-model=
"item.value"
placeholder=
"请输入"
placeholder=
"请输入"
maxlength=
"20"
maxlength=
"20"
></el-input>
></el-input>
<p
class=
"describe-delete"
>
<p
class=
"describe-delete"
>
<img
<img
v-show=
"!(index == 0 && formDescribeList.length == 1)"
v-show=
"!(index == 0 && formDescribeList.length == 1)"
@
click=
"handleDescribeDelete(index)"
@
click=
"handleDescribeDelete(index)"
src=
"@/assets/icon-delete.png"
src=
"@/assets/icon-delete.png"
/>
/>
</p>
</p>
</div>
</div>
<el-button
<el-button
class=
"btn-basic"
class=
"btn-basic"
v-show=
"formDescribeList.length < describeNum"
v-show=
"formDescribeList.length < describeNum"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleDescribeAdd"
@
click=
"handleDescribeAdd"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/seckillActivity/icon-add.png"
/>
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
新增表单
新增表单
</el-button>
</el-button>
</div>
</div>
...
@@ -473,239 +332,184 @@
...
@@ -473,239 +332,184 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
<!-- 服务说明 -->
<!-- 服务说明 -->
<div
<div
slot=
"activityServices"
slot=
"activityServices"
id=
"activityServices"
id=
"activityServices"
class=
"flex-default"
class=
"flex-default"
>
>
<span
class=
"custom-label arrow"
<span
class=
"custom-label arrow"
slot=
"label"
slot=
"label"
@
click=
"handleArrow('activityServices')"
@
click=
"handleArrow('activityServices')"
:style=
"{ width: defaultLabelWidth }"
:style=
"{ width: defaultLabelWidth }"
>
>
<i
<i
:class=
"[arrowFlagObj.activityServices == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
:class=
"[arrowFlagObj.activityServices == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
服务说明:
服务说明:
</span>
</span>
<div
class=
"form-show-box"
>
<div
class=
"form-show-box"
>
<div
:class=
"['btn-box', arrowFlagObj.activityServices == 'open' && editForm.activityServices.length ? 'line' : '']"
>
<div
<el-button
:class=
"['btn-box', arrowFlagObj.activityServices == 'open' && editForm.activityServices.length ? 'line' : '']"
>
:class=
"[editForm.activityServices.length < 9 ? 'btn-basic' : 'btn-disable']"
<el-button
:class=
"[editForm.activityServices.length < 9 ? 'btn-basic' : 'btn-disable']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleAddItem('services', 'activityServices', 9)"
@
click=
"handleAddItem('services', 'activityServices', 9)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/seckillActivity/icon-add.png"
/>
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
新增一项
新增一项
</el-button>
</el-button>
</div>
</div>
<div
:class=
"['form-show-block', arrowFlagObj.activityServices == 'close' ? 'form-close' : 'form-open']"
>
<div
<div
v-for=
"(item, index) in editForm.activityServices"
:class=
"['form-show-block', arrowFlagObj.activityServices == 'close' ? 'form-close' : 'form-open']"
>
<div
v-for=
"(item, index) in editForm.activityServices"
:key=
"index"
:key=
"index"
:class=
"['form-show-item', editForm.activityServices.length > index + 1 ? 'line' : '']"
:class=
"['form-show-item', editForm.activityServices.length > index + 1 ? 'line' : '']"
>
>
<glsx-combi-form
class=
"p-t-20"
<glsx-combi-form
class=
"p-t-20"
ref=
"serviceEditFormRef"
ref=
"serviceEditFormRef"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formObj=
"item"
:formObj=
"item"
:formData=
"serviceEditFormData"
:formData=
"serviceEditFormData"
:formRules=
"serviceEditRule"
:formRules=
"serviceEditRule"
></glsx-combi-form>
></glsx-combi-form>
<el-button
:class=
"['btn-basic', 'btn-delete', index == editForm.activityServices.length - 1 ? 'last-btn-delete' : '']"
<el-button
:class=
"['btn-basic', 'btn-delete', index == editForm.activityServices.length - 1 ? 'last-btn-delete' : '']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleDeleteItem('services', 'activityServices', index)"
@
click=
"handleDeleteItem('services', 'activityServices', index)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/icon-delete.png"
/>
class=
"icon-add"
src=
"@/assets/icon-delete.png"
/>
</el-button>
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 商品答疑 -->
<!-- 商品答疑 -->
<div
<div
slot=
"activityCommoditys"
slot=
"activityCommoditys"
id=
"activityCommoditys"
id=
"activityCommoditys"
class=
"flex-default"
class=
"flex-default"
>
>
<span
class=
"custom-label arrow"
<span
class=
"custom-label arrow"
slot=
"label"
slot=
"label"
@
click=
"handleArrow('activityCommoditys')"
@
click=
"handleArrow('activityCommoditys')"
:style=
"{ width: defaultLabelWidth }"
:style=
"{ width: defaultLabelWidth }"
>
>
<i
<i
:class=
"[arrowFlagObj.activityCommoditys == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
:class=
"[arrowFlagObj.activityCommoditys == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
商品答疑:
商品答疑:
</span>
</span>
<div
class=
"form-show-box"
>
<div
class=
"form-show-box"
>
<div
:class=
"['btn-box', arrowFlagObj.activityCommoditys == 'open' && editForm.activityCommoditys.length ? 'line' : '']"
>
<div
<el-button
:class=
"['btn-box', arrowFlagObj.activityCommoditys == 'open' && editForm.activityCommoditys.length ? 'line' : '']"
>
:class=
"[editForm.activityCommoditys.length < 9 ? 'btn-basic' : 'btn-disable']"
<el-button
:class=
"[editForm.activityCommoditys.length < 9 ? 'btn-basic' : 'btn-disable']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleAddItem('commoditys', 'activityCommoditys', 9)"
@
click=
"handleAddItem('commoditys', 'activityCommoditys', 9)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/seckillActivity/icon-add.png"
/>
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
新增一项
新增一项
</el-button>
</el-button>
</div>
</div>
<div
:class=
"['form-show-block', arrowFlagObj.activityCommoditys == 'close' ? 'form-close' : 'form-open']"
>
<div
<div
v-for=
"(item, index) in editForm.activityCommoditys"
:class=
"['form-show-block', arrowFlagObj.activityCommoditys == 'close' ? 'form-close' : 'form-open']"
>
<div
v-for=
"(item, index) in editForm.activityCommoditys"
:key=
"index"
:key=
"index"
:class=
"['form-show-item', editForm.activityCommoditys.length > index + 1 ? 'line' : '']"
:class=
"['form-show-item', editForm.activityCommoditys.length > index + 1 ? 'line' : '']"
>
>
<glsx-combi-form
class=
"p-t-20"
<glsx-combi-form
class=
"p-t-20"
ref=
"commoditysEditFormRef"
ref=
"commoditysEditFormRef"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formObj=
"item"
:formObj=
"item"
:formData=
"commoditysEditFormData"
:formData=
"commoditysEditFormData"
:formRules=
"commoditysEditRule"
:formRules=
"commoditysEditRule"
></glsx-combi-form>
></glsx-combi-form>
<el-button
:class=
"['btn-basic', 'btn-delete', index == editForm.activityCommoditys.length - 1 ? 'last-btn-delete' : '']"
<el-button
:class=
"['btn-basic', 'btn-delete', index == editForm.activityCommoditys.length - 1 ? 'last-btn-delete' : '']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleDeleteItem('commoditys', 'activityCommoditys', index)"
@
click=
"handleDeleteItem('commoditys', 'activityCommoditys', index)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/icon-delete.png"
/>
class=
"icon-add"
src=
"@/assets/icon-delete.png"
/>
</el-button>
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 服务评价 -->
<!-- 服务评价 -->
<div
<div
slot=
"activityExperienceDTOs"
slot=
"activityExperienceDTOs"
id=
"activityExperienceDTOs"
id=
"activityExperienceDTOs"
class=
"flex-default"
class=
"flex-default"
>
>
<span
class=
"custom-label arrow"
<span
class=
"custom-label arrow"
slot=
"label"
slot=
"label"
@
click=
"handleArrow('activityExperienceDTOs')"
@
click=
"handleArrow('activityExperienceDTOs')"
:style=
"{ width: defaultLabelWidth }"
:style=
"{ width: defaultLabelWidth }"
>
>
<i
<i
:class=
"[arrowFlagObj.activityExperienceDTOs == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
:class=
"[arrowFlagObj.activityExperienceDTOs == 'open' ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"
></i>
服务评价:
服务评价:
</span>
</span>
<div
class=
"form-show-box"
>
<div
class=
"form-show-box"
>
<div
:class=
"['btn-box', arrowFlagObj.activityExperienceDTOs == 'open' && editForm.activityExperienceDTOs.length ? 'line' : '']"
>
<div
<el-button
:class=
"['btn-box', arrowFlagObj.activityExperienceDTOs == 'open' && editForm.activityExperienceDTOs.length ? 'line' : '']"
>
:class=
"[editForm.activityExperienceDTOs.length < 9 ? 'btn-basic' : 'btn-disable']"
<el-button
:class=
"[editForm.activityExperienceDTOs.length < 9 ? 'btn-basic' : 'btn-disable']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleAddItem('experiences', 'activityExperienceDTOs', 9)"
@
click=
"handleAddItem('experiences', 'activityExperienceDTOs', 9)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/seckillActivity/icon-add.png"
/>
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
新增一项
新增一项
</el-button>
</el-button>
</div>
</div>
<div
:class=
"['form-show-block', arrowFlagObj.activityExperienceDTOs == 'close' ? 'form-close' : 'form-open']"
>
<div
<div
v-for=
"(item, index) in editForm.activityExperienceDTOs"
:class=
"['form-show-block', arrowFlagObj.activityExperienceDTOs == 'close' ? 'form-close' : 'form-open']"
>
<div
v-for=
"(item, index) in editForm.activityExperienceDTOs"
:key=
"index"
:key=
"index"
:class=
"['form-show-item', editForm.activityExperienceDTOs.length > index + 1 ? 'line' : '']"
:class=
"['form-show-item', editForm.activityExperienceDTOs.length > index + 1 ? 'line' : '']"
>
>
<div
class=
"head-box"
>
<div
class=
"head-box"
>
<img
<img
class=
"icon-head"
class=
"icon-head"
src=
"@/assets/seckillActivity/icon-default-head.png"
/>
src=
"@/assets/seckillActivity/icon-default-head.png"
/>
<span>
虚拟人物{{ index + 1 }}
</span>
<span>
虚拟人物{{ index + 1 }}
</span>
</div>
</div>
<glsx-combi-form
<glsx-combi-form
class=
"p-t-20"
class=
"p-t-20"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formObj=
"item"
:formObj=
"item"
:formData=
"experiencesEditFormData"
:formData=
"experiencesEditFormData"
:formRules=
"editRule"
:formRules=
"editRule"
>
>
<div
slot=
"activityExperienceImgs"
<div
class=
"edit-tips m-t-8"
>
建议尺寸:图片大小不超过5m,最多可添加9张图片
</div>
slot=
"activityExperienceImgs"
class=
"edit-tips m-t-8"
>
建议尺寸:图片大小不超过5m,最多可添加9张图片
</div>
</glsx-combi-form>
</glsx-combi-form>
<el-button
<el-button
:class=
"['btn-basic', 'btn-delete', index == editForm.activityExperienceDTOs.length - 1 ? 'last-btn-delete' : '']"
:class=
"['btn-basic', 'btn-delete', index == editForm.activityExperienceDTOs.length - 1 ? 'last-btn-delete' : '']"
:size=
"size"
:size=
"size"
type=
"text"
type=
"text"
@
click=
"handleDeleteItem('experiences', 'activityExperienceDTOs', index)"
@
click=
"handleDeleteItem('experiences', 'activityExperienceDTOs', index)"
>
>
<img
class=
"icon-add"
<img
src=
"@/assets/icon-delete.png"
/>
class=
"icon-add"
src=
"@/assets/icon-delete.png"
/>
</el-button>
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 员工注册链接 -->
<!-- 员工注册链接 -->
<div
<div
slot=
"employeeRegistrationLinkFlag"
slot=
"employeeRegistrationLinkFlag"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
>
<el-radio
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
v-for=
"(item, index) in scope.scope.optionList"
:key=
"index"
:key=
"index"
:label=
"item[scope.scope.optionId]"
:label=
"item[scope.scope.optionId]"
>
{{ item[scope.scope.optionLabel] }}
>
{{ item[scope.scope.optionLabel] }}
</el-radio>
</el-radio>
</el-radio-group>
</el-radio-group>
</div>
</div>
<
template
slot=
"appointmentContacts"
>
<
template
slot=
"appointmentContacts"
>
<div
class=
"appointmentContactsClass"
>
<div
class=
"appointmentContactsClass"
>
<el-form-item
<el-form-item
label=
"姓名:"
label=
"姓名:"
prop=
"reservationInstallContactsName"
prop=
"reservationInstallContactsName"
labelWidth=
"60px"
labelWidth=
"60px"
>
>
<el-input
v-model=
"editForm.reservationInstallContactsName"
<el-input
v-model=
"editForm.reservationInstallContactsName"
style=
"width: 432px;display: block;"
style=
"width: 432px;display: block;"
maxlength=
"10"
maxlength=
"10"
placeholder=
"请输入姓名"
placeholder=
"请输入姓名"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"电话:"
label=
"电话:"
prop=
"reservationInstallContactsPhone"
prop=
"reservationInstallContactsPhone"
labelWidth=
"60px"
labelWidth=
"60px"
class=
"phoneClass"
class=
"phoneClass"
>
>
<el-input
v-model=
"editForm.reservationInstallContactsPhone"
<el-input
v-model=
"editForm.reservationInstallContactsPhone"
style=
"width: 432px"
style=
"width: 432px"
maxlength=
"11"
maxlength=
"11"
placeholder=
"请输入电话"
placeholder=
"请输入电话"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
...
@@ -713,174 +517,122 @@
...
@@ -713,174 +517,122 @@
<
template
slot=
"reportConfigure"
>
<
template
slot=
"reportConfigure"
>
<div
class=
"reportConfigure-bag"
>
<div
class=
"reportConfigure-bag"
>
<el-tabs
v-model=
"reportFlag"
>
<el-tabs
v-model=
"reportFlag"
>
<el-tab-pane
<el-tab-pane
label=
"进行中战报"
label=
"进行中战报"
name=
"1"
>
name=
"1"
<el-form-item
label=
"产值活动报告:"
>
<el-form-item
label=
"产值活动报告:"
prop=
"produceReportSummary"
prop=
"produceReportSummary"
labelWidth=
"100px"
labelWidth=
"100px"
>
>
<el-input
v-model=
"editForm.activityActionReport.produceReportSummary"
<el-input
v-model=
"editForm.activityActionReport.produceReportSummary"
placeholder=
"根据以往经验,活动前三天转发效果最好,赶紧督促大家转发起来吧"
placeholder=
"根据以往经验,活动前三天转发效果最好,赶紧督促大家转发起来吧"
type=
"textarea"
type=
"textarea"
maxlength=
"200"
maxlength=
"200"
show-word-limit
show-word-limit
style=
"width:580px;height:79px;"
style=
"width:580px;height:79px;"
rows=
"3"
rows=
"3"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
<el-tab-pane
label=
"已结束战报"
label=
"已结束战报"
name=
"2"
>
name=
"2"
<el-form-item
label=
"客户资产分析总结:"
>
<el-form-item
label=
"客户资产分析总结:"
prop=
"customerAssetSummary"
prop=
"customerAssetSummary"
labelWidth=
"140px"
labelWidth=
"140px"
style=
"margin-left: 27px;margin-bottom: 0px;"
style=
"margin-left: 27px;margin-bottom: 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.customerAssetSummary"
<el-input
v-model=
"editForm.activityActionReport.customerAssetSummary"
placeholder=
"请输入"
placeholder=
"请输入"
type=
"textarea"
type=
"textarea"
maxlength=
"200"
maxlength=
"200"
show-word-limit
show-word-limit
style=
"width:580px;height:79px;"
style=
"width:580px;height:79px;"
rows=
"3"
rows=
"3"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"触达通道分析总结:"
label=
"触达通道分析总结:"
prop=
"touchPassageSummary"
prop=
"touchPassageSummary"
labelWidth=
"140px"
labelWidth=
"140px"
style=
"margin-left: 27px;margin-top: 10px;"
style=
"margin-left: 27px;margin-top: 10px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.touchPassageSummary"
<el-input
v-model=
"editForm.activityActionReport.touchPassageSummary"
placeholder=
"请输入"
placeholder=
"请输入"
type=
"textarea"
type=
"textarea"
maxlength=
"200"
maxlength=
"200"
show-word-limit
show-word-limit
style=
"width:580px;height:79px;"
style=
"width:580px;height:79px;"
rows=
"3"
rows=
"3"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<div
class=
"reportConfigureList"
>
<div
class=
"reportConfigureList"
>
<span
class=
"reportConfigureLabel"
>
标杆门店数据:
</span>
<span
class=
"reportConfigureLabel"
>
标杆门店数据:
</span>
<el-form-item
<el-form-item
label=
"分享数(次)"
label=
"分享数(次)"
prop=
"signMerchantShareCount"
prop=
"signMerchantShareCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.signMerchantShareCount"
<el-input
v-model=
"editForm.activityActionReport.signMerchantShareCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"浏览数(次)"
label=
"浏览数(次)"
prop=
"signMerchantBrowseCount"
prop=
"signMerchantBrowseCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.signMerchantBrowseCount"
<el-input
v-model=
"editForm.activityActionReport.signMerchantBrowseCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"访客数(人)"
label=
"访客数(人)"
prop=
"signMerchantVisitorCount"
prop=
"signMerchantVisitorCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.signMerchantVisitorCount"
<el-input
v-model=
"editForm.activityActionReport.signMerchantVisitorCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"订单数(单)"
label=
"订单数(单)"
prop=
"signMerchantOrderCount"
prop=
"signMerchantOrderCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.signMerchantOrderCount"
<el-input
v-model=
"editForm.activityActionReport.signMerchantOrderCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"总产值(万)"
label=
"总产值(万)"
prop=
"signMerchantProduceCount"
prop=
"signMerchantProduceCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.signMerchantProduceCount"
<el-input
v-model=
"editForm.activityActionReport.signMerchantProduceCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"reportConfigureList"
>
<div
class=
"reportConfigureList"
>
<span
class=
"reportConfigureLabel"
>
短信触达数据:
</span>
<span
class=
"reportConfigureLabel"
>
短信触达数据:
</span>
<el-form-item
<el-form-item
label=
"目标客户数(人)"
label=
"目标客户数(人)"
prop=
"noteTouchCustomerCount"
prop=
"noteTouchCustomerCount"
labelWidth=
"100px"
labelWidth=
"100px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.noteTouchCustomerCount"
<el-input
v-model=
"editForm.activityActionReport.noteTouchCustomerCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"访客数(人)"
label=
"访客数(人)"
prop=
"noteTouchVisitorCount"
prop=
"noteTouchVisitorCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.noteTouchVisitorCount"
<el-input
v-model=
"editForm.activityActionReport.noteTouchVisitorCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"订单数(单)"
label=
"订单数(单)"
prop=
"noteTouchOrderCount"
prop=
"noteTouchOrderCount"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.noteTouchOrderCount"
<el-input
v-model=
"editForm.activityActionReport.noteTouchOrderCount"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"转化率(%)"
label=
"转化率(%)"
prop=
"noteTouchConversionRate"
prop=
"noteTouchConversionRate"
labelWidth=
"70px"
labelWidth=
"70px"
style=
"margin: 0px 8px 0px 0px;"
style=
"margin: 0px 8px 0px 0px;"
>
>
<el-input
v-model=
"editForm.activityActionReport.noteTouchConversionRate"
<el-input
v-model=
"editForm.activityActionReport.noteTouchConversionRate"
style=
"width: 136px;height:32px;"
style=
"width: 136px;height:32px;"
readonly
readonly
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
...
@@ -890,124 +642,96 @@
...
@@ -890,124 +642,96 @@
<!-- 直播配置 -->
<!-- 直播配置 -->
<div
slot=
"live"
>
<div
slot=
"live"
>
<el-switch
v-model=
"editForm.liveFlag"
></el-switch>
<el-switch
v-model=
"editForm.liveFlag"
></el-switch>
<div
<div
class=
"customer-service"
class=
"customer-service"
v-if=
"editForm.liveFlag"
v-if=
"editForm.liveFlag"
id=
"liveFlag"
id=
"liveFlag"
>
>
<glsx-combi-form
class=
"edit-form-container"
<glsx-combi-form
class=
"edit-form-container"
ref=
"liveEditFormRef"
ref=
"liveEditFormRef"
:formRef=
"editChildRef"
:formRef=
"editChildRef"
:isEdit=
"true"
:isEdit=
"true"
:isBlock=
"true"
:isBlock=
"true"
:formObj=
"editForm"
:formObj=
"editForm"
:formData=
"liveEditFormData"
:formData=
"liveEditFormData"
:formRules=
"liveEditRule"
:formRules=
"liveEditRule"
>
>
<div
slot=
"groupQrCode"
<div
class=
"edit-tips m-t-8"
>
注:用于直播间内加群展示;请上传2M以内的jpg、jpeg、png图片,建议图片尺寸284*284
</div>
slot=
"groupQrCode"
<div
v-if=
"!editForm.floatingMaskDiagram"
class=
"edit-tips m-t-8"
>
注:用于直播间内加群展示;请上传2M以内的jpg、jpeg、png图片,建议图片尺寸284*284
</div>
<div
v-if=
"!editForm.floatingMaskDiagram"
slot=
"defaultImg"
slot=
"defaultImg"
class=
"default-live-img"
class=
"default-live-img"
>
>
<img
:src=
"defaultFloatingMaskDiagram"
/>
<img
:src=
"defaultFloatingMaskDiagram"
/>
</div>
</div>
<div
<div
slot=
"floatingMaskDiagram"
slot=
"floatingMaskDiagram"
class=
"edit-tips m-t-8"
>
注:用于直播间内浮动元素展示;请上传2M以内的gif、jpg、jpeg、png图片,建议图片尺寸120*176
class=
"edit-tips m-t-8"
>
注:用于直播间内浮动元素展示;请上传2M以内的gif、jpg、jpeg、png图片,建议图片尺寸120*176
</div>
</div>
<div
<div
v-if=
"!editForm.liveBroadcastRoomCover"
v-if=
"!editForm.liveBroadcastRoomCover"
slot=
"defaultImgCover"
slot=
"defaultImgCover"
class=
"default-live-img"
class=
"default-live-img"
>
>
<img
:src=
"defaultImgObj.COVER_LIVE"
/>
<img
:src=
"defaultImgObj.COVER_LIVE"
/>
</div>
</div>
<div
<div
v-if=
"!editForm.liveBroadcastRoomEndCover"
v-if=
"!editForm.liveBroadcastRoomEndCover"
slot=
"defaultImgEndCover"
slot=
"defaultImgEndCover"
class=
"default-live-img"
class=
"default-live-img"
>
>
<img
:src=
"defaultImgObj.COVER_REPLAY"
/>
<img
:src=
"defaultImgObj.COVER_REPLAY"
/>
</div>
</div>
<div
<div
slot=
"liveBroadcastRoomEndCover"
slot=
"liveBroadcastRoomEndCover"
class=
"edit-tips m-t-8"
>
注:用于活动中直播小窗口展示;请上传2M以内的gif、jpg、jpeg、png图片,建议图片尺寸164*252
class=
"edit-tips m-t-8"
>
注:用于活动中直播小窗口展示;请上传2M以内的gif、jpg、jpeg、png图片,建议图片尺寸164*252
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
</div>
</div>
<!-- 收款模式 -->
<!-- 收款模式 -->
<div
<div
slot=
"paymentModel"
slot=
"paymentModel"
class=
"paymentModelSlot"
>
class=
"paymentModelSlot"
>
<el-radio-group
v-model=
"editForm.paymentModel"
>
<el-radio-group
v-model=
"editForm.paymentModel"
>
<el-radio
:label=
"1"
>
广联收定金和尾款
</el-radio>
<el-radio
:disabled=
"isDisabled"
<el-radio
:label=
"2"
>
广联收定金门店收尾款
</el-radio>
:label=
"1"
>
广联收定金和尾款
</el-radio>
<el-radio
:label=
"3"
>
广联收定金门店收全款退定金
</el-radio>
<el-radio
:disabled=
"isDisabled"
<el-radio
:label=
"4"
>
门店收定金和尾款
</el-radio>
:label=
"2"
>
广联收定金门店收尾款
</el-radio>
<el-radio
:disabled=
"isDisabled"
:label=
"3"
>
广联收定金门店收全款退定金
</el-radio>
<el-radio
:disabled=
"isDisabled"
:label=
"4"
>
门店收定金和尾款
</el-radio>
</el-radio-group>
</el-radio-group>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<GLFooter>
<GLFooter>
<el-button
<el-button
@
click=
"handleCancel"
@
click=
"handleCancel"
size=
"medium"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
size=
"medium"
<el-button
@
click=
"handleWechat"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
size=
"medium"
>
预览
</el-button>
<el-button
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
@
click=
"handleWechat"
size=
"medium"
>
预览
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
type=
"primary"
type=
"primary"
@
click=
"handleConfirm"
@
click=
"handleConfirm"
size=
"medium"
size=
"medium"
:loading=
"loading"
:loading=
"loading"
>
提交
</el-button>
>
提交
</el-button>
</GLFooter>
</GLFooter>
<!-- 展示 -->
<!-- 展示 -->
<GLDialog
<GLDialog
bigTitle=
"预览"
bigTitle=
"预览"
mode=
"big"
mode=
"big"
:visible
.
sync=
"wechatVisible"
:visible
.
sync=
"wechatVisible"
@
onOk=
"handleWechat"
@
onOk=
"handleWechat"
@
onCancel=
"handleWechat"
@
onCancel=
"handleWechat"
>
>
<crowdEditWechat
ref=
"crowdEditWechat"
<crowdEditWechat
ref=
"crowdEditWechat"
:editForm=
"editForm"
:editForm=
"editForm"
:countDownObj=
"countDownObj"
:countDownObj=
"countDownObj"
></crowdEditWechat>
></crowdEditWechat>
</GLDialog>
</GLDialog>
<select-single-pro-dialog
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
v-if=
"isSingleSelectVisible"
:merchantId=
"editForm.merchantId"
:merchantId=
"editForm.merchantId"
:isSingleSelectVisible=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:propSearch=
"{ deliveryType: 1 }"
:propSearch=
"{ deliveryType: 1 }"
:selectedProInfo=
"selectedProInfo"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose(true)"
@
handleSingleSelectClose=
"handleSingleSelectClose(true)"
>
>
</select-single-pro-dialog>
</select-single-pro-dialog>
<!-- :storeSelected="selectedList" -->
<!-- :storeSelected="selectedList" -->
<select-store
<select-store
v-if=
"relateStoreVisible"
v-if=
"relateStoreVisible"
ref=
"relateStore"
ref=
"relateStore"
:dialogVisible=
"relateStoreVisible"
:dialogVisible=
"relateStoreVisible"
:storeSelected=
"selectedList"
:storeSelected=
"selectedList"
:merchantInfo=
"editForm.merchantId"
:merchantInfo=
"editForm.merchantId"
@
handleRelateStoreConfirm=
"handleRelateStoreConfirm"
@
handleRelateStoreConfirm=
"handleRelateStoreConfirm"
@
handleRelateStoreClose=
"handleRelateStoreClose"
@
handleRelateStoreClose=
"handleRelateStoreClose"
>
>
<!-- <el-row slot>
<!-- <el-row slot>
<el-form :model="storeSearchForm"
<el-form :model="storeSearchForm"
ref="relate"
ref="relate"
...
@@ -1050,7 +774,7 @@ export default {
...
@@ -1050,7 +774,7 @@ export default {
crowdEditWechat
,
crowdEditWechat
,
selectStore
selectStore
},
},
data
()
{
data
()
{
var
validatorPhone
=
function
(
rule
,
value
,
callback
)
{
var
validatorPhone
=
function
(
rule
,
value
,
callback
)
{
if
(
value
&&
!
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
0123456789
]
|17
[
678
]
|18
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
.
test
(
value
))
{
if
(
value
&&
!
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
0123456789
]
|17
[
678
]
|18
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
.
test
(
value
))
{
callback
(
new
Error
(
'手机号格式错误'
))
callback
(
new
Error
(
'手机号格式错误'
))
...
@@ -1313,7 +1037,7 @@ export default {
...
@@ -1313,7 +1037,7 @@ export default {
name
:
'activityName'
,
name
:
'activityName'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
40
,
maxlength
:
40
,
tips
:
'如XX店车主关怀活动'
,
tips
:
'如XX店车主关怀活动'
},
},
{
{
label
:
'活动宣传图'
,
label
:
'活动宣传图'
,
...
@@ -1343,7 +1067,7 @@ export default {
...
@@ -1343,7 +1067,7 @@ export default {
name
:
'promotion'
,
name
:
'promotion'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
50
,
maxlength
:
50
,
tips
:
'比如车主关怀,0元秒杀'
,
tips
:
'比如车主关怀,0元秒杀'
},
},
{
{
label
:
'活动时间'
,
label
:
'活动时间'
,
...
@@ -1412,11 +1136,11 @@ export default {
...
@@ -1412,11 +1136,11 @@ export default {
optionList
:
[
optionList
:
[
{
{
confId
:
1
,
confId
:
1
,
confName
:
'否'
,
confName
:
'否'
},
},
{
{
confId
:
2
,
confId
:
2
,
confName
:
'是'
,
confName
:
'是'
}
}
]
]
}
}
...
@@ -1956,13 +1680,13 @@ export default {
...
@@ -1956,13 +1680,13 @@ export default {
}
}
},
},
filters
:
{
filters
:
{
filterBalancePayment
(
crowdFundingPrice
,
activityPrice
)
{
filterBalancePayment
(
crowdFundingPrice
,
activityPrice
)
{
let
BalancePaymentNum
=
Number
(
crowdFundingPrice
)
-
Number
(
activityPrice
)
let
BalancePaymentNum
=
Number
(
crowdFundingPrice
)
-
Number
(
activityPrice
)
if
(
BalancePaymentNum
==
0
)
return
0
if
(
BalancePaymentNum
==
0
)
return
0
return
BalancePaymentNum
>
0
?
BalancePaymentNum
.
toFixed
(
2
)
:
''
return
BalancePaymentNum
>
0
?
BalancePaymentNum
.
toFixed
(
2
)
:
''
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getLiveList
()
this
.
getLiveList
()
this
.
setMinHeight
(
'.crowd-config'
)
this
.
setMinHeight
(
'.crowd-config'
)
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
...
@@ -1982,82 +1706,82 @@ export default {
...
@@ -1982,82 +1706,82 @@ export default {
watch
:
{
watch
:
{
editForm
:
{
editForm
:
{
handler
(
val
)
{
handler
(
val
)
{
this
.
editStatus
=
true
this
.
editStatus
=
true
},
},
deep
:
true
deep
:
true
},
},
'editForm.activityPrice'
(
newValue
,
oldValue
)
{
'editForm.activityPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
)
this
.
editForm
.
activityPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
)
},
},
'editForm.crowdFundingPrice'
(
newValue
,
oldValue
)
{
'editForm.crowdFundingPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
crowdFundingPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
)
this
.
editForm
.
crowdFundingPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
)
},
},
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
this
.
editForm
.
goodsStock
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
0
)
this
.
editForm
.
goodsStock
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
0
)
},
},
'editForm.activityTime'
(
newValue
)
{
'editForm.activityTime'
(
newValue
)
{
newValue
&&
newValue
.
length
&&
this
.
countDown
()
newValue
&&
newValue
.
length
&&
this
.
countDown
()
},
},
'editForm.predictVolume'
(
newValue
,
oldValue
)
{
'editForm.predictVolume'
(
newValue
,
oldValue
)
{
this
.
editForm
.
predictVolume
=
limitPrice
(
newValue
,
oldValue
,
10
,
2
,
0
,
1000000000
)
this
.
editForm
.
predictVolume
=
limitPrice
(
newValue
,
oldValue
,
10
,
2
,
0
,
1000000000
)
},
},
'editForm.fictitiousGroupQuantity'
(
newValue
,
oldValue
)
{
'editForm.fictitiousGroupQuantity'
(
newValue
,
oldValue
)
{
this
.
editForm
.
fictitiousGroupQuantity
=
limitPrice
(
newValue
,
oldValue
,
3
,
0
,
0
,
501
)
this
.
editForm
.
fictitiousGroupQuantity
=
limitPrice
(
newValue
,
oldValue
,
3
,
0
,
0
,
501
)
},
},
'editForm.fictitiousLadderQuantity'
(
newValue
,
oldValue
)
{
'editForm.fictitiousLadderQuantity'
(
newValue
,
oldValue
)
{
this
.
editForm
.
fictitiousLadderQuantity
=
limitPrice
(
newValue
,
oldValue
,
7
,
0
,
0
)
this
.
editForm
.
fictitiousLadderQuantity
=
limitPrice
(
newValue
,
oldValue
,
7
,
0
,
0
)
},
},
'editForm.fictitiousViewQuantity'
(
newValue
,
oldValue
)
{
'editForm.fictitiousViewQuantity'
(
newValue
,
oldValue
)
{
this
.
editForm
.
fictitiousViewQuantity
=
limitPrice
(
newValue
,
oldValue
,
7
,
0
,
0
)
this
.
editForm
.
fictitiousViewQuantity
=
limitPrice
(
newValue
,
oldValue
,
7
,
0
,
0
)
},
},
'editForm.liveBroadcastRoomId'
(
newValue
,
oldValue
)
{
'editForm.liveBroadcastRoomId'
(
newValue
,
oldValue
)
{
this
.
editForm
.
liveFlag
=
newValue
?
true
:
false
this
.
editForm
.
liveFlag
=
newValue
?
true
:
false
},
},
'editForm.goodsId'
(
newValue
,
oldValue
)
{
'editForm.goodsId'
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
if
(
newValue
)
{
let
idx
=
this
.
editFormData
.
findIndex
(
val
=>
val
.
name
==
'goodsCategory'
)
let
idx
=
this
.
editFormData
.
findIndex
(
val
=>
val
.
name
==
'goodsCategory'
)
this
.
editFormData
[
idx
].
isHide
=
false
this
.
editFormData
[
idx
].
isHide
=
false
}
}
},
},
'editForm.targetStock'
(
newValue
,
oldValue
)
{
'editForm.targetStock'
(
newValue
,
oldValue
)
{
this
.
editForm
.
targetStock
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
targetStock
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.noteTouchCustomerCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.noteTouchCustomerCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
noteTouchCustomerCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
noteTouchCustomerCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.noteTouchVisitorCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.noteTouchVisitorCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
noteTouchVisitorCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
noteTouchVisitorCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.noteTouchOrderCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.noteTouchOrderCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
noteTouchOrderCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
noteTouchOrderCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.signMerchantVisitorCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.signMerchantVisitorCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
signMerchantVisitorCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
signMerchantVisitorCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.signMerchantShareCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.signMerchantShareCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
signMerchantShareCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
signMerchantShareCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.signMerchantBrowseCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.signMerchantBrowseCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
signMerchantBrowseCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
signMerchantBrowseCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.signMerchantOrderCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.signMerchantOrderCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
signMerchantOrderCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
this
.
editForm
.
activityActionReport
.
signMerchantOrderCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
0
)
},
},
'editForm.activityActionReport.signMerchantProduceCount'
(
newValue
,
oldValue
)
{
'editForm.activityActionReport.signMerchantProduceCount'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityActionReport
.
signMerchantProduceCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
2
,
0
)
this
.
editForm
.
activityActionReport
.
signMerchantProduceCount
=
limitPrice
(
newValue
,
oldValue
,
99999
,
2
,
0
)
}
}
},
},
methods
:
{
methods
:
{
changeFormAttr
(
formName
,
attrName
,
labelList
,
attrValue
)
{
changeFormAttr
(
formName
,
attrName
,
labelList
,
attrValue
)
{
labelList
.
forEach
(
item
=>
{
labelList
.
forEach
(
item
=>
{
let
idx
=
this
[
formName
].
findIndex
(
k
=>
k
.
label
==
item
)
let
idx
=
this
[
formName
].
findIndex
(
k
=>
k
.
label
==
item
)
this
[
formName
][
idx
][
attrName
]
=
attrValue
this
[
formName
][
idx
][
attrName
]
=
attrValue
})
})
},
},
limitPriceForInput
(
val
,
intergerDigit
,
pointDigit
,
minValue
,
maxValue
,
regRule
)
{
limitPriceForInput
(
val
,
intergerDigit
,
pointDigit
,
minValue
,
maxValue
,
regRule
)
{
var
_regRule
=
regRule
||
'priceReg'
var
_regRule
=
regRule
||
'priceReg'
if
(
val
&&
this
.
reg
[
_regRule
].
test
(
val
+
''
))
{
if
(
val
&&
this
.
reg
[
_regRule
].
test
(
val
+
''
))
{
maxValue
=
typeof
maxValue
==
'string'
?
parseFloat
(
maxValue
)
:
maxValue
maxValue
=
typeof
maxValue
==
'string'
?
parseFloat
(
maxValue
)
:
maxValue
...
@@ -2081,7 +1805,7 @@ export default {
...
@@ -2081,7 +1805,7 @@ export default {
}
}
},
},
uploadImgOrGif
(
e
,
file
,
targetItem
)
{
uploadImgOrGif
(
e
,
file
,
targetItem
)
{
const
imgFile
=
e
.
target
.
result
,
const
imgFile
=
e
.
target
.
result
,
target
=
file
.
type
==
'image/gif'
?
'uploadVideoApi'
:
'uploadImgApi'
target
=
file
.
type
==
'image/gif'
?
'uploadVideoApi'
:
'uploadImgApi'
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
...
@@ -2096,11 +1820,11 @@ export default {
...
@@ -2096,11 +1820,11 @@ export default {
})
})
},
},
addZero
(
i
)
{
addZero
(
i
)
{
return
i
<
10
?
`0
${
i
}
`
:
`
${
i
}
`
return
i
<
10
?
`0
${
i
}
`
:
`
${
i
}
`
},
},
findCountDownTime
()
{
findCountDownTime
()
{
let
startTime
=
new
Date
(
this
.
editForm
.
activityTime
[
0
])
let
startTime
=
new
Date
(
this
.
editForm
.
activityTime
[
0
])
let
endTime
=
new
Date
(
this
.
editForm
.
activityTime
[
1
])
let
endTime
=
new
Date
(
this
.
editForm
.
activityTime
[
1
])
let
currentTime
=
new
Date
()
let
currentTime
=
new
Date
()
...
@@ -2113,7 +1837,7 @@ export default {
...
@@ -2113,7 +1837,7 @@ export default {
}
}
},
},
countDown
()
{
countDown
()
{
if
(
this
.
editForm
.
activityTime
&&
this
.
editForm
.
activityTime
.
length
)
{
if
(
this
.
editForm
.
activityTime
&&
this
.
editForm
.
activityTime
.
length
)
{
let
{
activityStatus
,
startTime
,
endTime
}
=
this
.
findCountDownTime
()
let
{
activityStatus
,
startTime
,
endTime
}
=
this
.
findCountDownTime
()
let
lefttime
=
parseInt
((
endTime
.
getTime
()
-
startTime
.
getTime
())
/
1000
)
let
lefttime
=
parseInt
((
endTime
.
getTime
()
-
startTime
.
getTime
())
/
1000
)
...
@@ -2152,42 +1876,42 @@ export default {
...
@@ -2152,42 +1876,42 @@ export default {
}
}
},
},
// 选择门店
// 选择门店
handleRelateStoreClose
()
{
handleRelateStoreClose
()
{
// console.log('handleRelateStoreClose')
// console.log('handleRelateStoreClose')
// this.selectedList = this.$common.utils.deepClone(this.editForm.supplyMerchantList)
// this.selectedList = this.$common.utils.deepClone(this.editForm.supplyMerchantList)
this
.
relateStoreVisible
=
!
this
.
relateStoreVisible
this
.
relateStoreVisible
=
!
this
.
relateStoreVisible
},
},
handleRelateStoreConfirm
(
selectedData
)
{
handleRelateStoreConfirm
(
selectedData
)
{
// this.editForm.supplyMerchantList = selectedData
// this.editForm.supplyMerchantList = selectedData
selectedData
.
merchantId
&&
(
this
.
editForm
.
merchantId
=
selectedData
.
merchantId
)
selectedData
.
merchantId
&&
(
this
.
editForm
.
merchantId
=
selectedData
.
merchantId
)
selectedData
.
merchantName
&&
(
this
.
editForm
.
merchantName
=
selectedData
.
merchantName
)
selectedData
.
merchantName
&&
(
this
.
editForm
.
merchantName
=
selectedData
.
merchantName
)
// this.selectedList = selectedData
// this.selectedList = selectedData
this
.
handleRelateStoreClose
()
this
.
handleRelateStoreClose
()
},
},
handleSearchStore
()
{
handleSearchStore
()
{
this
.
$refs
.
relateStore
.
handleCurrentChange
(
1
)
this
.
$refs
.
relateStore
.
handleCurrentChange
(
1
)
},
},
handleTimeChange
(
value
,
targetItem
)
{
handleTimeChange
(
value
,
targetItem
)
{
!
value
&&
(
this
.
editForm
[
targetItem
.
name
]
=
[])
!
value
&&
(
this
.
editForm
[
targetItem
.
name
]
=
[])
},
},
handleIsLimit
(
val
)
{
handleIsLimit
(
val
)
{
this
.
editForm
.
limitPurchaseNumber
=
val
==
1
?
''
:
'1'
this
.
editForm
.
limitPurchaseNumber
=
val
==
1
?
''
:
'1'
this
.
editRule
.
limitPurchaseNumber
[
0
].
required
=
val
!=
1
this
.
editRule
.
limitPurchaseNumber
[
0
].
required
=
val
!=
1
},
},
handleRelateProChange
(
val
)
{
handleRelateProChange
(
val
)
{
this
.
editRule
.
goodsId
[
0
].
required
=
val
==
2
this
.
editRule
.
goodsId
[
0
].
required
=
val
==
2
var
idx
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'goodsId'
)
var
idx
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'goodsId'
)
this
.
editFormData
[
idx
].
isHide
=
val
!=
2
this
.
editFormData
[
idx
].
isHide
=
val
!=
2
},
},
handleRelateProClose
(
targetItem
)
{
handleRelateProClose
(
targetItem
)
{
// 先选门店在选商品
// 先选门店在选商品
if
(
!
this
.
editForm
.
merchantId
)
return
this
.
$message
.
error
(
'请先选择门店!'
)
if
(
!
this
.
editForm
.
merchantId
)
return
this
.
$message
.
error
(
'请先选择门店!'
)
this
.
selectedProInfo
=
this
.
editForm
.
goodsId
?
{
id
:
this
.
editForm
.
goodsId
}
:
{}
this
.
selectedProInfo
=
this
.
editForm
.
goodsId
?
{
id
:
this
.
editForm
.
goodsId
}
:
{}
this
.
handleSingleSelectClose
()
this
.
handleSingleSelectClose
()
},
},
handleSingleSelectConfirm
(
selectedProInfo
)
{
handleSingleSelectConfirm
(
selectedProInfo
)
{
this
.
editForm
.
activityPrice
=
''
this
.
editForm
.
activityPrice
=
''
this
.
editForm
.
goodsStock
=
''
this
.
editForm
.
goodsStock
=
''
this
.
handleSingleSelectClose
()
this
.
handleSingleSelectClose
()
...
@@ -2196,14 +1920,14 @@ export default {
...
@@ -2196,14 +1920,14 @@ export default {
this
.
getGoodInfo
(
selectedProInfo
.
id
)
this
.
getGoodInfo
(
selectedProInfo
.
id
)
}
}
},
},
handleSingleSelectClose
(
isCancel
=
false
)
{
handleSingleSelectClose
(
isCancel
=
false
)
{
if
(
isCancel
)
{
if
(
isCancel
)
{
this
.
selectedProInfo
.
id
&&
this
.
getGoodInfo
(
this
.
selectedProInfo
.
id
)
this
.
selectedProInfo
.
id
&&
this
.
getGoodInfo
(
this
.
selectedProInfo
.
id
)
}
}
this
.
isSingleSelectVisible
=
!
this
.
isSingleSelectVisible
this
.
isSingleSelectVisible
=
!
this
.
isSingleSelectVisible
},
},
getGoodInfo
(
id
)
{
getGoodInfo
(
id
)
{
if
(
!
id
)
this
.
isDisabled
=
false
if
(
!
id
)
this
.
isDisabled
=
false
else
else
this
.
$apis
.
proManage
.
getProInfoApi
({
id
:
id
}).
then
(
res
=>
{
this
.
$apis
.
proManage
.
getProInfoApi
({
id
:
id
}).
then
(
res
=>
{
...
@@ -2221,7 +1945,7 @@ export default {
...
@@ -2221,7 +1945,7 @@ export default {
},
},
// 规格值解构
// 规格值解构
changeSpecs
(
isRecovery
)
{
changeSpecs
(
isRecovery
)
{
this
.
specsWidth
=
100
/
(
this
.
specificationDetailList
.
length
+
4
)
+
'%'
this
.
specsWidth
=
100
/
(
this
.
specificationDetailList
.
length
+
4
)
+
'%'
this
.
nameToValSpecsList
=
[]
this
.
nameToValSpecsList
=
[]
var
markIdx
=
0
var
markIdx
=
0
...
@@ -2290,7 +2014,7 @@ export default {
...
@@ -2290,7 +2014,7 @@ export default {
}
}
// console.log(this.nameToValSpecsList)
// console.log(this.nameToValSpecsList)
},
},
setLocaleCompare
(
params
)
{
setLocaleCompare
(
params
)
{
let
keys
=
[]
let
keys
=
[]
let
obj
=
[]
let
obj
=
[]
Object
.
keys
(
params
).
forEach
(
item
=>
{
Object
.
keys
(
params
).
forEach
(
item
=>
{
...
@@ -2303,24 +2027,24 @@ export default {
...
@@ -2303,24 +2027,24 @@ export default {
return
obj
.
join
(
'&'
).
replace
(
/,/g
,
'-'
)
return
obj
.
join
(
'&'
).
replace
(
/,/g
,
'-'
)
},
},
// 恢复规格值
// 恢复规格值
recoverySpec
()
{
recoverySpec
()
{
this
.
changeSpecs
(
true
)
this
.
changeSpecs
(
true
)
},
},
//规格-秒杀价输入控制
//规格-秒杀价输入控制
activityPrice_input
(
val
,
maxValue
)
{
activityPrice_input
(
val
,
maxValue
)
{
return
this
.
limitPriceForInput
(
val
,
5
,
2
,
0
,
maxValue
)
return
this
.
limitPriceForInput
(
val
,
5
,
2
,
0
,
maxValue
)
},
},
//规格-活动库存输入控制
//规格-活动库存输入控制
goodsStock_input
(
val
,
maxValue
)
{
goodsStock_input
(
val
,
maxValue
)
{
return
this
.
limitPriceForInput
(
val
,
5
,
0
,
0
,
maxValue
)
return
this
.
limitPriceForInput
(
val
,
5
,
0
,
0
,
maxValue
)
},
},
// 音乐
// 音乐
handleMusicUpload
()
{
},
handleMusicUpload
()
{
},
musicUpload
(
e
,
targetItem
)
{
musicUpload
(
e
,
targetItem
)
{
var
reader
=
new
FileReader
()
var
reader
=
new
FileReader
()
var
file
=
e
var
file
=
e
// 默认1MB
// 默认1MB
...
@@ -2359,7 +2083,7 @@ export default {
...
@@ -2359,7 +2083,7 @@ export default {
},
},
// 音乐
// 音乐
handleMusic
(
targetItem
,
idx
)
{
handleMusic
(
targetItem
,
idx
)
{
// stop-音频结束;play-音频播放
// stop-音频结束;play-音频播放
var
playFlag
=
this
.
playObj
.
idx
!=
-
1
&&
this
.
playObj
.
idx
==
idx
?
'stop'
:
'play'
var
playFlag
=
this
.
playObj
.
idx
!=
-
1
&&
this
.
playObj
.
idx
==
idx
?
'stop'
:
'play'
var
audioDom
=
document
.
getElementById
(
'music-audio'
)
var
audioDom
=
document
.
getElementById
(
'music-audio'
)
...
@@ -2379,12 +2103,12 @@ export default {
...
@@ -2379,12 +2103,12 @@ export default {
})
})
},
},
stopMusic
()
{
stopMusic
()
{
this
.
playObj
.
idx
=
-
1
this
.
playObj
.
idx
=
-
1
this
.
playObj
.
src
=
''
this
.
playObj
.
src
=
''
},
},
handleMusicChange
(
idx
)
{
handleMusicChange
(
idx
)
{
this
.
musicList
.
forEach
((
item
,
index
)
=>
{
this
.
musicList
.
forEach
((
item
,
index
)
=>
{
if
(
index
!=
idx
)
{
if
(
index
!=
idx
)
{
item
.
isCheck
=
false
item
.
isCheck
=
false
...
@@ -2394,23 +2118,23 @@ export default {
...
@@ -2394,23 +2118,23 @@ export default {
this
.
editForm
.
activityMusic
=
this
.
musicList
[
idx
].
isCheck
?
this
.
musicList
[
idx
].
addr
:
''
this
.
editForm
.
activityMusic
=
this
.
musicList
[
idx
].
isCheck
?
this
.
musicList
[
idx
].
addr
:
''
},
},
handleMusicBeforeUpload
(
file
,
targetItem
)
{
handleMusicBeforeUpload
(
file
,
targetItem
)
{
this
.
stopMusic
()
this
.
stopMusic
()
this
.
musicUpload
(
file
,
targetItem
)
this
.
musicUpload
(
file
,
targetItem
)
},
},
handleMusicDelete
(
targetItem
)
{
handleMusicDelete
(
targetItem
)
{
this
.
$set
(
this
.
editForm
,
targetItem
.
name
,
''
)
this
.
$set
(
this
.
editForm
,
targetItem
.
name
,
''
)
this
.
fileList
=
[]
this
.
fileList
=
[]
},
},
// 表单设置
// 表单设置
handleDescribeAdd
()
{
handleDescribeAdd
()
{
this
.
formDescribeList
.
push
({
this
.
formDescribeList
.
push
({
value
:
''
value
:
''
})
})
},
},
handleDescribeDelete
(
idx
)
{
handleDescribeDelete
(
idx
)
{
this
.
$messageBox
.
confirm
(
'是否删除该表单设置?'
,
'删除'
,
{
this
.
$messageBox
.
confirm
(
'是否删除该表单设置?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -2423,13 +2147,13 @@ export default {
...
@@ -2423,13 +2147,13 @@ export default {
})
})
},
},
listAddIdx
(
list
)
{
listAddIdx
(
list
)
{
list
.
forEach
((
item
,
index
)
=>
{
list
.
forEach
((
item
,
index
)
=>
{
item
.
idx
=
index
item
.
idx
=
index
})
})
},
},
dealItem
(
attr
,
formAttr
)
{
dealItem
(
attr
,
formAttr
)
{
switch
(
attr
)
{
switch
(
attr
)
{
case
'services'
:
case
'services'
:
break
break
...
@@ -2442,7 +2166,7 @@ export default {
...
@@ -2442,7 +2166,7 @@ export default {
},
},
// 服务说明,商品答疑,服务评价
// 服务说明,商品答疑,服务评价
handleAddItem
(
attr
,
formAttr
,
limitNum
)
{
handleAddItem
(
attr
,
formAttr
,
limitNum
)
{
if
(
this
.
editForm
[
formAttr
].
length
>=
limitNum
)
{
if
(
this
.
editForm
[
formAttr
].
length
>=
limitNum
)
{
return
true
return
true
}
}
...
@@ -2451,7 +2175,7 @@ export default {
...
@@ -2451,7 +2175,7 @@ export default {
this
.
dealItem
(
attr
,
formAttr
)
this
.
dealItem
(
attr
,
formAttr
)
},
},
handleDeleteItem
(
attr
,
formAttr
,
idx
)
{
handleDeleteItem
(
attr
,
formAttr
,
idx
)
{
this
.
$confirm
(
'是否删除该项?'
,
'删除'
,
{
this
.
$confirm
(
'是否删除该项?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -2494,7 +2218,7 @@ export default {
...
@@ -2494,7 +2218,7 @@ export default {
// })
// })
// },
// },
getInfo
()
{
getInfo
()
{
this
.
loading
=
true
this
.
loading
=
true
this
.
reportFlag
=
'1'
this
.
reportFlag
=
'1'
this
.
$apis
.
seckillActivity
this
.
$apis
.
seckillActivity
...
@@ -2615,7 +2339,7 @@ export default {
...
@@ -2615,7 +2339,7 @@ export default {
})
})
},
},
copyReset
(
arr
)
{
copyReset
(
arr
)
{
let
val
=
{
let
val
=
{
array
:
[],
array
:
[],
Object
:
{},
Object
:
{},
...
@@ -2626,7 +2350,7 @@ export default {
...
@@ -2626,7 +2350,7 @@ export default {
})
})
},
},
validateRules
()
{
validateRules
()
{
if
(
this
.
specificationDetailList
.
length
)
{
if
(
this
.
specificationDetailList
.
length
)
{
this
.
editRule
.
activityPrice
[
0
].
required
=
false
this
.
editRule
.
activityPrice
[
0
].
required
=
false
this
.
editRule
.
goodsStock
[
0
].
required
=
false
this
.
editRule
.
goodsStock
[
0
].
required
=
false
...
@@ -2636,7 +2360,7 @@ export default {
...
@@ -2636,7 +2360,7 @@ export default {
}
}
},
},
getCouponInfoParams
()
{
getCouponInfoParams
()
{
var
_this
=
this
var
_this
=
this
var
param
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
var
param
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
param
.
marketingType
=
3
param
.
marketingType
=
3
...
@@ -2738,20 +2462,20 @@ export default {
...
@@ -2738,20 +2462,20 @@ export default {
},
},
// 服务说明
// 服务说明
handleArrow
(
attr
)
{
handleArrow
(
attr
)
{
this
.
arrowFlagObj
[
attr
]
=
this
.
arrowFlagObj
[
attr
]
==
'open'
?
'close'
:
'open'
this
.
arrowFlagObj
[
attr
]
=
this
.
arrowFlagObj
[
attr
]
==
'open'
?
'close'
:
'open'
},
},
handleWechat
()
{
handleWechat
()
{
this
.
wechatVisible
=
!
this
.
wechatVisible
this
.
wechatVisible
=
!
this
.
wechatVisible
},
},
// 跳转
// 跳转
whereToGo
(
id
)
{
whereToGo
(
id
)
{
document
.
getElementById
(
id
).
scrollIntoView
()
document
.
getElementById
(
id
).
scrollIntoView
()
},
},
checkValid
(
validList
)
{
checkValid
(
validList
)
{
for
(
let
i
=
0
;
i
<
validList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
validList
.
length
;
i
++
)
{
let
item
=
validList
[
i
]
let
item
=
validList
[
i
]
if
(
item
.
valid
)
{
if
(
item
.
valid
)
{
...
@@ -2762,7 +2486,7 @@ export default {
...
@@ -2762,7 +2486,7 @@ export default {
return
true
return
true
},
},
addOrUpdate
()
{
addOrUpdate
()
{
this
.
loading
=
true
this
.
loading
=
true
var
params
=
this
.
getCouponInfoParams
()
var
params
=
this
.
getCouponInfoParams
()
this
.
$apis
.
seckillActivity
this
.
$apis
.
seckillActivity
...
@@ -2782,7 +2506,7 @@ export default {
...
@@ -2782,7 +2506,7 @@ export default {
},
},
// 去掉list空值
// 去掉list空值
delListAllEmpty
(
listName
,
attrParamsList
)
{
delListAllEmpty
(
listName
,
attrParamsList
)
{
if
(
!
this
.
editForm
[
listName
].
length
)
{
if
(
!
this
.
editForm
[
listName
].
length
)
{
return
this
.
editForm
[
listName
]
return
this
.
editForm
[
listName
]
}
}
...
@@ -2805,7 +2529,7 @@ export default {
...
@@ -2805,7 +2529,7 @@ export default {
return
list
return
list
},
},
handleConfirm
()
{
handleConfirm
()
{
this
.
stopMusic
()
this
.
stopMusic
()
this
.
editForm
.
activityServices
=
this
.
delListAllEmpty
(
'activityServices'
,
[
'title'
,
'content'
])
this
.
editForm
.
activityServices
=
this
.
delListAllEmpty
(
'activityServices'
,
[
'title'
,
'content'
])
this
.
editForm
.
activityCommoditys
=
this
.
delListAllEmpty
(
'activityCommoditys'
,
[
'question'
,
'answer'
])
this
.
editForm
.
activityCommoditys
=
this
.
delListAllEmpty
(
'activityCommoditys'
,
[
'question'
,
'answer'
])
...
@@ -2895,12 +2619,12 @@ export default {
...
@@ -2895,12 +2619,12 @@ export default {
})
})
})
})
},
},
cancelJump
()
{
cancelJump
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/seckillActivity/crowdFundList'
path
:
'/seckillActivity/crowdFundList'
})
})
},
},
handleCancel
()
{
handleCancel
()
{
if
(
this
.
editStatus
)
{
if
(
this
.
editStatus
)
{
this
.
$confirm
(
'当前有内容信息未保存,是否继续返回?'
,
'提示'
,
{
this
.
$confirm
(
'当前有内容信息未保存,是否继续返回?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -2916,7 +2640,7 @@ export default {
...
@@ -2916,7 +2640,7 @@ export default {
}
}
},
},
//获取跟进员工
//获取跟进员工
getLiveList
()
{
getLiveList
()
{
this
.
$apis
.
seckillActivity
.
getLiveListApi
({}).
then
(
res
=>
{
this
.
$apis
.
seckillActivity
.
getLiveListApi
({}).
then
(
res
=>
{
if
(
res
.
length
==
0
)
return
''
if
(
res
.
length
==
0
)
return
''
const
index
=
this
.
liveEditFormData
.
findIndex
(
item
=>
{
const
index
=
this
.
liveEditFormData
.
findIndex
(
item
=>
{
...
@@ -2932,7 +2656,7 @@ export default {
...
@@ -2932,7 +2656,7 @@ export default {
})
})
},
},
// 定金收款账户
// 定金收款账户
getPayList
()
{
getPayList
()
{
this
.
$apis
.
seckillActivity
.
getPayListApi
({}).
then
(
res
=>
{
this
.
$apis
.
seckillActivity
.
getPayListApi
({}).
then
(
res
=>
{
this
.
configEditFormData
.
find
(
item
=>
item
.
name
==
'paymentAccountId'
).
optionList
=
res
this
.
configEditFormData
.
find
(
item
=>
item
.
name
==
'paymentAccountId'
).
optionList
=
res
this
.
editForm
.
paymentAccountId
=
this
.
editForm
.
paymentAccountId
||
res
.
find
(
item
=>
item
.
isDefault
==
'Y'
).
id
this
.
editForm
.
paymentAccountId
=
this
.
editForm
.
paymentAccountId
||
res
.
find
(
item
=>
item
.
isDefault
==
'Y'
).
id
...
...
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