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
eebccb63
Commit
eebccb63
authored
Nov 20, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加全选
parent
82b59095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
7 deletions
+33
-7
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+33
-7
No files found.
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
eebccb63
...
...
@@ -135,9 +135,9 @@
</ul>
</div>
<div
class=
"cm_content"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading
Table
"
>
<tr>
<th></th>
<th><
input
type=
"checkbox"
v-model=
"isCheckAll"
@
change=
"checkAllOrder()"
/><
/th>
<th>
{{
$t
(
'system.query_company'
)
}}
</th>
<th>
{{
$t
(
'fnc.danhao'
)
}}
</th>
<th>
{{
$t
(
'fnc.a_zhaiyao'
)
}}
</th>
...
...
@@ -376,6 +376,7 @@ export default {
ClientAccountList
:[],
GetCostTypeList
:[],
CompanyList
:[],
loadingTable
:
false
,
loading
:
false
,
date
:
''
,
accType
:
''
,
...
...
@@ -416,6 +417,8 @@ export default {
allBPrice
:
0
,
allWPrice
:
0
,
userInfo
:{},
//是否全选
isCheckAll
:
false
,
}
},
created
(){
...
...
@@ -548,7 +551,7 @@ export default {
},
getList
(){
//获取列表
this
.
checkList
=
[];
// this.loading
= true
this
.
loadingTable
=
true
if
(
this
.
msg
.
ClientID
==
''
){
this
.
msg
.
ClientID
=
0
;
}
...
...
@@ -561,8 +564,7 @@ export default {
}
this
.
allMoney
=
''
;
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loadingTable
=
false
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
if
(
data
.
length
){
...
...
@@ -602,8 +604,7 @@ export default {
this
.
msg
.
ClientID
=
''
;
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
loading
=
false
;
this
.
Error
(
res
.
data
.
message
)
if
(
this
.
msg
.
ClientID
==
0
){
this
.
msg
.
ClientID
=
''
;
}
...
...
@@ -837,6 +838,31 @@ export default {
})
}
},
//点击全选
checkAllOrder
(){
this
.
checkList
=
[]
if
(
this
.
isCheckAll
){
this
.
DataList
.
forEach
(
x
=>
{
x
.
check
=
true
;
})
}
else
{
this
.
DataList
.
forEach
(
x
=>
{
x
.
check
=
false
;
})
}
this
.
DataList
.
forEach
((
x
,
index
)
=>
{
if
(
x
.
check
){
this
.
checkList
[
index
]
=
{
FinanceId
:
x
.
FinanceId
,
Type
:
x
.
Type
,
ClientID
:
x
.
ClientID
,
ClientType
:
x
.
ClientType
,
OriginalMoney
:
x
.
OriginalMoney
,
Money
:
x
.
Money
,
}
}
})
},
addChuNaFun
(){
// 添加出纳按钮点击事件
let
count
=
0
;
let
allBPrice
=
0
;
...
...
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