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
935dc7c6
Commit
935dc7c6
authored
Jul 20, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release2.2' into release2.2
parents
4c64e956
f1301e4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
26 deletions
+84
-26
order.js
src/api/ecw/order.js
+11
-0
selfNoReportDetail.vue
src/views/ecw/financial/selfNoReportDetail.vue
+73
-26
No files found.
src/api/ecw/order.js
View file @
935dc7c6
...
...
@@ -804,3 +804,14 @@ export function orderSummaryByContainerNumber(params){
params
})
}
// 导出自编号订单汇总列表
export
function
exportOrderSummaryByContainerNumber
(
params
){
return
request
({
url
:
'
/ecw/order/export/export-order-summary
'
,
method
:
'
get
'
,
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
})
}
src/views/ecw/financial/selfNoReportDetail.vue
View file @
935dc7c6
...
...
@@ -66,14 +66,14 @@
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
查询
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleExport"
>
{{
$t
(
'
导出搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleExport"
:loading=
"exporting"
>
{{
$t
(
'
导出搜索
'
)
}}
</el-button>
</el-form-item>
</el-form>
</el-card>
<el-table
v-loading=
"loading"
:data=
"list"
border
class=
"card"
>
<el-table
v-loading=
"loading"
:data=
"list"
border
class=
"card"
:element-loading-text=
"$t('汇总计算中...')"
>
<el-table-column
:label=
"$t('序号')"
width=
"50"
>
<template
slot-scope=
"
{row, index}">
{{
index
+
1
}}
<template
slot-scope=
"
{row,
$
index}">
{{
startNo
+
$index
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('订单号')"
prop=
"orderNo"
/>
...
...
@@ -104,82 +104,114 @@
<el-table-column
:label=
"$t('订单状态')"
prop=
"statusMsg"
></el-table-column>
<el-table-column
:label=
"$t('应收总金额')"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.receivableTotalFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('订单优惠金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.discountTotalFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('实收总金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.netReceiptsTotalFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已收总金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.writeOffTotalFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收运费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.receivableFreightFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('运费优惠金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.discountFreightFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('实收运费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.netReceiptsFreightFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已收运费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.writeOffFreightFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收清关费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.receivableClearanceFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('实收清关费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.netReceiptsClearanceFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('清关费优惠金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.discountClearanceFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已收清关费')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.writeOffClearanceFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('应收额外费用')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.receivableOtherFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('实收额外费用')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.netReceiptsOtherFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('额外费用优惠金额')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.discountOtherFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已收额外费用')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
<div
v-for=
"item in row.writeOffOtherFeeGroupDtoList || []"
:key=
"item.currencyId"
>
{{
item
.
amount
}}{{
item
.
currencyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('是否全部核销')"
width=
"150"
>
...
...
@@ -189,15 +221,15 @@
<span
v-else
>
{{
$t
(
'
未核销
'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户经理')"
prop=
"
name"
>
// TODO
</el-table-column>
<el-table-column
:label=
"$t('客户经理')"
prop=
"
salesmanName"
>
</el-table-column>
<el-table-column
:label=
"$t('订单入仓时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
{{
row
.
inTime
|
parseTime
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('订单装柜时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
// TODO
{{
row
.
loadTime
|
parseTime
}}
</
template
>
</el-table-column>
</el-table>
...
...
@@ -217,10 +249,12 @@ import { getCurrencyPage } from "@/api/ecw/currency";
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
store
from
"
@/store
"
;
import
UserSelector
from
"
@/components/UserSelector/index.vue
"
;
import
{
orderSummaryByContainerNumber
}
from
"
@/api/ecw/order
"
;
import
{
exportOrderSummaryByContainerNumber
,
orderSummaryByContainerNumber
}
from
"
@/api/ecw/order
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
parseTime
}
from
"
@/utils/ruoyi
"
;
export
default
{
filters
:
{
parseTime
},
components
:
{
UserSelector
},
data
()
{
return
{
...
...
@@ -231,12 +265,14 @@ export default {
total
:
0
,
queryParams
:
{
page
:
1
,
rows
:
2
0
,
rows
:
1
0
,
},
tradeCityList
:
[],
currencyList
:[],
warehouseList
:[],
countryList
:
[],
// 导出中状态
exporting
:
false
};
},
activated
(){
...
...
@@ -268,6 +304,10 @@ export default {
importWarehouseList
(){
return
this
.
warehouseList
.
filter
(
item
=>
+
item
.
tradeType
===
1
||
+
item
.
tradeType
===
3
)
},
// 序号起始
startNo
(){
return
(
this
.
queryParams
.
page
-
1
)
*
this
.
queryParams
.
rows
+
1
}
},
methods
:
{
getCurrencyLabel
(
id
){
...
...
@@ -300,7 +340,14 @@ export default {
},
// 导出搜索
handleExport
(){
this
.
$alert
(
'
// TODO
'
)
this
.
exporting
=
true
let
params
=
{...
this
.
queryParams
,
containerNumber
:
this
.
$route
.
query
.
containerNumber
}
this
.
addBeginAndEndTime
(
params
,
this
.
dateFilter
,
this
.
dateFilterType
,
false
);
exportOrderSummaryByContainerNumber
(
params
).
then
(
res
=>
{
this
.
$download
.
excel
(
res
,
params
.
containerNumber
+
'
.xls
'
);
}).
finally
(()
=>
{
this
.
exporting
=
false
})
}
},
};
...
...
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