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
37f478cc
authored
May 19, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改app端的数据
parent
b904c307
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
app/Http/Controllers/OutstoreController.php
app/Http/Controllers/OutstoreController.php
View file @
37f478cc
...
@@ -10,6 +10,7 @@ namespace App\Http\Controllers;
...
@@ -10,6 +10,7 @@ namespace App\Http\Controllers;
use
App\Http\Model\Logic\PalletLogic
;
use
App\Http\Model\Logic\PalletLogic
;
use
App\Http\Model\Logic\PickTaskLogic
;
use
App\Http\Model\Logic\PickTaskLogic
;
use
App\Http\Model\PalletModel
;
use
App\Http\Model\PickTaskDetailModel
;
use
App\Http\Model\PickTaskDetailModel
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
use
App\Http\Model\Logic\OutStoreLogic
;
use
App\Http\Model\Logic\OutStoreLogic
;
...
@@ -98,6 +99,8 @@ class OutstoreController extends Controller
...
@@ -98,6 +99,8 @@ class OutstoreController extends Controller
{
{
$data
=
$request
->
all
();
$data
=
$request
->
all
();
try
{
try
{
$palletId
=
PalletModel
::
where
(
'pallet_sn'
,
$data
[
'pallet_sn'
])
->
value
(
'pallet_id'
);
$data
[
'pick_task_detail_id'
]
=
PickTaskDetailModel
::
getWhereObj
([])
->
where
(
'pallet_id'
,
$palletId
)
->
pluck
(
'pick_task_detail_id'
)
->
toArray
();
$data
[
'pick_task_detail_id_str'
]
=
implode
(
','
,
$data
[
'pick_task_detail_id'
]);
$data
[
'pick_task_detail_id_str'
]
=
implode
(
','
,
$data
[
'pick_task_detail_id'
]);
$data
[
'is_apply_customs_app'
]
=
'1'
;
$data
[
'is_apply_customs_app'
]
=
'1'
;
$returnData
=
(
new
PalletLogic
())
->
deliverGoods
(
$data
);
$returnData
=
(
new
PalletLogic
())
->
deliverGoods
(
$data
);
...
...
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