Showing
1 changed file
with
2 additions
and
2 deletions
@@ -84,12 +84,12 @@ function chooseAction(pDom, dom) { | @@ -84,12 +84,12 @@ function chooseAction(pDom, dom) { | ||
84 | function confirmAction() { | 84 | function confirmAction() { |
85 | var type = $invoiceType.find('.on').data('id'), | 85 | var type = $invoiceType.find('.on').data('id'), |
86 | title = $('.invoice-top').find('.on').text(), | 86 | title = $('.invoice-top').find('.on').text(), |
87 | - tel = $tel.data('tel'), | 87 | + tel = $tel.attr('data-tel'), |
88 | company = $('.company').val(), | 88 | company = $('.company').val(), |
89 | cont = $chooseCont.data('id'); | 89 | cont = $chooseCont.data('id'); |
90 | 90 | ||
91 | if ($editFlag.val() === 'true') { | 91 | if ($editFlag.val() === 'true') { |
92 | - if (!myreg.test($tel.data('tel'))) { | 92 | + if (!myreg.test($tel.attr('data-tel'))) { |
93 | tip.show('请输入正确手机号'); | 93 | tip.show('请输入正确手机号'); |
94 | $tel.focus(); | 94 | $tel.focus(); |
95 | return false; | 95 | return false; |
-
Please register or login to post a comment