学年:
<!-- 修改默认日期显示 -->
<input class="easyui-combobox" id="oa_dutyMg_daily_category_index_term_form_year"
name="entity.schoolYear" data-options="editable:false" />
<script type="text/javascript">
$(function(){
$('#oa_dutyMg_daily_category_index_term_form_year').combobox({
url:'${pageContext.request.contextPath}/dutyMg/daily/category/index.do?schoolYearList=',
valueField:'schoolYear',
textField:'schoolYearText',
onLoadSuccess: function (data) {
if (data) {
var myDate = new Date();
$("#oa_dutyMg_daily_category_index_term_form_year").combobox('select',myDate.getFullYear()-1);
}
}
})
})
</script>
<!-- 修改默认日期显示 -->
<input class="easyui-combobox" id="oa_dutyMg_daily_category_index_term_form_year"
name="entity.schoolYear" data-options="editable:false" />
<script type="text/javascript">
$(function(){
$('#oa_dutyMg_daily_category_index_term_form_year').combobox({
url:'${pageContext.request.contextPath}/dutyMg/daily/category/index.do?schoolYearList=',
valueField:'schoolYear',
textField:'schoolYearText',
onLoadSuccess: function (data) {
if (data) {
var myDate = new Date();
$("#oa_dutyMg_daily_category_index_term_form_year").combobox('select',myDate.getFullYear()-1);
}
}
})
})
</script>