设置当年dataType为string以免不回显,配置报表页面edirow时底部滚动条不变

This commit is contained in:
mll
2026-03-14 12:07:08 +08:00
parent d57c46b531
commit 2217b14377
2 changed files with 12 additions and 3 deletions

View File

@@ -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=='当日'){