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
86164cf2
Commit
86164cf2
authored
Aug 02, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自编号报表优化
parent
c2fae766
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
23 deletions
+11
-23
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+11
-23
No files found.
src/views/ecw/financial/selfNoReport.vue
View file @
86164cf2
...
...
@@ -153,13 +153,10 @@ import { getCurrencyPage } from "@/api/ecw/currency";
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
store
from
"
@/store
"
;
import
{
boxSettlementPage
,
exportSettlementExcel
}
from
"
@/api/ecw/box
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
components
:
{
Template
}
,
name
:
'
EcwFinancialSelfnoreport
'
,
data
()
{
return
{
loading
:
false
,
// 是否加载中
...
...
@@ -199,9 +196,6 @@ export default {
}
},
computed
:
{
DICT_TYPE
()
{
return
DICT_TYPE
},
permissions
(){
return
store
.
getters
.
permissions
},
...
...
@@ -255,16 +249,8 @@ export default {
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
$refs
.
queryForm
.
validate
((
valid
)
=>
{
console
.
log
({
valid
})
if
(
!
valid
)
return
this
.
$refs
.
queryForm
.
validate
().
then
(()
=>
{
this
.
queryParams
.
page
=
1
;
if
(
!
this
.
queryParams
.
destCountryId
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请选择目的国
'
))
}
if
(
!
this
.
queryParams
.
startWarehouseIdList
||
!
this
.
queryParams
.
startWarehouseIdList
.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请选择始发仓
'
))
}
this
.
getList
();
})
...
...
@@ -276,13 +262,15 @@ export default {
},
// 导出搜索
handleExport
(){
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
this
.
$refs
.
queryForm
.
validate
().
then
(()
=>
{
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