|
|
@ -7,7 +7,8 @@
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
<div class="ds-approve-fee-table-sf">
|
|
|
|
<div class="ds-approve-fee-table-sf">
|
|
|
|
<div class="fee-check-opt">
|
|
|
|
<div class="fee-check-opt">
|
|
|
|
<h4>应收应付费用</h4>
|
|
|
|
<h4>{{ status == 'BILL_RECV_AUDIT' ? '应收费用确认' : '应收应付费用' }}</h4>
|
|
|
|
|
|
|
|
<span v-if="!status">
|
|
|
|
<a-dropdown>
|
|
|
|
<a-dropdown>
|
|
|
|
<template #overlay>
|
|
|
|
<template #overlay>
|
|
|
|
<a-menu>
|
|
|
|
<a-menu>
|
|
|
@ -54,6 +55,7 @@
|
|
|
|
<span class="iconfont icon-renwu_" :style="{fontSize: '13px'}"></span>
|
|
|
|
<span class="iconfont icon-renwu_" :style="{fontSize: '13px'}"></span>
|
|
|
|
本票审核
|
|
|
|
本票审核
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<!-- <FeeActionBar
|
|
|
|
<!-- <FeeActionBar
|
|
|
|
></FeeActionBar> -->
|
|
|
|
></FeeActionBar> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -134,7 +136,7 @@
|
|
|
|
</a-spin>
|
|
|
|
</a-spin>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { onMounted, ref, reactive, defineProps, watch, defineExpose, defineEmits } from 'vue'
|
|
|
|
import { ref, defineExpose } from 'vue'
|
|
|
|
import { BasicTable, useTable } from '/@/components/Table'
|
|
|
|
import { BasicTable, useTable } from '/@/components/Table'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
import { GetFees, Audit, SetInvoiceEnabled, AuditByBiz } from '../api'
|
|
|
|
import { GetFees, Audit, SetInvoiceEnabled, AuditByBiz } from '../api'
|
|
|
@ -145,6 +147,11 @@
|
|
|
|
import FeeRejectModal from './feeRejectModal.vue'
|
|
|
|
import FeeRejectModal from './feeRejectModal.vue'
|
|
|
|
import { formatTableData } from '/@/hooks/web/common'
|
|
|
|
import { formatTableData } from '/@/hooks/web/common'
|
|
|
|
import emitter from '/@/utils/Bus'
|
|
|
|
import emitter from '/@/utils/Bus'
|
|
|
|
|
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
|
|
|
// 当前页面状态
|
|
|
|
|
|
|
|
const status = route.query.status
|
|
|
|
|
|
|
|
console.log(route)
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
// 过滤显示仅审核费用
|
|
|
|
// 过滤显示仅审核费用
|
|
|
|
const check = ref(true)
|
|
|
|
const check = ref(true)
|
|
|
@ -169,31 +176,31 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: v == 1 ? '应收' : '应付',
|
|
|
|
title: v == 1 ? '应收' : '应付',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 200,
|
|
|
|
width: 400,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'RMB',
|
|
|
|
dataIndex: 'RMB',
|
|
|
|
title: 'RMB',
|
|
|
|
title: 'RMB',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
minWidth: 80
|
|
|
|
minWidth: 70
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'USD',
|
|
|
|
dataIndex: 'USD',
|
|
|
|
title: 'USD',
|
|
|
|
title: 'USD',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
minWidth: 80
|
|
|
|
minWidth: 70
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'other',
|
|
|
|
dataIndex: 'other',
|
|
|
|
title: '其他币别',
|
|
|
|
title: '其他币别',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
minWidth: 80
|
|
|
|
minWidth: 70
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'customerFullName',
|
|
|
|
dataIndex: 'customerFullName',
|
|
|
|
title: '客户名称',
|
|
|
|
title: '客户名称',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
minWidth: 80
|
|
|
|
minWidth: 150
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'feeStatusText',
|
|
|
|
dataIndex: 'feeStatusText',
|
|
|
@ -205,19 +212,19 @@
|
|
|
|
dataIndex: 'unitPrice',
|
|
|
|
dataIndex: 'unitPrice',
|
|
|
|
title: '单价',
|
|
|
|
title: '单价',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
width: 100
|
|
|
|
width: 70
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'quantity',
|
|
|
|
dataIndex: 'quantity',
|
|
|
|
title: '数量',
|
|
|
|
title: '数量',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
width: 50
|
|
|
|
width: 40
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataIndex: 'exchangeRate',
|
|
|
|
dataIndex: 'exchangeRate',
|
|
|
|
title: '汇率',
|
|
|
|
title: '汇率',
|
|
|
|
align: 'left',
|
|
|
|
align: 'left',
|
|
|
|
width: 50
|
|
|
|
width: 40
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|