|
@@ -396,6 +396,7 @@
|
|
var applybill_type = {{.T.res.applybill_type}};
|
|
var applybill_type = {{.T.res.applybill_type}};
|
|
var applybill_company = {{.T.res.applybill_company}};
|
|
var applybill_company = {{.T.res.applybill_company}};
|
|
var applybill_taxnum = {{.T.res.applybill_taxnum}};
|
|
var applybill_taxnum = {{.T.res.applybill_taxnum}};
|
|
|
|
+ var orderCode = {{.T.res.order_code}};
|
|
if(invoice !== null){
|
|
if(invoice !== null){
|
|
var applyType = invoice[0].invoice_type;
|
|
var applyType = invoice[0].invoice_type;
|
|
var taxpayer_identnum = invoice[0].taxpayer_identnum
|
|
var taxpayer_identnum = invoice[0].taxpayer_identnum
|
|
@@ -587,7 +588,7 @@
|
|
"applyTime": applyTime,
|
|
"applyTime": applyTime,
|
|
"applyReason": applyReason
|
|
"applyReason": applyReason
|
|
}
|
|
}
|
|
- var url = "/manage/refund/"+ {{.T.res.order_code}};
|
|
|
|
|
|
+ var url = "/manage/refund/"+ orderCode;
|
|
$.post(url,param,function(r){
|
|
$.post(url,param,function(r){
|
|
if(r.success){
|
|
if(r.success){
|
|
location.reload();
|
|
location.reload();
|
|
@@ -599,6 +600,10 @@
|
|
$(".isrefund").hide();
|
|
$(".isrefund").hide();
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+ $(".select_qx").on("click", function(){
|
|
|
|
+ location.reload();
|
|
|
|
+ })
|
|
|
|
+
|
|
function formatDate(date,hms) {
|
|
function formatDate(date,hms) {
|
|
if(date ===null || date==="" || date === 0){
|
|
if(date ===null || date==="" || date === 0){
|
|
return "-"
|
|
return "-"
|