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
68845892
Commit
68845892
authored
Jan 03, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a1d5d500
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1211 additions
and
11 deletions
+1211
-11
CapitalAllocationDetail.vue
src/components/FinancialModule/CapitalAllocationDetail.vue
+25
-2
MergeBillModuleNew.vue
...FinancialModule/FinancialSubmodule/MergeBillModuleNew.vue
+455
-0
myCapital.vue
...mponents/FinancialModule/FinancialSubmodule/myCapital.vue
+699
-0
PrintPageN.vue
src/components/PrintPageN.vue
+32
-9
No files found.
src/components/FinancialModule/CapitalAllocationDetail.vue
View file @
68845892
...
...
@@ -277,6 +277,8 @@
<
template
>
<div
class=
"CapitalDetail"
>
<span
class=
"Ca_Span"
>
{{
$t
(
'fnc.zjdbodan'
)
}}
</span>
<p
v-show=
"huijiShow"
@
click=
"goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)"
style=
"color: #3980C8;font-size:12px;text-align:right;cursor: pointer;width:830px;margin-bottom:20px"
>
凭证打印
</p>
<div
class=
"clearfix"
>
<div
class=
"Co_oderleft"
>
<div
class=
"Ca_leftOrder"
>
...
...
@@ -635,14 +637,35 @@ export default {
GetDetail
:{
AuditSteps
:[]
},
endDate
:
''
endDate
:
''
,
huijiShow
:
false
,
}
},
create
(){
create
d
(){
let
userinfo
=
this
.
getLocalStorage
();
this
.
bossID
=
userinfo
.
EmployeeId
;
let
ActionMenuCode
=
userinfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'F_Update_KJCostType'
)
!=-
1
){
this
.
huijiShow
=
true
;
}
console
.
log
(
"huijiShow"
,
this
.
huijiShow
)
},
methods
:{
goPrintPageNew
(
type
,
id
,
Merge
,
OrderSource
){
if
(
type
===
1
){
let
routeData
=
this
.
$router
.
resolve
({
name
:
'PrintPageN'
,
query
:
{
type
:
type
,
id
:
id
,
isKehu
:
0
,
Merge
:
Merge
,
OrderSource
:
OrderSource
?
OrderSource
:
-
1
,
Capital
:
1
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
}
else
{
let
routeData
=
this
.
$router
.
resolve
({
name
:
'PrintPageN'
,
query
:
{
type
:
type
,
id
:
id
,
Merge
:
Merge
,
OrderSource
:
OrderSource
?
OrderSource
:
-
1
,
Capital
:
1
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
}
},
inited
(
viewer
){
this
.
$viewer
=
viewer
},
...
...
src/components/FinancialModule/FinancialSubmodule/MergeBillModuleNew.vue
0 → 100644
View file @
68845892
<
style
scoped
>
p
{
margin
:
0
;}
.Receipt_box
{
color
:
#c94052
;
width
:
100%
;
background-color
:
rgba
(
245
,
245
,
245
,
1
);
position
:
relative
;
margin-top
:
15px
;}
.Receipt_box
tr
th
{
color
:
#c94052
}
.Receipt_box.color_blur
tr
th
{
color
:
#106BAF
}
.Receipt_box.color_blur
{
color
:
#106BAF
;}
.Receipt_box.color_blur
.rb_stit
span
{
display
:
inline-block
;
border-bottom
:
2px
solid
#106BAF
;
padding
:
0
20px
}
.rb_tit
{
font-size
:
16px
;
text-align
:
center
;
margin-bottom
:
20px
;}
.rb_stit
{
font-size
:
14px
;
text-align
:
center
}
.rb_stit
span
{
display
:
inline-block
;
border-bottom
:
2px
solid
#C94052
;
padding
:
0
20px
}
.rb_top_row
{
display
:
flex
;
justify-content
:
space-between
;
font-size
:
12px
;}
.rb_top_row
span
._r_name
{
color
:
#333333
}
.rb_top_row
span
._r_bold
{
font-weight
:
bold
}
.rb_top_row
._r_time
span
{
color
:
#333333
}
._r_mb5
{
margin-bottom
:
5px
;}
.Receipt_table
{
width
:
100%
;
font-size
:
14px
;
text-align
:
center
}
.Receipt_table
th
{
font-weight
:
200
!important
}
.Receipt_table
tr
th
,
.Receipt_table
tr
td
{
background-color
:
white
}
._r_mt10
{
margin-top
:
10px
;}
.Receipt_box.color_blur
{
color
:
#106BAF
;}
.Receipt_box.color_blur
.rb_stit
span
{
display
:
inline-block
;
border-bottom
:
2px
solid
#106BAF
;
padding
:
0
20px
}
._color_b
{
color
:
#333333
!important
;
font-size
:
12px
}
._font_size12
{
font-size
:
12px
!important
}
._r_IsPublic
{
padding-left
:
15px
;
}
._guanlian
{
font-size
:
12px
;
color
:
gray
;
}
._guanlian
span
{
font-size
:
14px
;
color
:
#333333
;
}
._yewudanju
{
position
:
absolute
;
text-align
:
right
;
font-size
:
12px
;
right
:
15px
;
top
:
15px
;
}
._jump_page
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
i
{
font-style
:
initial
;
}
.Receipt_box._PrintPageStyle
tr
th
{
color
:
#333333
}
.Receipt_box._PrintPageStyle
{
color
:
#333333
;}
.Receipt_box._PrintPageStyle
.rb_stit
span
{
border-bottom
:
2px
solid
#333333
;}
.Receipt_box._PrintPageStyle
{
color
:
#333333
;}
.Receipt_box._PrintPageStyle
.rb_stit
span
{
border-bottom
:
2px
solid
#333333
;}
._border_color_r
{
border-color
:
#c94052
;
}
._border_color_b
{
border-color
:
#106BAF
;
}
._border_color_p
{
border-color
:
#333333
;
}
.Receipt_box
.rb_stit
span
._rb_stit_print
{
padding
:
0
;
padding-top
:
10px
;
border
:
none
;
}
._sanjiao_
{
position
:
absolute
;
top
:
0px
;
left
:
0px
;
width
:
0px
;
height
:
0px
;
border-top
:
20px
solid
#e73828
;
border-bottom
:
20px
solid
transparent
;
border-left
:
20px
solid
#e73828
;
border-right
:
20px
solid
transparent
;
}
._sanjiao_
:after
{
content
:
'合'
;
position
:
absolute
;
top
:
-15px
;
left
:
-14px
;
white-space
:
nowrap
;
color
:
#FFFFFF
;
font-size
:
12px
;
}
._border_1
{
border
:
1px
solid
#333
;
padding
:
15px
;
margin-bottom
:
20px
;
}
</
style
>
<
template
v-if=
"GetDetail&&GetDetail.DetailList.length>0"
>
<div
class=
"Receipt_box"
:class=
"[GetDetail.Type==1?'':'color_blur',isPrintPage?'_PrintPageStyle':'']"
:style=
"
{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
<div
v-show=
"disabled"
>
<div
class=
"_border_1"
v-for=
"(val,index) in loopNumN"
:key=
"index"
>
<div
class=
"_sanjiao_"
></div>
<p
class=
"rb_tit"
>
{{
GetDetail
.
CompanyName
}}
</p>
<table
class=
"Receipt_table"
border=
"1"
:class=
"[GetDetail.Type==1?'_border_color_r':'_border_color_b',isPrintPage?'_border_color_p':'']"
:bordercolor=
"GetDetail.Type==1?'#c94052':'#106BAF'"
style=
"border-collapse:collapse;"
>
<tr>
<th
rowspan=
"2"
>
{{
$t
(
'system.query_company'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'visa.v_tuanhao'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.danhao'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.fyshuoming'
)
}}
</th>
<!--
<th
rowspan=
"2"
>
数量
</th>
-->
<!--
<th
rowspan=
"2"
>
单 价
</th>
-->
<th
rowspan=
"2"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th
colspan=
"5"
>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.zhidanren'
)
}}
</th>
</tr>
<tr>
<th
width=
"88"
>
{{
$t
(
'fnc.yuanbi'
)
}}
</th>
<th
width=
"50"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
</th>
<th
width=
"68"
>
{{
$t
(
'fnc.bweibi'
)
}}
</th>
<th
width=
"68"
>
到账
</th>
<th
width=
"48"
>
手续费
</th>
</tr>
<template
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length"
>
<tr
v-for=
"(item) in GetDetail.MergeDetailList"
class=
"_color_b"
>
<td
height=
"34px"
>
{{
item
.
BName
}}
</td>
<td
height=
"34px"
>
<template
v-for=
"tc in item.TCIDAndTCNUMList"
>
<p
class=
"_jump_page"
@
click=
"jumpPage('productQuery',tc.TCID,1)"
>
{{
tc
.
TCNUM
}}
(
{{
tc
.
TCID
}}
)
</p>
</
template
>
</td>
<td
height=
"34px"
>
{{item.FinanceId}}
</td>
<td
height=
"34px"
>
{{item.CostTypeName}}
</td>
<!--<td height="34px">{{item.Number}}</td>-->
<!--<td height="34px">{{item.UnitPrice}}</td>-->
<td
height=
"34px"
>
{{item.CurrencyName}}
</td>
<td
height=
"34px"
>
{{item.OriginalMoney}}
</td>
<td
height=
"34px"
>
{{item.Rate}}
</td>
<td
height=
"34px"
>
{{item.Money}}
</td>
<td
height=
"34px"
>
{{item.PayMoney}}
</td>
<td
height=
"34px"
>
{{item.Fee}}
</td>
<td
height=
"34px"
style=
"max-width: 120px;"
>
{{item.Remark}}
</td>
<td
height=
"34px"
>
{{item.EmName}}
</td>
</tr>
</template>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<2"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<3"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<4"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<!--v-if="GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0"-->
<tr
v-if=
"GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0"
>
<td
height=
"34px"
class=
""
>
{{$t('tips.jiaoyifangshi')}}
</td>
<td
height=
"34px"
colspan=
"11"
class=
"_color_b"
>
<
template
v-for=
"(item,index) in GetDetail.MergeBankList"
>
<p
class=
"_fex_cen clearfix"
><span
class=
"_bold"
>
{{
item
.
Alias
}}
-
</span><span
class=
"_bank_name"
>
{{
item
.
TypeName
}}
-
</span><span
class=
"_bank_type"
:class=
"item.AccountType=='对私'?'':'_bank_type2'"
>
{{
item
.
AccountType
==
""
?
$t
(
'fnc.no'
):
item
.
AccountType
}}
</span>
{{
item
.
BankNo
?
'-'
:
''
}}
<span>
{{
item
.
BankNo
}}
</span></p>
</
template
>
</td>
</tr>
<tr
v-if=
"GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.wbzjine')}}
<span
class=
"_font_size12"
></span></td>
<td
height=
"34px"
colspan=
"4"
class=
"_color_b"
>
{{GetDetail.Merge.WBMoney==''?$t('fnc.ling'):GetDetail.WBChineseMoney}}({{GetDetail.Merge.WBMoney}})
</td>
<td
height=
"34px"
class=
""
>
{{$t('fnc.bwbzjine')}}
<span
class=
"_font_size12"
></span></td>
<td
height=
"34px"
colspan=
"6"
class=
"_color_b"
>
{{GetDetail.Merge.Money==''?$t('fnc.ling'):GetDetail.ChineseMoney}}({{GetDetail.Merge.Money}})
</td>
</tr>
<tr
class=
"_huik_info"
v-if=
"GetDetail.Type==1&&GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.huikuanren')}}
</td>
<td
height=
"34px"
colspan=
"4"
>
<span
class=
"_color_b _font_size12"
>
{{GetDetail.Merge.RemitterNameV2}}
</span>
</td>
<td
height=
"34px"
class=
""
>
{{$t('fnc.hkshijian')}}
</td>
<td
height=
"34px"
colspan=
"6"
>
<span
class=
"_color_b _font_size12"
>
{{GetDetail.Merge.TradeDateV2}}
</span>
</td>
</tr>
<tr
class=
"_huik_info"
v-else-if=
"GetDetail.Type!=1&&GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.jiaoyiriqi')}}
</td>
<td
height=
"34px"
colspan=
"11"
>
<span
class=
"_color_b _font_size12"
>
{{GetDetail.Merge.TradeDateV2}}
</span>
</td>
</tr>
</table>
`
</div>
</div>
<div
v-show=
"!disabled"
>
<div
class=
"_border_1"
v-for=
"(val,index) in loopNumN"
:key=
"index"
>
<div
class=
"_sanjiao_"
></div>
<p
class=
"rb_tit"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"GetDetail.CompanyName"
placeholder=
"请输入"
></el-input>
</p>
<table
class=
"Receipt_table"
border=
"1"
:class=
"[GetDetail.Type==1?'_border_color_r':'_border_color_b',isPrintPage?'_border_color_p':'']"
:bordercolor=
"GetDetail.Type==1?'#c94052':'#106BAF'"
style=
"border-collapse:collapse;"
>
<tr>
<th
rowspan=
"2"
>
{{$t('system.query_company')}}
</th>
<th
rowspan=
"2"
>
{{$t('visa.v_tuanhao')}}
</th>
<th
rowspan=
"2"
>
{{$t('fnc.danhao')}}
</th>
<th
rowspan=
"2"
>
{{$t('fnc.fyshuoming')}}
</th>
<!--<th rowspan="2">数量</th>-->
<!--<th rowspan="2">单 价</th>-->
<th
rowspan=
"2"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
colspan=
"5"
>
{{$t('fnc.jine')}}
</th>
<th
rowspan=
"2"
>
{{$t('hotel.hotel_remark')}}
</th>
<th
rowspan=
"2"
>
{{$t('fnc.zhidanren')}}
</th>
</tr>
<tr>
<th
width=
"88"
>
{{$t('fnc.yuanbi')}}
</th>
<th
width=
"50"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th
width=
"68"
>
{{$t('fnc.bweibi')}}
</th>
<th
width=
"68"
>
到账
</th>
<th
width=
"48"
>
手续费
</th>
</tr>
<
template
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length"
>
<tr
v-for=
"(item) in GetDetail.MergeDetailList"
class=
"_color_b"
>
<td
height=
"34px"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.BName"
placeholder=
"请输入"
></el-input>
</td>
<td
height=
"34px"
>
<template
v-for=
"tc in item.TCIDAndTCNUMList"
>
<p
class=
"_jump_page"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"tc.TCNUM"
placeholder=
"请输入"
></el-input>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"tc.TCID"
placeholder=
"请输入"
></el-input>
</p>
</
template
>
</td>
<td
height=
"34px"
>
{{item.FinanceId}}
</td>
<td
height=
"34px"
>
{{item.CostTypeName}}
</td>
<!--<td height="34px">{{item.Number}}</td>-->
<!--<td height="34px">{{item.UnitPrice}}</td>-->
<td
height=
"34px"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.CurrencyName"
placeholder=
"请输入"
></el-input>
</td>
<td
height=
"34px"
>
{{item.OriginalMoney}}
</td>
<td
height=
"34px"
>
{{item.Rate}}
</td>
<td
height=
"34px"
>
{{item.Money}}
</td>
<td
height=
"34px"
>
{{item.PayMoney}}
</td>
<td
height=
"34px"
>
{{item.Fee}}
</td>
<td
height=
"34px"
style=
"max-width: 120px;"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Remark"
placeholder=
"请输入"
></el-input>
</td>
<td
height=
"34px"
>
{{item.EmName}}
</td>
</tr>
</template>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<2"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<3"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length<4"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<!--<td height="34px"></td>-->
<!--<td height="34px"></td>-->
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<!--v-if="GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0"-->
<tr
v-if=
"GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0"
>
<td
height=
"34px"
class=
""
>
{{$t('tips.jiaoyifangshi')}}
</td>
<td
height=
"34px"
colspan=
"11"
class=
"_color_b"
>
<
template
v-for=
"(item,index) in GetDetail.MergeBankList"
>
<p
class=
"_fex_cen clearfix"
>
<span
class=
"_bold"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Alias"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.TypeName"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.AccountType"
placeholder=
"请输入"
></el-input>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.BankNo"
placeholder=
"请输入"
></el-input>
</span>
<!--
{{
item
.
Alias
}}
-
</span><span
class=
"_bank_name"
>
{{
item
.
TypeName
}}
-
</span>
<span
class=
"_bank_type"
:class=
"item.AccountType=='对私'?'':'_bank_type2'"
>
{{
item
.
AccountType
==
""
?
$t
(
'fnc.no'
):
item
.
AccountType
}}
</span>
{{
item
.
BankNo
?
'-'
:
''
}}
<span>
{{
item
.
BankNo
}}
-->
</p>
</
template
>
</td>
</tr>
<tr
v-if=
"GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.wbzjine')}}
<span
class=
"_font_size12"
></span></td>
<td
height=
"34px"
colspan=
"4"
class=
"_color_b"
>
{{GetDetail.Merge.WBMoney==''?$t('fnc.ling'):GetDetail.WBChineseMoney}}({{GetDetail.Merge.WBMoney}})
</td>
<td
height=
"34px"
class=
""
>
{{$t('fnc.bwbzjine')}}
<span
class=
"_font_size12"
></span></td>
<td
height=
"34px"
colspan=
"6"
class=
"_color_b"
>
{{GetDetail.Merge.Money==''?$t('fnc.ling'):GetDetail.ChineseMoney}}({{GetDetail.Merge.Money}})
</td>
</tr>
<tr
class=
"_huik_info"
v-if=
"GetDetail.Type==1&&GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.huikuanren')}}
</td>
<td
height=
"34px"
colspan=
"4"
>
<span
class=
"_color_b _font_size12"
>
{{GetDetail.Merge.RemitterNameV2}}
</span>
</td>
<td
height=
"34px"
class=
""
>
{{$t('fnc.hkshijian')}}
</td>
<td
height=
"34px"
colspan=
"6"
>
<span
class=
"_color_b _font_size12"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"GetDetail.Merge.TradeDateV2"
placeholder=
"请输入"
></el-input>
</span>
</td>
</tr>
<tr
class=
"_huik_info"
v-else-if=
"GetDetail.Type!=1&&GetDetail.Merge"
>
<td
height=
"34px"
class=
""
>
{{$t('fnc.jiaoyiriqi')}}
</td>
<td
height=
"34px"
colspan=
"11"
>
<span
class=
"_color_b _font_size12"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"GetDetail.Merge.TradeDateV2"
placeholder=
"请输入"
></el-input>
</span>
</td>
</tr>
</table>
</div>
</div>
</div>
</template>
<
script
>
export
default
{
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"disabled"
,
"loopNumN"
],
//接收参数 ID width color
data
(){
return
{
loading
:
false
,
// GetDetail:{DetailList:null},
EmployeeId
:
''
,
EndDate
:
''
,
StartDate
:
''
,
GetDetail
:
{}
}
},
methods
:{
jumpPage
(
path
,
id
,
type
){
if
(
type
==
1
){
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,orderID:this.GetDetail.OrderID,isShow:false}
// });
// window.open(routeData.href, "_blank");
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
orderID
:
this
.
GetDetail
.
OrderID
,
isShow
:
false
,
blank
:
'y'
}
})
}
else
if
(
type
==
2
){
// let routeData = this.$router.resolve({
// name: path,
// query: { starTime:this.StartDate,endTime:this.EndDate,EmployeeId:this.EmployeeId}
// });
// window.open(routeData.href, "_blank");
this
.
$router
.
push
({
name
:
path
,
query
:
{
starTime
:
this
.
StartDate
,
endTime
:
this
.
EndDate
,
EmployeeId
:
this
.
EmployeeId
,
blank
:
'y'
}
})
}
},
Financial_post_GetDetail
(
id
){
//获取单据详情
if
(
!
id
)
return
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetDetail'
,{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
DetailList
.
forEach
(
x
=>
{
x
.
UnitPrice
=
this
.
$commonUtils
.
addCommas
(
Math
.
round
(
x
.
UnitPrice
*
100
)
/
100
)
x
.
Money
=
Math
.
round
(
x
.
Money
*
100
)
/
100
x
.
OriginalMoney
=
Math
.
round
(
x
.
OriginalMoney
*
100
)
/
100
})
data
.
ChineseMoney
=
this
.
$commonUtils
.
changeMoneyToChinese
(
data
.
Merge
.
Money
)
data
.
WBChineseMoney
=
this
.
$commonUtils
.
changeMoneyToChinese
(
data
.
Merge
.
WBMoney
)
data
.
Money
=
this
.
$commonUtils
.
addCommas
(
Math
.
round
(
data
.
Money
*
100
)
/
100
)
data
.
Merge
.
TradeDateV2
=
new
Date
(
data
.
Merge
.
TradeDateV2
).
Format
(
'yyyy-MM-dd'
)
data
.
AuditSteps
.
reverse
()
this
.
GetDetail
=
data
;
this
.
loading
=
false
this
.
$set
(
this
.
$data
,
"GetDetail"
,
data
);
}
},
err
=>
{})
},
},
mounted
(){
const
myDate
=
new
Date
();
let
yaer
=
myDate
.
getFullYear
();
//获取完整的年份(4位,1970-????)
let
month
=
myDate
.
getMonth
()
+
1
;
//获取当前月份(0-11,0代表1月)
let
dateS
=
myDate
.
getDate
();
//获取当前日(1-31)
this
.
StartDate
=
yaer
+
'-'
+
month
+
'-'
+
'01'
;
this
.
EndDate
=
yaer
+
'-'
+
month
+
'-'
+
dateS
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
Financial_post_GetDetail
(
this
.
ID
);
},
watch
:
{
// 监听参数变化
GetDetail
:
{
handler
:
function
(
val
,
oldVal
)
{
},
deep
:
true
},
ID
:{
handler
:
function
(
val
,
oldVal
)
{
this
.
ID
=
val
this
.
Financial_post_GetDetail
(
this
.
ID
)
},
deep
:
true
}
}
}
</
script
>
src/components/FinancialModule/FinancialSubmodule/myCapital.vue
0 → 100644
View file @
68845892
<
style
>
.CapitalDetail
.Ca_Span
{
display
:
block
;
padding-left
:
10px
;
font-size
:
14px
;
margin-bottom
:
20px
;
color
:
#333333
;
border-left
:
3px
solid
#E95252
;
}
.CapitalDetail
.Ca_leftOrder
{
width
:
100%
;
height
:
auto
;
padding
:
15px
0
;
background-color
:
#fff
;
}
.CapitalDetail
.Ca_title
{
margin
:
auto
;
font-size
:
16px
;
margin-top
:
20px
;
color
:
#333333
;
text-align
:
center
;
}
.CapitalDetail
.Ca_t2
{
width
:
100%
;
font-size
:
14px
;
text-align
:
center
;
margin-bottom
:
-8px
;
}
.CapitalDetail
.Ca_line
{
width
:
110px
;
height
:
3px
;
margin
:
8px
auto
10px
;
border-top
:
1px
solid
#777373
;
border-bottom
:
2px
solid
;
/* border-bottom:1px solid #333333; */
}
.CapitalDetail
.collection_Order
{
width
:
100%
;
height
:
36px
;
font-size
:
12px
;
line-height
:
35px
;
padding
:
0
20px
;
border-bottom
:
1px
dashed
#BFBFBF
;
}
.CapitalDetail
.Ca_comColor
{
color
:
#BE525D
;
}
.CapitalDetail
.Ca_comSize
{
font-size
:
14px
;
}
.CapitalDetail
.Co_oderRight
{
float
:
right
;
}
.CapitalDetail
.Ca_diaobo
{
width
:
100%
;
height
:
35px
;
font-size
:
12px
;
line-height
:
35px
;
padding
:
0
20px
;
}
.collection_Table
,
.pay_Table
{
width
:
96%
;
margin
:
auto
;
padding
:
0
20px
;
font-size
:
14px
;
}
.collection_Table
th
{
font-size
:
12px
;
color
:
#BE525D
;
}
.collection_Table
td
,
.collection_Table
th
{
border
:
1px
solid
#BE525D
;
text-align
:
center
;
height
:
44px
;
padding
:
0
5px
;
}
.pay_Table
th
{
font-size
:
12px
;
color
:
#1273BC
;
}
.pay_Table
td
,
.pay_Table
th
{
border
:
1px
solid
#1273BC
;
text-align
:
center
;
height
:
44px
;
padding
:
0
5px
;
}
.CapitalDetail
.Ca_comLinediv
{
width
:
96%
;
min-height
:
80px
;
margin
:
auto
;
font-size
:
12px
;
border-bottom
:
1px
dashed
#BFBFBF
;
}
.CapitalDetail
.Ca_comBlueColor
{
color
:
#1273BC
;
}
.CapitalDetail
textarea
{
border
:
none
;
border-bottom
:
1px
solid
#666666
;
}
.CapitalDetail
.Ca_payBtn
{
color
:
#1273BC
;
border-color
:
#1273BC
;
}
.CapitalDetail
.Ca_cashier
{
width
:
25%
;
float
:
left
;
}
.CapitalDetail
.Ca_popDiv
{
width
:
100%
;
height
:
52px
;
line-height
:
52px
;
padding
:
0
20px
;
font-size
:
12px
;
display
:
flex
;
justify-content
:
space-between
;
}
.Ca_popDiv
p
{
display
:
inline-block
;
}
.Ca_popDiv
p
:last-child
{
float
:
right
;
margin-right
:
0
;
}
.CapitalDetail
.Cafujian
{
width
:
100%
;
min-height
:
50px
;
margin-top
:
20px
;
}
.Cafujian
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
}
.Cafujian
>
div
.icon-guanbi1
{
display
:
inline-block
;
margin-left
:
15px
;
color
:
#fff
;
position
:
absolute
;
right
:
-6px
;
top
:
-9px
;
background-color
:
#f56c6c
;
border-radius
:
50%
;
height
:
20px
;
width
:
20px
;
text-align
:
center
;
line-height
:
20px
;
}
.Cafujian
>
div
.icon-guanbi1
:hover
{
color
:
#c94052
;
font-size
:
12px
;
}
.Cafujian
>
div
img
{
width
:
100%
;
height
:
100%
;
}
.CapitalDetail
.Ca_rightFile
{
float
:
left
;
width
:
300px
;
/* height:500px; */
border
:
1px
solid
red
;
}
.CapitalDetail
.Ca_description
{
width
:
600px
;
min-height
:
30px
;
display
:
inline-block
;
margin-top
:
30px
;
font-size
:
14px
;
}
.CapitalDetail
.Ca_remarkSpan
{
display
:
inline-block
;
height
:
30px
;
vertical-align
:
top
;
margin-top
:
30px
;
}
.Cafujian
.icon-excel
{
text-align
:
center
;
font-size
:
38px
;
color
:
green
;
line-height
:
75px
;
}
.CapitalDetail
.Ca_AccountInfo
{
width
:
100%
;
padding
:
0
20px
;
text-align
:
left
;
}
.w830px
{
width
:
830px
;
padding
:
0
;
margin
:
0
;}
._tit2
{
border
:
none
;
background-color
:
white
;
border
:
1px
solid
#DDDDDD
;
}
._tit._tit2
>
p
{
padding-left
:
10px
;
font-size
:
14px
;
color
:
#000
;
padding
:
8px
15px
;
display
:
flex
;
justify-content
:
space-between
;
}
._tit._tit2
._rotate
{
transform
:
rotate
(
180deg
);
}
._tit._tit2
._btn
{
font-size
:
12px
;
color
:
#333333
;
cursor
:
pointer
;
}
._tit._tit2
._btn
:hover
{
color
:
#E95252
;
}
._tit._tit2
._btn
.iconfont
{
font-size
:
12px
;
display
:
inline-block
;
margin-left
:
10px
;
}
._tit._tit2
._text
{
border-left
:
3px
solid
#e95252
;
padding-left
:
10px
;
}
.w600px
{
width
:
600px
;
padding
:
15px
;
margin
:
0
auto
;
}
.CapitalDetail
._conten
,
.CapitalDetail
._process
{
margin-top
:
20px
;
width
:
830px
;}
._process
{
background-color
:
white
;
padding
:
20px
15px
;
position
:
relative
;}
._process_box
{
border-top
:
1px
dashed
#BFBFBF
;
padding-top
:
30px
;
padding-bottom
:
40px
;}
._pb_son
{
position
:
relative
;
padding-left
:
75px
;
min-height
:
100px
;
padding-bottom
:
30px
}
._left_radius
{
width
:
40px
;
height
:
40px
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
40px
;
background-color
:
#2BBB7E
;
color
:
white
;
font-size
:
12px
;
position
:
absolute
;
left
:
15px
;
z-index
:
2
;}
._left_radius_err
{
background-color
:
#E95252
!important
;}
._left_radius_sus
{
background-color
:
#1273BC
!important
;}
._pb_son
::after
{
content
:
''
;
width
:
4px
;
height
:
100%
;
background-color
:
#2BBB7E
;
display
:
inline-block
;
position
:
absolute
;
clear
:
both
;
left
:
33px
;
top
:
0
;
z-index
:
1
}
._pb_son._none_after
::after
{
content
:
''
;
display
:
none
}
._pb_son._bohui_after
::after
{
background-color
:
#E95252
!important
;
display
:
inline-block
}
._status_color_f
{
background-color
:
#8B8B8B
!important
}
._right_content
._name
._n
{
font-size
:
14px
;
color
:
#333333
;
font-weight
:
bold
;}
._right_content
._name
._m
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#E95252
;
margin-left
:
5px
;
border-radius
:
4px
;}
._right_content
._name
._sm
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#FF9600
;
margin-left
:
5px
;
border-radius
:
4px
;
font-weight
:
100
;}
._right_content
._name
._sn
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#2BBB7E
;
margin-left
:
5px
;
border-radius
:
4px
;}
._right_content
._time
,
._time
{
font-size
:
12px
;
color
:
#666666
;
padding-top
:
5px
;}
._right_content
._pp_info
,
._textarea
{
border-radius
:
4px
;
border
:
1px
solid
#E5E5E5
;
background
:
rgba
(
245
,
245
,
245
,
1
);
font-size
:
12px
;
color
:
#333333
;
padding
:
12px
14px
;
margin-top
:
13px
;
position
:
relative
;}
._right_content
._pp_info
:before
{
display
:
block
;
content
:
''
;
border-width
:
8px
8px
8px
8px
;
border-style
:
solid
;
border-color
:
transparent
transparent
#dedede
transparent
;
position
:
absolute
;
left
:
10px
;
top
:
-16px
;}
._mgt_15
{
margin-top
:
15px
;}
._more
._right_content
.iconfont
{
color
:
#AAAAAA
}
._more
._right_content
._name
._n
{
font-size
:
14px
;
color
:
#333333
;
font-weight
:
bold
;
padding-left
:
3px
;}
._info_img
ul
{
padding
:
10px
0
}
._info_img
ul
li
{
float
:
left
;
position
:
relative
;
cursor
:
pointer
}
._info_img
ul
li
:hover
._see_img
{
opacity
:
1
;}
._info_img
ul
li
img
{
width
:
88px
;
height
:
59px
;}
._see_img
{
position
:
absolute
;
top
:
0
;
width
:
100%
;
height
:
59px
;
padding-top
:
16px
;
line-height
:
34px
;
text-align
:
center
;
background-color
:
rgba
(
2
,
2
,
2
,
0.3
);
display
:
inherit
;
opacity
:
0
;
transition
:
all
linear
.5s
}
._see_img
i
.iconfont
{
display
:
inline-block
;
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
color
:
#FFFFFF
!important
;
background-color
:
rgba
(
255
,
255
,
255
,
0.5
);}
._show_img_box
{
position
:
fixed
;
background
:
rgba
(
0
,
0
,
0
,
.6
);
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
999
;
text-align
:
center
;
overflow
:
auto
;}
._textarea
{
width
:
690px
;
height
:
50px
;
background-color
:
white
}
._upload_box
ul
li
{
float
:
left
;
height
:
82px
;
width
:
143px
;
padding
:
20px
20px
20px
0
;
text-align
:
center
;
position
:
relative
;
cursor
:
pointer
;
margin-right
:
10px
;}
._upload_box
ul
li
img
{
height
:
82px
;
width
:
143px
;}
._upload_box
ul
li
:hover
._delete_img
{
opacity
:
1
;}
._delete_img
{
position
:
absolute
;
top
:
20px
;
height
:
82px
;
width
:
143px
;
line-height
:
34px
;
text-align
:
center
;
background-color
:
rgba
(
2
,
2
,
2
,
0.6
);
display
:
inherit
;
opacity
:
0
;
transition
:
all
linear
.5s
}
._delete_img
i
.iconfont
{
display
:
inline-block
;
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
color
:
#E95252
!important
;
background-color
:
rgba
(
251
,
251
,
251
,
0.9
);
margin-top
:
26px
;}
._radio_lsit
{
padding-top
:
15px
}
._upload_tips
{
font-size
:
12px
;
position
:
absolute
;
top
:
66%
;
width
:
100%
;
left
:
0
;
text-align
:
center
;
color
:
#949494
;}
._log_t
{
padding
:
10px
;}
._time_n
{
float
:
right
;}
.myCapital
{
border
:
1px
solid
#333
;
}
</
style
>
<
template
>
<div
class=
"CapitalDetail"
>
<div
class=
"11"
v-show=
"disabled"
>
<div
v-for=
"(val,index) in loopNumN"
:key=
"index"
style=
"margin-bottom:20px"
>
<div
class=
"Co_oderleft myCapital"
>
<div
class=
"Ca_leftOrder"
>
<div
class=
"Ca_title"
>
{{
dataList
.
CompanyName
}}
</div>
<div
class=
"Ca_t2"
>
{{
dataList
.
FinanceName
}}
<i
v-if=
"index===0"
>
{{
$t
(
'fnc.yewulian'
)
}}
</i>
<i
v-if=
"index===1"
>
{{
$t
(
'fnc.kuaijilian'
)
}}
</i>
</div>
<div
class=
"clearfix collection_Order"
>
<div
class=
"Co_oderleft"
>
<span>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
FrID
}}
</span>
<div
class=
"Co_oderRight"
>
<span>
{{
$t
(
'fnc.zhibiao'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
CreateDate
}}
</span>
</div>
</div>
</div>
<div
v-for=
"item in dataList.SBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comColor"
>
{{
$t
(
'fnc.dbriqi'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
item
.
AllotDate
}}
</span>
</div>
</div>
<table
class=
"collection_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{
$t
(
'fnc.skfangshi'
)
}}
</th>
<th
width=
"300"
>
{{
$t
(
'fnc.acc'
)
}}
</th>
<th
width=
"110"
>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th
width=
"90"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th
width=
"85"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
</th>
<th>
汇兑收益
</th>
<th>
{{
$t
(
'fnc.bwbjine'
)
}}
</th>
</tr>
<tr>
<td>
{{
item
.
TypeName
}}
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
{{
item
.
Alias
}}
-
{{
item
.
AccountType
}}
-
{{
item
.
BankNo
}}
</div>
</td>
<td>
{{
item
.
OriginalMoney
}}
</td>
<td>
{{
item
.
CurrencyName
}}
</td>
<td>
{{
item
.
Rate
}}
</td>
<td>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
</td>
<td>
{{
item
.
Money
}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
>
<span
class=
"Ca_remarkSpan"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
:
</span>
<div
class=
"Ca_description"
>
{{
item
.
Description
}}
</div>
<div
class=
"Cafujian clearfix"
v-if=
"item.isShow"
>
<template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"file.Content"
@
click=
"showImg(file.Content)"
>
</div>
</div>
<div
v-if=
"file.Type==1"
>
<div
class=
"iconfont "
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
<div
v-if=
"file.Type==2"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
</
template
>
</div>
</div>
</div>
<div
v-for=
"item in dataList.FBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comBlueColor"
>
{{$t('fnc.dbriqi')}}:
</span><span
class=
"Ca_comSize"
>
{{item.AllotDate}}
</span>
</div>
</div>
<table
class=
"pay_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{$t('fnc.fkfangshi')}}
</th>
<th
width=
"300"
>
{{$t('fnc.acc')}}
</th>
<th
width=
"110"
>
{{$t('fnc.jine')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
width=
"85"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th>
汇兑损失
</th>
<th>
{{$t('fnc.bwbjine')}}
</th>
</tr>
<tr>
<td>
{{item.TypeName}}
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
{{item.Alias}}-{{item.AccountType}}-{{item.BankNo}}
</div>
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.CurrencyName}}
</td>
<td>
{{item.Rate}}
</td>
<td>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
</td>
<td>
{{item.Money}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
style=
"width:100%;padding:0 20px;"
>
<span
class=
"Ca_remarkSpan"
>
{{$t('hotel.hotel_remark')}}:
</span>
<div
class=
"Ca_description"
>
{{item.Description}}
</div>
<div
class=
"Cafujian clearfix"
v-if=
"item.isShow"
>
<
template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"file.Content"
@
click=
"showImg(file.Content)"
>
</div>
</div>
<div
v-if=
"file.Type==1"
>
<div
class=
"iconfont _wenjian_P"
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFileT(file)"
>
</div>
</div>
<div
v-if=
"file.Type==2"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
</
template
>
</div>
</div>
</div>
<div
class=
"Ca_popDiv"
v-if=
"dataList.AuditSteps!=''"
>
<
template
v-for=
"(item,index) in dataList.AuditSteps"
>
<p>
{{
item
.
AuditDescription
}}
:
<template
v-if=
"item.Status===2"
>
<span
class=
"_r_name"
v-if=
"s.AuditStatus==2"
v-for=
"(s,si) in item.AuditRecordList"
>
{{
s
.
AuditName
}}
</span>
</
template
>
</p>
</template>
</div>
</div>
</div>
</div>
</div>
<div
class=
"22"
v-show=
"!disabled"
>
<div
v-for=
"(val,index) in loopNumN"
:key=
"index"
style=
"margin-bottom:20px"
>
<div
class=
"Co_oderleft myCapital"
>
<div
class=
"Ca_leftOrder"
>
<div
class=
"Ca_title"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"dataList.CompanyName"
placeholder=
"请输入"
></el-input>
</div>
<div
class=
"Ca_t2"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"dataList.FinanceName"
placeholder=
"请输入"
></el-input>
<i
v-if=
"index===0"
>
{{$t('fnc.yewulian')}}
</i>
<i
v-if=
"index===1"
>
{{$t('fnc.kuaijilian')}}
</i>
</div>
<div
class=
"clearfix collection_Order"
>
<div
class=
"Co_oderleft"
>
<span>
{{$t('hotel.hotel_SerialNumber')}}:
</span><span
class=
"Ca_comSize"
>
{{dataList.FrID}}
</span>
<div
class=
"Co_oderRight"
>
<span>
{{$t('fnc.zhibiao')}}:
</span><span
class=
"Ca_comSize"
>
{{dataList.CreateDate}}
</span>
</div>
</div>
</div>
<div
v-for=
"item in dataList.SBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comColor"
>
{{$t('fnc.dbriqi')}}:
</span><span
class=
"Ca_comSize"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.AllotDate"
placeholder=
"请输入"
></el-input>
</span>
</div>
</div>
<table
class=
"collection_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{$t('fnc.skfangshi')}}
</th>
<th
width=
"300"
>
{{$t('fnc.acc')}}
</th>
<th
width=
"110"
>
{{$t('fnc.jine')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
width=
"85"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th>
汇兑收益
</th>
<th>
{{$t('fnc.bwbjine')}}
</th>
</tr>
<tr>
<td>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.TypeName"
placeholder=
"请输入"
></el-input>
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Alias"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.AccountType"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.BankNo"
placeholder=
"请输入"
></el-input>
</div>
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.CurrencyName}}
</td>
<td>
{{item.Rate}}
</td>
<td>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
</td>
<td>
{{item.Money}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
>
<span
class=
"Ca_remarkSpan"
>
{{$t('hotel.hotel_remark')}}:
</span>
<div
class=
"Ca_description"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Description"
placeholder=
"请输入"
></el-input>
</div>
</div>
</div>
<div
v-for=
"item in dataList.FBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comBlueColor"
>
{{$t('fnc.dbriqi')}}:
</span><span
class=
"Ca_comSize"
>
{{item.AllotDate}}
</span>
</div>
</div>
<table
class=
"pay_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{$t('fnc.fkfangshi')}}
</th>
<th
width=
"300"
>
{{$t('fnc.acc')}}
</th>
<th
width=
"110"
>
{{$t('fnc.jine')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
width=
"85"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th>
汇兑损失
</th>
<th>
{{$t('fnc.bwbjine')}}
</th>
</tr>
<tr>
<td>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.TypeName"
placeholder=
"请输入"
></el-input>
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Alias"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.AccountType"
placeholder=
"请输入"
></el-input>
-
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.BankNo"
placeholder=
"请输入"
></el-input>
</div>
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.CurrencyName}}
</td>
<td>
{{item.Rate}}
</td>
<td>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
</td>
<td>
{{item.Money}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
style=
"width:100%;padding:0 20px;"
>
<span
class=
"Ca_remarkSpan"
>
{{$t('hotel.hotel_remark')}}:
</span>
<div
class=
"Ca_description"
>
<el-input
size=
"small"
style=
"width:auto"
v-model=
"item.Description"
placeholder=
"请输入"
></el-input>
</div>
</div>
</div>
<div
class=
"Ca_popDiv"
v-if=
"dataList.AuditSteps!=''"
>
<
template
v-for=
"(item,index) in dataList.AuditSteps"
>
<p>
{{
item
.
AuditDescription
}}
:
<template
v-if=
"item.Status===2"
>
<span
class=
"_r_name"
v-if=
"s.AuditStatus==2"
v-for=
"(s,si) in item.AuditRecordList"
>
{{
s
.
AuditName
}}
</span>
</
template
>
</p>
</template>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<
script
>
export
default
{
props
:[
"ID"
,
"width"
,
"color"
,
"isPrintPage"
,
"name"
,
"disabled"
,
"loopNumN"
,
"disabled"
,
"loopNumN"
],
//接收参数 ID width color
data
(){
return
{
msg
:{
ID
:
0
},
imageOptions
:{
navbar
:
false
,
title
:
false
},
dataList
:[],
images
:[],
tableShow
:
false
,
AuditListData
:{
AuditList
:[]
},
bossID
:
null
,
GetDetail
:{
AuditSteps
:[]
},
endDate
:
''
,
}
},
created
(){
let
userinfo
=
this
.
getLocalStorage
();
this
.
bossID
=
userinfo
.
EmployeeId
;
},
methods
:{
goPrintPageNew
(
type
,
id
,
Merge
,
OrderSource
){
if
(
type
===
1
){
let
routeData
=
this
.
$router
.
resolve
({
name
:
'PrintPageN'
,
query
:
{
type
:
type
,
id
:
id
,
isKehu
:
0
,
Merge
:
Merge
,
OrderSource
:
OrderSource
?
OrderSource
:
-
1
,
Capital
:
1
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
}
else
{
let
routeData
=
this
.
$router
.
resolve
({
name
:
'PrintPageN'
,
query
:
{
type
:
type
,
id
:
id
,
Merge
:
Merge
,
OrderSource
:
OrderSource
?
OrderSource
:
-
1
,
Capital
:
1
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
}
},
inited
(
viewer
){
this
.
$viewer
=
viewer
},
getList
(
id
){
if
(
!
id
){
return
;
}
this
.
apipost
(
'Financial_get_GetFundTransfer'
,{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
this
.
GetDetail
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
dataList
));
this
.
GetDetail
.
AuditSteps
=
[];
if
(
this
.
dataList
.
Status
==
2
){
let
len
=
this
.
dataList
.
AuditSteps
.
length
-
1
;
let
sLen
=
this
.
dataList
.
AuditSteps
[
len
].
AuditRecordList
[
this
.
dataList
.
AuditSteps
[
len
].
AuditRecordList
.
length
-
1
];
let
begTime
=
this
.
dataList
.
AuditSteps
[
0
].
AuditRecordList
[
0
].
AduitDate
;
let
enTime
=
sLen
&&
sLen
.
AduitDate
?
sLen
.
AduitDate
:
begTime
;
let
newTime
=
this
.
$commonUtils
.
formatMsgTime2
(
begTime
,
enTime
);
this
.
endDate
=
newTime
.
replace
(
"前"
,
""
);
}
this
.
dataList
.
AuditSteps
.
forEach
(
y
=>
{
if
(
y
.
Sort
>
0
){
y
.
contentTips
=
y
.
AuditDescription
+
(
y
.
AuditWay
==
'2'
?
this
.
$t
(
'fnc.huiqian'
)
:
this
.
$t
(
'fnc.huoqian'
));
this
.
AuditListData
.
AuditList
.
push
(
y
);
}
this
.
GetDetail
.
AuditSteps
.
push
(
y
);
});
let
arr
=
[];
let
AuditSteps
=
[];
AuditSteps
=
arr
.
concat
(
this
.
dataList
.
AuditSteps
);
AuditSteps
.
reverse
();
this
.
dataList
.
AuditSteps
=
AuditSteps
;
this
.
dataList
.
SBankList
.
forEach
(
x
=>
{
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
x
.
isShow
=
false
;
});
this
.
dataList
.
FBankList
.
forEach
(
x
=>
{
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
x
.
isShow
=
false
;
});
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
AuditOrRefund
(){
this
.
MsgBus
.
$emit
(
'msg'
);
},
showFuFileList
(
item
){
if
(
item
.
comText
==
this
.
$t
(
'fnc.ycfujian'
)){
item
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
}
else
{
item
.
comText
=
this
.
$t
(
'fnc.ycfujian'
)
}
if
(
item
.
isShow
){
item
.
isShow
=
false
;
}
else
{
item
.
isShow
=
true
;
}
this
.
$forceUpdate
();
},
//删除附件
deleteUploadFile
(){
},
//显示大图
showImg
(
obj
){
let
isExsit
=
false
this
.
images
.
forEach
(
x
=>
{
if
(
x
==
obj
)
isExsit
=
true
})
if
(
!
isExsit
)
{
this
.
images
.
push
(
obj
)
}
else
{
this
.
$viewer
.
view
(
this
.
images
.
indexOf
(
obj
))
}
this
.
$viewer
.
show
()
},
//预览文件
showUpLoadFileT
(
i
){
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
){
this
.
previewPDF
(
i
.
Content
)
}
else
{
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Content
)
}
},
},
mounted
(){
this
.
ID
=
this
.
$route
.
query
.
id
;
this
.
getList
(
this
.
ID
);
}
}
</
script
>
src/components/PrintPageN.vue
View file @
68845892
...
...
@@ -37,7 +37,7 @@
<
template
v-loading=
"loading"
>
<div
class=
"_PrintPage"
>
<div
class=
"_PrintPage_box"
>
<template
v-if=
"type==='2'&&(Merge==='0' ||
Merge==='1' ||
Merge===null)"
>
<template
v-if=
"type==='2'&&(Merge==='0' ||Merge===null)"
>
<div
class=
"SetDiv"
>
<span
@
click=
"disabled=false"
>
编辑
</span>
<span
@
click=
"disabled=true"
>
保存
</span>
...
...
@@ -60,22 +60,39 @@
<my-GZ-Bill
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:OrderSource=
"OrderSource"
:name=
'index+1'
></my-GZ-Bill>
</div>
</
template
>
<!-- <template v-if="Merge==='1'">
<div class="_border_1" v-for="(item,index) in loopNumN">
<my-HB-Bill v-on:helloPP="numAdd" :Num="num" :ID="id" :width="widthSon" :isPrintPage="true" :color="colorSon" :name='index+1'></my-HB-Bill>
</div>
</template> -->
<
template
v-if=
"Merge==='1'"
>
<div
class=
"SetDiv"
>
<span
@
click=
"disabled2=false"
>
编辑
</span>
<span
@
click=
"disabled2=true"
>
保存
</span>
</div>
<div
class=
"_border_1"
v-for=
"(item,index) in 1"
>
<my-HB-Bill
:loopNumN=
"loopNumN"
:disabled
.
sysc=
"disabled2"
v-on:helloPP=
"numAdd"
:Num=
"num"
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:name=
'index+1'
></my-HB-Bill>
</div>
</
template
>
<
template
v-if=
"CapitalState"
>
<div
class=
"SetDiv"
>
<span
@
click=
"disabled3=false"
>
编辑
</span>
<span
@
click=
"disabled3=true"
>
保存
</span>
</div>
<div
class=
"_border_1"
v-for=
"(item,index) in 1"
>
<my-Capital
:loopNumN=
"loopNumN"
:disabled
.
sysc=
"disabled3"
v-on:helloPP=
"numAdd"
:Num=
"num"
:ID=
"id"
:width=
"widthSon"
:isPrintPage=
"true"
:color=
"colorSon"
:name=
'index+1'
></my-Capital>
</div>
</
template
>
</div>
</div>
</template>
<
script
>
import
myBill
from
"./FinancialModule/FinancialSubmodule/BillModuleNew.vue"
;
import
myrbvBill
from
"./FinancialModule/FinancialSubmodule/ReceivablesModuleNew.vue"
;
import
myhrBill
from
"./FinancialModule/FinancialSubmodule/MergeBillModule.vue"
;
import
myhrBill
from
"./FinancialModule/FinancialSubmodule/MergeBillModule
New
.vue"
;
import
myGZBill
from
"./FinancialModule/FinancialSubmodule/GZBillModule.vue"
;
import
myCapital
from
"./FinancialModule/FinancialSubmodule/myCapital.vue"
;
export
default
{
data
(){
return
{
disabled3
:
true
,
disabled2
:
true
,
disabled1
:
true
,
disabled
:
true
,
loading
:
true
,
...
...
@@ -88,13 +105,15 @@ export default {
loopNumN
:
this
.
$route
.
query
.
isKehu
===
'1'
?
3
:
2
,
loopNumT
:
2
,
Merge
:
null
,
OrderSource
:
-
1
OrderSource
:
-
1
,
CapitalState
:
false
,
}
},
components
:{
'my-Bill'
:
myBill
,
'my-RVB-Bill'
:
myrbvBill
,
'my-HB-Bill'
:
myhrBill
,
'my-GZ-Bill'
:
myGZBill
'my-GZ-Bill'
:
myGZBill
,
'my-Capital'
:
myCapital
},
methods
:{
numAdd
(){
this
.
num
=
this
.
num
+
1
...
...
@@ -107,6 +126,10 @@ export default {
this
.
isKehu
=
this
.
$route
.
query
.
isKehu
;
this
.
Merge
=
this
.
$route
.
query
.
Merge
;
this
.
OrderSource
=
this
.
$route
.
query
.
OrderSource
;
if
(
this
.
$route
.
query
.
Capital
){
this
.
CapitalState
=
true
;
}
}
}
</
script
>
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