外卖管家打印
This commit is contained in:
@@ -213,7 +213,7 @@ func (c *PrinterHandler) getOrderContent2(order *model.GoodsOrder, storeTel stri
|
|||||||
|5
|
|5
|
||||||
|5
|
|5
|
||||||
|5商品明细:
|
|5商品明细:
|
||||||
|5品名 数量 单价 小计
|
|5品名 数量
|
||||||
|5--------------------------------
|
|5--------------------------------
|
||||||
`
|
`
|
||||||
// |6实际支付: %s
|
// |6实际支付: %s
|
||||||
@@ -234,7 +234,8 @@ func (c *PrinterHandler) getOrderContent2(order *model.GoodsOrder, storeTel stri
|
|||||||
for _, sku := range order.Skus {
|
for _, sku := range order.Skus {
|
||||||
orderFmt += `|5%s`
|
orderFmt += `|5%s`
|
||||||
orderFmt += `|5%8s`
|
orderFmt += `|5%8s`
|
||||||
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count)))
|
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count))
|
||||||
|
// jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count))
|
||||||
}
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
|5
|
|5
|
||||||
|
|||||||
Reference in New Issue
Block a user