Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
8f9908762abd115311a95e0721d118b86f41789d
2 parents
2c6e5c17
e4bc4e72
4.8.2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
compile/m.yohobuy.com/4.8.2/test.php
static/dist/myohobuy/4.8.0/index-debug.js
static/js/cart/order-ensure.js
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
compile/m.yohobuy.com/4.8.2/test.php
0 → 100644
View file @
8f99087
static/dist/myohobuy/4.8.0/index-debug.js
View file @
8f99087
...
...
@@ -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'
))
{
...
...
static/js/cart/order-ensure.js
View file @
8f99087
...
...
@@ -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'
))
{
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
8f99087
...
...
@@ -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'
=>
'纸质发票'
,
...
...
Please
register
or
login
to post a comment