1
Showing
2 changed files
with
11 additions
and
5 deletions
| ... | @@ -179,7 +179,7 @@ module.exports = { | ... | @@ -179,7 +179,7 @@ module.exports = { |
| 179 | quote: "Quote now", | 179 | quote: "Quote now", |
| 180 | }, | 180 | }, |
| 181 | footer: { | 181 | footer: { |
| 182 | hotline:"customer service hotline", | 182 | hotline:"Customer Service Hotline", |
| 183 | serviceHour:"Service Hour:9:00 - 17:30 Monday to Friday", | 183 | serviceHour:"Service Hour:9:00 - 17:30 Monday to Friday", |
| 184 | address:"A137, 16/F, Tower 5, The Gateway, 21 Canton Road, Tsim Sha Tsui, Kowloon, Hong Kong", | 184 | address:"A137, 16/F, Tower 5, The Gateway, 21 Canton Road, Tsim Sha Tsui, Kowloon, Hong Kong", |
| 185 | 185 | ... | ... |
| ... | @@ -158,7 +158,7 @@ export default { | ... | @@ -158,7 +158,7 @@ export default { |
| 158 | // 判断 美国地区需要上传文件 | 158 | // 判断 美国地区需要上传文件 |
| 159 | checkShowUSATax() { | 159 | checkShowUSATax() { |
| 160 | let result = this.isUSA && !this.data.iobsKey; | 160 | let result = this.isUSA && !this.data.iobsKey; |
| 161 | if (result){ | 161 | if (result) { |
| 162 | this.usTaxFormUploadCompVisible = true; | 162 | this.usTaxFormUploadCompVisible = true; |
| 163 | this.$refs.usTax.initData(); | 163 | this.$refs.usTax.initData(); |
| 164 | } | 164 | } |
| ... | @@ -221,7 +221,7 @@ export default { | ... | @@ -221,7 +221,7 @@ export default { |
| 221 | data.policyCode = ""; | 221 | data.policyCode = ""; |
| 222 | 222 | ||
| 223 | this.loading = true; | 223 | this.loading = true; |
| 224 | console.log("data:",data); | 224 | console.log("data:", data); |
| 225 | httpPost({ | 225 | httpPost({ |
| 226 | url: api.policyContactApi, | 226 | url: api.policyContactApi, |
| 227 | data: data, | 227 | data: data, |
| ... | @@ -244,7 +244,7 @@ export default { | ... | @@ -244,7 +244,7 @@ export default { |
| 244 | * 从美国税务表单组件提交 | 244 | * 从美国税务表单组件提交 |
| 245 | */ | 245 | */ |
| 246 | onUsTaxSubmit(val) { | 246 | onUsTaxSubmit(val) { |
| 247 | console.log("val:",val); | 247 | console.log("val:", val); |
| 248 | this.data.iobsKey = val; | 248 | this.data.iobsKey = val; |
| 249 | // this.doSubmit(val); | 249 | // this.doSubmit(val); |
| 250 | }, | 250 | }, |
| ... | @@ -254,8 +254,14 @@ export default { | ... | @@ -254,8 +254,14 @@ export default { |
| 254 | let hkMobile = contactMethodCheck("hkmobile", this.data.mobile); | 254 | let hkMobile = contactMethodCheck("hkmobile", this.data.mobile); |
| 255 | let zhMobile = contactMethodCheck("mobile", this.data.mobile); | 255 | let zhMobile = contactMethodCheck("mobile", this.data.mobile); |
| 256 | if (!hkMobile && !zhMobile) { | 256 | if (!hkMobile && !zhMobile) { |
| 257 | if (this.data.mobileAreaCode == "852" || this.data.mobileAreaCode == "86") { | ||
| 257 | this.errorTips.e1 = this.i18n.policyChangeContact.errorTips.e1; | 258 | this.errorTips.e1 = this.i18n.policyChangeContact.errorTips.e1; |
| 258 | return false; | 259 | return false; |
| 260 | } else { | ||
| 261 | let res = /^\d+$/.test(this.data.mobile); | ||
| 262 | this.errorTips.e1 = !res ? this.i18n.policyChangeContact.errorTips.e1 : ""; | ||
| 263 | return res; | ||
| 264 | } | ||
| 259 | } | 265 | } |
| 260 | } | 266 | } |
| 261 | return true; | 267 | return true; |
| ... | @@ -465,7 +471,7 @@ export default { | ... | @@ -465,7 +471,7 @@ export default { |
| 465 | this.$root.eventBus.$on("langChange", () => { | 471 | this.$root.eventBus.$on("langChange", () => { |
| 466 | try { | 472 | try { |
| 467 | this.initData(); | 473 | this.initData(); |
| 468 | } catch (e) {} | 474 | } catch (e) { } |
| 469 | }); | 475 | }); |
| 470 | } | 476 | } |
| 471 | }; | 477 | }; | ... | ... |
-
Please register or sign in to post a comment