$Dialog (). Date ($ (' #c_startdate '), function () {
var c_startdate = $ (' #c_startdate '). Val ();
var c_enddate = $ (' #c_enddate '). Val ();
if (""! = C_startdate && ""! = c_enddate && c_startdate >= c_enddate) {
Ccms.dialog.notice (' Due date cannot be earlier than the start date! ');
$ (' #c_startdate '). Val (');
}
});
$Dialog (). Date ($ (' #c_enddate '), function () {
var c_startdate = $ (' #c_startdate '). Val ();
var c_enddate = $ (' #c_enddate '). Val ();
if (""! = C_startdate && ""! = c_enddate && c_startdate >= c_enddate) {
Ccms.dialog.notice (' Due date cannot be earlier than the start date! ');
$ (' #c_enddate '). Val (');
}
});
var date = new Date (). Format ("yyyy-mm");
$ ("#_start_date"). Val (date); Get date of the month
var now=new Date ();
$ (' #c_idate '). Val (Now.format ("Yyyy-mm-dd"));//Date
$ (' #c_itime '). Val (Now.format ("Hh:mm:ss"));
Determine the starting date is less than the end date and get the month date