调整座位数获取路径

dev
曾超新 5 years ago
parent e774e88691
commit 5f9740db0c
  1. 6
      frontend/views/car/order-add.php

@ -370,9 +370,6 @@ use common\models\PriceT;
if(obj.data.UserInfo.CarUsedType) {
$('#car_use_id').val(parseInt(obj.data.UserInfo.CarUsedType));
}
if(obj.data.UserInfo.SeatCount) {
$('#seats').val(obj.data.UserInfo.SeatCount);
}
}
if(obj.data && obj.data.SaveQuote) {
if(obj.data.SaveQuote.BoLi) {
@ -486,6 +483,9 @@ use common\models\PriceT;
from: obj.data.VehicleItems[0].DepreciationPrice,
});
}
if(obj.data.VehicleItems[0].VehicleSeat) {
$('#seats').val(obj.data.VehicleItems[0].VehicleSeat);
}
}
}
}, 'json');

Loading…
Cancel
Save