fix: 功能完善。
This commit is contained in:
@@ -520,6 +520,13 @@ function handleAdd() {
|
||||
function handleAddDetail() {
|
||||
resetDetail()
|
||||
formDetail.value.repaymentDate = dayjs(new Date().getTime()).format('YYYY-MM-DD')
|
||||
// 从当前查看的主表记录中获取必填字段
|
||||
formDetail.value.installmentHistoryId = currentInstallmentHistoryId.value
|
||||
// 需要从主表记录中获取bankCardLendId,这里需要补充逻辑
|
||||
getInstallmentHistory(currentInstallmentHistoryId.value).then((response) => {
|
||||
formDetail.value.bankCardLendId = response.data.bankCardLendId
|
||||
formDetail.value.type = response.data.type
|
||||
})
|
||||
titleDetail.value = '添加贷款明细'
|
||||
openDetail.value = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user