...
|
...
|
@@ -25,6 +25,8 @@ var $invoiceNotice = $('.invoice-notice'), |
|
|
var myreg = /^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(17[0-9]{1})|(18[0-9]{1}))+\d{8})$/,
|
|
|
linkUrl = $('.address-more').val() || '/cart/index/orderEnsure?cartType=ordinary';
|
|
|
|
|
|
var C_ID = window._ChannelVary[window.cookie('_Channel')] || 1;
|
|
|
|
|
|
require('../common');
|
|
|
|
|
|
if (window.getUid() !== orderInfo('uid')) {
|
...
|
...
|
@@ -165,6 +167,19 @@ $company.on('input', function() { |
|
|
|
|
|
// 确认及返回事件
|
|
|
$('.confirm-btn, .nav-back').on('touchstart', function(e) {
|
|
|
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
op: 'YB_SC_INVOICE_INFO_SAVE',
|
|
|
param: JSON.stringify({
|
|
|
C_ID: C_ID,
|
|
|
INVOICE_TYPE: $invoiceType.find('.on').data('id'),
|
|
|
INVOICE_TITLE: $('.invoice-top').find('.on').text(),
|
|
|
INVOICE_CONTENT: $chooseCont.data('id')
|
|
|
})
|
|
|
}, true);
|
|
|
}
|
|
|
|
|
|
e.preventDefault();
|
|
|
confirmAction();
|
|
|
});
|
...
|
...
|
|