fix: 智聪记账管理,部分功能新增复制功能,时间默认当前日期。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user