Authored by cailing

电子发票代码恢复

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