This commit is contained in:
zlwu committed 2026-08-26 11:10:40 +08:00
1 parent dd1acdc787
commit 4222eaa593
47 files changed
+1054350 -9663

No files matched your search

@@ -25,6 +25,7 @@
type="date"
placeholder="选择日期"
value-format="YYYY-MM-DD"
:disabled="!isEdit"
style="width: 100%"
/>
</el-form-item>
@@ -589,7 +590,11 @@ function resolveCurrentUserName() {
}
function todayYmd(): string {
return new Date().toISOString().split('T')[0]
const d = new Date()
const y = d.getFullYear()
const m = String(d.getMonth() + 1).padStart(2, '0')
const day = String(d.getDate()).padStart(2, '0')
return `${y}-${m}-${day}`
}
const isEdit = computed(() => !!props.planId)