Commit a044c121 authored by youjie's avatar youjie

no message

parent 7ad38a88
...@@ -821,7 +821,7 @@ ...@@ -821,7 +821,7 @@
arrList(data) arrList(data)
for(let i=0;i<data.length;i++){ for(let i=0;i<data.length;i++){
if(data[i].vorcherInos) { if(data[i].vorcherInos) {
data[i].srcList = data[i].vorcherInos.map(x=>{return x.Content}) data[i].srcList = data[i].vorcherInos.map(x=>{ if(x.Type==3)return x.Content})
} }
} }
let userInfo=this.getLocalStorage(); let userInfo=this.getLocalStorage();
......
...@@ -440,7 +440,7 @@ ...@@ -440,7 +440,7 @@
this.saveMsg.FrId = this.GetDetail.FrID 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.Voucher = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?JSON.parse(JSON.stringify(this.GetDetail.FInnerVoucher)):[]
this.saveMsg.Remark = this.GetDetail.FInnerRemark this.saveMsg.Remark = this.GetDetail.FInnerRemark
this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{return x.Content}):[] this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{ if(x.Type==3)return x.Content}):[]
}, },
deep: true, deep: true,
immediate: false immediate: false
...@@ -461,7 +461,7 @@ ...@@ -461,7 +461,7 @@
this.saveMsg.FrId = this.GetDetail.FrID 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.Voucher = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?JSON.parse(JSON.stringify(this.GetDetail.FInnerVoucher)):[]
this.saveMsg.Remark = this.GetDetail.FInnerRemark this.saveMsg.Remark = this.GetDetail.FInnerRemark
this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{return x.Content}):[] this.srcList = this.GetDetail.FInnerVoucher&&this.GetDetail.FInnerVoucher.length>0?this.GetDetail.FInnerVoucher.map(x=>{ if(x.Type==3)return x.Content}):[]
if(this.GetDetail.SpecialType==11) this.GetExpensesMonthlyShare() if(this.GetDetail.SpecialType==11) this.GetExpensesMonthlyShare()
}, },
methods: { methods: {
...@@ -533,7 +533,7 @@ ...@@ -533,7 +533,7 @@
Content: this.domainManager().ViittoFileUrl+x.data.FilePath, Content: this.domainManager().ViittoFileUrl+x.data.FilePath,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath, Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
}); });
this.srcList = this.saveMsg.Voucher.map(x=>{return x.Content}) this.srcList = this.saveMsg.Voucher.map(x=>{ if(x.Type==3)return x.Content})
this.$message.success(this.$t('tips.scchenggong')); 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