Commit 749850c5 by 杨树贤

上传校验

parent 4ad2d48d
......@@ -189,7 +189,6 @@ class SupplierExaminationService
return $exception->getMessage();
} finally {
unlink($filePath);
return true;
}
}
......
......@@ -18,7 +18,8 @@ class SupplierExaminationTransformer
$item['update_time'] = $item['update_time'] ? date('Y-m-d H:i:s', $item['update_time']) : '';
$item['examine_time'] = $item['examine_time'] ? date('Y-m-d', $item['examine_time']) : '';
$item['stock_in_date'] = $item['stock_in_date'] ? date('Y-m-d', $item['stock_in_date']) : '';
$item['abnormal_level'] = $item['abnormal_level'] ?: '';
$item['abnormal_level'] = $item['abnormal_level'] ? array_get(config('field.SupplierAbnormalLevel'),
$item['abnormal_level']) : '';
}
unset($item);
return $list;
......
......@@ -88,7 +88,7 @@
{field: 'tally_request', title: '理货要求', align: 'center', width: 80},
{field: 'examine_request', title: '验货要求', align: 'center', width: 100},
{field: 'unhealthy_amount', title: '不良数', align: 'center', width: 80},
{field: 'abnormal_level', title: '异常等级', align: 'center', width: 80},
{field: 'abnormal_level', title: '异常等级', align: 'center', width: 180},
{field: 'unhealthy_content', title: '不良现象', align: 'center', width: 150},
{field: 'examine_result', title: '检验结果', align: 'center', width: 150},
{field: 'remark', title: '备注', align: 'center', width: 150},
......
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