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
e6fdab85
Commit
e6fdab85
authored
Nov 17, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改再国内规则里如果是自定义的话飞猪可以多选
parent
8bfc1337
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
domesticCommissionRule.vue
src/components/FinancialModule/domesticCommissionRule.vue
+19
-5
No files found.
src/components/FinancialModule/domesticCommissionRule.vue
View file @
e6fdab85
...
...
@@ -144,7 +144,7 @@
:value=
"item.Id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"人员选择:"
v-if=
" addMsg.Type==3"
>
<el-form-item
label=
"人员选择:"
v-if=
" addMsg.Type==3"
:prop=
"'TempTypeList.'+ y +'.Id'"
:rules=
"productGroupRules2.Id"
>
<el-select
v-model=
"x.Id"
filterable
...
...
@@ -209,8 +209,9 @@
</div>
</div>
<el-button
v-if=
"TeamListArr.length>addMsg.TempTypeList.length"
size=
"mini"
type=
"primary"
<el-button
v-if=
"TeamListArr.length>addMsg.TempTypeList.length
|| addMsg.Type==3
"
size=
"mini"
type=
"primary"
class=
"el-icon-circle-plus-outline"
circle
@
click=
"addTempTypeList"
></el-button>
</el-form-item>
</el-form>
...
...
@@ -285,6 +286,13 @@
}],
},
productGroupRules2
:{
Id
:
[{
required
:
true
,
message
:
'请选择人员'
,
trigger
:
'change'
}],
},
productGroupRules
:
{
Id
:
[{
...
...
@@ -292,6 +300,7 @@
message
:
'请选择团队类型'
,
trigger
:
'change'
}],
Money
:
[{
required
:
true
,
message
:
'不能为空'
,
...
...
@@ -397,7 +406,9 @@
this
.
searchList
.
push
({
empId
:
x
.
Id
,
name
:
x
.
Name
,
postName
:
''
})
}
})
this
.
isshowfeizhu
()
if
(
this
.
addMsg
.
Type
!=
3
){
this
.
isshowfeizhu
()
//检测是否有飞猪 如果有就不能选择第二个
}
this
.
selectdis
()
this
.
ruleVisible
=
true
;
...
...
@@ -448,7 +459,7 @@
let
isdisabled
=
false
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
TempTypeList
.
length
;
i
++
){
let
x
=
this
.
addMsg
.
TempTypeList
[
i
]
if
(
x
.
SourceType
==
2
){
if
(
x
.
SourceType
==
2
&&
this
.
addMsg
.
Type
!=
3
){
isdisabled
=
true
break
}
...
...
@@ -517,7 +528,10 @@
this
.
addMsg
.
TempTypeList
[
index
].
Id
=
''
this
.
addMsg
.
TempTypeList
[
index
].
Name
=
''
}
this
.
isshowfeizhu
()
//检测是否有飞猪 如果有就不能选择第二个
if
(
this
.
addMsg
.
Type
!=
3
){
this
.
isshowfeizhu
()
//检测是否有飞猪 如果有就不能选择第二个
}
this
.
selectdis
()
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