cqp 2 месяцев назад
Родитель
Сommit
d12f377614
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Service/AuxiliaryAccountService.php

+ 1 - 1
app/Service/AuxiliaryAccountService.php

@@ -199,7 +199,7 @@ class AuxiliaryAccountService extends Service
             $model->code = $this->generateBillNo([
                 'top_depart_id' => $user['top_depart_id'],
                 'type' => ExpenseClaims::Order_type,
-                'period' => date("Ym", strtotime($data['month']))
+                'period' => date("Ym", $data['month'])
             ]);
             $model->month = $data['month'];
             $model->crt_id = $user['id'];