ts
This commit is contained in:
@@ -400,19 +400,15 @@ class StockOrdersService
|
||||
public function serviceUltimateApproval(Request $request)
|
||||
{
|
||||
$config = $this->buildQueryConfig($request, 'detail');
|
||||
|
||||
$item = $this->logicShow($config);
|
||||
foreach ($item->items as $k => $v) {
|
||||
if ($v->vin === '') {
|
||||
throw new BusinessException('存在未填写vin的车辆,无法完成提交审核');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->logicUpdateBy($config, [
|
||||
'approval_status' => 1
|
||||
]);
|
||||
// $item = $this->logicShow($config);
|
||||
$this->startApproval($item);
|
||||
return $this->postProcess('UltimateApproval', $item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user