|
@@ -594,7 +594,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
editRules: {
|
|
editRules: {
|
|
|
userPhone: [
|
|
userPhone: [
|
|
|
- { required: true, message: '请输入手机号', trigger: 'blur' },
|
|
|
|
|
|
|
+ { required: false, message: '请输入手机号', trigger: 'blur' },
|
|
|
{ pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号格式', trigger: 'blur' }
|
|
{ pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号格式', trigger: 'blur' }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
@@ -853,6 +853,7 @@ export default {
|
|
|
this.edit.open=true;
|
|
this.edit.open=true;
|
|
|
this.editForm.mark=this.order.mark
|
|
this.editForm.mark=this.order.mark
|
|
|
this.editForm.id=this.order.id;
|
|
this.editForm.id=this.order.id;
|
|
|
|
|
+ this.editForm.userPhone=null;
|
|
|
if(this.order.orderType!=null){
|
|
if(this.order.orderType!=null){
|
|
|
this.editForm.orderType=this.order.orderType.toString();
|
|
this.editForm.orderType=this.order.orderType.toString();
|
|
|
}
|
|
}
|