Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
0bf0bba8
Commit
0bf0bba8
authored
Nov 27, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
04a4571b
830b200d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
76 deletions
+55
-76
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+55
-76
No files found.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
0bf0bba8
...
...
@@ -1057,7 +1057,7 @@
</dmcTravelBill>
<!-- <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>-->
<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"
>
<span>
附件
</span>
<span>
>
</span>
...
...
@@ -1077,7 +1077,7 @@
</el-carousel-item>
</el-carousel>
</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"
>
<div
class=
"_wenjian"
@
click=
"showUpLoadFile(file)"
>
<p
v-if=
"file.Type==1"
class=
"_wenjian_P iconfont"
...
...
@@ -1118,13 +1118,10 @@
<div
class=
"shangchuanfujian"
><button
class=
"hollowFixedBtn"
@
click=
"upLoadFuJian"
>
上传附件
</button></div>
</div>
</div>
</div>
<div
class=
"_fujian_box"
v-if=
"GetDetail.VorcherInos
<div
style=
"margin-top: 40px;"
v-if=
"GetDetail.VorcherInos
&&GetDetail.VorcherInos.length===0
&&GetDetail.IsUploadPic===1
&&saveMsg.length===0"
>
<div
style=
"margin-top: 40px;"
>
<div
class=
"_pic_upload"
v-if=
"GetDetail.IsUploadPic===1"
>
<!--<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=
""
>
...
...
@@ -1134,81 +1131,63 @@
</div>
<div
class=
"shangchuanfujian"
><button
class=
"hollowFixedBtn"
@
click=
"upLoadFuJian"
>
上传附件
</button></div>
</div>
</div>
<!-- 是否需要发票 -->
<div
class=
"_fujian_box"
style=
"border-top: 1px solid #dedede;margin-top: 610px;
padding: 0 0 10px 0;"
v-if=
"(GetDetail.CreateBy==userInfo.EmployeeId
||GetDetail.InvoiceExamineBy==userInfo.EmployeeId
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)"
>
<p
style=
"margin-top: 40px;"
>
<span
style=
"color: red;"
>
发票凭证
</span>
<span
style=
"color: #33B3FF;margin-left: 10px;"
>
<
template
v-if=
"GetDetail.InvoiceState==2"
>
{{
GetDetail
.
InvoiceExamineByName
}}
已审核
</
template
>
<
template
v-if=
"GetDetail.InvoiceState==1"
>
待审核
</
template
>
</span>
</p>
<div
class=
"_addUpload_box _addUpload_box_btm clearfix"
v-if=
"InvoiceVoucherList.length>0"
>
<!-- <template v-if="GetDetail.InvoiceVoucherInfo&&GetDetail.InvoiceVoucherInfo.length>0"
v-for="(file,fIndex) in GetDetail.InvoiceVoucherInfo">
<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>
</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
style=
"border-top: 1px solid #dedede;margin-top: 10px;
padding: 0 0 10px 0;"
v-if=
"(GetDetail.CreateBy==userInfo.EmployeeId
||GetDetail.InvoiceExamineBy==userInfo.EmployeeId
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!= -1)"
>
<p
style=
"margin-top: 40px;"
>
<span
style=
"color: red;"
>
发票凭证
</span>
<span
style=
"color: #33B3FF;margin-left: 10px;"
>
<
template
v-if=
"GetDetail.InvoiceState==2"
>
{{
GetDetail
.
InvoiceExamineByName
}}
已审核
</
template
>
<
template
v-if=
"GetDetail.InvoiceState==1"
>
待审核
</
template
>
</span>
</p>
<div
class=
"_addUpload_box _addUpload_box_btm clearfix"
v-if=
"InvoiceVoucherList.length>0"
>
<
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>
<
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>
<span
class=
"iconfont icon-guanbi1
"
@
click=
"
deleteUploadFile(fIndex,1)"
></span
>
<
span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex,1)"
></span>
</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>
</
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>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex,1)"
></span>
</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
class=
"shangchuanfujian"
><button
class=
"hollowFixedBtn"
@
click=
"upLoadFuJian(1)"
>
上传发票
</button></div>
</div>
</div>
</div>
</div>
<p
class=
"_splic"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment