1
This commit is contained in:
@@ -317,22 +317,23 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
||||
}
|
||||
title := ``
|
||||
if printType == model.YES { // 取消订单
|
||||
title = `<font# bolder=1 height=2 width=2>取消订单详情</font#>`
|
||||
title = "取消订单详情"
|
||||
} else { // 售后订单
|
||||
title = `<font# bolder=1 height=2 width=2>退款订单详情</font#>`
|
||||
title = "退货订单详情"
|
||||
}
|
||||
|
||||
orderFmt += `<font# bolder=0 height=1 width=1>--------------------------------</font#>`
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<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#>
|
||||
` + title
|
||||
<font# bolder=1 height=2 width=2>%s</font#>
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>`
|
||||
orderParams = append(orderParams,
|
||||
utils.Time2Str(order.OrderCreatedAt),
|
||||
order.VendorOrderID,
|
||||
jxutils.GetVendorName(order.VendorID),
|
||||
order.OrderSeq,
|
||||
title,
|
||||
)
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#><LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
|
||||
|
||||
Reference in New Issue
Block a user