|
|
@@ -157,25 +157,23 @@
|
|
|
|
|
|
身份证号
|
|
|
</template>
|
|
|
- <el-input v-model="form.insertUserIdCard" maxlength="18"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <span style="color:red;font-size: 13px;">若不填写登录或支付密码:<br/>
|
|
|
- (1)身份证号格式正确,则默认后六位为密码<br/>
|
|
|
- (2)身份证号格式不正确,则默认为111111
|
|
|
- </span>
|
|
|
+ <el-input v-model="form.insertUserIdCard" maxlength="18" @blur="idcarChange"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<template slot="label">
|
|
|
登录密码
|
|
|
</template>
|
|
|
<el-input v-model="form.password" maxlength="32" placeholder="请输入密码"></el-input>
|
|
|
+ <span style="color:red;font-size: 13px;">默认密码为身份证号码后六位
|
|
|
+ </span>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<template slot="label">
|
|
|
支付密码
|
|
|
</template>
|
|
|
<el-input v-model="form.payPassword" maxlength="32" placeholder="请输入支付密码"></el-input>
|
|
|
+ <span style="color:red;font-size: 13px;">默认密码为身份证号码后六位
|
|
|
+ </span>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<template slot="label">
|
|
|
@@ -320,6 +318,13 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ idcarChange() {
|
|
|
+ if (this.form.insertUserIdCard.length >= 6) {
|
|
|
+ this.form.payPassword = this.form.password = this.form.insertUserIdCard.substring(this.form.insertUserIdCard.length-6,this.form.insertUserIdCard.length);
|
|
|
+ } else {
|
|
|
+ this.form.payPassword = this.form.password = '111111'
|
|
|
+ }
|
|
|
+ },
|
|
|
getSum(){
|
|
|
let sell_price_sum=0,price_pv_sum=0;
|
|
|
this.multipleSelection.map((item,index)=>{
|