From b4bc4f7fc575b3b42f9e8385c420b0774436e230 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 28 Mar 2023 18:17:05 +0800 Subject: [PATCH] 1 --- business/partner/printer/trendit/trendit.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/partner/printer/trendit/trendit.go b/business/partner/printer/trendit/trendit.go index 98c9cf728..6dc6ee65d 100644 --- a/business/partner/printer/trendit/trendit.go +++ b/business/partner/printer/trendit/trendit.go @@ -322,8 +322,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, title = `退款订单详情` } - orderFmt += - xpyunapi.StrRepeat("-", 32) + ` + orderFmt += ` +-------------------------------- 下单时间: %s 订单编号: %s
%s#%d @@ -334,8 +334,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, jxutils.GetVendorName(order.VendorID), order.OrderSeq, ) - orderFmt += xpyunapi.StrRepeat("-", 32) - orderFmt += `共%d种%d件商品 + orderFmt += ` +--------------------------------共%d种%d件商品 实付金额: %s --------------#%d完-------------` orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)