Pārlūkot izejas kodu

订单开头为0

xuzhiheng 5 gadi atpakaļ
vecāks
revīzija
d44d9554fc

+ 6 - 1
core/src/web/templates/manage/dataExport.html

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

+ 6 - 2
core/src/web/templates/manage/entniche_order/entorderdetail.html

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

+ 6 - 1
core/src/web/templates/manage/vipOrderDetail.html

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