Commit 4a94589e by Joneq

修改错误

parent cf1a4c9a
......@@ -352,7 +352,7 @@ class PalletLogic
}
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);
}
......
......@@ -174,7 +174,7 @@ class PickTaskLogic
$returnData = $returnData->toArray();
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]['piece_num'] = 1;
}
......@@ -507,7 +507,7 @@ class PickTaskLogic
$returnData = $returnData->toArray();
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);
}
return $returnData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment