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
1141dba6
Commit
1141dba6
authored
Nov 11, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
d2f98388
a044c121
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
7 deletions
+39
-7
index.vue
...ponents/FinancialModule/ConsolidationOfAccounts/index.vue
+35
-3
ClientBankAccount.vue
...mponents/FinancialModule/components/ClientBankAccount.vue
+4
-4
No files found.
src/components/FinancialModule/ConsolidationOfAccounts/index.vue
View file @
1141dba6
...
@@ -398,11 +398,26 @@
...
@@ -398,11 +398,26 @@
<el-table-column
v-if=
"msg.IsAirTicketSelect=='1'"
<el-table-column
v-if=
"msg.IsAirTicketSelect=='1'"
prop=
""
prop=
""
:label=
"$t('objFill.caiwubz')"
:label=
"$t('objFill.caiwubz')"
show-overflow-tooltip
width=
"120"
>
show-overflow-tooltip
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
Remark
}}
</div>
<div>
{{
scope
.
row
.
Remark
}}
</div>
<template
v-if=
"scope.row.vorcherInos"
>
<template
v-if=
"scope.row.vorcherInos"
>
<div
v-for=
"(vitem,index) in scope.row.vorcherInos"
>
{{
vitem
.
Content
}}
</div>
<div
v-for=
"(vitem,index) in scope.row.vorcherInos"
style=
"display: flex;flex-direction: row;flex-wrap: wrap;"
>
<el-image
v-if=
"vitem.Type==3"
style=
"width: 30px; height: 30px;margin-right: 3px;"
:src=
"vitem.Content"
:preview-src-list=
"scope.row.srcList"
fit=
"cover"
>
</el-image>
<div
v-if=
"vitem.Type==1"
style=
"width: 30px; height: 30px;text-align: center;line-height: 30px;background: #eee;margin-right: 3px;"
>
<div
class=
"iconfont _wenjian_P"
:class=
"vitem.Content.substring(vitem.Content.lastIndexOf('.')+1,vitem.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFile(vitem.Content)"
>
</div>
</div>
</div>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -738,6 +753,16 @@
...
@@ -738,6 +753,16 @@
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
},
},
methods
:{
methods
:{
showUpLoadFile
(
i
)
{
// 预览上传文件
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
)
{
this
.
previewPDF
(
i
.
Content
)
}
else
{
let
dom
=
document
.
querySelector
(
"#groupTourOrder_DownLoad"
);
dom
.
href
=
i
.
Content
;
dom
.
click
();
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Content
)
}
},
handleClose
(
rows
){
handleClose
(
rows
){
if
(
rows
)
{
if
(
rows
)
{
rows
.
forEach
(
row
=>
{
rows
.
forEach
(
row
=>
{
...
@@ -789,9 +814,16 @@
...
@@ -789,9 +814,16 @@
arr
.
forEach
(
x
=>
{
arr
.
forEach
(
x
=>
{
x
.
_checked
=
true
x
.
_checked
=
true
x
.
_disabled
=
false
x
.
_disabled
=
false
x
.
srcList
=
[]
})
})
}
}
arrList
(
data
)
arrList
(
data
)
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
if
(
data
[
i
].
vorcherInos
)
{
data
[
i
].
srcList
=
data
[
i
].
vorcherInos
.
map
(
x
=>
{
if
(
x
.
Type
==
3
)
return
x
.
Content
})
}
}
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
if
((
","
+
userInfo
.
ActionMenuCode
+
","
).
indexOf
(
',Finance_CreateByCareOf,'
)
!=-
1
){
if
((
","
+
userInfo
.
ActionMenuCode
+
","
).
indexOf
(
',Finance_CreateByCareOf,'
)
!=-
1
){
...
@@ -834,7 +866,7 @@
...
@@ -834,7 +866,7 @@
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
data
.
data
;
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
}
else
{}
},
err
=>
{})
},
err
=>
{})
},
},
...
...
src/components/FinancialModule/components/ClientBankAccount.vue
View file @
1141dba6
...
@@ -440,7 +440,7 @@
...
@@ -440,7 +440,7 @@
this
.
saveMsg
.
FrId
=
this
.
GetDetail
.
FrID
this
.
saveMsg
.
FrId
=
this
.
GetDetail
.
FrID
this
.
saveMsg
.
Voucher
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
GetDetail
.
FInnerVoucher
)):[]
this
.
saveMsg
.
Voucher
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
GetDetail
.
FInnerVoucher
)):[]
this
.
saveMsg
.
Remark
=
this
.
GetDetail
.
FInnerRemark
this
.
saveMsg
.
Remark
=
this
.
GetDetail
.
FInnerRemark
this
.
srcList
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
this
.
GetDetail
.
FInnerVoucher
.
map
(
x
=>
{
return
x
.
Content
}):[]
this
.
srcList
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
this
.
GetDetail
.
FInnerVoucher
.
map
(
x
=>
{
if
(
x
.
Type
==
3
)
return
x
.
Content
}):[]
},
},
deep
:
true
,
deep
:
true
,
immediate
:
false
immediate
:
false
...
@@ -454,14 +454,14 @@
...
@@ -454,14 +454,14 @@
this
.
IsExpensesMonthlyShare
=
true
;
this
.
IsExpensesMonthlyShare
=
true
;
}
}
if
(
ActionMenuCode
.
indexOf
(
'Finance_ExpenseType'
)
!=
-
1
)
{
if
(
ActionMenuCode
.
indexOf
(
'Finance_ExpenseType'
)
!=
-
1
)
{
//
this.isFinance_ExpenseType=true;
this
.
isFinance_ExpenseType
=
true
;
}
}
this
.
msg
.
BaseFinanceId
=
this
.
GetDetail
.
FrID
this
.
msg
.
BaseFinanceId
=
this
.
GetDetail
.
FrID
this
.
saveMsg
.
FrId
=
this
.
GetDetail
.
FrID
this
.
saveMsg
.
FrId
=
this
.
GetDetail
.
FrID
this
.
saveMsg
.
Voucher
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
GetDetail
.
FInnerVoucher
)):[]
this
.
saveMsg
.
Voucher
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
GetDetail
.
FInnerVoucher
)):[]
this
.
saveMsg
.
Remark
=
this
.
GetDetail
.
FInnerRemark
this
.
saveMsg
.
Remark
=
this
.
GetDetail
.
FInnerRemark
this
.
srcList
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
this
.
GetDetail
.
FInnerVoucher
.
map
(
x
=>
{
return
x
.
Content
}):[]
this
.
srcList
=
this
.
GetDetail
.
FInnerVoucher
&&
this
.
GetDetail
.
FInnerVoucher
.
length
>
0
?
this
.
GetDetail
.
FInnerVoucher
.
map
(
x
=>
{
if
(
x
.
Type
==
3
)
return
x
.
Content
}):[]
if
(
this
.
GetDetail
.
SpecialType
==
11
)
this
.
GetExpensesMonthlyShare
()
if
(
this
.
GetDetail
.
SpecialType
==
11
)
this
.
GetExpensesMonthlyShare
()
},
},
methods
:
{
methods
:
{
...
@@ -533,7 +533,7 @@
...
@@ -533,7 +533,7 @@
Content
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
Content
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
});
});
this
.
srcList
=
this
.
saveMsg
.
Voucher
.
map
(
x
=>
{
return
x
.
Content
})
this
.
srcList
=
this
.
saveMsg
.
Voucher
.
map
(
x
=>
{
if
(
x
.
Type
==
3
)
return
x
.
Content
})
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
));
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
));
});
});
},
},
...
...
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