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
4a94589e
authored
May 17, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改错误
parent
cf1a4c9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Http/Model/Logic/PalletLogic.php
app/Http/Model/Logic/PickTaskLogic.php
app/Http/Model/Logic/PalletLogic.php
View file @
4a94589e
...
@@ -352,7 +352,7 @@ class PalletLogic
...
@@ -352,7 +352,7 @@ class PalletLogic
}
}
foreach
(
$outStoreDetailData
as
$key
=>
$value
){
foreach
(
$outStoreDetailData
as
$key
=>
$value
){
$value
=
array_merge
(
$value
,
PickTaskDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
()
);
$value
=
array_merge
(
PickTaskDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
(),
$value
);
$outStoreDetailData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
$outStoreDetailData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
}
}
...
...
app/Http/Model/Logic/PickTaskLogic.php
View file @
4a94589e
...
@@ -174,7 +174,7 @@ class PickTaskLogic
...
@@ -174,7 +174,7 @@ class PickTaskLogic
$returnData
=
$returnData
->
toArray
();
$returnData
=
$returnData
->
toArray
();
foreach
(
$returnData
as
$key
=>
$value
){
foreach
(
$returnData
as
$key
=>
$value
){
$value
=
array_merge
(
$value
,
OutStoreDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
()
);
$value
=
array_merge
(
OutStoreDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
(),
$value
);
$returnData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
$returnData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
$returnData
[
$key
][
'piece_num'
]
=
1
;
$returnData
[
$key
][
'piece_num'
]
=
1
;
}
}
...
@@ -507,7 +507,7 @@ class PickTaskLogic
...
@@ -507,7 +507,7 @@ class PickTaskLogic
$returnData
=
$returnData
->
toArray
();
$returnData
=
$returnData
->
toArray
();
foreach
(
$returnData
as
$key
=>
$value
){
foreach
(
$returnData
as
$key
=>
$value
){
$value
=
array_merge
(
$value
,
PickTaskDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
()
);
$value
=
array_merge
(
PickTaskDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
()
->
toArray
(),
$value
);
$returnData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
$returnData
[
$key
]
=
CommonLogic
::
getHaveKeyCn
(
$value
);
}
}
return
$returnData
;
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