Commit 44a316f1 by 杨树贤

修复新增问题

parent 3492b7ba
...@@ -73,7 +73,7 @@ class SupplierAttachmentService ...@@ -73,7 +73,7 @@ class SupplierAttachmentService
'create_uid' => request()->user->userId, 'create_uid' => request()->user->userId,
'create_time' => time(), 'create_time' => time(),
'create_name' => request()->user->name, 'create_name' => request()->user->name,
'description' => $attachmentData['description'][$key], 'description' => !empty($attachmentData['description'][$key]) ? $attachmentData['description'][$key] : ' ',
'type_name' => array_get(config('fixed.FileNameMapping'), $attachmentData['field_name'][$key]), 'type_name' => array_get(config('fixed.FileNameMapping'), $attachmentData['field_name'][$key]),
]; ];
if (!empty($attachmentData['validity_period'][$key])) { if (!empty($attachmentData['validity_period'][$key])) {
......
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