1
This commit is contained in:
@@ -307,7 +307,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
if storeDetail != nil {
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
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" {
|
if order.VendorOrgCode == "34665" {
|
||||||
orderParams = append(orderParams, globals.StoreNameEbai2)
|
orderParams = append(orderParams, globals.StoreNameEbai2)
|
||||||
} else {
|
} else {
|
||||||
@@ -321,13 +321,12 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
} else { // 售后订单
|
} else { // 售后订单
|
||||||
title = "退货订单详情"
|
title = "退货订单详情"
|
||||||
}
|
}
|
||||||
orderFmt += `<font# bolder=0 height=1 width=1>--------------------------------</font#>`
|
//orderFmt += `<BR><font# bolder=0 height=1 width=1>--------------------------------</font#>`
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<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#>
|
||||||
<font# bolder=1 height=2 width=2>%s</font#><BR>
|
<font# bolder=1 height=2 width=2>%s</font#><BR>`
|
||||||
<font# bolder=0 height=1 width=1>--------------------------------</font#><BR>`
|
|
||||||
orderParams = append(orderParams,
|
orderParams = append(orderParams,
|
||||||
utils.Time2Str(order.OrderCreatedAt),
|
utils.Time2Str(order.OrderCreatedAt),
|
||||||
order.VendorOrderID,
|
order.VendorOrderID,
|
||||||
@@ -335,8 +334,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
order.OrderSeq,
|
order.OrderSeq,
|
||||||
title,
|
title,
|
||||||
)
|
)
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user