diff --git a/src/views/approve/paid/components/calcTable.vue b/src/views/approve/paid/components/calcTable.vue index dbafc18b..d3cee099 100644 --- a/src/views/approve/paid/components/calcTable.vue +++ b/src/views/approve/paid/components/calcTable.vue @@ -87,6 +87,14 @@ diff --git a/src/views/approve/paid/index.vue b/src/views/approve/paid/index.vue index bb9d5d21..bc6b5d41 100644 --- a/src/views/approve/paid/index.vue +++ b/src/views/approve/paid/index.vue @@ -42,12 +42,15 @@
- 此付费客户存在应收费用{{ state.receivableTotal }} + 此付费客户存在应收费用{{ state.recvByCustomer }}
+ + 附件 +
- + - - 附件 -
+
@@ -87,7 +88,7 @@ import { formatParams } from '/@/hooks/web/common' import { GetList, GetApplicationStat } from './api' import { Divider } from 'ant-design-vue' - import { useModal } from '/@/components/Modal' + import invoiceFile from '/@/views/operation/invoiceIssue/detail/invoiceFile.vue' import { columns, searchFormSchema } from './columns' import { useMessage } from '/@/hooks/web/useMessage' import FeeTable from './components/feeTable.vue' @@ -106,6 +107,7 @@ const res = await GetList(p) if (res?.data?.length) state.BRowKeys = [res.data[0].id] setSelectedRows([res.data[0]]) + feeStatistic(res.data[0].id) return new Promise((resolve) => { resolve({ data: [...res.data], total: res.count }) }) @@ -130,7 +132,9 @@ // 业务信息已选项 const state = reactive({ BRowKeys: [], - receivableTotal: 0, + recvByCustomer: 0, + payableCNY: 0, + payableUSD: 0, totalItems: [] }) const activeKey = ref('1') @@ -188,14 +192,17 @@ customerId: row[0].customerId, businessType: 1 }).then(res => { - if (res.data.receivableTotal) state.receivableTotal = (res.data.receivableTotal).toLocaleString() + if (res.data.recvByCustomer) state.recvByCustomer = (res.data.recvByCustomer).toLocaleString() + if (res.data.payableCNY) state.payableCNY = (res.data.payableCNY).toLocaleString() + if (res.data.payableUSD) state.payableUSD = (res.data.payableUSD).toLocaleString() state.totalItems = res.data.totalItems }) } } + const invoiceFileRef = ref(null) // 附件弹窗 const openFile = () => { - // fileRef.value.init() + invoiceFileRef.value.init(busId.value) } // 记录数据按下时候的Y轴坐标 // const clientY = ref() @@ -271,6 +278,12 @@ } .fee-box { position: relative; + .file-btn { + position: absolute; + top: 7px; + left: 195px; + z-index: 10; + } .ant-table-title { display: none; } diff --git a/src/views/finance/paymentSettlement/detail/components/applyInfo.vue b/src/views/finance/paymentSettlement/detail/components/applyInfo.vue index e98d52ae..a2b02b09 100644 --- a/src/views/finance/paymentSettlement/detail/components/applyInfo.vue +++ b/src/views/finance/paymentSettlement/detail/components/applyInfo.vue @@ -53,8 +53,6 @@ import { onMounted, ref, defineEmits, defineProps, watch, defineExpose } from 'vue' import { BasicTable, useTable } from '/@/components/Table' import { columns } from './applyInfoColumns' - // 引入附近上传组件 - import DsFile from "/@/components/File/index.vue" import { Divider } from 'ant-design-vue' import invoiceFile from '/@/views/operation/invoiceIssue/detail/invoiceFile.vue' import { DeleteDetail } from '../../api' diff --git a/src/views/operation/paidApply/detail/components/businessTable.vue b/src/views/operation/paidApply/detail/components/businessTable.vue index 7e9d2ebf..505b0fa9 100644 --- a/src/views/operation/paidApply/detail/components/businessTable.vue +++ b/src/views/operation/paidApply/detail/components/businessTable.vue @@ -38,7 +38,7 @@
- 增加申请费用明细 + 添加申请费用明细
{ const res = await GetBizList(p) res.data.forEach((item, index) => {