|
@@ -524,6 +524,11 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (!this.pattern.test(this.SendInfoValue.phone)) {
|
|
|
|
+ Toast('寄件人手机号码不正确')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+
|
|
if (this.transmitMessageVlaue.addresseeName == '' || this.transmitMessageVlaue.addresseeName == undefined) {
|
|
if (this.transmitMessageVlaue.addresseeName == '' || this.transmitMessageVlaue.addresseeName == undefined) {
|
|
Toast('收件人姓名不能为空')
|
|
Toast('收件人姓名不能为空')
|
|
return
|
|
return
|
|
@@ -534,8 +539,10 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
if (!this.pattern.test(this.transmitMessageVlaue.addresseePhone)) {
|
|
if (!this.pattern.test(this.transmitMessageVlaue.addresseePhone)) {
|
|
- Toast('手机号码不正确')
|
|
|
|
|
|
+ Toast('收件人手机号码不正确')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|