給下拉选项动态设置选中值
$("#unit option").each(function () {
var val = $(this).val();
var text = $(this).text();
if(val=="${model.unit}"){
$(this).attr("selected",true);
}