From 6a7f36cd947ac0e5abceff2b40f6aafb803bfd3d Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Fri, 15 Nov 2019 18:32:59 +0800 Subject: [PATCH] test2 --- frontend/views/car/order-add.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/views/car/order-add.php b/frontend/views/car/order-add.php index 8cc5330..9d6647b 100644 --- a/frontend/views/car/order-add.php +++ b/frontend/views/car/order-add.php @@ -357,9 +357,11 @@ use common\models\PriceT; $('#insurer2_begin_date').val(obj.data.UserInfo.NextForceStartDate); } 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[0].PurchasePrice) {