1
This commit is contained in:
@@ -229,7 +229,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
<L>实际支付: %s</L>
|
<L>实际支付: %s</L>
|
||||||
`
|
`
|
||||||
orderFmt += `<BR>`
|
orderFmt += `<BR>`
|
||||||
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14)
|
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14) + `<BR>`
|
||||||
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)
|
||||||
return fmt.Sprintf(orderFmt, orderParams...)
|
return fmt.Sprintf(orderFmt, orderParams...)
|
||||||
}
|
}
|
||||||
@@ -297,7 +297,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
<L>实际支付: %s</L>
|
<L>实际支付: %s</L>
|
||||||
`
|
`
|
||||||
orderFmt += `<BR>`
|
orderFmt += `<BR>`
|
||||||
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完</HB>" + xpyunapi.StrRepeat("-", 14)
|
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完</HB>" + xpyunapi.StrRepeat("-", 14) + `<BR>`
|
||||||
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)
|
||||||
return fmt.Sprintf(orderFmt, orderParams...)
|
return fmt.Sprintf(orderFmt, orderParams...)
|
||||||
}
|
}
|
||||||
@@ -320,14 +320,11 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 加载用户取消订单售后单
|
|
||||||
|
|
||||||
title := ``
|
title := ``
|
||||||
if printType == model.YES { // 取消订单
|
if printType == model.YES { // 取消订单
|
||||||
title = `<C><B>取消订单详情</B><C>`
|
title = `<CB>取消订单详情</CB>`
|
||||||
} else { // 售后订单
|
} else { // 售后订单
|
||||||
title = `<C><B>退款订单详情</B><C>`
|
title = `<CB>退款订单详情</CB>`
|
||||||
}
|
}
|
||||||
|
|
||||||
orderFmt +=
|
orderFmt +=
|
||||||
|
|||||||
Reference in New Issue
Block a user