fix(wms/report): 修复年份变量格式错误并移除注释

修复两个报表组件中currentDate变量的多余大括号格式错误
在zinc报表中恢复createBy字段的注释状态为实际值
This commit is contained in:
砂糖
2026-02-26 13:15:33 +08:00
parent ca5bb8a8ff
commit f580b66401
2 changed files with 10 additions and 8 deletions

View File

@@ -161,7 +161,7 @@ export default {
// 获取当前日期(默认选中当天)
const now = new Date()
const currentDate = `${now.getFullYear()}}`
const currentDate = `${now.getFullYear()}`
/**
* 生成指定年份的时间范围字符串
@@ -183,6 +183,8 @@ export default {
};
};
console.log(currentDate)
const { start, end } = getDayTimeRange(currentDate)
return {