From 6aba09880ce4b132129875739960137e8afd6fb5 Mon Sep 17 00:00:00 2001 From: yueli Date: Wed, 9 Sep 2026 09:31:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(borrow):=20=E5=BA=93=E7=AE=A1=E5=80=9F?= =?UTF-8?q?=E5=BA=93=E6=89=A7=E8=A1=8C=E8=87=AA=E5=8A=A8=E6=8A=8A=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=8D=95=E5=8E=9F=E5=9B=A0=E5=B8=A6=E5=85=A5=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 选中已审批借库申请单时 form.remark 自动填充该单 remark(申请原因),无需重复手填,可再改 --- inventory-web/src/views/transaction/borrow.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inventory-web/src/views/transaction/borrow.vue b/inventory-web/src/views/transaction/borrow.vue index 58f4058..7927728 100644 --- a/inventory-web/src/views/transaction/borrow.vue +++ b/inventory-web/src/views/transaction/borrow.vue @@ -435,6 +435,8 @@ const handleApprovalChange = (val: number | null) => { isIndefinite.value = false form.expected_return_time = '' } + // ★ 自动关联:把该借库申请单的“申请原因(remark)”自动带入执行备注,库管无需重复填写(可手动改) + form.remark = (req && req.remark) || '' cartItems.value = [] signatureFile.value = null signaturePreviewUrl.value = ''