From ddc9fdf6717bacc982f598612ca1e34b89358023 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Wed, 16 Jul 2025 11:30:27 +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 --- src/pages/materialsStation/toolsLease/codeOut.vue | 6 +++--- src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/materialsStation/toolsLease/codeOut.vue b/src/pages/materialsStation/toolsLease/codeOut.vue index 9e72c99..981c27e 100644 --- a/src/pages/materialsStation/toolsLease/codeOut.vue +++ b/src/pages/materialsStation/toolsLease/codeOut.vue @@ -145,12 +145,12 @@ {{ item.maCode }} - + 设备数量: diff --git a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue index eb6883b..444646c 100644 --- a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue +++ b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue @@ -253,6 +253,9 @@ const getDetailsById = async () => { const res = await detailsLeaseTask(opts.value.id) console.log('🚀 ~ getDetailsById ~ res:', res) tableData.value = res.data.leaseApplyDetailsList + tableData.value.forEach((item) => { + item.maCodeList = item.maCodeVoList || item.maCodeList || [] + }) Object.assign(formData, res.data.leaseApplyInfo) formData.projectId = res.data.leaseApplyInfo.proId formData.proId = res.data.leaseApplyInfo.proId