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
4fa91662
authored
Apr 30, 2026
by
gyt
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat(consignmentRecall): 添加失败行提示
parent
44c5ea6b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/views/consignmentManagement/consignmentRecall.vue
src/views/consignmentManagement/consignmentRecall.vue
View file @
4fa91662
...
@@ -279,8 +279,14 @@
...
@@ -279,8 +279,14 @@
handleUploadSuccess
(
res
)
{
handleUploadSuccess
(
res
)
{
this
.
uploadLoading
=
false
;
this
.
uploadLoading
=
false
;
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
var
{
success_total
=
0
,
fail_total
=
0
}
=
res
.
data
||
{};
var
{
success_total
=
0
,
fail_total
=
0
,
fail_list
}
=
res
.
data
||
{};
var
failMsg
=
''
if
(
fail_list
.
length
){
failMsg
+=
`失败原因:\n`
;
failMsg
=
fail_list
.
map
(
item
=>
item
.
remark
).
join
(
';\n'
);
}
this
.
$message
.
success
(
`导入完成,成功
${
success_total
}
条,失败
${
fail_total
}
条`
);
this
.
$message
.
success
(
`导入完成,成功
${
success_total
}
条,失败
${
fail_total
}
条`
);
failMsg
&&
this
.
$alert
(
failMsg
);
this
.
getData
();
this
.
getData
();
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
msg
||
'导入失败'
);
this
.
$message
.
error
(
res
.
msg
||
'导入失败'
);
...
...
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