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
aa1afbb2
Commit
aa1afbb2
authored
Sep 24, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
a8d229dc
3a4e18e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
OPRules.vue
src/components/FinancialModule/OPRules.vue
+12
-10
No files found.
src/components/FinancialModule/OPRules.vue
View file @
aa1afbb2
...
@@ -107,11 +107,11 @@
...
@@ -107,11 +107,11 @@
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<
!--
<
el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"描述"
>
<el-form-item
label=
"描述"
>
<el-input
class=
"w220"
v-model=
"form.Description"
></el-input>
<el-input
class=
"w220"
v-model=
"form.Description"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -236,6 +236,7 @@ export default {
...
@@ -236,6 +236,7 @@ export default {
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getDepartment
();
},
},
methods
:{
methods
:{
...
@@ -294,7 +295,7 @@ export default {
...
@@ -294,7 +295,7 @@ export default {
FInternMoney
:
item
.
FInternMoney
,
FInternMoney
:
item
.
FInternMoney
,
}
}
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
getDepartment
();
this
.
getLineTeamList
();
this
.
getLineTeamList
();
},
},
RulesOk
(
formName
){
RulesOk
(
formName
){
...
@@ -307,10 +308,10 @@ export default {
...
@@ -307,10 +308,10 @@ export default {
this
.
Error
(
"请选择分负责OP!"
)
this
.
Error
(
"请选择分负责OP!"
)
return
;
return
;
}
}
if
(
this
.
form
.
FZLEmployeeIdList
.
length
==
0
){
//
if(this.form.FZLEmployeeIdList.length==0){
this
.
Error
(
"请选择分助理!"
)
//
this.Error("请选择分助理!")
return
;
//
return;
}
//
}
if
(
this
.
form
.
FInternMoney
==
0
){
if
(
this
.
form
.
FInternMoney
==
0
){
this
.
Error
(
"请填写分负责人金额!"
)
this
.
Error
(
"请填写分负责人金额!"
)
return
;
return
;
...
@@ -415,9 +416,9 @@ export default {
...
@@ -415,9 +416,9 @@ export default {
linkageDepartment
(
val
){
linkageDepartment
(
val
){
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
departmentList
=
[];
//
this.departmentList=[];
this
.
form
.
DepartmentId
=-
1
;
this
.
form
.
DepartmentId
=-
1
;
this
.
getDepartment
();
//
this.getDepartment();
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
0
){
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
0
){
this
.
stateShow
=
false
;
this
.
stateShow
=
false
;
...
@@ -432,12 +433,13 @@ export default {
...
@@ -432,12 +433,13 @@ export default {
},
},
getDepart
(
id
){
getDepart
(
id
){
this
.
form
.
DepartmentId
=
id
;
this
.
form
.
DepartmentId
=
id
;
this
.
$forceUpdate
();
//
this.$forceUpdate();
},
},
getDepartment
()
{
getDepartment
()
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
departmentMsg
,
res
=>
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
departmentMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
departmentList
=
res
.
data
.
data
;
this
.
departmentList
=
res
.
data
.
data
;
console
.
log
(
"this.departmentList"
,
this
.
departmentList
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
...
...
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