This commit is contained in:
xiaozhiyong
2023-02-22 13:19:23 +08:00
parent 2c3fc5aacc
commit 726dc111b6
13 changed files with 561 additions and 295 deletions

View File

@@ -189,56 +189,56 @@
@close="controlWindows.detail = false"
>
<template #transactionType>
<p class="ft14">
<p>
{{
oilCompanyMatch.transactionType === "TURN"
oilCompanyMatch[0].transactionType === "TURN"
? LoopBackTypeEnum.find(
(item) => item.value === oilCompanyMatch.turnType
(item) => item.value === oilCompanyMatch[0].turnType
).label
: rechargeTypeEnum.find(
(item) => item.value === oilCompanyMatch.transactionType
(item) => item.value === oilCompanyMatch[0].transactionType
).label
}}
</p>
</template>
<template #transactionState>
<p class="ft14">
<p>
{{
rechargeStatusEnum.find(
(item) => item.value === oilCompanyMatch.transactionState
(item) => item.value === oilCompanyMatch[0].transactionState
).label
}}
</p>
</template>
<template #auditMark>
<p class="ft14">
<p>
{{
auditMarkEnum.find(
(item) => item.value === oilCompanyMatch.auditMark
(item) => item.value === oilCompanyMatch[0].auditMark
).label
}}
</p>
</template>
<template #accountState>
<p class="ft14">
{{
accountStatusEnum.find(
(item) => item.value === oilCompanyMatch.accountState
).label
}}
</p>
</template>
<template #accountType>
<p class="ft14">
{{ oilCompanyMatch.accountType === "0" ? "基础账户" : "" }}
</p>
</template>
<template #offlineTransactionProof>
<el-image
style="width: 100px; height: 100px"
:src="oilCompanyMatch.offlineTransactionProof"
:src="oilCompanyMatch[0].offlineTransactionProof"
/>
</template>
<template #accountState>
<p>
{{
accountStatusEnum.find(
(item) => item.value === oilCompanyMatch[1].accountState
).label
}}
</p>
</template>
<template #accountType>
<p>
{{ oilCompanyMatch[1].accountType === "0" ? "基础账户" : "" }}
</p>
</template>
</general-details>
</el-drawer>
</div>
@@ -429,7 +429,7 @@ export default {
serve.get(row.id),
commonServe.getByCompanyId(row.companyId),
]).then(([firstRes, secondRes]) => {
this.oilCompanyMatch = { ...firstRes.data, ...secondRes.data };
this.oilCompanyMatch = [firstRes.data, secondRes.data];
this.controlWindows.detail = true;
});
@@ -515,6 +515,9 @@ export default {
<style lang="scss" scoped>
.enterprise-recharge-details {
.pft14 {
font-size: 14px;
}
.frame {
margin: 20px;
padding: 20px;