设置dateBox初始日期为当前日期
var curr_date = new Date(); var str = curr_date.getFullYear() + "-"; str += curr_date.getMonth() + 1 + "-"; str += curr_date.getDate(); //设置有效起始日期为当前日期 that.uiStore.dtbBegDate.setText(str);
var curr_date = new Date(); var str = curr_date.getFullYear() + "-"; str += curr_date.getMonth() + 1 + "-"; str += curr_date.getDate(); //设置有效起始日期为当前日期 that.uiStore.dtbBegDate.setText(str);