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 3e58b982
authored
Sep 24, 2020
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
下载发货单问题
1 parent
0fe0755f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/views/orderManage/assignOrder.vue
src/views/orderManage/assignOrder.vue
View file @
3e58b98
...
...
@@ -476,8 +476,6 @@ export default {
downloadInvoice
:
function
(
row
){
console
.
log
(
row
.
urlDispatchBills
)
// window.location.href = row.urlDispatchBills
// let a = document.createElement('a')
// a.href = row.urlDispatchBills // 这里的请求方式为get,如果需要认证,接口上需要带上token
// a.click()
...
...
@@ -502,11 +500,13 @@ export default {
};
image
.
src
=
row
.
urlDispatchBills
;
}
else
{
const
params
=
{
'fileName'
:
'发货单'
}
params
.
url
=
row
.
urlDispatchBills
params
.
method
=
'get'
params
.
data
=
{}
exportExcel
(
params
)
// const params = {'fileName':'发货单'}
// params.url = row.urlDispatchBills
// params.method = 'get'
// params.data = {}
// exportExcel(params)
window
.
location
.
href
=
row
.
urlDispatchBills
}
},
...
...
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