gogs 2 месяцев назад
Родитель
Сommit
6b6e0f0f12
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/Service/ExpenseClaimsService.php

+ 3 - 3
app/Service/ExpenseClaimsService.php

@@ -93,9 +93,9 @@ class ExpenseClaimsService extends Service
                     'entrust_type' => $value['entrust_type'],
                     'expense_type' => $value['expense_type'],
 //                    'expense_attachments' => $value['expense_attachments'],
-                    'voucher_no' => $data['voucher_no']??"",
-                    'file_url' => $data['file_url']??"",
-                    'file_name' => $data['file_name']??"",
+                    'voucher_no' => $value['voucher_no']??"",
+                    'file_url' => $value['file_url']??"",
+                    'file_name' => $value['file_name']??"",
                     'top_depart_id' => $data['top_depart_id'],
                     'crt_time' => $time,
                 ];