{layout:default} {class:Shop.Admin.product.default_} <%=Tag("商品列表")%>-<%=site.title%>
<% LicenseWord(); %> <%if (Shop.Bussiness.EX_Admin.CheckPower("product_price_cost")){ %> <%} %> <%if (Type_id_ProductType == 321) { %> <%} %> <% decimal Total_Price = 0; decimal Total_Price_Cost = 0; int Total_Count_Stock = 0; int Total_Count_Freeze = 0; int Total_Count_Sales = 0; int Total_Count_Views = 0; foreach (DB.LebiShop.Lebi_Product model in models) { int Count_Stock = Shop.Bussiness.EX_Product.ProductStockForAdmin(model); Count_Stock += model.Count_Freeze; string Price = ""; if (model.Type_id_ProductType == 321 || model.Type_id_ProductType == 322){ Price = FormatMoney(model.Price_Sale).ToString(); Total_Price += model.Price_Sale*Count_Stock; }else if (model.Type_id_ProductType == 323){ Price = model.Price_Sale.ToString(); }else{ Price = FormatMoney(model.Price).ToString(); Total_Price += model.Price*Count_Stock; } Total_Price_Cost += model.Price_Cost*Count_Stock; Total_Count_Stock += Count_Stock; Total_Count_Freeze += model.Count_Freeze; Total_Count_Sales += model.Count_Sales; Total_Count_Views += model.Count_Views; %> <%if (Shop.Bussiness.EX_Admin.CheckPower("product_price_cost")){ %> <%} %> <%if (Type_id_ProductType == 321) { %> <%} %> <%} %> <%if (Shop.Bussiness.EX_Admin.CheckPower("product_price_cost")){ %> <%} %>
<%=Tag("全选")%> <%=Tag("图片")%> <%=Tag("编号")%> <%=Tag("商品名称")%> <%=Tag("子商品")%> ');" title="<%=Tag("点击排序")%>"><%if (Type_id_ProductType == 321){ %><%=Tag("抢购价")%><%}else if (Type_id_ProductType == 322){ %><%=Tag("团购价")%><%}else if (Type_id_ProductType == 323){ %><%=Tag("换购积分")%><%}else{ %><%=Tag("销售价")%><%} %><%if (OrderBy == "PriceDesc") { Response.Write("↓"); } else if (OrderBy == "PriceAsc") { Response.Write("↑"); }%> ');" title="<%=Tag("点击排序")%>"><%=Tag("成本价")%><%if (OrderBy == "Price_CostDesc") { Response.Write("↓"); } else if (OrderBy == "Price_CostAsc") { Response.Write("↑"); }%> ');" title="<%=Tag("点击排序")%>"><%=Tag("库存")%><%if (OrderBy == "CountDesc") { Response.Write("↓"); } else if (OrderBy == "CountAsc") { Response.Write("↑"); }%> ');" title="<%=Tag("点击排序")%>"><%=Tag("冻结库存")%><%if (OrderBy == "FreezeDesc") { Response.Write("↓"); } else if (OrderBy == "FreezeAsc") { Response.Write("↑"); }%> ');" title="<%=Tag("点击排序")%>"><%=Tag("销量")%><%if (OrderBy == "SalesDesc") { Response.Write("↓"); } else if (OrderBy == "SalesAsc") { Response.Write("↑"); }%> ');" title="<%=Tag("点击排序")%>"><%=Tag("浏览量")%><%if(OrderBy == "ViewsDesc"){Response.Write("↓");}else if (OrderBy == "ViewsAsc"){Response.Write("↑");}%> ');" title="<%=Tag("点击排序")%>"><%=Tag("状态")%><%if (OrderBy == "StatusDesc") { Response.Write("↓"); } else if (OrderBy == "StatusAsc") { Response.Write("↑"); }%> <%=Tag("截止日期")%> <%=Tag("操作")%>
" data-lightbox="image<%=model.id %>"> <%=model.Number%> <%if (model.IsCombo==1){%><%=Tag("组合商品")%><%} %> <%=Lang(model.Name)%> <%if (model.Supplier_id > 0) { %>:<%=Shop.Bussiness.EX_Supplier.GetSupplier(model.Supplier_id).Company%>">" /> <%} %>" title="<%=Lang(model.Name) %>">" /> "><%=CountSon(model.id)%> <%=Price%> <%=FormatMoney(model.Price_Cost)%> <%//=model.Count_Stock%> <%=Count_Stock%> "><%=model.Count_Freeze%> "><%=model.Count_Sales %> <%=model.Count_Views%> <%=Shop.Bussiness.EX_Type.TypeName(model.Type_id_ProductStatus,CurrentLanguage.Code) %> <%if (model.Time_Expired < DateTime.Now) { %><%=Tag("已结束")%><%} else { %><%=model.Time_Expired%><%} %> <%=Tag("编辑")%> | <%=Tag("复制")%> <%if (Shop.LebiAPI.Service.Instanse.Check("plugin_productlimit")){%> | <%=Tag("商品权限")%><%} %>
<%=Tag("合计")%> <%=FormatMoney(Total_Price)%> <%=FormatMoney(Total_Price_Cost)%><%=Total_Count_Stock%><%=Total_Count_Freeze%> <%=Total_Count_Sales%> <%=Total_Count_Views%>  
<%=PageString%>