var el = {
    businessTypeCode: '#businessTypeCode',
    startDate: '#startDate',
    endDate: '#endDate',
    id:'#ids'

};
$(function () {

});
/**
 * 确定过账
 */
function confirm(call) {
    var startDate = $(el.startDate).datebox('getValue');
    var endDate = $(el.endDate).datebox('getValue');
    if(!startDate){
        topWin.layer.alert('请选择开始日期', {icon: 0});
        return false;
    }
    if(!endDate){
        topWin.layer.alert('请选择结束日期', {icon: 0});
        return false;
    }
    var param = {
        startDate : startDate,
        endDate : endDate
    }
    call(param);
}
