xuzhiheng 5 年之前
父节点
当前提交
57711aff3e
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      core/src/web/templates/manage/entniche_order/entorderdetail.html

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

@@ -180,7 +180,7 @@
 						<div class="apply apply_reason">申请原因:</div>
 					</div>
 					<div class="apply_infos">
-						<div class="applys apply_names" id="apply_name">{{session "loginName"}}</div>
+						<div class="applys apply_names" id="apply_name"></div>
 						<div class="applys apply_times" id="apply_refund_time"></div>
 						<textarea class="applys apply_reasons" placeholder="请输入申请原因" id="applyReason"></textarea>
 					</div>
@@ -253,6 +253,12 @@
 	  	$(".right").children().hide();
 	  	$(".right-three").show();
 	  })
+	  var loginName = {{session "nickName"}}
+	  if(loginName !== null && loginName !== ""&& loginName !== undefined){
+		  $("#apply_name").text(loginName);
+	  }else{
+		  $("#apply_name").text("企明星管理员");
+	  }
 	  
 	  $("#apply_refund_time").text(formatDate(new Date().getTime(), true))
 	  var invoice = {{.T.res.invoice}};
@@ -260,7 +266,6 @@
 	  var orderStatus = {{.T.res.order_status}};
 	  var applyHtml = "";
 	  var lineHtml = "";
-	  console.log({{.T.res}})
 	  var applyName = {{.T.res.apply_refund_name}}
 	  var applyTime = {{.T.res.apply_refund_time}}
 	  var applyReason = {{.T.res.apply_refund_reason}}