|
@@ -230,14 +230,14 @@
|
|
|
</vxe-column>
|
|
|
<vxe-column min-width="300" title="操作" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '1'||scope.row.status === '3'||scope.row.status === '4'" type="text" icon="el-icon-edit" size="small" @click="invoicePush(scope.row)">修改</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '2'" type="text" icon="el-icon-delete" size="small" @click="invoiceReback(scope.row)">撤回</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit:detail')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" icon="el-icon-edit" size="small" @click="editDetail(scope.row.id)">修改发票明细</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit:receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" icon="el-icon-finished" size="small" @click="view(true, scope.row.id)">收款</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" icon="el-icon-document-checked" size="small" @click="isReceivables(scope.row)">确认收款</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit:invalid')&&scope.row.status === '5'||scope.row.status === '7'||scope.row.status === '8'" type="text" icon="el-icon-document-delete" size="small" @click="invoiceInvalidPush(scope.row)">作废</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit:invalid')&&scope.row.status === '6'" type="text" icon="el-icon-document-delete" size="small" @click="invoiceInvalidReBack(scope.row)">作废撤回</el-button>
|
|
|
- <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '1'||scope.row.status === '3'||scope.row.status === '4'" type="text" icon="el-icon-delete" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '1'||scope.row.status === '3'||scope.row.status === '4'" type="text" size="small" @click="invoicePush(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '2'" type="text" size="small" @click="invoiceReback(scope.row)">撤回</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit:detail')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" size="small" @click="editDetail(scope.row.id)">修改发票明细</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit:receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" size="small" @click="view(true, scope.row.id)">收款</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" type="text" size="small" @click="isReceivables(scope.row)">确认收款</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit:invalid')&&scope.row.status === '5'||scope.row.status === '7'||scope.row.status === '8'" type="text" size="small" @click="invoiceInvalidPush(scope.row)">作废</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit:invalid')&&scope.row.status === '6'" type="text" size="small" @click="invoiceInvalidReBack(scope.row)">作废撤回</el-button>
|
|
|
+ <el-button v-if="hasPermission('finance:invoice:edit')&&scope.row.status === '1'||scope.row.status === '3'||scope.row.status === '4'" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|