aftersale

This commit is contained in:
xman 2025-04-18 13:37:53 +08:00
parent f4cae762e1
commit 480e7361a9

View File

@ -132,6 +132,8 @@ class Aftersale extends Backend
$params['worker_id'] = $order->dispatch->worker_id;
$params['worker_name'] = $order->dispatch->worker_name;
$result = $this->model->allowField(true)->save($params);
$order->aftersale_id = $this->model->id;
$order->save();
Db::commit();
} catch (ValidateException|PDOException|Exception $e) {
Db::rollback();