|
|
|
@ -155,7 +155,7 @@ use common\models\PriceT; |
|
|
|
|
<?php |
|
|
|
|
if($item->content != '') { |
|
|
|
|
$tmp_items = explode(',',$item->content); |
|
|
|
|
echo '<select name="types['.$item->id.']" class="form-control insurer-select" data-id="'.$item->id.'">'; |
|
|
|
|
echo '<select name="types['.$item->id.']" id="types'.$item->id.'" class="form-control insurer-select" data-id="'.$item->id.'">'; |
|
|
|
|
$tmp_items = explode(',',$item->content); |
|
|
|
|
foreach($tmp_items as $tmp_item) { |
|
|
|
|
echo '<option'; |
|
|
|
@ -165,7 +165,7 @@ use common\models\PriceT; |
|
|
|
|
} |
|
|
|
|
echo '</select>'; |
|
|
|
|
} else { |
|
|
|
|
echo '<input name="types['.$item->id.']" class="form-control insurer-input" data-id="'.$item->id.'" style="width:100px;" type="text"'; |
|
|
|
|
echo '<input name="types['.$item->id.']" id="types_'.$item->id.'" class="form-control insurer-input" data-id="'.$item->id.'" style="width:100px;" type="text"'; |
|
|
|
|
if(!empty($tmp_row)) |
|
|
|
|
echo ' value="'.$tmp_row->val.'" '; |
|
|
|
|
echo '>'; |
|
|
|
@ -368,6 +368,11 @@ use common\models\PriceT; |
|
|
|
|
$('#purchase_price').val(obj.data.VehicleItems[0].PurchasePrice); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(obj.data.SaveQuote) { |
|
|
|
|
if(obj.data.SaveQuote.BoLi) { |
|
|
|
|
if(obj.data.SaveQuote.BoLi == '0') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, 'json'); |
|
|
|
|
} |
|
|
|
|