[update] 解决搜索条件年代号清空去不掉,企标详情完善

This commit is contained in:
lideqin
2023-09-20 09:33:52 +08:00
parent a8ff3fca6c
commit aab24bc7e7
5 changed files with 47 additions and 31 deletions
+5 -1
View File
@@ -126,7 +126,11 @@ export default {
return moment(this).format(fm)
}
if (!val) {
this.momVal = null
if (this.showType === 'year') {
this.year = null
} else {
this.momVal = null
}
} else {
if (this.showType === 'year') {
this.year = val