From dca624a7e4c877dc4bfd8c496a6c2a6b29ad4b46 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 25 三月 2025 10:16:37 +0800
Subject: [PATCH] fix: 四期需求
---
packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue b/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue
index e863bf0..32828f1 100644
--- a/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue
+++ b/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue
@@ -2,10 +2,10 @@
<NutForm label-position="top" class="order-bill-recharge gas-bill-recharge-wrapper phone">
<NutFormItem class="bole-form-item">
<GasOrgTypeCard
- :title="item"
- v-for="(item, gasOrgCodeEnum) in BlLifeRecharge.constants.GasOrgCodeEnumText"
- :key="item"
- @click="goNext(gasOrgCodeEnum)"
+ :title="item.gasOrgName"
+ v-for="item in gasParValueList"
+ :key="item.gasOrgCode"
+ @click="goNext(item.gasOrgCode)"
></GasOrgTypeCard>
</NutFormItem>
<div class="common-content">
@@ -23,6 +23,7 @@
import GasOrgTypeCard from './GasOrgTypeCard.vue';
import { BlLifeRecharge, LifeRechargeConstants } from '@life-payment/core-vue';
import { useGasBillRechargeContext } from './context';
+import { useGetGasParValue } from '../../hooks';
defineOptions({
name: 'GasBillRechargeStep1',
@@ -30,7 +31,9 @@
const { preSetForm, goToNext, goTo } = useGasBillRechargeContext();
-function goNext(gasOrgType: LifeRechargeConstants.GasOrgCodeEnum) {
+const { gasParValueList } = useGetGasParValue();
+
+function goNext(gasOrgType: string) {
preSetForm.gasOrgType = gasOrgType;
goToNext();
}
--
Gitblit v1.9.1