This commit is contained in:
richboo111
2023-03-29 11:18:40 +08:00
parent 3e5fbc4ba9
commit 10b3f159de

View File

@@ -307,7 +307,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
orderFmt := ``
if storeDetail != nil {
if storeDetail.BrandIsPrint == model.NO {
orderFmt += `<C><font# bolder=1 height=2 width=2>%s</font#></C><BR>`
orderFmt += `<C><font# bolder=1 height=2 width=2>%s</font#></C>`
if order.VendorOrgCode == "34665" {
orderParams = append(orderParams, globals.StoreNameEbai2)
} else {
@@ -321,13 +321,12 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
} else { // 售后订单
title = "退货订单详情"
}
orderFmt += `<font# bolder=0 height=1 width=1>--------------------------------</font#>`
//orderFmt += `<BR><font# bolder=0 height=1 width=1>--------------------------------</font#>`
orderFmt += `
<LEFT><font# bolder=1 height=1 width=1>下单时间: %s</font#></LEFT>
<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</font#><BR>
<font# bolder=0 height=1 width=1>--------------------------------</font#><BR>`
<font# bolder=1 height=2 width=2>%s</font#><BR>`
orderParams = append(orderParams,
utils.Time2Str(order.OrderCreatedAt),
order.VendorOrderID,
@@ -335,8 +334,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
order.OrderSeq,
title,
)
orderFmt += `
<font# bolder=0 height=1 width=1>--------------------------------</font#><LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
orderFmt += `<LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>
<font# bolder=0 height=1 width=1>--------------#%d完-------------</font#>`
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)