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: {