fix: 账户交易记录,编辑bug修复。

This commit is contained in:
tianyongbao
2025-01-12 16:45:25 +08:00
parent 81e897fd8a
commit 3a19d8a4a3

View File

@@ -195,17 +195,19 @@ onLoad((option) => {
form.value = res.data
if (form.value.dealCategory === '1') {
childCategoryShow.value = true
// 交易类别
getDicts('daily_expenses').then(result => {
form.value.childCategoryName=dictStr(form.value.childCategory, result.data)
})
} else {
form.value.childCategoryName = form.value.childCategory
childCategoryShow.value = false
}
// 交易类别
getDicts('deal_category').then(result => {
form.value.dealCategoryName=dictStr(form.value.dealCategory, result.data)
})
// 交易类别
getDicts('daily_expenses').then(result => {
form.value.childCategoryName=dictStr(form.value.childCategory, result.data)
})
// 记账类型
getDicts('account_type').then(result => {
form.value.typeName=dictStr(form.value.type, result.data)