This commit is contained in:
richboo111
2023-03-28 18:17:05 +08:00
parent 5810130595
commit b4bc4f7fc5

View File

@@ -322,8 +322,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
title = `<font# bolder=1 height=2 width=2>退款订单详情</font#>` title = `<font# bolder=1 height=2 width=2>退款订单详情</font#>`
} }
orderFmt += orderFmt += `
xpyunapi.StrRepeat("-", 32) + ` <font# bolder=0 height=1 width=1>--------------------------------</font#>
<LEFT><font# bolder=1 height=1 width=1>下单时间: %s</font#></LEFT> <LEFT><font# bolder=1 height=1 width=1>下单时间: %s</font#></LEFT>
<LEFT><font# bolder=0 height=2 width=1>订单编号: %s</font#></LEFT><BR> <LEFT><font# bolder=0 height=2 width=1>订单编号: %s</font#></LEFT><BR>
<font# bolder=1 height=2 width=2>%s#%d</font#> <font# bolder=1 height=2 width=2>%s#%d</font#>
@@ -334,8 +334,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
jxutils.GetVendorName(order.VendorID), jxutils.GetVendorName(order.VendorID),
order.OrderSeq, order.OrderSeq,
) )
orderFmt += xpyunapi.StrRepeat("-", 32) orderFmt += `
orderFmt += `<LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT> <font# bolder=0 height=1 width=1>--------------------------------</font#><LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT> <LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>
<font# bolder=0 height=1 width=1>--------------#%d完-------------</font#>` <font# bolder=0 height=1 width=1>--------------#%d完-------------</font#>`
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)