<?php
header("Content-type:text/html;charset=utf8");
$list=[
0 => [
'delivery_date' => '2018-01-17',
'target_house' =>'快消浦西仓',
'sort_num' =>104,
'sort_type' =>'整',
],
1 =>[
'null_sort_scatter_num'=>0,
'allot_scatter_num' =>0,
'other_statu_full_num' =>0,
'other_statu_scatter_num' =>0
],
];
$list1=[
0 => [
'delivery_date' => '2018-01-17',
'house' =>'浦西仓',
'sort_num' =>104,
'type' =>'整',
],
1 =>[
'null_sort_scatter_num'=>0,
'allot_scatter_num' =>0,
'other' =>0,
'other_statu' =>0
],
];
$arr = array();
foreach($list as $k=>$v){
$arr[] = array_merge($v,$list1[$k]);
}
var_dump($arr);