Authored by yyq

Merge branch 'feature/homeInvoice' into release/6.1

... ... @@ -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>
... ...
... ... @@ -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('开票中');
}
});
}
... ...
... ... @@ -21,8 +21,14 @@
}
.operation {
> .on-invoice {
> .op-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;
}
}
... ...