This commit is contained in:
richboo111
2023-03-28 18:23:57 +08:00
parent 419d0164fb
commit 3e5fbc4ba9

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>`
orderFmt += `<C><font# bolder=1 height=2 width=2>%s</font#></C><BR>`
if order.VendorOrgCode == "34665" {
orderParams = append(orderParams, globals.StoreNameEbai2)
} else {
@@ -315,7 +315,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
}
}
}
title := ``
title := ""
if printType == model.YES { // 取消订单
title = "取消订单详情"
} else { // 售后订单
@@ -326,8 +326,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
<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#>
<font# bolder=0 height=1 width=1>--------------------------------</font#>`
<font# bolder=1 height=2 width=2>%s</font#><BR>
<font# bolder=0 height=1 width=1>--------------------------------</font#><BR>`
orderParams = append(orderParams,
utils.Time2Str(order.OrderCreatedAt),
order.VendorOrderID,