<% string id = LB.Tools.RequestTool.RequestSafeString("id"); int loop = LB.Tools.RequestTool.RequestInt("loop",0); string where = ""; int Count = 1; if (!id.Contains(",")){ where = "id = lbsql{"+id+"}"; }else{ string[] ids = id.Split(','); Count = ids.Count(); if (ids[loop] != "") { where = "id = lbsql{"+ ids[loop] +"}"; } } Lebi_Order model = B_Lebi_Order.GetModel(where); if (model == null) { model = new Lebi_Order(); } List pros = B_Lebi_Order_Product.GetList("Order_id=" + model.id + "", ""); List comms = B_Lebi_Comment.GetList("TableName='Order' and Keyid=" + model.id + " and User_id = "+ model.User_id +" and Admin_id = 0", "id desc"); Lebi_Bill bill = B_Lebi_Bill.GetModel("Order_id = "+ model.id); if (bill == null) { bill = new Lebi_Bill(); } %> <%=Tag("装箱单")%>-<%=Tag("单据打印")%>-<%=site.title%> <%if ((loop+1) < Count){ %> <%} %>

中领国际实业有限公司

SINOLINK International Industrial Co.,Limited

ADD: Room H,15/F,Siu King Building.6 On Wah Street,Ngau Tau Kok.Kowloon,HongKong.

装箱单

Packing List

致TO:<%=model.T_Address %> <%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id)%>
由FROM:Qindao,China
发票号Invoice No:<%=bill.BillNo %>
日期Date:<%=model.Time_Add %>
致TO:<%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id,0)%>
<%int totalqty = 0;decimal totalnetweight = 0;decimal totalweight = 0;decimal totalvolume = 0; foreach (DB.LebiShop.Lebi_Order_Product pro in pros) { %> <%totalqty += pro.Count;totalnetweight += pro.Count*pro.NetWeight;totalweight += pro.Count*pro.Weight;totalvolume += pro.Count*pro.Volume;; } %>
商品编号Art No. 商品名称Goods Description 件数Nos.of
Packages
数量QTY 单位Unit 净重N.W
TONS
毛重G.W
TONS
体积
Volume
CBM
<%=pro.Product_Number%>  <%=Shop.Bussiness.Language.Content(pro.Product_Name, "EN")%> <%=pro.Count%> <%if(pro.PackageRate>0){%><%=pro.Count*pro.PackageRate%><%}else{%><%=pro.Count%><%}%> <%=Shop.Bussiness.Language.Content(Shop.Bussiness.EX_Product.ProductUnit(pro.Units_id), "EN")%> <%=pro.Count*pro.NetWeight/1000%> <%=pro.Count*pro.Weight/1000%> <%=pro.Count*pro.Volume%>
TOTAL: <%=totalqty%>     <%=totalnetweight%> <%=totalweight%> <%=totalvolume%>
B/L No.:<%=model.BLNo %>
Container No.:<%=model.ContainerNo %>
Seal No.:<%=model.SealNo %>