Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
21fcee80
Commit
21fcee80
authored
Nov 16, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6889e3e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
domesticCommissionRule.vue
src/components/FinancialModule/domesticCommissionRule.vue
+16
-8
No files found.
src/components/FinancialModule/domesticCommissionRule.vue
View file @
21fcee80
...
@@ -119,6 +119,7 @@
...
@@ -119,6 +119,7 @@
<el-radio
v-model=
"addMsg.Type"
label=
"1"
>
销售
</el-radio>
<el-radio
v-model=
"addMsg.Type"
label=
"1"
>
销售
</el-radio>
<el-radio
v-model=
"addMsg.Type"
label=
"2"
style=
"margin-right: 20px;"
>
OP
</el-radio>
<el-radio
v-model=
"addMsg.Type"
label=
"2"
style=
"margin-right: 20px;"
>
OP
</el-radio>
<el-radio
v-model=
"addMsg.Type"
label=
"3"
style=
"margin-right: 20px;"
>
自定义人员
</el-radio>
<el-radio
v-model=
"addMsg.Type"
label=
"3"
style=
"margin-right: 20px;"
>
自定义人员
</el-radio>
<span
style=
"font-size: 12px;color:red"
>
(*注:自定义人员将会跟随 OP规则设置的团队类型匹配)
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"提成比例表"
>
<el-form-item
label=
"提成比例表"
>
...
@@ -143,7 +144,7 @@
...
@@ -143,7 +144,7 @@
:value=
"item.Id"
></el-option>
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"人员选择:"
v-if=
"
x.SourceType==1 &&
addMsg.Type==3"
>
<el-form-item
label=
"人员选择:"
v-if=
" addMsg.Type==3"
>
<el-select
<el-select
v-model=
"x.Id"
v-model=
"x.Id"
filterable
filterable
...
@@ -396,6 +397,7 @@
...
@@ -396,6 +397,7 @@
this
.
searchList
.
push
({
empId
:
x
.
Id
,
name
:
x
.
Name
,
postName
:
''
})
this
.
searchList
.
push
({
empId
:
x
.
Id
,
name
:
x
.
Name
,
postName
:
''
})
}
}
})
})
this
.
isshowfeizhu
()
this
.
selectdis
()
this
.
selectdis
()
this
.
ruleVisible
=
true
;
this
.
ruleVisible
=
true
;
...
@@ -485,11 +487,7 @@
...
@@ -485,11 +487,7 @@
}
}
});
});
},
},
getSType
(
index
){
//选了飞猪之后 后面的不能选飞猪了
isshowfeizhu
(){
if
(
this
.
addMsg
.
TempTypeList
[
index
].
SourceType
==
1
){
this
.
addMsg
.
TempTypeList
[
index
].
Id
=
''
this
.
addMsg
.
TempTypeList
[
index
].
Name
=
''
}
let
isfeizhu
=
false
let
isfeizhu
=
false
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
TempTypeList
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
TempTypeList
.
length
;
i
++
){
let
x
=
this
.
addMsg
.
TempTypeList
[
i
]
let
x
=
this
.
addMsg
.
TempTypeList
[
i
]
...
@@ -501,8 +499,11 @@
...
@@ -501,8 +499,11 @@
if
(
isfeizhu
==
true
){
if
(
isfeizhu
==
true
){
if
(
x
.
SourceType
==
2
){
if
(
x
.
SourceType
==
2
){
x
.
STdisabled
=
false
;
x
.
STdisabled
=
false
;
if
(
this
.
addMsg
.
Type
!=
3
){
x
.
Id
=
0
;
x
.
Id
=
0
;
x
.
Name
=
'飞猪'
x
.
Name
=
'飞猪'
}
}
else
{
}
else
{
x
.
STdisabled
=
true
x
.
STdisabled
=
true
}
}
...
@@ -510,6 +511,13 @@
...
@@ -510,6 +511,13 @@
x
.
STdisabled
=
false
x
.
STdisabled
=
false
}
}
})
})
},
getSType
(
index
){
//选了飞猪之后 后面的不能选飞猪了
if
(
this
.
addMsg
.
TempTypeList
[
index
].
SourceType
==
1
&&
this
.
addMsg
.
Type
!=
3
){
this
.
addMsg
.
TempTypeList
[
index
].
Id
=
''
this
.
addMsg
.
TempTypeList
[
index
].
Name
=
''
}
this
.
isshowfeizhu
()
//检测是否有飞猪 如果有就不能选择第二个
this
.
selectdis
()
this
.
selectdis
()
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
...
...
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