Commit dd30402e authored by youjie's avatar youjie

no message

parent d1ebba31
...@@ -1057,7 +1057,7 @@ ...@@ -1057,7 +1057,7 @@
</dmcTravelBill> </dmcTravelBill>
<!-- <myDJieBill v-if="GetDetail.DijieBathFinanceList && GetDetail.DijieBathFinanceList.length" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"/> --> <!-- <myDJieBill v-if="GetDetail.DijieBathFinanceList && GetDetail.DijieBathFinanceList.length" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"/> -->
<!--<my-C-Bill v-if="GetDetail.CashierDetail&&GetDetail.CashierDetail.length&&GetDetail.Type!=1" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-C-Bill>--> <!--<my-C-Bill v-if="GetDetail.CashierDetail&&GetDetail.CashierDetail.length&&GetDetail.Type!=1" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-C-Bill>-->
<div class="_fujian_box" style="height:610px;" v-if="(GetDetail.VorcherInos&&GetDetail.VorcherInos.length>0) || saveMsg.length>0"> <div class="_fujian_box" v-if="(GetDetail.VorcherInos&&GetDetail.VorcherInos.length>0) || saveMsg.length>0">
<div class="_fujian_zhankai cursorpointer" v-if="!fujianShow" @click="fujianShow = true"> <div class="_fujian_zhankai cursorpointer" v-if="!fujianShow" @click="fujianShow = true">
<span>附件</span> <span>附件</span>
<span>></span> <span>></span>
...@@ -1077,7 +1077,7 @@ ...@@ -1077,7 +1077,7 @@
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
<div class="clearfix" style="border:none;height: 90px;overflow: auto;"> <div class="clearfix" style="border:none;">
<template v-for="(file,fIndex) in GetDetail.VorcherInos" v-if="file.Type===1"> <template v-for="(file,fIndex) in GetDetail.VorcherInos" v-if="file.Type===1">
<div class="_wenjian" @click="showUpLoadFile(file)"> <div class="_wenjian" @click="showUpLoadFile(file)">
<p v-if="file.Type==1" class="_wenjian_P iconfont" <p v-if="file.Type==1" class="_wenjian_P iconfont"
...@@ -1118,13 +1118,10 @@ ...@@ -1118,13 +1118,10 @@
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div> <div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div>
</div> </div>
</div> </div>
<div style="margin-top: 40px;" v-if="GetDetail.VorcherInos
</div>
<div class="_fujian_box" v-if="GetDetail.VorcherInos
&&GetDetail.VorcherInos.length===0 &&GetDetail.VorcherInos.length===0
&&GetDetail.IsUploadPic===1 &&GetDetail.IsUploadPic===1
&&saveMsg.length===0"> &&saveMsg.length===0">
<div style="margin-top: 40px;">
<div class="_pic_upload" v-if="GetDetail.IsUploadPic===1"> <div class="_pic_upload" v-if="GetDetail.IsUploadPic===1">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">--> <!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
<el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action=""> <el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
...@@ -1134,81 +1131,63 @@ ...@@ -1134,81 +1131,63 @@
</div> </div>
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div> <div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div>
</div> </div>
</div> <!-- 是否需要发票 -->
<div style="border-top: 1px solid #dedede;margin-top: 10px;
<!-- 是否需要发票 --> padding: 0 0 10px 0;"
<div class="_fujian_box" style="border-top: 1px solid #dedede;margin-top: 610px; v-if="(GetDetail.CreateBy==userInfo.EmployeeId
padding: 0 0 10px 0;" ||GetDetail.InvoiceExamineBy==userInfo.EmployeeId
v-if="(GetDetail.CreateBy==userInfo.EmployeeId ||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)">
||GetDetail.InvoiceExamineBy==userInfo.EmployeeId <p
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)"> style="margin-top: 40px;">
<p <span style="color: red;">发票凭证</span>
style="margin-top: 40px;"> <span style="color: #33B3FF;margin-left: 10px;">
<span style="color: red;">发票凭证</span> <template v-if="GetDetail.InvoiceState==2">{{GetDetail.InvoiceExamineByName}}已审核</template>
<span style="color: #33B3FF;margin-left: 10px;"> <template v-if="GetDetail.InvoiceState==1">待审核</template>
<template v-if="GetDetail.InvoiceState==2">{{GetDetail.InvoiceExamineByName}}已审核</template> </span>
<template v-if="GetDetail.InvoiceState==1">待审核</template> </p>
</span> <div class="_addUpload_box _addUpload_box_btm clearfix" v-if="InvoiceVoucherList.length>0">
</p> <template
<div class="_addUpload_box _addUpload_box_btm clearfix" v-if="InvoiceVoucherList.length>0"> v-for="(file,fIndex) in InvoiceVoucherList">
<!-- <template v-if="GetDetail.InvoiceVoucherInfo&&GetDetail.InvoiceVoucherInfo.length>0" <div v-if="file.Type==3">
v-for="(file,fIndex) in GetDetail.InvoiceVoucherInfo"> <div style="width:100%;height:100%;overflow: hidden;">
<div v-if="file.Type==3"> <el-image
<div style="width:100%;height:100%;overflow: hidden;"> style="width: 100%; height: 100%"
<el-image :src="file.Url?file.Url:file.Content"
style="width: 100%; height: 100%" :preview-src-list="[file.Url?file.Url:file.Content]">
:src="file.Url?file.Url:file.Content" </el-image>
:preview-src-list="[file.Url?file.Url:file.Content]"> <!-- <img :src="file.Url?file.Url:file.Content" @click="showImg(file.Url?file.Url:file.Content)"> -->
</el-image>
</div>
</div>
<div v-if="file.Type==1">
<div class="iconfont _wenjian_P"
style="line-height: 80px;"
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(file)">
</div>
</div>
</template> -->
<template
v-for="(file,fIndex) in InvoiceVoucherList">
<div v-if="file.Type==3">
<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]">
</el-image>
<!-- <img :src="file.Url?file.Url:file.Content" @click="showImg(file.Url?file.Url:file.Content)"> -->
</div>
<span class="iconfont icon-guanbi1"
@click="deleteUploadFile(fIndex,1)"></span>
</div> </div>
<div v-if="file.Type==1"> <span class="iconfont icon-guanbi1"
<div class="iconfont _wenjian_P" @click="deleteUploadFile(fIndex,1)"></span>
style="line-height: 80px;" </div>
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" <div v-if="file.Type==1">
@click="showUpLoadFile(file)"> <div class="iconfont _wenjian_P"
</div> style="line-height: 80px;"
<span class="iconfont icon-guanbi1" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="deleteUploadFile(fIndex,1)"></span> @click="showUpLoadFile(file)">
</div> </div>
</template> <span class="iconfont icon-guanbi1"
</div> @click="deleteUploadFile(fIndex,1)"></span>
<div style="margin-top: 10px;"
v-if="(GetDetail.CreateBy==userInfo.EmployeeId
||GetDetail.InvoiceExamineBy==userInfo.EmployeeId
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)&&GetDetail.InvoiceState!=2">
<div class="_pic_upload">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
<el-upload drag :http-request="uploadFileBtnFP" :multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传发票</div>
</el-upload>
</div> </div>
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian(1)">上传发票</button></div> </template>
</div>
<div style="margin-top: 10px;"
v-if="(GetDetail.CreateBy==userInfo.EmployeeId
||GetDetail.InvoiceExamineBy==userInfo.EmployeeId
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)&&GetDetail.InvoiceState!=2">
<div class="_pic_upload">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
<el-upload drag :http-request="uploadFileBtnFP" :multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传发票</div>
</el-upload>
</div> </div>
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian(1)">上传发票</button></div>
</div> </div>
</div>
</div>
</div> </div>
<p class="_splic"> <p class="_splic">
......
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