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
d82385ad
authored
May 18, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改拣货任务
parent
e54f94e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Model/Logic/PickTaskLogic.php
app/Http/Model/Logic/PickTaskLogic.php
View file @
d82385ad
...
...
@@ -494,14 +494,14 @@ class PickTaskLogic
throw
new
\Exception
(
'卡板ID不存在'
);
}
$returnData
=
OutStore
DetailModel
::
getWhereObj
([])
->
where
(
'pallet_id'
,
$palletId
)
->
orderBy
(
'add_time'
,
'desc'
)
->
get
()
->
toArray
();
$returnData
=
PickTask
DetailModel
::
getWhereObj
([])
->
where
(
'pallet_id'
,
$palletId
)
->
orderBy
(
'add_time'
,
'desc'
)
->
get
()
->
toArray
();
if
(
empty
(
$returnData
)){
return
[];
}
foreach
(
$returnData
as
$key
=>
$value
){
$value
=
array_merge
(
PickTask
DetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
(),
$value
);
$value
=
array_merge
(
OutStore
DetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
(),
$value
);
$returnData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
}
return
$returnData
;
...
...
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