goods_logs_1109_3

This commit is contained in:
dengbw
2021-11-09 14:12:49 +08:00
committed by lccsw
parent 98b83756f1
commit 51e609a9da
+3 -3
View File
@@ -181,10 +181,10 @@ class Logs extends HD_Controller
} else if ($v['in_time'] != '0000-00-00 00:00:00') {
$days = round((time() - strtotime($v['in_time'])) / 3600 / 24);
}
if ($days == -1) {
$inventory_time = '当天售出';
} else if ($days > 0) {
if ($days > 0) {
$inventory_time = '库存' . $days . '天';
} else if ($v['in_time'] != '0000-00-00 00:00:00') {
$inventory_time = '当天售出';
}
$title = "{$map_brand[$v['brand_id']]}-{$map_sery[$v['s_id']]}-{$map_vid[$v['v_id']]}-{$map_corid[$v['cor_id']]}";
$lists[] = array(