...
|
...
|
@@ -108,25 +108,22 @@ $('.checkbox').on('touchstart', function(e) { |
|
|
}
|
|
|
});
|
|
|
|
|
|
$invoice.on('touchend', '.checkbox', function() {
|
|
|
$invoice.on('touchend', '.checkbox', function(e) {
|
|
|
let $this = $(this);
|
|
|
|
|
|
orderInfo('invoice', $this.hasClass('icon-cb-radio'));
|
|
|
if ($this.hasClass('icon-cb-radio')) {
|
|
|
$invoice.addClass('focus');
|
|
|
orderInfo('invoiceText', '');
|
|
|
orderInfo('invoiceType', '7');
|
|
|
orderInfo('receiverMobile', $('.user-mobile').val());
|
|
|
orderInfo('invoicesType', '2');
|
|
|
orderInfo('invoiceTitle', '个人');
|
|
|
}
|
|
|
if ($this.hasClass('icon-radio')) {
|
|
|
$invoice.removeClass('focus');
|
|
|
orderInfo('invoiceText', null);
|
|
|
orderInfo('invoiceType', null);
|
|
|
orderInfo('invoices_title', null);
|
|
|
orderInfo('invoices_type', null);
|
|
|
orderInfo('receiverMobile', null);
|
|
|
orderInfo('invoicesType', null);
|
|
|
orderInfo('invoiceTitle', null);
|
|
|
orderInfo('buyerTaxNumber', null);
|
|
|
}
|
|
|
e.preventDefault();
|
|
|
e.stopPropagation();
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
|