Commit 1b3e33a4 authored by youjie's avatar youjie

no message

parent 53ff14bb
......@@ -398,9 +398,9 @@
<el-table-column v-if="msg.IsAirTicketSelect=='1'"
prop=""
:label="$t('objFill.caiwubz')"
show-overflow-tooltip
show-overflow-tooltip
width="120">
<template slot-scope="scope">
<template slot-scope="scope">
<div>{{scope.row.Remark}}</div>
<template v-if="scope.row.vorcherInos">
<div v-for="(vitem,index) in scope.row.vorcherInos" style="display: flex;flex-direction: row;flex-wrap: wrap;">
......@@ -414,7 +414,7 @@
<div class="iconfont _wenjian_P"
:class="vitem.Content.substring(vitem.Content.lastIndexOf('.')+1,vitem.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(vitem.Content)">
</div>
</div>
</div>
......@@ -817,11 +817,12 @@
x.srcList = []
})
}
arrList(data)
for(let i=0;i<data.length;i++){
if(data[i].vorcherInos) {
data[i].srcList = data[i].vorcherInos.map(x=>{ if(x.Type==3)return x.Content})
let list = data[i].vorcherInos.filter(x=>{ return x.Type==3 })
data[i].srcList = list.map(x=>{ if(x.Type==3)return x.Content})
}
}
let userInfo=this.getLocalStorage();
......
......@@ -440,7 +440,7 @@
this.saveMsg.FrId = this.GetDetail.FrID
this.saveMsg.Voucher = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?JSON.parse(JSON.stringify(this.GetDetail.FInnerVoucher)):[]
this.saveMsg.Remark = this.GetDetail.FInnerRemark
this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{ if(x.Type==3)return x.Content}):[]
this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{return x.Content}):[]
},
deep: true,
immediate: false
......@@ -461,7 +461,8 @@
this.saveMsg.FrId = this.GetDetail.FrID
this.saveMsg.Voucher = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?JSON.parse(JSON.stringify(this.GetDetail.FInnerVoucher)):[]
this.saveMsg.Remark = this.GetDetail.FInnerRemark
this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{ if(x.Type==3)return x.Content}):[]
let list = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.filter(x=>{ return x.Type==3 }):[]
this.srcList = list&&list.length>0?list.map(x=>{return x.Content}):[]
if(this.GetDetail.SpecialType==11) this.GetExpensesMonthlyShare()
},
methods: {
......@@ -533,7 +534,8 @@
Content: this.domainManager().ViittoFileUrl+x.data.FilePath,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
});
this.srcList = this.saveMsg.Voucher.map(x=>{ if(x.Type==3)return x.Content})
let list = this.saveMsg.Voucher&&this.saveMsg.Voucher.length>0?this.saveMsg.Voucher.filter(x=>{ return x.Type==3 }):[]
this.srcList = list.map(x=>{return x.Content})
this.$message.success(this.$t('tips.scchenggong'));
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment