Explorar el Código

报单用户名项,设为默认只读

theo hace 3 años
padre
commit
887c76e01f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      frontendEle/src/views/user/dec.vue

+ 2 - 1
frontendEle/src/views/user/dec.vue

@@ -5,7 +5,7 @@
         <div class="hr-tip"><span>Account Information<!--账号信息--></span></div>
 
         <el-form-item label="New member code"><!--会员编号-->
-          <el-input v-model="form.insertUserName"></el-input>
+          <el-input v-model="form.insertUserName" :readonly="userReadOnly"></el-input>
         </el-form-item>
         <el-form-item>
           <template slot="label">
@@ -356,6 +356,7 @@ export default {
       currentRow: null,
       decWay: '2',
       regionData: store.state.regionInfo.regionData,
+      userReadOnly: true,
       form: {
         realName: '',
         decLv: '',