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
38010642
Commit
38010642
authored
Jul 25, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善自编号报表
parent
3cd705f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
9 deletions
+25
-9
box.js
src/api/ecw/box.js
+10
-0
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+15
-9
No files found.
src/api/ecw/box.js
View file @
38010642
...
...
@@ -359,3 +359,13 @@ export function boxSettlementPage(params) {
params
,
});
}
// 导出自编号汇总excel
export
function
exportSettlementExcel
(
params
)
{
return
request
({
url
:
"
/shipment/box/export-shipment-summary
"
,
method
:
"
get
"
,
responseType
:
"
blob
"
,
params
,
});
}
src/views/ecw/financial/selfNoReport.vue
View file @
38010642
...
...
@@ -64,11 +64,11 @@
@
click=
"handleQuery"
:loading=
"loading"
>
{{
$t
(
'
查询
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus
"
@
click=
"handleExport"
>
{{
$t
(
'
导出搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
:loading=
"exporting"
icon=
"el-icon-download
"
@
click=
"handleExport"
>
{{
$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('是否结算')"
align=
"center"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.SETTLEMENT_STATUS"
:value=
"scope.row.slStatus"
></dict-tag>
...
...
@@ -98,7 +98,7 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
v-if=
"permissions.indexOf('selfno:report:detail') > -1"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"$router.push('./self_no_report_detail?
id=' + scope.row.id
)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"$router.push('./self_no_report_detail?
containerNumber=' + scope.row.selfNo
)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -113,17 +113,14 @@
</template>
<
script
>
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
store
from
"
@/store
"
;
import
{
boxSettlementPage
}
from
"
@/api/ecw/box
"
;
import
{
boxSettlementPage
,
exportSettlementExcel
}
from
"
@/api/ecw/box
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
export
default
{
components
:
{
Template
},
data
()
{
return
{
loading
:
false
,
// 是否加载中
...
...
@@ -132,12 +129,14 @@ export default {
total
:
0
,
queryParams
:
{
page
:
1
,
rows
:
2
0
,
rows
:
1
0
,
},
// tradeCityList: [],
currencyList
:[],
warehouseList
:[],
countryList
:
[],
// 导出中状态
exporting
:
false
};
},
activated
(){
...
...
@@ -204,7 +203,14 @@ export default {
},
// 导出搜索
handleExport
(){
this
.
$message
.
info
(
"
// TODO 导出搜索
"
)
this
.
exporting
=
true
let
params
=
{...
this
.
queryParams
}
this
.
addBeginAndEndTime
(
params
,
this
.
dateFilter
,
"
JsDate
"
,
false
);
exportSettlementExcel
(
params
).
then
(
res
=>
{
this
.
$download
.
excel
(
res
,
'
shipment-summary.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