feat: 发票登记移至工具栏并回显已认领收票单
This commit is contained in:
@@ -23,6 +23,15 @@
|
||||
@click="$emit('payment')"
|
||||
>付款申请</el-button
|
||||
>
|
||||
<!-- 先票后款:付款结算单审批通过后可发票登记(关联收票单并推送指定应付),选中一条付款结算单操作 -->
|
||||
<el-button
|
||||
v-if="showPaymentAction && hasPermission('invoice_register')"
|
||||
type="primary"
|
||||
plain
|
||||
:disabled="!selection.length"
|
||||
@click="emitSingle('invoiceRegister')"
|
||||
>发票登记</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="hasPermission('sync')"
|
||||
type="primary"
|
||||
@@ -189,13 +198,6 @@ export default {
|
||||
row.kingdeeSyncStatus !== 'synced'
|
||||
)
|
||||
actions.push({ type: 'void', label: '作废', danger: true });
|
||||
// 先票后款:付款结算单审批通过后可发票登记(关联收票单并推送指定应付)
|
||||
if (
|
||||
this.showPaymentAction &&
|
||||
this.hasPermission('invoice_register') &&
|
||||
row.approvalStatus === 'approved'
|
||||
)
|
||||
actions.push({ type: 'invoiceRegister', label: '发票登记' });
|
||||
return actions;
|
||||
},
|
||||
statusType(status) {
|
||||
|
||||
Reference in New Issue
Block a user