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
06320ca7
Commit
06320ca7
authored
Aug 08, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
efde8c89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
PlatformAccDetail.vue
...omponents/FinancialModule/accDetail/PlatformAccDetail.vue
+29
-2
No files found.
src/components/FinancialModule/accDetail/PlatformAccDetail.vue
View file @
06320ca7
...
...
@@ -202,7 +202,7 @@
<div
class=
"cm_content"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th></th>
<th><
input
type=
"checkbox"
v-model=
"isCheckAll"
@
change=
"checkAllOrder()"
/><
/th>
<th>
{{
$t
(
'system.query_company'
)
}}
</th>
<th>
团队订单
</th>
<th>
{{
$t
(
'fnc.danhao'
)
}}
</th>
...
...
@@ -233,7 +233,7 @@
</tr>
<tr
v-for=
" ( item , index ) in DataList "
>
<td>
<input
v-if=
"item.CallBackReFrId
<
=
0
"
type=
"checkbox"
:disabled=
"item.disabled"
v-model=
"item.check"
@
change=
"addCheckbox(item,index)"
>
<input
v-if=
"item.CallBackReFrId
<
=
0
&&
item
.
CostTypeName
!='资金调拨'
"
type=
"checkbox"
:disabled=
"item.disabled"
v-model=
"item.check"
@
change=
"addCheckbox(item,index)"
>
</td>
<td>
{{
item
.
BName
}}
</td>
<td>
{{
item
.
OrderID
}}
</td>
...
...
@@ -588,6 +588,8 @@ export default {
userInfo
:{},
//上传数组
saveMsg
:[],
//是否全选
isCheckAll
:
false
,
}
},
created
(){
this
.
userInfo
=
this
.
getLocalStorage
();
...
...
@@ -1026,6 +1028,31 @@ export default {
this
.
allLoading
=
false
},
null
)
},
//点击全选
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
&&
x
.
CallBackReFrId
<=
0
&&
x
.
CostTypeName
!=
'资金调拨'
){
this
.
checkList
[
index
]
=
{
FinanceId
:
x
.
FinanceId
,
Type
:
x
.
Type
,
ClientID
:
x
.
ClientID
,
ClientType
:
x
.
ClientType
,
OriginalMoney
:
x
.
OriginalMoney
,
Money
:
x
.
Money
,
}
}
})
},
addCheckbox
(
obj
,
index
){
this
.
DataList
.
forEach
((
x
)
=>
{
// 循环改变check disabled 状态
if
(
x
.
FinanceId
===
obj
.
FinanceId
){
...
...
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