|
@@ -68,9 +68,10 @@
|
|
|
<!-- Status -->
|
|
|
<a-form-item field="state" :label="$t('customer.statusName')" required validate-trigger="blur">
|
|
|
<a-radio-group v-model="formData.state">
|
|
|
- <a-radio :value="item.value" v-for="item in userTypes">{{
|
|
|
- item.value == 1 ? $t('customer.status.normal') : (item.value == 2 ? $t('customer.status.disabled') : (item.value == 3 ? $t('customer.status.pending') : $t('customer.status.suspended')))
|
|
|
- }}</a-radio>
|
|
|
+ <a-radio value="1">{{ $t('customer.status.normal') }}</a-radio>
|
|
|
+ <a-radio value="2">{{ $t('customer.status.disabled') }}</a-radio>
|
|
|
+ <a-radio value="3">{{ $t('customer.status.pending') }}</a-radio>
|
|
|
+ <a-radio value="4">{{ $t('customer.status.suspended') }}</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-item>
|
|
|
</a-form>
|