20240205
luoJunYong.123 3 years ago
parent f082b31c69
commit b0412464b8
  1. 8
      src/pages/counter/list/index.vue

@ -128,8 +128,11 @@
<el-form-item label="密码" prop="passwordAgain">
<el-input v-focus show-password v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="off"></el-input>
</el-form-item>
<el-form-item label="确认密码" prop="password" v-if="systemId == '62,1' || systemId == '62,2' || systemId == '62,3'">
<!-- <el-form-item label="确认密码" prop="password" v-if="systemId == '62,1' || systemId == '62,2' || systemId == '62,3'">
<el-input show-password v-model="passwordForm.password" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input>
</el-form-item> -->
<el-form-item label="确认密码" prop="password2" v-if="systemId == '62,1' || systemId == '62,2' || systemId == '62,3'">
<el-input show-password v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input>
</el-form-item>
</el-form>
</div>
@ -513,6 +516,7 @@ export default {
commonChecked:[],//
passwordForm:{
password:'',
password2:'',
passwordAgain: ''
},
systemId:'',
@ -1478,7 +1482,7 @@ export default {
}
}else if(this.popText.includes('密码器')) {
if(this.systemId == '62,1' || this.systemId == '62,2' || this.systemId == '62,3') {
if(this.passwordForm.password === this.passwordForm.passwordAgain) {
if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) {
this.$message({
center: true,
showClose: true,

Loading…
Cancel
Save