From 5d4b506854cb2d28bf0ff9b1f863f8a98b102537 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Thu, 25 Dec 2025 19:12:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 1c178312148c7fabcf9e244b24da2bc7cedb13f5) --- src/views/invest/onlineLendHistory/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/invest/onlineLendHistory/index.vue b/src/views/invest/onlineLendHistory/index.vue index 6d13cfc..6d4f426 100644 --- a/src/views/invest/onlineLendHistory/index.vue +++ b/src/views/invest/onlineLendHistory/index.vue @@ -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 }