Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clique-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clique
clique-web
Commits
ffa3b636
Commit
ffa3b636
authored
Jun 23, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 特殊积分策略
parent
10760c8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
8 deletions
+26
-8
addPointSystem.vue
src/view/companyGroup/membershipSystem/addPointSystem.vue
+26
-8
No files found.
src/view/companyGroup/membershipSystem/addPointSystem.vue
View file @
ffa3b636
...
@@ -19,15 +19,15 @@
...
@@ -19,15 +19,15 @@
<el-switch
v-model=
"item.openStatus"
>
</el-switch>
<el-switch
v-model=
"item.openStatus"
>
</el-switch>
<span
class=
"setting-tips"
>
客户在线下门店产生的订单
</span>
<span
class=
"setting-tips"
>
客户在线下门店产生的订单
</span>
<div
class=
"form-child"
v-if=
"item.openStatus"
:key=
"index"
>
<div
class=
"form-child"
v-if=
"item.openStatus"
:key=
"index"
>
<el-form-item
label=
"选择商户:"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<
!--
<
el-form-item
label=
"选择商户:"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<el-select
size=
"small"
v-model=
"item.enterpriseRelationIdArr"
placeholder=
"请选择"
multiple
@
change=
"onStoreChange(item)"
>
<el-select
size=
"small"
v-model=
"item.enterpriseRelationIdArr"
placeholder=
"请选择"
multiple
@
change=
"onStoreChange(item)"
>
<el-option
v-for=
"(item, ind) in mechantOption"
:key=
"ind"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
<el-option
v-for=
"(item, ind) in mechantOption"
:key=
"ind"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item
v-if=
"Array.isArray(item.enterpriseRelationIdArr) && item.enterpriseRelationIdArr.length > 0"
label=
"消费门店:"
prop=
"region"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<el-form-item
label=
"消费门店:"
prop=
"region"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<dm-store-selector
:isClique=
"true"
:scenesVal=
"scencs"
:options=
"options"
:isAdd=
"isAdd"
:uuid
.
sync=
"uuid"
ref=
"storeGroup"
></dm-store-selector>
<dm-store-selector
:isClique=
"true"
:scenesVal=
"scencs"
:options=
"options"
:isAdd=
"isAdd"
:uuid
.
sync=
"uuid"
ref=
"storeGroup"
></dm-store-selector>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"Array.isArray(item.enterpriseRelationIdArr) && item.enterpriseRelationIdArr.length > 0"
label=
"适用商品:"
prop=
"name"
class=
"padding-0"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<el-form-item
label=
"适用商品:"
prop=
"name"
class=
"padding-0"
label-width=
"85px"
style=
"margin-bottom: 20px"
>
<el-select
v-model=
"item.channelRelationProType"
placeholder=
"请选择"
@
change=
"changeGood($event)"
>
<el-select
v-model=
"item.channelRelationProType"
placeholder=
"请选择"
@
change=
"changeGood($event)"
>
<el-option
v-for=
"item in applyGoods"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
<el-option
v-for=
"item in applyGoods"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-select>
...
@@ -721,17 +721,35 @@ export default {
...
@@ -721,17 +721,35 @@ export default {
}
}
if
(
data
.
channelList
[
i
].
channelType
==
3
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
if
(
data
.
channelList
[
i
].
channelType
==
3
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
flag
=
false
;
obj
.
text
=
'请选择商户'
;
obj
.
text
=
'请选择线下渠道的商户'
;
return
obj
;
}
}
if
(
data
.
channelList
[
i
].
channelType
==
1
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
if
(
data
.
channelList
[
i
].
channelType
==
1
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
flag
=
false
;
obj
.
text
=
'请选择商户'
;
obj
.
text
=
'请选择达摩微商城的商户'
;
return
obj
;
}
}
if
(
data
.
channelList
[
i
].
channelType
==
9
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
if
(
data
.
channelList
[
i
].
channelType
==
9
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
flag
=
false
;
obj
.
text
=
'请选择商户'
;
obj
.
text
=
'请选择微盟渠道的商户'
;
return
obj
;
}
if
(
data
.
channelList
[
i
].
channelType
==
8
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
text
=
'请选择天猫渠道的商户'
;
return
obj
;
}
if
(
data
.
channelList
[
i
].
channelType
==
11
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
text
=
'请选择抖音渠道的商户'
;
return
obj
;
}
if
(
data
.
channelList
[
i
].
channelType
==
10
&&
!
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
)
{
obj
.
flag
=
false
;
obj
.
text
=
'请选择其他渠道的商户'
;
return
obj
;
}
}
if
(
data
.
channelList
[
i
].
channelType
==
3
)
{
if
(
data
.
channelList
[
i
].
channelType
==
3
&&
data
.
channelList
[
i
].
enterpriseRelationIdArr
.
length
>
0
)
{
const
storeGroupDom
=
this
.
$refs
.
storeGroup
;
const
storeGroupDom
=
this
.
$refs
.
storeGroup
;
let
flag
=
null
;
let
flag
=
null
;
if
(
storeGroupDom
instanceof
Array
)
{
if
(
storeGroupDom
instanceof
Array
)
{
...
...
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