设置当年dataType为string以免不回显,配置报表页面edirow时底部滚动条不变
This commit is contained in:
@@ -276,7 +276,7 @@ const initTable = async () => {
|
||||
if(item.queryIsWeb == 'Y'&&item.isHideSearch !== 'Y') isSearch.value=true
|
||||
if(!!item.searchDefaultValue){
|
||||
if(['年','年度','年份'].includes(item.fieldName)&&item.searchDefaultValue=='本年'){
|
||||
tableSearch.value[config.prop]=getCurrentDate().year
|
||||
tableSearch.value[config.prop]=getCurrentDate().year.toString()
|
||||
}else if( ['月','月度','月份'].includes(item.fieldName)&&item.searchDefaultValue=='本月'){
|
||||
tableSearch.value[config.prop]=new Date().getMonth() + 1
|
||||
}else if(item.fieldType=='Date'&&item.searchDefaultValue=='当日'){
|
||||
|
||||
Reference in New Issue
Block a user