Commit 244dab4a authored by zhengyi's avatar zhengyi

控货订单的收货人手机号不能是国内号码代码错误修复

parent d41f6c6c
......@@ -1672,7 +1672,8 @@ export default {
// 校验手机号跟目的国是否匹配
if(this.hasConsignee && this.form.consigneeCountryCode && this.form.consigneePhone){
if (this.form.isCargoControl && (this.form.consigneeCountryCode == "86" || this.form.consigneeCountryCode == "+86")){
return this.$message.error($t("控货订单的收货人手机号不能是国内号码"))
this.$message.error(this.$t("控货订单的收货人手机号不能是国内号码"))
return
}
const res = await checkCountryCode({
areaCode: this.form.consigneeCountryCode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment