From 070db3d099c2bc21640acf12ed9465b6e6f7208e Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 10 Oct 2025 21:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/StraightforwardBills.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue b/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue index 1e11abe4..9c5a72fc 100644 --- a/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue +++ b/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue @@ -220,11 +220,12 @@ export default { try { const res = await getApproveListApi({ id: this.rowId }) console.log('🚀 ~ getSignList ~ res:', res) - if (res.data.approveSignList && res.data.approveSignList.length > 1) { + if (res.data.approveSignList && res.data.approveSignList.length > 0) { this.leaseApplyData = res.data.approveSignList[0] + console.log('🚀 ~ getSignList ~ this.leaseApplyData:', this.leaseApplyData) this.approveSignList = res.data.approveSignList.slice(1).filter(item => item != null && item !== '') + console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList) } - console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList) } catch (error) { console.log('🚀 ~ getSignList ~ error:', error) }