【优化】导出订单信息里加产品编号,方便产品多的情况下,可以获取到订单的购买商品序列,去直接查询商品信息。

【优化】商品列表增加可按序列查询的筛选。
This commit is contained in:
大灰灰
2022-08-09 00:05:05 +08:00
parent 55d7759651
commit 267621872f
3 changed files with 12 additions and 4 deletions

View File

@@ -930,7 +930,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
items.Add(new CellValueItem() { name = "支付方式", width = 12 });
items.Add(new CellValueItem() { name = "支付时间", width = 20 });
items.Add(new CellValueItem() { name = "货品名称", width = 40 });
items.Add(new CellValueItem() { name = "货品名称", width = 50 });
items.Add(new CellValueItem() { name = "数量", width = 12 });
items.Add(new CellValueItem() { name = "单价", width = 12 });
items.Add(new CellValueItem() { name = "优惠", width = 12 });
@@ -1021,7 +1021,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
rowTemp.CreateCell(10).SetCellValue(order.paymentTime.ToString());
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? t.addon : t.name);
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? "【" + t.goodsId + "】" + t.addon : "【" + t.goodsId + "】" + t.name);
rowTemp.CreateCell(12).SetCellValue(t.nums);
rowTemp.CreateCell(13).SetCellValue(t.price + "元");
rowTemp.CreateCell(14).SetCellValue(t.promotionAmount + "元");
@@ -1335,7 +1335,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
items.Add(new CellValueItem() { name = "支付方式", width = 12 });
items.Add(new CellValueItem() { name = "支付时间", width = 20 });
items.Add(new CellValueItem() { name = "货品名称", width = 40 });
items.Add(new CellValueItem() { name = "货品名称", width = 50 });
items.Add(new CellValueItem() { name = "数量", width = 12 });
items.Add(new CellValueItem() { name = "单价", width = 12 });
items.Add(new CellValueItem() { name = "优惠", width = 12 });
@@ -1426,7 +1426,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
rowTemp.CreateCell(10).SetCellValue(order.paymentTime.ToString());
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? t.addon : t.name);
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? "【" + t.goodsId + "】" + t.addon : "【" + t.goodsId + "】" + t.name);
rowTemp.CreateCell(12).SetCellValue(t.nums);
rowTemp.CreateCell(13).SetCellValue(t.price + "元");
rowTemp.CreateCell(14).SetCellValue(t.promotionAmount + "元");