| | |
| | | v-else-if="current === 'step3'" |
| | | v-bind="props" |
| | | @go-pay="emit('goPay', $event)" |
| | | @paySuccess="emit('paySuccess', $event)" |
| | | /> |
| | | </template> |
| | | |
| | |
| | | import GasBillRechargeStep2 from './GasBillRechargeStep2.vue'; |
| | | import GasBillRechargeStep3 from './GasBillRechargeStep3.vue'; |
| | | import { LifeRechargeConstants } from '@life-payment/core-vue'; |
| | | import { RechargeProps } from '../PhoneBillRecharge/types'; |
| | | |
| | | defineOptions({ |
| | | name: 'GasBillRecharge', |
| | | }); |
| | | |
| | | type Props = { |
| | | isDev?: boolean; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | const props = withDefaults(defineProps<RechargeProps>(), { |
| | | isDev: false, |
| | | }); |
| | | |
| | |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'goPay', orderNo: string): void; |
| | | (e: 'paySuccess', orderNo: string): void; |
| | | }>(); |
| | | |
| | | const preSetForm = reactive({ |
| | | gasOrgType: '' as any as LifeRechargeConstants.GasOrgCodeEnum, |
| | | province: '', |
| | | city: '', |
| | | gasOrgType: '', |
| | | // province: '', |
| | | // city: '', |
| | | gasAccount: '', |
| | | remark: '', |
| | | areaList: [] as string[], |
| | | }); |
| | | |
| | | provide(GasBillRechargeContextKey, { |