|
|
|
@ -7,7 +7,8 @@
|
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
|
<div class="ds-approve-fee-table-sf">
|
|
|
|
|
<div class="fee-check-opt">
|
|
|
|
|
<h4>应收应付费用</h4>
|
|
|
|
|
<h4>{{ status == 'BILL_RECV_AUDIT' ? '应收费用确认' : '应收应付费用' }}</h4>
|
|
|
|
|
<span v-if="!status">
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
@ -54,6 +55,7 @@
|
|
|
|
|
<span class="iconfont icon-renwu_" :style="{fontSize: '13px'}"></span>
|
|
|
|
|
本票审核
|
|
|
|
|
</a-button>
|
|
|
|
|
</span>
|
|
|
|
|
<!-- <FeeActionBar
|
|
|
|
|
></FeeActionBar> -->
|
|
|
|
|
</div>
|
|
|
|
@ -134,7 +136,7 @@
|
|
|
|
|
</a-spin>
|
|
|
|
|
</template>
|
|
|
|
|
<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 { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
|
import { GetFees, Audit, SetInvoiceEnabled, AuditByBiz } from '../api'
|
|
|
|
@ -145,6 +147,11 @@
|
|
|
|
|
import FeeRejectModal from './feeRejectModal.vue'
|
|
|
|
|
import { formatTableData } from '/@/hooks/web/common'
|
|
|
|
|
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 check = ref(true)
|
|
|
|
@ -169,31 +176,31 @@
|
|
|
|
|
{
|
|
|
|
|
title: v == 1 ? '应收' : '应付',
|
|
|
|
|
align: 'center',
|
|
|
|
|
width: 200,
|
|
|
|
|
width: 400,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'RMB',
|
|
|
|
|
title: 'RMB',
|
|
|
|
|
align: 'left',
|
|
|
|
|
minWidth: 80
|
|
|
|
|
minWidth: 70
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'USD',
|
|
|
|
|
title: 'USD',
|
|
|
|
|
align: 'left',
|
|
|
|
|
minWidth: 80
|
|
|
|
|
minWidth: 70
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'other',
|
|
|
|
|
title: '其他币别',
|
|
|
|
|
align: 'left',
|
|
|
|
|
minWidth: 80
|
|
|
|
|
minWidth: 70
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'customerFullName',
|
|
|
|
|
title: '客户名称',
|
|
|
|
|
align: 'left',
|
|
|
|
|
minWidth: 80
|
|
|
|
|
minWidth: 150
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'feeStatusText',
|
|
|
|
@ -205,19 +212,19 @@
|
|
|
|
|
dataIndex: 'unitPrice',
|
|
|
|
|
title: '单价',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 100
|
|
|
|
|
width: 70
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'quantity',
|
|
|
|
|
title: '数量',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 50
|
|
|
|
|
width: 40
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dataIndex: 'exchangeRate',
|
|
|
|
|
title: '汇率',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 50
|
|
|
|
|
width: 40
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|