From 41d51e701f70606fe4ebc746c0fe6d53e6a60a9e Mon Sep 17 00:00:00 2001 From: douqi <630797947@qq.com> Date: Wed, 22 Feb 2023 08:33:25 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accountManagement/components/recharge.vue | 144 +++++++++++++++--- .../accountManagement/index.vue | 2 +- 2 files changed, 122 insertions(+), 24 deletions(-) diff --git a/src/views/financialCenter/accountManagement/components/recharge.vue b/src/views/financialCenter/accountManagement/components/recharge.vue index 5ce448c..942b720 100644 --- a/src/views/financialCenter/accountManagement/components/recharge.vue +++ b/src/views/financialCenter/accountManagement/components/recharge.vue @@ -8,22 +8,84 @@ >
{{ row.companyName }}
+业务负责人:{{ row.businessLeader }}
++ {{ oilCompanyMatch[0].parentMark === 0 ? "主体公司" : "分公司" }} +
+ + ++ {{ + companyNatureEnum.find( + (item) => item.value === oilCompanyMatch[0].companyNature + ).label + }} +
+ + ++ {{ oilCompanyMatch[0].enableMark === 0 ? "禁用" : "启用" }} +
+ + ++ {{ auditMarkEnum[oilCompanyMatch[0].enableMark] }} +
+ + ++ {{ + accountStatusEnum.find( + (item) => item.value === oilCompanyMatch[1].accountState + ).label + }} +
+ + ++ {{ oilCompanyMatch[1].accountType == 0 ? "基础账户" : "" }} +
+ + ++ {{ settlementModesEnum[oilCompanyMatch[3].settlementModes] }} +
+ + ++ {{ oilCompanyMatch[3].defaultShare === 1 ? "共享" : "不共享" }} +
+ ++
{{ rechargeTypeEnum.find( - (item) => item.value === oilCompanyMatch.billType + (item) => item.value === oilCompanyMatch[0].billType ).label }}
-- 上次:{{ oilCompanyMatch.lastBalance }} +
+ 上次:{{ oilCompanyMatch[0].lastBalance }}
-- 本次:{{ oilCompanyMatch.currentBalance }} +
+ 本次:{{ oilCompanyMatch[0].currentBalance }}
-- 上次:{{ oilCompanyMatch.lastRechargeBalance }} +
+ 上次:{{ oilCompanyMatch[0].lastRechargeBalance }}
-- 本次:{{ oilCompanyMatch.currentRechargeBalance }} +
+ 本次:{{ oilCompanyMatch[0].currentRechargeBalance }}
-- 上次:{{ oilCompanyMatch.lastChargeRechargeBalance }} +
+ 上次:{{ oilCompanyMatch[0].lastChargeRechargeBalance }}
-- 本次:{{ oilCompanyMatch.currentChargeRechargeBalance }} +
+ 本次:{{ + oilCompanyMatch[0].currentChargeRechargeBalance + }}
-- 上次:{{ oilCompanyMatch.lastRechargeRebateBalance }} +
+ 上次:{{ oilCompanyMatch[0].lastRechargeRebateBalance }}
-- 本次:{{ oilCompanyMatch.currentRechargeRebateBalance }} +
+ 本次:{{ + oilCompanyMatch[0].currentRechargeRebateBalance + }}
-- 上次:{{ oilCompanyMatch.lastConsumeRebateAmount }} +
+ 上次:{{ oilCompanyMatch[0].lastConsumeRebateAmount }}
-- 本次:{{ oilCompanyMatch.currentConsumeRebateAmount }} +
+ 本次:{{ + oilCompanyMatch[0].currentConsumeRebateAmount + }}
@@ -370,7 +376,7 @@ export default { }; serve.getCompanyAccountRecord(params).then((res) => { this.tableDataSec = []; - this.oilCompanyMatch = row; + this.oilCompanyMatch = [row]; this.controlWindows.detail = true; }); }, @@ -401,6 +407,9 @@ export default { diff --git a/src/views/refineryInfo/index.vue b/src/views/refineryInfo/index.vue index 6a86023..53344fb 100644 --- a/src/views/refineryInfo/index.vue +++ b/src/views/refineryInfo/index.vue @@ -1,16 +1,6 @@+ {{ + refineryTypeEnum.find( + (item) => item.value === oilCompanyMatch[0].refineryType + ).label + }} +
+ + ++ {{ oilCompanyMatch[0].enableMark === "ENABLE" ? "启用" : "禁用" }} +
+