|
|
@@ -53,13 +53,17 @@
|
|
|
width="250">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="inline-16" v-if="data.byhand == 0">
|
|
|
- <a class="table_row_link inline-16" :href="scope.row.paperpdfurl" target="_Blank" :style="{pointerEvents:scope.row.paperpdfurl == ''?'none':'',textDecoration:scope.row.paperpdfurl == ''?'none':'',color:scope.row.paperpdfurl == ''?'#cccccc':''}">{{$t(`纸票pdf`)}}</a>
|
|
|
- <a class="table_row_link inline-16" :href="scope.row.pdfurl" target="_Blank" :style="{pointerEvents:scope.row.pdfurl == ''?'none':'',textDecoration:scope.row.pdfurl == ''?'none':'',color:scope.row.pdfurl == ''?'#cccccc':''}">{{$t(`发票pdf`)}}</a>
|
|
|
+ <a class="table_row_link inline-16" :href="scope.row.paperpdfurl" target="_Blank"
|
|
|
+ :style="{pointerEvents:scope.row.paperpdfurl == ''?'none':'',textDecoration:scope.row.paperpdfurl == ''?'none':'',color:scope.row.paperpdfurl == ''?'#cccccc':''}">{{$t(`纸票pdf`)}}</a>
|
|
|
+ <a class="table_row_link inline-16" :href="scope.row.pdfurl" target="_Blank"
|
|
|
+ :style="{pointerEvents:scope.row.pdfurl == ''?'none':'',textDecoration:scope.row.pdfurl == ''?'none':'',color:scope.row.pdfurl == ''?'#cccccc':''}">{{$t(`发票pdf`)}}</a>
|
|
|
</div>
|
|
|
<div class="inline-16" v-else>
|
|
|
<!-- <a class="table_row_link inline-16" :href="scope.row.paperpdfurl">上传发票</a> -->
|
|
|
- <upload class="inline-16" :folderid="folderid" :bindData="{ownertable: 'sa_invoicebill', ownerid: scope.row.sa_invoicebillid,usetype: 'default'}" @onSuccess="listData" btntype="icon"></upload>
|
|
|
- <a class="table_row_link inline-16" v-if="scope.row.attinfos.length > 0" :href="scope.row.attinfos[scope.row.attinfos.length - 1].url">{{$t(`下载发票`)}}</a>
|
|
|
+ <upload class="inline-16" :folderid="folderid"
|
|
|
+ :bindData="{ownertable: 'sa_invoicebill', ownerid: scope.row.sa_invoicebillid,usetype: 'default'}" @onSuccess="listData" btntype="icon"></upload>
|
|
|
+ <a class="table_row_link inline-16"
|
|
|
+ v-if="scope.row.attinfos.length > 0" :href="scope.row.attinfos[scope.row.attinfos.length - 1].url">{{$t(`下载发票`)}}</a>
|
|
|
</div>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'editBlueInvioce')" @click="editRow(scope.row)" type="text" size="mini" :disabled="data.status !== '新建' && data.status !== '提交'">{{$t('编 辑')}}</el-button>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'editBlueInvioce')" @click="deleteRow(scope.row)" type="text" size="mini" :disabled="data.status !== '新建' && data.status !== '提交'">{{$t('删 除')}}</el-button>
|