From 270ad12af5f0d8a0c5a206ca877908f0cb6ff6ec Mon Sep 17 00:00:00 2001 From: lijingjia Date: Tue, 24 Sep 2024 18:47:02 +0800 Subject: [PATCH] =?UTF-8?q?9.24=E7=A6=85=E9=81=93bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CostEntry/components/feeTable.vue | 16 ++-- src/components/Form/src/BasicForm.vue | 2 +- src/store/modules/configOptions.ts | 1 + src/views/approve/fee/index.vue | 2 +- .../operation/paidApply/detail/columns.tsx | 79 +++++++++++++++++-- .../detail/components/businessTable.vue | 77 ++++++++++++------ .../operation/paidApply/detail/index.vue | 17 +++- src/views/operation/paidApply/index.vue | 68 +++++++++++++++- 8 files changed, 218 insertions(+), 44 deletions(-) diff --git a/src/components/CostEntry/components/feeTable.vue b/src/components/CostEntry/components/feeTable.vue index e2b94927..4fb72132 100644 --- a/src/components/CostEntry/components/feeTable.vue +++ b/src/components/CostEntry/components/feeTable.vue @@ -31,7 +31,7 @@ @@ -93,10 +93,11 @@ row.amount = Number(e * row.originalRate).toFixed(6) } // 根据业务编号及类型获取关联费用记录 (Auth) - const getFees = async (id, businessType) => { + const getFees = async (id, businessType, customerId) => { const postData = [{ id, - businessType + businessType, + customerId }] loading.value = true await GetFees(postData).then(res => { @@ -167,7 +168,7 @@ }) } const page = ref() - const init = async (ids, source, businessType) => { + const init = async (ids, source, businessType, customerId) => { page.value = source if (ids.length) { if (ids[0] == undefined) { @@ -187,7 +188,7 @@ } if (source == 'apply') { nowFeeColumns.value = feeApplyColumns - await getFees(ids[0], businessType) + await getFees(ids[0].slice(0, -1), businessType, customerId) return feeData.value } } @@ -259,13 +260,16 @@ .title { font-size: 14px; font-weight: 600; - margin-left: 20px; } .count { font-size: 14px; font-weight: 600; color: #257AFA; } + .ml10 { + background: #F5F9FC; + padding: 0 5px; + } } } \ No newline at end of file diff --git a/src/components/Form/src/BasicForm.vue b/src/components/Form/src/BasicForm.vue index bb9bcc1f..eb6b6c0c 100644 --- a/src/components/Form/src/BasicForm.vue +++ b/src/components/Form/src/BasicForm.vue @@ -30,7 +30,7 @@
{{ schema.label }}: {{ formModel[schema.field] || '-' }} - +
diff --git a/src/store/modules/configOptions.ts b/src/store/modules/configOptions.ts index 63b8cfd1..09d6855f 100644 --- a/src/store/modules/configOptions.ts +++ b/src/store/modules/configOptions.ts @@ -140,6 +140,7 @@ export default { // 币别 GetFeeCurrencySelectList: () => { return GetFeeCurrencySelectList().then((res) => { + console.log(res.data) return res.data }) }, diff --git a/src/views/approve/fee/index.vue b/src/views/approve/fee/index.vue index 5ee3e55d..907d47e9 100644 --- a/src/views/approve/fee/index.vue +++ b/src/views/approve/fee/index.vue @@ -19,7 +19,7 @@