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