Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
ca0818ee2dc38d9ad3d96753772c6b7b4e193120
2 parents
27b30bca
6c799fdf
Merge branch 'feature/homeInvoice' into release/6.1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
apps/home/views/action/invoice.hbs
public/js/home/invoice.page.js
public/scss/home/_invoice.css
apps/home/views/action/invoice.hbs
View file @
ca0818e
...
...
@@ -101,7 +101,7 @@
{{/if}}
{{#if
invoiceSupplying
}}
<span
class=
"op-item
on-invoice
"
data-id=
"
{{
..
/
orderNum
}}
"
>
开票中
</span>
<span
class=
"op-item"
data-id=
"
{{
..
/
orderNum
}}
"
>
开票中
</span>
{{/if}}
{{#if
supplyInvoice
}}
...
...
@@ -109,7 +109,7 @@
{{/if}}
{{#if
unsupportSupply
}}
<span
class=
"op-item
on-invoice
"
data-id=
"
{{
..
/
orderNum
}}
"
>
不支持补开
</span>
<span
class=
"op-item"
data-id=
"
{{
..
/
orderNum
}}
"
>
不支持补开
</span>
{{/if}}
{{/
invoiceOperation
}}
</div>
...
...
public/js/home/invoice.page.js
View file @
ca0818e
...
...
@@ -207,7 +207,7 @@ $('#me-invoice-orders').on('click', '.supply-invoice', function() {
if
(
+
data
.
issueType
===
2
)
{
$this
.
removeClass
(
'supply-invoice'
).
addClass
(
'view-invoice'
).
text
(
'查看发票'
);
}
else
{
$this
.
removeClass
(
'supply-invoice'
).
addClass
(
'on-invoice'
).
text
(
'开票中'
);
$this
.
removeClass
(
'supply-invoice'
).
text
(
'开票中'
);
}
});
}
...
...
public/scss/home/_invoice.css
View file @
ca0818e
...
...
@@ -21,8 +21,14 @@
}
.operation
{
>
.o
n-invoice
{
>
.o
p-item
{
color
:
#999
;
cursor
:
default
;
}
>
.on-invoice
{
color
:
#468fa2
;
cursor
:
pointer
;
}
>
.supply-invoice
{
...
...
@@ -34,6 +40,7 @@
text-align
:
center
;
color
:
#000
;
border
:
1px
solid
#000
;
cursor
:
pointer
;
}
}
...
...
Please
register
or
login
to post a comment