fix: 智聪记账管理,部分功能新增复制功能,时间默认当前日期。

This commit is contained in:
tianyongbao
2025-04-28 12:23:51 +08:00
parent 145d378f2d
commit ea7909fa30
18 changed files with 109 additions and 10 deletions

View File

@@ -201,6 +201,7 @@ function handleCopy(row) {
getProcessRecord(_id).then((response) => {
form.value = response.data
form.value.id = null
form.value.recordingTime = dayjs(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
open.value = true
title.value = '复制档案过程记录'
})
@@ -288,6 +289,7 @@ const handleView = (row) => {
/** 新增按钮操作 */
function handleAdd() {
reset()
form.value.recordingTime = dayjs(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
if (personList.value.length > 0) {
form.value.personId = personList.value[0].id
queryHealthRecordParams.personId = personList.value[0].id