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
95100888
authored
Jan 09, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
只能作废待提审或进行中且待入库的数据
parent
7c51b671
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/consignmentManagement/consignmentApplication.vue
src/views/consignmentManagement/consignmentApplication.vue
View file @
95100888
...
...
@@ -242,10 +242,10 @@ export default {
this
.
$message
.
warning
(
'不支持批量操作'
);
return
;
}
// 作废:校验
待提审或进行中(未发货未入库)状态
const
invalidCancel
=
this
.
multipleSelection
.
filter
(
item
=>
!
([
0
,
2
].
includes
(
item
.
consignment_status
)
&&
item
.
deliver_status
==
0
&&
item
.
stock_in_status
==
0
));
// 作废:校验
const
invalidCancel
=
this
.
multipleSelection
.
filter
(
item
=>
!
([
0
,
2
].
includes
(
item
.
consignment_status
)
&&
item
.
stock_in_status
==
0
));
if
(
invalidCancel
.
length
)
{
this
.
$message
.
warning
(
'只能作废待提审或进行中
(未发货未入库)
的数据'
);
this
.
$message
.
warning
(
'只能作废待提审或进行中
且待入库
的数据'
);
return
;
}
this
.
consignment_ids
=
this
.
multipleSelection
.
map
(
item
=>
item
.
consignment_id
).
join
(
','
);
...
...
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