zhengyiming
2025-04-17 60b9c62a3165f304a933cbac304ac3d43a24f722
packages/components/src/views/electricBillRecharge/ElectricBillRechargeBaseForm.vue
@@ -61,6 +61,14 @@
        max-length="6"
      />
    </NutFormItem>
    <NutFormItem label="户主姓名" class="bole-form-item" prop="name" required>
      <NutInput
        v-model.trim="form.name"
        class="bole-input-text"
        placeholder="请填写户主姓名"
        type="text"
      />
    </NutFormItem>
    <slot />
  </NutForm>
</template>
@@ -85,6 +93,7 @@
  province: string;
  city: string;
  sixID: string;
  name: string;
}>('form');
const { electricParValueList } = useGetElectricParValue();
@@ -118,6 +127,7 @@
      validator: FormValidator.validatorIDNumberSix,
    },
  ],
  name: [{ required: true, message: '请填写户主姓名' }],
});
const formRef = ref<any>(null);