| | |
| | | > |
| | | </NutTextarea> |
| | | </NutFormItem> |
| | | <div class="common-content"> |
| | | <NutButton class="recharge-button" type="primary" @click="handleSave"> |
| | | <div class="recharge-button-inner"> |
| | | <div class="recharge-button-text">保存</div> |
| | | </div> |
| | | </NutButton> |
| | | </div> |
| | | </GasBillRechargeBaseForm> |
| | | <!-- <div class="chunk-form-actions"> |
| | | <NutButton class="recharge-button" type="primary" @click="handleSave"> |
| | | <div class="recharge-button-inner"> |
| | | <div class="recharge-button-text">保存</div> |
| | | </div> |
| | | </NutButton> |
| | | </div> --> |
| | | </LoadingLayout> |
| | | </template> |
| | | |
| | |
| | | AddUpdateUserAccountInput, |
| | | } from '@life-payment/core-vue'; |
| | | import { useAddUpdateUserAccount, useGetGasParValue } from '../../hooks'; |
| | | import LoadingLayout from '../../components//Layout/LoadingLayout.vue'; |
| | | import LoadingLayout from '../../components/Layout/LoadingLayout.vue'; |
| | | import ChooseInputWithPicker from '../../components//Input/ChooseInputWithPicker.vue'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { GasUserAccountExtraProperties } from '../GasBillRecharge/context'; |
| | |
| | | form.gasOrgType = data.operators as any; |
| | | |
| | | form.remark = data.remark; |
| | | form.name = currentUserAccountExtraProperties.name ?? ''; |
| | | }, |
| | | enabled: computed(() => !!props.id), |
| | | }); |
| | |
| | | gasAccount: '', |
| | | remark: '', |
| | | areaList: [] as string[], |
| | | name: '', |
| | | }); |
| | | |
| | | const formRef = ref<any>(null); |
| | |
| | | emit('success'); |
| | | } catch (error) {} |
| | | } |
| | | |
| | | defineExpose({ handleSave }); |
| | | </script> |