master
yulingwei 4 years ago
parent b9dfe08177
commit 51a1c9c707

@ -282,12 +282,22 @@
}
});
// var date="{$setdate}";
$('#time-start, #time-end').each(function(){
laydate.render({
elem: this, //指定元素,
type : 'date'
});
});
$('#time-start').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
// endDate:date
});
$('#datetimepicker').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
pickerPosition:'bottom-left',
// endDate:date
})
$("#game_id").change(function(){
$.ajax({

@ -351,13 +351,22 @@
}
});
// var date="{$setdate}";
$('#time-start, #time-end').each(function(){
laydate.render({
elem: this, //指定元素,
type : 'date'
});
});
$('#time-start').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
// endDate:date
});
$('#datetimepicker').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
pickerPosition:'bottom-left',
// endDate:date
})
$("#game_id").change(function(){
console.log($("#game_id option:selected").attr('game-id'));
$.ajax({

Loading…
Cancel
Save