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
61952809
authored
May 17, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改代码
parent
a6a22a6f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
22 deletions
app/Http/Controllers/AdminOutstoreController.php
app/Http/Model/Logic/OutStoreLogic.php
storage/laravels.json
storage/laravels.pid
app/Http/Controllers/AdminOutstoreController.php
View file @
61952809
...
...
@@ -45,15 +45,10 @@ class AdminOutstoreController extends Controller
$data
=
$request
->
all
();
try
{
<<<<<<<
HEAD
//获取需要修改的货品121
if
(
$data
[
'out_store_detail_id'
]
==
'all'
){
$data
[
'out_store_detail_id_arr'
]
=
OutStoreDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
pluck
(
'out_store_detail_id'
);
=======
//获取需要修改的货品
if
(
$data
[
'pick_task_detail_id'
]
==
'all'
){
$data
[
'pick_task_detail_id_arr'
]
=
PickTaskDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
whereIn
(
'pick_status'
,[
1
,
4
])
->
pluck
(
'pick_task_detail_id'
);
>>>>>>>
develop
}
else
{
$data
[
'pick_task_detail_id_arr'
]
=
[
$data
[
'pick_task_detail_id'
]];
}
...
...
app/Http/Model/Logic/OutStoreLogic.php
View file @
61952809
...
...
@@ -178,19 +178,14 @@ class OutStoreLogic
$outStoreDetailId
=
OutStoreDetailModel
::
insertGetId
(
$value
);
//is_apply_customs报关任务默认隐藏
// $pickTaskData = PickTaskLogic::handleInsertData([
// 'out_store_id'=>$outStoreId,'out_store_detail_id'=>$outStoreDetailId,'store_id'=>$insertData['store_id'],
// 'pick_task_id'=>$pickTaskId,'is_show'=>empty($insertData['is_apply_customs'])?1:0
// ],$value);
//
// foreach ($pickTaskData as $v){
// PickTaskDetailModel::insertGetId($v);
// }
PickTaskDetailModel
::
insertGetId
([
$pickTaskData
=
PickTaskLogic
::
handleInsertData
([
'out_store_id'
=>
$outStoreId
,
'out_store_detail_id'
=>
$outStoreDetailId
,
'store_id'
=>
$insertData
[
'store_id'
],
'pick_task_id'
=>
$pickTaskId
,
'is_show'
=>
empty
(
$insertData
[
'is_apply_customs'
])
?
1
:
0
]);
],
$value
);
foreach
(
$pickTaskData
as
$v
){
PickTaskDetailModel
::
insertGetId
(
$v
);
}
}
...
...
storage/laravels.json
View file @
61952809
This diff is collapsed.
Click to expand it.
storage/laravels.pid
View file @
61952809
<<<<<<< HEAD
92671
=======
95547
>>>>>>> develop
97105
\ No newline at end of file
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