From 5f6860b92497008d82c5927c22f792b2a22f5c36 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 3 Jun 2024 18:18:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/svc/order/svc_order_list.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index d10d201..9d5f026 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -706,6 +706,9 @@ func OrderGoodsOutput(c *gin.Context) { } tmp["sku_str"] = skuStr tmp["num"] = utils.IntToStr(v.Num) + if v.EnterpriseId == 0 { + v.EnterpriseId = ordMap[v.Oid].EnterpriseId + } inSideName := "" _, ok := enterpriseMap[v.EnterpriseId] if ok {