Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
cd74dfd0
Commit
cd74dfd0
authored
Aug 04, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自编号报表优化
parent
c52334e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
20 deletions
+52
-20
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+52
-20
No files found.
src/views/ecw/financial/selfNoReport.vue
View file @
cd74dfd0
...
...
@@ -80,55 +80,76 @@
<span
v-else
>
{{
scope
.
row
.
selfNo
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收款(Accounts receivable)')"
align=
"center"
prop=
"summaryInfo.receivableTotalFeeGroup"
></el-table-column>
<el-table-column
:label=
"$t('应收款(Accounts receivable)USD')"
prop=
"summaryInfo.netReceiptsCollectFreightFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
receivableTotalFee
}}{{
row
.
summaryInfo
.
receivableTotalFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收款 RECEIVABLE')"
align=
"center"
prop=
"summaryInfo.receivableTotalFeeGroup"
>
<el-table-column
:label=
"$t('运费 FREIGHT') + ColumnCurrencyName('Freight')"
prop=
"summaryInfo.netReceiptsCollectFreightFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalReceivableFreightFee
}}{{
row
.
summaryInfo
.
totalFreightFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('清关费 CLEARING FEE') + ColumnCurrencyName('Clearance')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalReceivableClearanceFee
}}{{
row
.
summaryInfo
.
totalClearanceFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('额外费用 EXTRAL FEE') + ColumnCurrencyName('Other')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalReceivableOtherFee
}}{{
row
.
summaryInfo
.
totalOtherFeeCurrency
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"'received in ' + (dstCountryName || $t('目的国')) + `(${$t('目的地实收')})`"
align=
"center"
prop=
""
>
<el-table-column
:label=
"$t('运费')"
prop=
"summaryInfo.netReceiptsCollectFreightFeeGroup"
>
<el-table-column
:label=
"$t('运费')
+ ColumnCurrencyName('Freight')
"
prop=
"summaryInfo.netReceiptsCollectFreightFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalNetReceiptsCollectFreightFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
FreightFeeCurrency
}}
{{
row
.
summaryInfo
.
totalNetReceiptsCollectFreightFee
}}{{
row
.
summaryInfo
.
total
FreightFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('清关费')"
prop=
"summaryInfo.netReceiptsCollectClearanceFeeGroup"
>
<el-table-column
:label=
"$t('清关费')
+ ColumnCurrencyName('Clearance')
"
prop=
"summaryInfo.netReceiptsCollectClearanceFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalNetReceiptsCollectClearanceFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
ClearanceFeeCurrency
}}
{{
row
.
summaryInfo
.
totalNetReceiptsCollectClearanceFee
}}{{
row
.
summaryInfo
.
total
ClearanceFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('额外费用')"
prop=
"summaryInfo.netReceiptsCollectOtherFeeGroup"
>
<el-table-column
:label=
"$t('额外费用')
+ ColumnCurrencyName('Other')
"
prop=
"summaryInfo.netReceiptsCollectOtherFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalNetReceiptsCollectOtherFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
OtherFeeCurrency
}}
{{
row
.
summaryInfo
.
totalNetReceiptsCollectOtherFee
}}{{
row
.
summaryInfo
.
total
OtherFeeCurrency
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('received in China(中国实收)')"
align=
"center"
prop=
""
>
<el-table-column
:label=
"$t('运费')"
prop=
"summaryInfo.netReceiptsAdvanceFreightFeeGroup"
>
<el-table-column
:label=
"$t('运费')
+ ColumnCurrencyName('Freight')
"
prop=
"summaryInfo.netReceiptsAdvanceFreightFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
netReceiptsAdvanceFreightFeeCurrency
}}{{
row
.
summaryInfo
.
netReceiptsAdvanceClearance
FeeCurrency
}}
{{
row
.
summaryInfo
.
netReceiptsAdvanceFreightFeeCurrency
}}{{
row
.
summaryInfo
.
totalFreight
FeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('清关费')"
prop=
"summaryInfo.netReceiptsAdvanceClearanceFeeGroup"
>
<el-table-column
:label=
"$t('清关费')
+ ColumnCurrencyName('Clearance')
"
prop=
"summaryInfo.netReceiptsAdvanceClearanceFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalNetReceiptsAdvanceClearanceFee
}}{{
row
.
summaryInfo
.
netReceiptsAdvance
ClearanceFeeCurrency
}}
{{
row
.
summaryInfo
.
totalNetReceiptsAdvanceClearanceFee
}}{{
row
.
summaryInfo
.
total
ClearanceFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('额外费用')"
prop=
"summaryInfo.netReceiptsAdvanceOtherFeeGroup"
>
<el-table-column
:label=
"$t('额外费用')
+ ColumnCurrencyName('Other')
"
prop=
"summaryInfo.netReceiptsAdvanceOtherFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
totalNetReceiptsAdvanceOtherFee
}}{{
row
.
summaryInfo
.
netReceiptsAdvance
OtherFeeCurrency
}}
{{
row
.
summaryInfo
.
totalNetReceiptsAdvanceOtherFee
}}{{
row
.
summaryInfo
.
total
OtherFeeCurrency
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('Discounts 折扣')"
align=
"center"
prop=
""
>
<el-table-column
:label=
"$t('运费')"
prop=
"summaryInfo.discountFreightFeeGroup"
>
<el-table-column
:label=
"$t('运费')
+ ColumnCurrencyName('Freight')
"
prop=
"summaryInfo.discountFreightFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
discountFreightFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
FreightFeeCurrency
}}
{{
row
.
summaryInfo
.
discountFreightFee
}}{{
row
.
summaryInfo
.
total
FreightFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('清关费')"
prop=
"summaryInfo.discountClearanceFeeGroup"
>
<el-table-column
:label=
"$t('清关费')
+ ColumnCurrencyName('Clearance')
"
prop=
"summaryInfo.discountClearanceFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
discountClearanceFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
ClearanceFeeCurrency
}}
{{
row
.
summaryInfo
.
discountClearanceFee
}}{{
row
.
summaryInfo
.
total
ClearanceFeeCurrency
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('额外费用')"
prop=
"summaryInfo.discountOtherFeeGroup"
>
<el-table-column
:label=
"$t('额外费用')
+ ColumnCurrencyName('Other')
"
prop=
"summaryInfo.discountOtherFeeGroup"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
summaryInfo
.
discountOtherFee
}}{{
row
.
summaryInfo
.
netReceiptsCollect
OtherFeeCurrency
}}
{{
row
.
summaryInfo
.
discountOtherFee
}}{{
row
.
summaryInfo
.
total
OtherFeeCurrency
}}
</
template
>
</el-table-column>
</el-table-column>
...
...
@@ -178,7 +199,10 @@ export default {
};
},
activated
(){
this
.
getList
();
// 如果有必须的条件则查询
if
(
this
.
queryParams
.
startWarehouseIdList
.
length
&&
this
.
queryParams
.
dstCountryId
){
this
.
getList
();
}
},
created
()
{
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
...
...
@@ -222,6 +246,14 @@ export default {
const
country
=
this
.
countryList
.
find
(
item
=>
item
.
id
==
this
.
queryParams
.
destCountryId
)
if
(
!
country
)
return
null
return
this
.
$l
(
country
,
'
title
'
)
},
// 获取列的货币名称 columnName 取值为Other, Freight, Clearance
ColumnCurrencyName
(){
return
(
columnName
)
=>
{
if
(
!
this
.
list
.
length
)
return
''
let
field
=
`total
${
columnName
}
FeeCurrency`
return
`(
${
this
.
list
[
0
][
'
summaryInfo
'
][
field
]}
)`
}
}
},
methods
:
{
...
...
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