1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user