{layout:page} {class:Shop.Admin.order.Order_View} <%=Tag("订单详情")%>-<%=Shop.Bussiness.EX_Type.TypeName(model.Type_id_OrderType)%>-<%=site.title%>
  1. <%=Tag("提交订单")%><%=FormatTime(model.Time_Add) %>
  2. <%if (model.IsInvalid == 1){ %> <%if (model.IsRefund == 1){ %>
  3. <%=Tag("已取消")%><%=FormatTime(model.Time_Refund) %>
  4. <%}else{ %>
  5. <%=Tag("无效订单")%><%=FormatTime(model.Time_Completed) %>
  6. <%} %> <%}else if (model.IsVerified == 0){ %>
  7. <%=Tag("审核订单")%>
  8. <%}else if (model.IsRefund == 2){ %>
  9. <%=Tag("申请取消")%><%=FormatTime(model.Time_Refund) %>
  10. <%=Tag("审核订单")%>
  11. <%}else{ %>
  12. <%=Tag("审核订单")%><%=FormatTime(model.Time_Verified) %>
  13. <%if (model.Type_id_OrderType == 212){ %>
  14. "><%=Tag("发货")%><%=model.IsShipped==1?""+ FormatTime(model.Time_Shipped) +"":""%>
  15. "><%=Tag("收货")%><%=model.IsReceived==1?""+ FormatTime(model.Time_Received) +"":""%>
  16. <%if (model.IsCreateNewOrder != 1){ %>
  17. "><%=Tag("退款")%><%=model.IsPaid==1?""+ FormatTime(model.Time_Paid) +"":""%>
  18. <%}else{ %>
  19. "><%=Tag("生成新订单")%><%=model.IsCreateNewOrder==1?""+ FormatTime(model.Time_CreateNewOrder) +"":""%>
  20. <%} %>
  21. "><%=Tag("完成")%><%=model.IsCompleted==1?""+ FormatTime(model.Time_Completed) +"":""%>
  22. <%}else{ %> <%if (model.IsPaid != 1){ %>
  23. <%=Tag("已支付")%>
  24. <%}else{ %>
  25. <%=Tag("已支付")%><%=FormatTime(model.Time_Paid) %>
  26. <%} %> <%if (model.IsShipped != 1){ %>
  27. <%=Tag("已发货")%>
  28. <%}else{ %>
  29. <%if (model.IsShipped_All != 1){ %><%=Tag("部分发货")%><%}else{ %><%=Tag("已发货")%><%} %><%=FormatTime(model.Time_Shipped) %>
  30. <%} %> <%if (model.IsReceived != 1){ %>
  31. <%=Tag("已收货")%>
  32. <%}else{ %>
  33. <%=Tag("已收货")%><%=FormatTime(model.Time_Received) %>
  34. <%} %> <%if (model.IsCompleted != 1){ %>
  35. <%=Tag("已完成")%>
  36. <%}else{ %>
  37. <%=Tag("已完成")%><%=FormatTime(model.Time_Completed) %>
  38. <%} %> <%} %> <%} %>
