aa
This commit is contained in:
@@ -555,7 +555,9 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao.
|
||||
}
|
||||
v.SkuName = jxutils.ComposeSkuNameOriginal(skuBindInfo.Prefix, skuBindInfo.Name, skuBindInfo.Comment, skuBindInfo.Unit, skuBindInfo.SpecQuality, skuBindInfo.SpecUnit, 0)
|
||||
v.Weight = skuBindInfo.Weight // 以本地信息中的WEIGHT为准
|
||||
v.Upc = skuBindInfo.Upc
|
||||
if v.Upc == "" {
|
||||
v.Upc = skuBindInfo.Upc
|
||||
}
|
||||
//饿鲜达的订单做一下处理
|
||||
if strings.Contains(order.StoreName, model.ExdStoreName) {
|
||||
if v.SkuID == 0 && !strings.Contains(v.SkuName, "免费") {
|
||||
@@ -2312,3 +2314,24 @@ func BuildFakeMatterOrder() {
|
||||
tasksch.HandleTask(task, nil, true).Run()
|
||||
task.GetResult(0)
|
||||
}
|
||||
|
||||
func ExportOrderWithSku(ctx *jxcontext.Context, orders []*model.GoodsOrderExt) (url string, err error) {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
excelTitle = []string{
|
||||
"门店名",
|
||||
"平台名",
|
||||
"下单时间",
|
||||
"订单号",
|
||||
"订单结算",
|
||||
"商品名",
|
||||
"一级分类名",
|
||||
"二级分类名",
|
||||
"商品报价",
|
||||
"数量",
|
||||
"商品结算",
|
||||
"条形码",
|
||||
}
|
||||
)
|
||||
return url, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user