|
@@ -244,12 +244,12 @@
|
|
{{$dictUtils.getDictLabel('collect_not', scope.row.receivablesStatus, '')}}
|
|
{{$dictUtils.getDictLabel('collect_not', scope.row.receivablesStatus, '')}}
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
- <vxe-column min-width="110" align="center" title="是否作废" field="invalidStatus">
|
|
|
|
- <template #default="scope">
|
|
|
|
- {{scope.row.invalidStatus === '1'?'已作废':'未作废'}}
|
|
|
|
- </template>
|
|
|
|
|
|
+<!-- <vxe-column min-width="110" align="center" title="是否作废" field="invalidStatus">-->
|
|
|
|
+<!-- <template #default="scope">-->
|
|
|
|
+<!-- {{scope.row.invalidStatus === '1'?'已作废':'未作废'}}-->
|
|
|
|
+<!-- </template>-->
|
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
|
+<!-- </vxe-column>-->
|
|
<vxe-column min-width="115" align="center" title="状态" field="status" >
|
|
<vxe-column min-width="115" align="center" title="状态" field="status" >
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button @click="invoiceDetail(scope.row)" :type="$dictUtils.getDictLabel('invoice_status_info', scope.row.status, '')" effect="dark" >{{$dictUtils.getDictLabel("invoice_status", scope.row.status, '')}} </el-button>
|
|
<el-button @click="invoiceDetail(scope.row)" :type="$dictUtils.getDictLabel('invoice_status_info', scope.row.status, '')" effect="dark" >{{$dictUtils.getDictLabel("invoice_status", scope.row.status, '')}} </el-button>
|
|
@@ -268,7 +268,7 @@
|
|
<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: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'" 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="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: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 === '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 === '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>
|
|
<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>
|
|
<!-- 审核 发票申请-->
|
|
<!-- 审核 发票申请-->
|