Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
scm_wms_outstore_service
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
cc336e2d
authored
May 19, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加确认判断
parent
b6fb68b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
app/Http/Model/Logic/PalletLogic.php
app/Http/Model/Logic/PalletLogic.php
View file @
cc336e2d
...
...
@@ -184,6 +184,9 @@ class PalletLogic
}
}
if
(
PickTaskDetailModel
::
whereIn
(
'pick_task_detail_id'
,
$pickTaskDetailIdArr
)
->
where
(
'is_confirm'
,
0
)
->
value
(
'pick_task_detail_id'
)){
throw
new
\Exception
(
'单据存在未确认数据,请确认'
);
}
if
(
PickTaskDetailModel
::
whereIn
(
'pick_task_detail_id'
,
$pickTaskDetailIdArr
)
->
whereIn
(
'pack_status'
,[
4
])
->
value
(
'pick_task_detail_id'
)){
throw
new
\Exception
(
'单据存在已出库数据,不可重复操作'
);
...
...
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