wangyong il y a 3 mois
Parent
commit
b442fae094
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/views/tariffManagement/customer/NewCustomerForm.vue

+ 3 - 3
src/views/tariffManagement/customer/NewCustomerForm.vue

@@ -56,9 +56,9 @@
           <!-- 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')))
+                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-group>
           </a-form-item>
@@ -410,7 +410,7 @@ watch(() => props.visible, val => {
   margin-top: 4px;
 }
 
-.note{
+.note {
   color: #f73f3f;
   text-align: center;
   position: relative;