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
d6d2f60d
authored
Jan 06, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
220be46c
Hide 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 @
d6d2f60d
...
...
@@ -225,7 +225,7 @@ export default {
switch
(
type
)
{
case
1
:
// 提交审核:校验待提审状态
const
invalidVerify
=
this
.
multipleSelection
.
filter
(
item
=>
item
.
consignment_status
!=
=
'0'
);
const
invalidVerify
=
this
.
multipleSelection
.
filter
(
item
=>
item
.
consignment_status
!=
0
);
if
(
invalidVerify
.
length
)
{
this
.
$message
.
warning
(
'只能选择待提审状态的数据'
);
return
;
...
...
@@ -239,7 +239,7 @@ export default {
break
;
case
2
:
// 作废:校验待提审或进行中(未发货未入库)状态
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
.
deliver_status
==
0
&&
item
.
stock_in_status
==
0
));
if
(
invalidCancel
.
length
)
{
this
.
$message
.
warning
(
'只能作废待提审或进行中(未发货未入库)的数据'
);
return
;
...
...
@@ -249,7 +249,7 @@ export default {
break
;
case
3
:
// 关单:校验进行中且部分发货/全部发货,部分入库状态
const
invalidClose
=
this
.
multipleSelection
.
filter
(
item
=>
!
(
item
.
consignment_status
==
=
'2'
&&
[
'1'
,
'2'
].
includes
(
item
.
deliver_status
)
&&
item
.
stock_in_status
===
'1'
));
const
invalidClose
=
this
.
multipleSelection
.
filter
(
item
=>
!
(
item
.
consignment_status
==
'2'
&&
[
1
,
2
].
includes
(
item
.
deliver_status
)
&&
item
.
stock_in_status
==
1
));
if
(
invalidClose
.
length
)
{
this
.
$message
.
warning
(
'只能关闭进行中且已部分/全部发货、部分入库的数据'
);
return
;
...
...
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