function initbodys(){
	$(form('carid')).change(function(){
		var val = this.value,txt='';
		if(val!=''){
			txt = c.getseltext('carid');
			form('kmstart').value=c.getselattr('carid','kmstart'); //设置起始公里数
		}
		form('carnum').value=txt;
	});
}



function changesubmit(d){
	if(d.enddt<=d.startdt)return '结束时间必须大于开始时间';
}
