|
@@ -323,21 +323,21 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" size="small" @click="detailHandle(scope.row.invoicesId)">详情</el-button>
|
|
|
<el-button
|
|
|
- v-if="isAuth('disqualification:invoices:update') && Number(scope.row.state) === 1"
|
|
|
+ v-if="isAuth('disqualification:invoices:update') && Number(scope.row.approveState) === 1"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="updateHandle(scope.row)"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-if="isAuth('disqualification:invoices:updateDispose') && Number(scope.row.state) === 1"
|
|
|
+ v-if="isAuth('disqualification:invoices:updateDispose') && Number(scope.row.state) === 1 && (Number(scope.row.approveState) === 3 || Number(scope.row.approveState) === 4)"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="disposeHandle(scope.row)"
|
|
|
>处理</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-if="isAuth('disqualification:invoices:updateVerify') && Number(scope.row.state) === 2"
|
|
|
+ v-if="isAuth('disqualification:invoices:updateVerify') && Number(scope.row.state) === 2 && (Number(scope.row.approveState) === 3 || Number(scope.row.approveState) === 4)"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="verifyHandle(scope.row)"
|