修改B库分配BUG

dev
曾超新 5 years ago
parent db94d465e3
commit 8cf63202a5
  1. 6
      frontend/controllers/DatabaseController.php

@ -637,11 +637,15 @@ class DatabaseController extends BaseController
$order_row->engine_no = $b_info->car->engine_no;
$order_row->car_frame_no = $b_info->car->car_frame_no;
$order_row->car_man = $b_info->car->car_man;
$order_row->car_man_number = $b_info->car->car_man_number;
$order_row->car_man_phone = $b_info->car->phone;
$order_row->user_id = $user_id;
$order_row->status_id = 1;
$order_row->id_man = $b_info->car->car_man;
$order_row->id_man_number = $b_info->id_number;
$order_row->link_man = $b_info->car->car_man;
$order_row->link_phone = $b_info->car->phone;
$order_row->link_man_phone = $b_info->car->phone;
$order_row->link_man_number = $b_info->car->id_number;
if(!$order_row->save()) {
throw new \Exception(print_r($order_row->getErrors(),true));
}

Loading…
Cancel
Save