曾超新 5 years ago
parent 6be5edf082
commit 6a7f36cd94
  1. 6
      frontend/views/car/order-add.php

@ -357,9 +357,11 @@ use common\models\PriceT;
$('#insurer2_begin_date').val(obj.data.UserInfo.NextForceStartDate); $('#insurer2_begin_date').val(obj.data.UserInfo.NextForceStartDate);
} }
if(obj.data.UserInfo.CarUsedType) { if(obj.data.UserInfo.CarUsedType) {
$('#car_use_id').val(parseint(obj.data.UserInfo.CarUsedType)); $('#car_use_id').val(parseInt(obj.data.UserInfo.CarUsedType));
}
if(obj.data.UserInfo.SeatCount) {
$('#seats').val(obj.data.UserInfo.SeatCount);
} }
//purchase_price
} }
if(obj.data.VehicleItems && obj.data.VehicleItems[0]) { if(obj.data.VehicleItems && obj.data.VehicleItems[0]) {
if(obj.data.VehicleItems[0].PurchasePrice) { if(obj.data.VehicleItems[0].PurchasePrice) {

Loading…
Cancel
Save