Authored by 周少峰

Merge branch 'hotfix/openInvoice'

@@ -51,7 +51,8 @@ function invoiceInit() { @@ -51,7 +51,8 @@ function invoiceInit() {
51 if (orderCont.invoiceType) { 51 if (orderCont.invoiceType) {
52 $('.invoice-type').text(invoiceCont[orderCont.invoiceType] + '(' + invoicesType[orderCont.invoicesType] + ')'); 52 $('.invoice-type').text(invoiceCont[orderCont.invoiceType] + '(' + invoicesType[orderCont.invoicesType] + ')');
53 } else { 53 } else {
54 - $('.invoice-type').text('服装(电子)'); 54 + //$('.invoice-type').text('服装(电子)');
  55 + $('.invoice-type').text('服装(纸质)');
55 } 56 }
56 } 57 }
57 58
@@ -138,7 +139,7 @@ $invoice.on('touchend', '.checkbox', function() { @@ -138,7 +139,7 @@ $invoice.on('touchend', '.checkbox', function() {
138 orderInfo('invoiceText', ''); 139 orderInfo('invoiceText', '');
139 orderInfo('invoiceType', '7'); 140 orderInfo('invoiceType', '7');
140 orderInfo('receiverMobile', $('.user-mobile').val()); 141 orderInfo('receiverMobile', $('.user-mobile').val());
141 - orderInfo('invoicesType', '2'); 142 + orderInfo('invoicesType', '1');
142 orderInfo('invoiceTitle', '个人'); 143 orderInfo('invoiceTitle', '个人');
143 } 144 }
144 if ($this.hasClass('icon-radio')) { 145 if ($this.hasClass('icon-radio')) {
@@ -404,7 +404,7 @@ class IndexController extends AbstractAction @@ -404,7 +404,7 @@ class IndexController extends AbstractAction
404 $invoices_title = ''; 404 $invoices_title = '';
405 $invoiceType = '7'; //发票类型ID 405 $invoiceType = '7'; //发票类型ID
406 $invoices_type = '1'; //发票类型 /**纸质 1 ,电子 2 */ 406 $invoices_type = '1'; //发票类型 /**纸质 1 ,电子 2 */
407 - $invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */ 407 +// $invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */
408 $invoice_Top = '个人'; 408 $invoice_Top = '个人';
409 } 409 }
410 410
@@ -417,11 +417,11 @@ class IndexController extends AbstractAction @@ -417,11 +417,11 @@ class IndexController extends AbstractAction
417 'companyName' => $invoices_title, 417 'companyName' => $invoices_title,
418 'isPaper' => $invoices_type == 1 ? true : false, 418 'isPaper' => $invoices_type == 1 ? true : false,
419 'invoicesType' => array( 419 'invoicesType' => array(
420 - array(  
421 - 'id' => '2',  
422 - 'type' => '电子发票',  
423 - 'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,  
424 - ), 420 +// array(
  421 +// 'id' => '2',
  422 +// 'type' => '电子发票',
  423 +// 'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,
  424 +// ),
425 array( 425 array(
426 'id' => '1', 426 'id' => '1',
427 'type' => '纸质发票', 427 'type' => '纸质发票',