From adf9c41d729bf2a8b2b6781820f2405b24cdfc50 Mon Sep 17 00:00:00 2001 From: lb01 Date: Tue, 13 Dec 2022 15:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E8=B4=B9=E5=AE=A1=E6=8A=A5=E6=98=8E?= =?UTF-8?q?=E7=BB=86ios=E5=8F=AF=E4=BB=A5=E8=BE=93=E5=85=A5=E5=B0=8F?= =?UTF-8?q?=E6=95=B0=E7=82=B9=EF=BC=8C=E5=AE=A1=E6=A0=B8=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=A6=E4=B8=A4=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Audit_Expenditures/single.vue | 7 +++++++ .../AssetManagementSystem/FundsApply/single.vue | 13 ++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue index 29f5ed93c..c26d494ef 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue @@ -149,6 +149,13 @@ export default { if(res){ // res.F_SourceName = res.F_SourceName&&this.GET_GLOBAL('department')[res.F_SourceName]? this.GET_GLOBAL('department')[res.F_SourceName].name : res.F_SourceName this.formData = res + let FundsApplyDetailitem = res.FundsApplyDetail + if(FundsApplyDetailitem.length>0){ + for(let i=0;i{{ item.Unit ? mapitem(item.Unit) : '请选择单位' }} - + @@ -226,7 +226,7 @@ id }) { await this.init(type, id) - console.log(this.dataSource.FundsApply.Unit) + // console.log(this.dataSource.FundsApply.Unit) }, methods: { @@ -507,12 +507,15 @@ changeitem(e,item){ // console.log(item) item.Unit = this.dataSource.FundsApply.Unit[e.detail.value].value - // item.Unit = }, mapitem(data){ - return this.dataSource.FundsApply.Unit.filter(item=>{ + // let items = this.dataSource.FundsApply.Unit.find(item=>{ + // return item.value == data + // }).text + // console.log(items) + return this.dataSource.FundsApply.Unit.find(item=>{ return item.value == data - })[0].text + }).text } }, computed: {