Commit fe81a4bb authored by youjie's avatar youjie

no message

parent 8486e54f
......@@ -1459,7 +1459,13 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
return
}
this.saveMsg.forEach(item=>{
this.addMsg.vorcherInos.push(item.Url)
let dataObj = {
Content: item.Content,
ID: 0,
Type: item.Type,
Url: item.Url
}
this.addMsg.vorcherInos.push(dataObj)
})
// this.addMsg.Voucher = this.BusinessCardPhotos;
this.addMsg.FinanceIds = this.checkObj.FrID;
......
......@@ -909,7 +909,7 @@ input[type="number"] {
<div class="_addUpload_box _addUpload_box_btm clearfix"
v-if="detailInfo.vorcherInos&&detailInfo.vorcherInos.length>0">
<template v-for="(file,fIndex) in detailInfo.vorcherInos">
<div v-if="verificationFile(file)==3">
<div v-if="file.Type==3">
<div style="width:100%;height:100%;overflow: hidden;">
<el-image
style="width: 100%; height: 100%"
......@@ -918,10 +918,10 @@ input[type="number"] {
</el-image>
</div>
</div>
<div v-if="verificationFile(file)==1">
<div v-if="file.Type==1">
<div class="iconfont _wenjian_P"
:class="file.substring(file.lastIndexOf('.')+1,
file.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,
file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFileT(file)">
</div>
</div>
......@@ -1130,8 +1130,8 @@ input[type="number"] {
<div style="width:100%;height:100%;overflow: hidden;">
<el-image
style="width: 100%; height: 100%"
:src="file.Url?file.Url:file.Content"
:preview-src-list="[file.Url?file.Url:file.Content]">
:src="file.Url?file.Url:domainManager().ViittoFileUrl+file.Content"
:preview-src-list="[file.Url?file.Url:domainManager().ViittoFileUrl+file.Content]">
</el-image>
<!-- <img :src="file.Url?file.Url:file.Content" @click="showImg(file.Url?file.Url:file.Content)"> -->
</div>
......@@ -1265,15 +1265,17 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
this.saveMsg = []
this.detailInfo.vorcherInos&&this.detailInfo.vorcherInos.forEach(item=>{
let dataObj= {
Type: this.verificationFile(item),
Url: item,
Content: item
Content: item.Content,
ID: item.ID?item.ID:0,
Type: item.Type,
Url: item.Url,
}
this.saveMsg.push(dataObj)
})
if(this.detailInfo.vorcherInos.length==0){
let dataObj= {
Type: this.verificationFile(this.detailInfo.Voucher),
ID: 0,
Url: this.detailInfo.Voucher,
Content: this.detailInfo.Voucher
}
......@@ -1397,7 +1399,13 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
return
}
this.saveMsg.forEach(item=>{
this.addMsg.ExamineVouchers.push(item.Url)
let dataObj = {
Content: item.Content,
ID: 0,
Type: item.Type,
Url: item.Url
}
this.addMsg.ExamineVouchers.push(dataObj)
})
// this.addMsg.ExamineVoucher = this.BusinessCardPhotos;
this.addMsg.Id = this.frId;
......
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