hookehuyr

fix Bob要求身份证控件输入框改成直接输入

......@@ -7,19 +7,12 @@ export {}
declare module '@vue/runtime-core' {
export interface GlobalComponents {
__AppointmentField: typeof import('./src/components/__AppointmentField/index.vue')['default']
__AreaPickerField: typeof import('./src/components/__AreaPickerField/index.vue')['default']
_AreaPickerField: typeof import('./src/components/_AreaPickerField/index.vue')['default']
Appointment: typeof import('./src/components/Appointment/index.vue')['default']
AppointmentField: typeof import('./src/components/AppointmentField/index.vue')['default']
AppointmentField_: typeof import('./src/components/AppointmentField_/index.vue')['default']
'AppointmentField±': typeof import('./src/components/AppointmentField±/index.vue')['default']
AreaPickerField: typeof import('./src/components/AreaPickerField/index.vue')['default']
ButtonField: typeof import('./src/components/ButtonField/index.vue')['default']
CalendarField: typeof import('./src/components/CalendarField/index.vue')['default']
CheckboxField: typeof import('./src/components/CheckboxField/index.vue')['default']
ContactField: typeof import('./src/components/ContactField/index.vue')['default']
copy: typeof import('./src/components/SignField copy/index.vue')['default']
CustomField: typeof import('./src/components/CustomField/index.vue')['default']
DatePickerField: typeof import('./src/components/DatePickerField/index.vue')['default']
DateTimePickerField: typeof import('./src/components/DateTimePickerField/index.vue')['default']
......@@ -33,7 +26,6 @@ declare module '@vue/runtime-core' {
MarqueeField: typeof import('./src/components/MarqueeField/index.vue')['default']
MultiRuleField: typeof import('./src/components/MultiRuleField/index.vue')['default']
MyComponent: typeof import('./src/components/AppointmentField/MyComponent.vue')['default']
MyComponet: typeof import('./src/components/SignField/MyComponet.vue')['default']
NameField: typeof import('./src/components/NameField/index.vue')['default']
NoteField: typeof import('./src/components/NoteField/index.vue')['default']
NumberField: typeof import('./src/components/NumberField/index.vue')['default']
......@@ -59,13 +51,11 @@ declare module '@vue/runtime-core' {
VanCol: typeof import('vant/es')['Col']
VanConfigProvider: typeof import('vant/es')['ConfigProvider']
VanDatePicker: typeof import('vant/es')['DatePicker']
VanDialog: typeof import('vant/es')['Dialog']
VanDivider: typeof import('vant/es')['Divider']
VanField: typeof import('vant/es')['Field']
VanForm: typeof import('vant/es')['Form']
VanIcon: typeof import('vant/es')['Icon']
VanImage: typeof import('vant/es')['Image']
VanInput: typeof import('vant/es')['Input']
VanLoading: typeof import('vant/es')['Loading']
VanNoticeBar: typeof import('vant/es')['NoticeBar']
VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard']
......
<!--
* @Date: 2022-09-14 14:44:30
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-04-06 10:08:41
* @LastEditTime: 2023-04-07 06:09:28
* @FilePath: /data-table/src/components/IdentityField/index.vue
* @Description: 身份证输入控件
-->
......@@ -12,7 +12,7 @@
{{ item.component_props.label }}
</div>
<!-- <div v-if="item.component_props.readonly" style="padding: 0.5rem 1rem;">{{ item.value }}</div> -->
<van-field
<!-- <van-field
ref="fieldRef"
v-model="item.value"
:id="item.name"
......@@ -26,6 +26,18 @@
@touchstart.stop="openKeyboard($event)"
:border="false"
>
</van-field> -->
<van-field
ref="fieldRef"
v-model="item.value"
:id="item.name"
:name="item.name"
:placeholder="item.component_props.placeholder"
:rules="rules"
:required="item.component_props.required"
:disabled="item.component_props.readonly"
:border="false"
>
</van-field>
<!-- <div v-if="gender" class="gender"><span>性别:</span>{{ gender }}</div> -->
<van-number-keyboard
......