From cdb0ed6448d76661197cd370ea1db84b57fad436 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 6 May 2019 17:28:19 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E7=BE=8E=E5=9B=A2=E5=A4=96=E5=8D=96v500?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/printer/xiaowm/xiaowm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/printer/xiaowm/xiaowm.go b/business/partner/printer/xiaowm/xiaowm.go index 4b80b94f6..5cb60ab93 100644 --- a/business/partner/printer/xiaowm/xiaowm.go +++ b/business/partner/printer/xiaowm/xiaowm.go @@ -136,8 +136,8 @@ func (c *PrinterHandler) getOrderContent2(order *model.GoodsOrder, storeTel stri jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), } for _, sku := range order.Skus { - orderFmt += `%s*` - orderFmt += `%8s%10s%10s*` + orderFmt += `|5%s` + orderFmt += `|5%8s%10s%10s` orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count))) } orderFmt += `