Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
1b210808
Commit
1b210808
authored
Nov 20, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9973ea45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
44 deletions
+86
-44
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+60
-28
WorkEntrustmentMy.vue
src/pages/financial/financalDocument/WorkEntrustmentMy.vue
+26
-16
No files found.
src/pages/financial/financalDocument/FinancialDocuments.vue
View file @
1b210808
...
...
@@ -678,7 +678,7 @@
<span>
<em>
{{
$t
(
'system.query_company'
)
}}
</em>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment()"
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',getDepartment(
msg.RB_Branch_Id
)"
class=
"w150"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.SName'
:value=
'item.SId'
:key=
'item.SId'
>
...
...
@@ -690,10 +690,10 @@
<span>
<em>
{{
$t
(
'fnc.fybumen'
)
}}
</em>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
@
change=
"employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(),msg.UpdateBy=''"
class=
"w150"
>
@
change=
"employeeMsg.DepartmentId=msg.RB_Depart_Id,getEmployee(
msg.RB_Depart_Id
),msg.UpdateBy=''"
class=
"w150"
>
<el-option
:value=
"0"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in DepartmentList'
:label=
'item.Dep
artmentName'
:value=
'item.DepartmentID
'
:key=
'item.Dep
artmentID
'
>
<el-option
v-for=
'item in DepartmentList'
:label=
'item.Dep
tName'
:value=
'item.DeptId
'
:key=
'item.Dep
tId
'
>
</el-option>
</el-select>
</span>
...
...
@@ -703,8 +703,8 @@
<em>
{{
$t
(
'fnc.zdrenyuan'
)
}}
</em>
<el-select
filterable
v-model=
'msg.UpdateBy'
class=
"w150"
>
<el-option
:value=
"0"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in EmployeeList'
:label=
'item.Em
Name'
:value=
'item.Employee
Id'
:key=
'item.
Employee
Id'
>
<el-option
v-for=
'item in EmployeeList'
:label=
'item.Em
ployeeName'
:value=
'item.
Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</span>
...
...
@@ -1053,9 +1053,9 @@
<el-select
v-model=
"zhuanMsg.AuditEmId"
filterable
remote
reserve-keyword
:placeholder=
"$t('pub.pleaseImport')"
:remote-method=
"remoteMethod"
@
change=
"$forceUpdate()"
:loading=
"loading2"
>
<el-option
v-for=
"item in searchList"
:key=
"item.
empId"
:label=
"item.name"
:value=
"item.emp
Id"
>
<span
style=
"float: left"
>
{{
item
.
n
ame
}}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{
item
.
pos
tName
}}
</span>
<el-option
v-for=
"item in searchList"
:key=
"item.
Id"
:label=
"item.EmployeeName"
:value=
"item.
Id"
>
<span
style=
"float: left"
>
{{
item
.
EmployeeN
ame
}}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{
item
.
Dep
tName
}}
</span>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1230,9 +1230,16 @@
import
myrbvBill
from
"../components/ReceivablesModule.vue"
;
import
myhrBill
from
"../components/MergeBillModule.vue"
;
import
myGZBill
from
"../components/GZBillModule.vue"
;
import
{
queryEmployee
}
from
'../../../api/users/user'
import
{
getDeptPage
,
}
from
'../../../api/system/dept'
import
{
getSchoolPage
}
from
'../../../api/school/index'
export
default
{
data
()
{
return
{
...
...
@@ -1470,8 +1477,8 @@
this
.
FinancialFlowTemplate_post_GetList
();
this
.
getCompanyList
();
this
.
Financial_post_GetConditionList
();
this
.
getEmployee
();
this
.
getDepartment
();
this
.
getEmployee
(
0
);
this
.
getDepartment
(
0
);
this
.
Financial_post_GetBranchAccountList
();
this
.
financeinfo_post_GetClientTypeList
();
this
.
FinancialFlowTemplate_post_GetStatusList
();
...
...
@@ -1809,14 +1816,22 @@
remoteMethod
(
query
)
{
// 转交人模糊查询
if
(
query
!==
''
||
this
.
addShow
)
{
this
.
loading2
=
true
;
this
.
apipost
(
"admin_Get_Chat_All_SelectEmpName"
,
{
EmName
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
searchList
=
res
.
data
.
data
;
this
.
loading
=
true
;
var
qMsg
=
{
EmployeeName
:
0
}
qMsg
.
EmployeeName
=
query
;
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
searchList
=
res
.
Data
;
this
.
loading2
=
false
;
this
.
loading
=
false
;
}
},
err
=>
{});
}).
catch
(()
=>
{
})
}
else
{
this
.
searchList
=
[];
this
.
loading2
=
false
;
...
...
@@ -2142,19 +2157,36 @@
this
.
msg
.
EmployeeId
=
this
.
userId
;
this
.
GetLocalFile
(
"Financial_get_OutToFinanceList"
,
this
.
msg
,
this
.
$t
(
'fnc.cwbaobiao'
)
+
".xls"
);
},
getDepartment
()
{
//部门
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
getDepartmentMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DepartmentList
=
res
.
data
.
data
;
}
},
err
=>
{})
getDepartment
(
id
)
{
//部门
let
msg
=
{
pageIndex
:
1
,
pageSize
:
999
,
rowsPerPage
:
12
,
DeptName
:
""
,
//部门名称
DeptId
:
0
,
//部门编号
Status
:
"-1"
,
School_Id
:
0
,
DeptTier
:
0
,
ParentId
:
0
,
}
msg
.
School_Id
=
id
;
getDeptPage
(
msg
).
then
(
res
=>
{
this
.
DepartmentList
=
res
.
Data
.
PageData
;
}).
catch
(()
=>
{
})
},
getEmployee
()
{
//员工
this
.
apipost
(
'admin_get_EmployeeGetList'
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
getEmployee
(
id
)
{
//员工
var
qMsg
=
{
Dept_Id
:
0
}
qMsg
.
Dept_Id
=
id
;
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
EmployeeList
=
res
.
Data
;
}
},
err
=>
{})
}).
catch
(()
=>
{
})
},
getCompanyList
()
{
//获取公司列表
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
...
...
src/pages/financial/financalDocument/WorkEntrustmentMy.vue
View file @
1b210808
...
...
@@ -105,11 +105,11 @@
<el-form-item
label=
"受委托人:"
>
<el-select
v-model=
'addMsg.reciveEmpId'
filterable
remote
reserve-keyword
placeholder=
"请输入关键词"
:remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-option
v-for=
'item in searchList'
:label=
'item.
n
ame'
:value=
'item.
emp
Id'
:key=
'item.
emp
Id'
>
<span
style=
"float: left"
>
{{ item.
n
ame }}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{ item.
departmen
tName }}
</span>
:label=
'item.
EmployeeN
ame'
:value=
'item.Id'
:key=
'item.Id'
>
<span
style=
"float: left"
>
{{ item.
EmployeeN
ame }}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{ item.
Dep
tName }}
</span>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -135,6 +135,9 @@
</div>
</template>
<
script
>
import
{
queryEmployee
}
from
'../../../api/users/user'
export
default
{
data
(){
return
{
...
...
@@ -260,18 +263,25 @@ export default {
remoteMethod
(
query
)
{
// 远程搜索
if
(
query
!==
''
)
{
this
.
loading
=
true
;
this
.
apipost
(
"admin_Get_Chat_All_SelectEmpName"
,{
EmName
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
.
length
>
1
)
{
this
.
searchList
=
[];
}
this
.
searchList
=
res
.
data
.
data
;
this
.
searchList
.
forEach
((
x
,
index
)
=>
{
this
.
$set
(
this
.
searchList
,
index
,
x
);
});
this
.
loading
=
false
;
var
qMsg
=
{
EmployeeName
:
0
}
qMsg
.
EmployeeName
=
query
;
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
if
(
res
.
Data
.
length
>
1
)
{
this
.
searchList
=
[];
}
},
err
=>
{})
this
.
searchList
=
res
.
Data
;
this
.
searchList
.
forEach
((
x
,
index
)
=>
{
this
.
$set
(
this
.
searchList
,
index
,
x
);
});
this
.
loading
=
false
;
}
}).
catch
(()
=>
{
})
}
}
},
...
...
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