Authored by 梁志锋

4.8.2

... ... @@ -13812,7 +13812,8 @@ function invoiceInit() {
if (orderCont.invoiceType) {
$('.invoice-type').text(invoiceCont[orderCont.invoiceType] + '(' + invoicesType[orderCont.invoicesType] + ')');
} else {
$('.invoice-type').text('服装(电子)');
// $('.invoice-type').text('服装(电子)');
$('.invoice-type').text('服装(纸质)');
}
}
... ... @@ -13899,7 +13900,7 @@ $invoice.on('touchend', '.checkbox', function() {
orderInfo('invoiceText', '');
orderInfo('invoiceType', '7');
orderInfo('receiverMobile', $('.user-mobile').val());
orderInfo('invoicesType', '2');
orderInfo('invoicesType', '1');
orderInfo('invoiceTitle', '个人');
}
if ($this.hasClass('icon-radio')) {
... ...
... ... @@ -47,7 +47,8 @@ function invoiceInit() {
if (orderCont.invoiceType) {
$('.invoice-type').text(invoiceCont[orderCont.invoiceType] + '(' + invoicesType[orderCont.invoicesType] + ')');
} else {
$('.invoice-type').text('服装(电子)');
// $('.invoice-type').text('服装(电子)');
$('.invoice-type').text('服装(纸质)');
}
}
... ... @@ -134,7 +135,7 @@ $invoice.on('touchend', '.checkbox', function() {
orderInfo('invoiceText', '');
orderInfo('invoiceType', '7');
orderInfo('receiverMobile', $('.user-mobile').val());
orderInfo('invoicesType', '2');
orderInfo('invoicesType', '1');
orderInfo('invoiceTitle', '个人');
}
if ($this.hasClass('icon-radio')) {
... ...
... ... @@ -402,7 +402,8 @@ class IndexController extends AbstractAction
else {
$invoices_title = '';
$invoiceType = '7'; //发票类型ID
$invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */
$invoices_type = '1'; //发票类型 /**纸质 1 ,电子 2 */
// $invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */
$invoice_Top = '个人';
}
... ... @@ -415,11 +416,11 @@ class IndexController extends AbstractAction
'companyName' => $invoices_title,
'isPaper' => $invoices_type == 1 ? true : false,
'invoicesType' => array(
array(
'id' => '2',
'type' => '电子发票',
'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,
),
// array(
// 'id' => '2',
// 'type' => '电子发票',
// 'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,
// ),
array(
'id' => '1',
'type' => '纸质发票',
... ...