|
@@ -282,6 +282,15 @@
|
|
|
$(".pay_num").text(r.data.transaction_id);
|
|
|
}
|
|
|
}
|
|
|
+ //发票
|
|
|
+ if (r.data.order.is_can_invoice) {
|
|
|
+ $(".openinvoice").css("display", "");
|
|
|
+ }
|
|
|
+ if (r.data.order.invoice_show) {
|
|
|
+ $(".lookinvoice").css("display", "").on("click", function () {
|
|
|
+ checkinvoice(r.data.applybill_status, orderCode)
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
if (r.data.order.order_status == -2 || r.data.order.order_status == -3) {
|
|
|
$("#status_cancelled").removeClass("hide");
|