<%if (oldmodel.id > 0){%> <%}%> <%if (shop.id > 0){%> <%} %> <%if(SYS.BillFlag=="1"){%> <%}%> <%if(Promotion!=""){%> <%}%>
<%=Tag("基本信息")%> <%if (model.IsVerified == 0){ %> <%=Tag("编辑")%> <%} %>
<%=Tag("原始订单")%>: <%=oldmodel.Code%>
<%=Tag("订单编号")%>: <%=model.Code %>
<%=Tag("商家")%>: <%=shop.Company%>
<%=Tag("订购时间")%>: <%=FormatTime(model.Time_Add) %>
<%=Tag("状态")%>: <%=Shop.Bussiness.Order.OrderStatus(model, CurrentLanguage.Code) %> <%//=model.IsShipped_All==0?"["+Tag("部分发货")+"]":"" %>
<%=Tag("商品重量")%>: <%=model.Weight %> <%=Tag("KG")%>
<%=Tag("商品体积")%>: <%=model.Volume/1000000 %> m³
<%=Tag("配送方式")%>: <%=model.Transport_Name %>[<%=model.Transport_Mark %>] <%if(model.PickUp_id>0){ %>
<%=Tag("自提点") %>:<%=model.PickUp_Name %>
<%=Tag("自提时间")%>:<%=model.PickUp_Date.ToString("yyyy-MM-dd") %> <%} %>
<%=Tag("支付方式")%>: <%if (model.OnlinePay_id > 0){%> <%=Shop.Bussiness.Language.Content(model.OnlinePay,CurrentLanguage)%> <%}else{%> <%=Shop.Bussiness.Language.Content(model.Pay,CurrentLanguage)%> <%}%>
<%=Tag("发票状态")%>: <%=billstatus%> <%=Tag("编辑")%>
<%=Tag("优惠方式")%>: <%=Promotion%>
<%if (model.Money_Cut>0){ %> <%} %> <%if (model.Money_Give>0){ %> <%} %> <%if (model.Type_id_OrderType!=212){%> <%} %> <%if (model.Money_Bill>0){ %> <%} %> <%if (model.Money_Tax>0){ %> <%} %> <%if (model.Money_fromorder > 0){ %> <%} %> <%if (model.Money_Property>0){ %> <%} %> <%if (model.Money_UserCut > 0){ %> <%} %> <%if (model.Money_UseCard311 > 0) { %> <%} %> <%if (model.Money_UseCard312 > 0) { %> <%} %> <%if (model.Money_fromorder > 0){ %> <%} %> <%if (model.Money_Pay>0){ %> <%} %> <%if (model.Refund_VAT > 0){ %> <%} %> <% if (Shop.LebiAPI.Service.Instanse.Check("plugin_erp")) { Lebi.ERP.PLebi_User user =new Lebi.ERP.PLebi_User(model.User_id); %> <%if(model.IsPaid==0){%> <%if(user.Money_fanxian>0){%> <%}%> <%}} %>
<%=Tag("金额")%> <%if (model.IsPaid == 0){ %> <%=Tag("编辑")%> <%} %>
<%=Tag("商品总额")%>: <%=FormatMoney(model.Money_Product)%> <%=FormatMoney(model.Money_Product, model.Currency_Code)%>
<%=Tag("优惠金额")%>: <%=FormatMoney(model.Money_Cut)%> <%=FormatMoney(model.Money_Cut, model.Currency_Code)%>
<%if (model.Type_id_OrderType==212){%> <%=Tag("退款金额")%>: <%}else{%> <%=Tag("返还金额")%>: <%}%> <%=FormatMoney(model.Money_Give)%> <%=FormatMoney(model.Money_Give, model.Currency_Code)%>
<%=Tag("配送费用")%>: <%=FormatMoney(model.Money_Transport)%> <%=FormatMoney(model.Money_Transport, model.Currency_Code)%> <%if (model.IsPaid == 0){ %> <%=Tag("编辑")%> <%} %>
<%=Tag("发票税金")%>: <%=FormatMoney(model.Money_Bill)%> <%=FormatMoney(model.Money_Bill, model.Currency_Code)%>
<%=Tag("税金")%>: <%=FormatMoney(model.Money_Tax)%> <%=FormatMoney(model.Money_Tax, model.Currency_Code)%>
<%=Tag("其它订单")%>: <%=FormatMoney(model.Money_fromorder)%> <%=FormatMoney(model.Money_fromorder, model.Currency_Code)%>
<%=Tag("其它费用")%>: <%=FormatMoney(model.Money_Property)%> <%=FormatMoney(model.Money_Property, model.Currency_Code)%>
<%=Tag("订单总额")%>: <%=FormatMoney(model.Money_Order)%> <%=FormatMoney(model.Money_Order,model.Currency_Code)%>
<%=Tag("余额支付")%>: <%=FormatMoney(model.Money_UserCut)%> <%=FormatMoney(model.Money_UserCut, model.Currency_Code)%>
<%=Tag("购物卡支付")%>: <%=FormatMoney(model.Money_UseCard311)%> <%=FormatMoney(model.Money_UseCard311, model.Currency_Code)%>
<%=Tag("代金券支付")%>: <%=FormatMoney(model.Money_UseCard312)%> <%=FormatMoney(model.Money_UseCard312, model.Currency_Code)%>
<%=Tag("转移金额")%>: <%=FormatMoney(model.Money_fromorder)%> <%=FormatMoney(model.Money_fromorder, model.Currency_Code)%>
<%=Tag("应付金额")%>: <%=FormatMoney(model.Money_Pay)%> <%=FormatMoney(model.Money_Pay, model.Currency_Code)%>
<%=Tag("可得积分")%>: <%=str + model.Point%>
<%=Tag("消费积分")%>: <%=str + model.Point_Buy%>
<%=Tag("退税信息")%>: <%=Tag("所含税额")%>:<%=FormatMoney(model.Refund_VAT)%> <%=FormatMoney(model.Refund_VAT, model.Currency_Code)%>
<%=Tag("退税手续费")%>:<%=FormatMoney(model.Refund_Fee)%> <%=FormatMoney(model.Refund_Fee, model.Currency_Code)%>
<%=Tag("退税总额")%>:<%=FormatMoney(model.Refund_VAT - model.Refund_Fee)%> <%=FormatMoney(model.Refund_VAT - model.Refund_Fee, model.Currency_Code)%>
<%=Tag("余额")%>: <%=user.Money-user.Money_fanxian%>      <%if(user.id>0){%> <%=Tag("充值")%> <%}%>
<%=Tag("返利支付")%>: <%=Tag("返利余额")%>:<%=user.Money_fanxian%>
<%=Tag("收货人信息")%> <%if (model.IsShipped == 0){ %> <%=Tag("编辑")%> <%} %>
<%=Tag("姓名")%>: <%=model.T_Name %>
<%=Tag("电话")%>: <%=model.T_Phone %>
<%=Tag("手机")%>: <%=model.T_MobilePhone %>
<%=Tag("地区")%>: <%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id)%>
<%=Tag("地址")%>: <%=model.T_Address %>
<%=Tag("邮编")%>: <%=model.T_Postalcode %>
<%=Tag("Email")%>: <%=model.T_Email %>
<%=Tag("会员信息")%>
<%=Tag("会员")%>: <%=model.User_UserName%>
<%=Tag("姓名")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).RealName %>
<%=Tag("电话")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).Phone %>
<%=Tag("手机")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).MobilePhone %>
<%=Tag("地区")%>: <%=Shop.Bussiness.EX_Area.GetAreaName(Shop.Bussiness.EX_User.GetUser(model.User_id).Area_id)%>
<%=Tag("地址")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).Address %>
<%=Tag("邮编")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).Postalcode %>
<%=Tag("Email")%>: <%=Shop.Bussiness.EX_User.GetUser(model.User_id).Email %>
<%if (model.IsVerified == 0){ %>
" class="form-control form-control-sm">
<%if (Shop.LebiAPI.Service.Instanse.Check("plugin_erp")) {%> <%} %>
<%} %>
<%if (model.IsVerified==0) { %> <%} %> <%foreach (DB.LebiShop.Lebi_Order_Product pro in pros){ %> <%if (model.IsVerified==0){ %> <%} %> <%} %>
<%=Tag("全选")%> <%=Tag("商品编号")%> <%=Tag("商品货号")%> <%=Tag("商品名称")%> <%=Tag("规格")%> <%=Tag("单位")%> <%if (model.Type_id_OrderType == 212) { Response.Write(Tag("数量")); } else { Response.Write(Tag("订购数量")); }%> <%=Tag("已发数量")%> <%=Tag("已收数量")%> <%=Tag("单价")%> <%=Tag("小计")%>
<%=pro.Product_Number %> <%if (model.IsVerified == 0 && pro.Count_Shipped == 0){ %> <%=Tag("编辑")%> <%} %> <%=Shop.Bussiness.EX_Product.GetProduct(pro.Product_id).Code%> [<%=Shop.Bussiness.EX_Type.TypeName(pro.Type_id_OrderProductType,CurrentLanguage.Code) %>] <%=Lang(pro.Product_Name) %>  "> <%if (pro.ProPerty134!=""){ %><%=pro.ProPerty134%>
<%} %><%=Shop.Bussiness.EX_Product.ProPertyNameStr(Shop.Bussiness.EX_Product.GetProduct(pro.Product_id).ProPerty131, CurrentLanguage)%>
<%=Lang(Shop.Bussiness.EX_Product.ProductUnit(pro.Units_id))%> <%if (model.IsVerified==1){ %> <%=str + pro.Count%> <%}else{ %> <%} %> <%=pro.Count_Shipped %> <%=pro.Count_Received %> <%if (model.IsVerified==1){ %> <%=pro.Price %> <%}else{ %> " class="form-control form-control-sm" style="max-width:70px;" pro="true" onkeyup="value=value.replace(/[^\d\.]/g,'')"> <%} %> <%=str + FormatMoney(pro.Money)%>
<%foreach (DB.LebiShop.Lebi_Transport_Order torder in torders){ %> <%} %>
<%=Tag("时间")%> <%=Tag("类型")%> <%=Tag("配送方式")%> <%=Tag("发货单号")%> <%=Tag("实际运费")%> <%=Tag("状态")%> <%=Tag("收/发件人")%> <%=Tag("操作")%>
<%=FormatTime(torder.Time_Add) %> <%=Shop.Bussiness.EX_Type.TypeName(model.Type_id_OrderType) %> <%=torder.Transport_Name %> <%=torder.Code %> <%=FormatMoney(torder.Money) %> <%=Shop.Bussiness.EX_Type.TypeName(torder.Type_id_TransportOrderStatus) %> <%=torder.T_Name %> <%if (SYS.KuaiDi100Status == "1"){%> <%=Tag("跟踪")%> <%}%> <%if (model.Type_id_OrderType == 212){ %> <%=Tag("收货")%> <%}else{%> <%=Tag("查看")%> <%=Tag("打印快递单")%><%if (model.IsPrintExpress == 1){ %>(<%=Tag("已打印")%>)<%} %> <%}%>
<%if (DeliveryCount > 0){ %>
<%}%>
<%if (comms.Count > 0){%>
<%foreach (DB.LebiShop.Lebi_Comment comm in comms){ %> <%} %>
<%=Tag("全选")%> <%=Tag("时间")%> <%=Tag("内容")%>
<%=FormatTime(comm.Time_Add) %> <% if (comm.Admin_id > 0) Response.Write("[" + Tag("管理员") + "]" + comm.Admin_UserName); if (comm.User_id > 0) Response.Write("[" + Tag("会员") + "]" + comm.User_UserName); if (comm.Supplier_id > 0) Response.Write("[" + Tag("供应商") + "]" + comm.Supplier_SubName); %> : <%=comm.Content%>
<%}%>
<%foreach (DB.LebiShop.Lebi_Log log in Logs){%> <% } %>
<%=Tag("时间")%> <%=Tag("操作人")%> <%=Tag("行为")%>
<%=FormatTime(log.Time_Add) %> <% if(log.Admin_id>0) Response.Write("["+Tag("管理员")+"]"+log.AdminName); if(log.User_id>0) Response.Write("["+Tag("会员")+"]"+log.UserName); if(log.Supplier_id>0) Response.Write("["+Tag("供应商")+"]"+log.Supplier_SubName); %> <%=log.Content +" "+ log.Description%>
{MOD:Modal_Confirm} {MOD:Modal_Edit} {MOD:subModal_Edit}
<%if (Shop.LebiAPI.Service.Instanse.Check("plugin_orderquickpay")) {%> <%}%> <%if (Shop.LebiAPI.Service.Instanse.Check("plugin_erp")) {%> <%}%>