Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a8ef4e78
authored
May 22, 2026
by
gyt
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
hotfix(生成寄售召回单): 下载地址环境判断
parent
dcd8fa9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/consignmentManagement/createConsignmentRecallOrder.vue
src/views/consignmentManagement/createConsignmentRecallOrder.vue
View file @
a8ef4e78
...
...
@@ -41,7 +41,7 @@
<el-upload
:action=
"batchRecallUpload"
:headers=
"uploadHeaders"
:on-success=
"handleUploadSuccess"
:on-error=
"handleUploadError"
:before-upload=
"handleBeforeUpload"
accept=
".xlsx,.xls"
:show-file-list=
"false"
name=
"file"
style=
"display: inline-block; margin-left: 10px;"
>
<el-button
type=
"primary"
:loading=
"uploadLoading"
>
导入
</el-button>
</el-upload>
<a
href=
"http://cloud.liexindev.net/template/批量召回模板.xlsx
"
download
style=
"text-decoration: none; margin-left: 10px;"
>
<a
:href=
"downloadHref
"
download
style=
"text-decoration: none; margin-left: 10px;"
>
<el-button
type=
"primary"
>
下载模板
</el-button>
</a>
<div
style=
"margin-top: 10px;"
>
...
...
@@ -144,6 +144,7 @@
name
:
"createConsignmentRecallOrder"
,
data
()
{
return
{
downloadHref
:
location
.
hostname
===
'xinlian.ichunt.com'
?
'https://cloud.ichunt.com/template/批量召回模板.xlsx'
:
'http://cloud.liexindev.net/template/批量召回模板.xlsx'
,
batchRecallUpload
:
NODE_ENVS
+
'/api/consignmentRecall/batchRecallUpload'
,
uploadHeaders
:
{
'Authorization'
:
'Bearer '
+
Util
.
getCookie
(
'token'
)
||
''
...
...
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