From 419d0164fba5e9b81b063ff12a118e1bfc7daed2 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 28 Mar 2023 18:21:22 +0800 Subject: [PATCH] 1 --- business/partner/printer/trendit/trendit.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/business/partner/printer/trendit/trendit.go b/business/partner/printer/trendit/trendit.go index 6dc6ee65d..3d845510e 100644 --- a/business/partner/printer/trendit/trendit.go +++ b/business/partner/printer/trendit/trendit.go @@ -317,22 +317,23 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, } title := `` if printType == model.YES { // 取消订单 - title = `取消订单详情` + title = "取消订单详情" } else { // 售后订单 - title = `退款订单详情` + title = "退货订单详情" } - + orderFmt += `--------------------------------` orderFmt += ` --------------------------------- 下单时间: %s 订单编号: %s
%s#%d -` + title +%s +--------------------------------` orderParams = append(orderParams, utils.Time2Str(order.OrderCreatedAt), order.VendorOrderID, jxutils.GetVendorName(order.VendorID), order.OrderSeq, + title, ) orderFmt += ` --------------------------------共%d种%d件商品