fix: 账户交易记录,编辑bug修复。
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user