Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c47b4939
authored
Nov 17, 2021
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发货单导出方式更改
1 parent
f07f7f9e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
10 deletions
src/http/interface.js
src/views/orderManage/invoice.vue
src/http/interface.js
View file @
c47b493
...
@@ -59,7 +59,14 @@ export const PAGEDISPATCHORDER = (params) => {
...
@@ -59,7 +59,14 @@ export const PAGEDISPATCHORDER = (params) => {
}
}
//发货单管理-导出列表
//发货单管理-导出列表
export
const
EXPORTSPGOODSORDER
=
BASEURL
+
'/JXCSPOrder/exportDispatchOrder'
// export const EXPORTSPGOODSORDER = BASEURL + '/JXCSPOrder/exportDispatchOrder'
export
const
EXPORTSPGOODSORDER
=
(
params
)
=>
{
return
axios
({
url
:
'/JXCSPOrder/exportDispatchOrder'
,
method
:
'POST'
,
data
:
params
,
})
}
// 发货单管理-出货明细
// 发货单管理-出货明细
export
const
GETDEVICEDETAILS
=
(
params
)
=>
{
export
const
GETDEVICEDETAILS
=
(
params
)
=>
{
...
...
src/views/orderManage/invoice.vue
View file @
c47b493
...
@@ -391,17 +391,28 @@ export default {
...
@@ -391,17 +391,28 @@ export default {
* 导出列表
* 导出列表
*/
*/
exportInfo
:
function
(){
exportInfo
:
function
(){
// const _this = this
// const _data = _this.getParams()
// const params = {'fileName':'发货单列表'}
// params.url = EXPORTSPGOODSORDER
// params.method = 'post'
// params.data = _data
// params.success = function(){
// _this.exportLoading = false
// }
// _this.exportLoading = true
// exportExcel(params)
const
_this
=
this
const
_this
=
this
const
_data
=
_this
.
getParams
()
const
oParams
=
_this
.
getParams
()
const
params
=
{
'fileName'
:
'发货单列表'
}
params
.
url
=
EXPORTSPGOODSORDER
params
.
method
=
'post'
params
.
data
=
_data
params
.
success
=
function
(){
_this
.
exportLoading
=
false
}
_this
.
exportLoading
=
true
_this
.
exportLoading
=
true
exportExcel
(
params
)
EXPORTSPGOODSORDER
(
oParams
)
.
then
((
res
)
=>
{
_this
.
exportLoading
=
false
})
.
catch
((
error
)
=>
{
_this
.
exportLoading
=
false
})
},
},
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment