This commit is contained in:
苏尹岚
2020-08-12 09:08:51 +08:00
parent 98f3a67bb1
commit 21a4f76903

View File

@@ -133,7 +133,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
<BR> <BR>
<B>商品明细: <BR></B> <B>商品明细: <BR></B>
<B>品名 数量<BR></B> <B>品名数量单价小计<BR></B>
--------------------------------<BR>` --------------------------------<BR>`
// <B><BOLD>实际支付:</BOLD></B><B>%s<BR></B> // <B><BOLD>实际支付:</BOLD></B><B>%s<BR></B>
orderParams := []interface{}{ orderParams := []interface{}{
@@ -153,9 +153,8 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
for _, sku := range order.Skus { for _, sku := range order.Skus {
orderFmt += `<B>%s<BR></B>` orderFmt += `<B>%s<BR></B>`
orderFmt += `<B>%s<BR><BR></B>` orderFmt += `<B>%s %s %s<BR><BR></B>`
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count)) orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count)))
//jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count))
} }
orderFmt += `<BR> orderFmt += `<BR>
<B><BOLD>共%d种%d件商品</BOLD></B> <B><BOLD>共%d种%d件商品</BOLD></B>