|
@@ -18,7 +18,11 @@
|
|
|
:rules="formRules.BankAccountName" />
|
|
:rules="formRules.BankAccountName" />
|
|
|
<Field name="MobilePhone" label="手机号码" readonly v-model="formData.MobilePhone" placeholder="请输入手机号码" />
|
|
<Field name="MobilePhone" label="手机号码" readonly v-model="formData.MobilePhone" placeholder="请输入手机号码" />
|
|
|
<template v-for="(item, index) in configs" :key="index">
|
|
<template v-for="(item, index) in configs" :key="index">
|
|
|
- <Field v-model="item.value" type="digit" name="vcode" :label="item.fieldname" placeholder="必填" autocomplete="off"
|
|
|
|
|
|
|
+ <Field v-if="(item.fieldcode === 'verify_code') &&
|
|
|
|
|
+ (item.usabletype === 1) ||
|
|
|
|
|
+ (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
|
|
|
|
|
+ (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)"
|
|
|
|
|
+ v-model="item.value" type="digit" name="vcode" :label="item.fieldname" placeholder="必填" autocomplete="off"
|
|
|
:rules="item.fieldname">
|
|
:rules="item.fieldname">
|
|
|
<template #button>
|
|
<template #button>
|
|
|
<Button size="small" type="danger" :disabled="isCountdown" @click="sendVerifyCode">
|
|
<Button size="small" type="danger" :disabled="isCountdown" @click="sendVerifyCode">
|
|
@@ -27,7 +31,9 @@
|
|
|
</Button>
|
|
</Button>
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
- <Field v-if="item.usabletype === 1 || item.usabletype === userStore.userInfo?.userinfotype"
|
|
|
|
|
|
|
+ <Field v-else-if="(item.usabletype === 1) ||
|
|
|
|
|
+ (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
|
|
|
|
|
+ (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)"
|
|
|
:name="item.fieldcode" :label="item.fieldname" v-model="item.value"
|
|
:name="item.fieldcode" :label="item.fieldname" v-model="item.value"
|
|
|
:placeholder="`请输入${item.fieldname}`" />
|
|
:placeholder="`请输入${item.fieldname}`" />
|
|
|
</template>
|
|
</template>
|