|
|
@@ -1861,7 +1861,11 @@ class Warehouse extends Start_Controller {
|
|
|
foreach ($data as $k=>$v)
|
|
|
{
|
|
|
$type = ($v['type']==1)?'入库':'出库';
|
|
|
- $out .= $t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']).'<br>';
|
|
|
+ if(isset($t[$v['lx']])){
|
|
|
+ $out .= $t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']).'<br>';
|
|
|
+ }else{
|
|
|
+ $out .= $type.' :'.date('Y-m-d H:i',$v['time']).'<br>';
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
$rows[$key]['outread'] = trim($out,'<br>');
|