|
@@ -264,10 +264,10 @@
|
|
|
<div v-else>
|
|
|
<el-button v-if="hasPermission('cw_finance:invoice:edit')&&scope.row.createBy.id === $store.state.user.id&&(scope.row.status === '1'||scope.row.status === '3')" text type="primary" @click="invoicePush(scope.row)">修改</el-button>
|
|
|
<el-button v-if="hasPermission('cw_finance:invoice:edit')&&scope.row.createBy.id === $store.state.user.id&&scope.row.status === '2'" text type="primary" @click="invoiceReback(scope.row)">撤回</el-button>
|
|
|
- <el-button v-if="hasPermission('cw_finance:invoice:edit:detail')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" text type="primary" @click="editDetail(scope.row.id)">修改发票明细</el-button>
|
|
|
- <el-button v-if="hasPermission('cw_finance:invoice:edit:receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" text type="primary" @click="view(true, scope.row)">收款</el-button>
|
|
|
- <el-button v-if="hasPermission('cw_finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1'" text type="primary" @click="isReceivables(scope.row)">确认收款</el-button>
|
|
|
- <el-button v-if="hasPermission('cw_finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus === '1'" text type="primary" @click="recallReceivables(scope.row)">撤回收款</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw_finance:invoice:edit:detail')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1' &&scope.row.createById === $store.state.user.id" text type="primary" @click="editDetail(scope.row.id)">修改发票明细</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw_finance:invoice:edit:receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1' &&scope.row.createById === $store.state.user.id" text type="primary" @click="view(true, scope.row)">收款</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw_finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus !== '1' &&scope.row.createById === $store.state.user.id" text type="primary" @click="isReceivables(scope.row)">确认收款</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw_finance:invoice:edit:is_receivables')&&scope.row.status === '5'&&scope.row.receivablesStatus === '1' &&scope.row.createById === $store.state.user.id" text type="primary" @click="recallReceivables(scope.row)">撤回收款</el-button>
|
|
|
<el-button v-if="hasPermission('cw_finance:invoice:edit')&&scope.row.createBy.id === $store.state.user.id&&(scope.row.status === '5'||scope.row.status === '7')" text type="primary" @click="invoiceInvalidPush(scope.row)">作废</el-button>
|
|
|
<el-button v-if="hasPermission('cw_finance:invoice:edit')&&scope.row.createBy.id === $store.state.user.id&&scope.row.status === '6'" text type="primary" @click="invoiceInvalidReBack(scope.row)">作废撤回</el-button>
|
|
|
<el-button v-if="hasPermission('cw_finance:invoice:edit')&&scope.row.createBy.id === $store.state.user.id&&(scope.row.status === '1'||scope.row.status === '3')" text type="primary" @click="del(scope.row.id)">删除</el-button>
|