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
f87b356b
Commit
f87b356b
authored
Aug 08, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自编号报表合计行增加单位
parent
e1430e4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+18
-15
No files found.
src/views/ecw/financial/selfNoReport.vue
View file @
f87b356b
...
...
@@ -257,10 +257,10 @@ export default {
},
// 获取列的货币名称 columnName 取值为Other, Freight, Clearance
ColumnCurrencyName
(){
return
(
columnName
)
=>
{
return
(
columnName
,
wrapper
=
true
)
=>
{
if
(
!
this
.
list
.
length
)
return
''
let
field
=
`total
${
columnName
}
FeeCurrency`
return
`(
${
this
.
list
[
0
][
'
summaryInfo
'
][
field
]}
)`
return
wrapper
?
`(
${
this
.
list
[
0
][
'
summaryInfo
'
][
field
]}
)`
:
this
.
list
[
0
][
'
summaryInfo
'
][
field
]
}
}
},
...
...
@@ -296,35 +296,38 @@ export default {
},
// 返回汇总行数据
getSummary
(){
const
FreightCurrencyName
=
this
.
ColumnCurrencyName
(
'
Freight
'
,
false
)
const
ClearanceCurrencyName
=
this
.
ColumnCurrencyName
(
'
Clearance
'
,
false
)
const
OtherCurrencyName
=
this
.
ColumnCurrencyName
(
'
Other
'
,
false
)
const
data
=
[
this
.
$t
(
'
合计
'
),
''
,
// 应收款
this
.
getTotal
(
'
receivableTotalFee
'
),
this
.
getTotal
(
'
receivableTotalFee
'
)
+
'
USD
'
,
// 应收运费
this
.
getTotal
(
'
totalReceivableFreightFee
'
),
this
.
getTotal
(
'
totalReceivableFreightFee
'
)
+
FreightCurrencyName
,
// 应收清关费
this
.
getTotal
(
'
totalReceivableClearanceFee
'
),
this
.
getTotal
(
'
totalReceivableClearanceFee
'
)
+
ClearanceCurrencyName
,
// 应收其他费用
this
.
getTotal
(
'
totalReceivableOtherFee
'
),
this
.
getTotal
(
'
totalReceivableOtherFee
'
)
+
OtherCurrencyName
,
// 目的地实收运费
this
.
getTotal
(
'
totalNetReceiptsCollectFreightFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectFreightFee
'
)
+
FreightCurrencyName
,
// 目的地实收清关费
this
.
getTotal
(
'
totalNetReceiptsCollectClearanceFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectClearanceFee
'
)
+
ClearanceCurrencyName
,
// 目的地实收其他费用
this
.
getTotal
(
'
totalNetReceiptsCollectOtherFee
'
),
this
.
getTotal
(
'
totalNetReceiptsCollectOtherFee
'
)
+
OtherCurrencyName
,
// 中国实收运费
this
.
getTotal
(
'
netReceiptsAdvanceFreightFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceFreightFee
'
)
+
FreightCurrencyName
,
// 中国实收清关费
this
.
getTotal
(
'
netReceiptsAdvanceClearanceFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceClearanceFee
'
)
+
ClearanceCurrencyName
,
// 中国实收其他费用
this
.
getTotal
(
'
netReceiptsAdvanceOtherFee
'
),
this
.
getTotal
(
'
netReceiptsAdvanceOtherFee
'
)
+
OtherCurrencyName
,
// 运费折扣
this
.
getTotal
(
'
discountFreightFee
'
),
this
.
getTotal
(
'
discountFreightFee
'
)
+
FreightCurrencyName
,
// 清关费折扣
this
.
getTotal
(
'
discountClearanceFee
'
),
this
.
getTotal
(
'
discountClearanceFee
'
)
+
ClearanceCurrencyName
,
// 其他费用折扣
this
.
getTotal
(
'
discountOtherFee
'
)
this
.
getTotal
(
'
discountOtherFee
'
)
+
OtherCurrencyName
,
]
console
.
log
(
'
sum
'
,
{
data
})
return
data
...
...
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