1
This commit is contained in:
@@ -361,7 +361,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
||||
)
|
||||
|
||||
for _, sku := range order.Skus {
|
||||
orderFmt += trenditapi.FormatPrintOrderItem(sku.SkuName, sku.Count, utils.Int64ToFloat64(sku.SalePrice))
|
||||
orderFmt += trenditapi.FormatPrintOrderItem(sku.SkuName, sku.Count, utils.Int64ToFloat64(sku.VendorPrice))
|
||||
}
|
||||
orderFmt += `
|
||||
<LEFT>共%d种%d件商品
|
||||
@@ -430,7 +430,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
)
|
||||
|
||||
for k, sku := range order.Skus {
|
||||
orderFmt += trenditapi.FormatPrintOrderItemBig(sku.SkuName, sku.Count, utils.Int64ToFloat64(sku.SalePrice))
|
||||
orderFmt += trenditapi.FormatPrintOrderItemBig(sku.SkuName, sku.Count, utils.Int64ToFloat64(sku.VendorPrice))
|
||||
if k != len(order.Skus) {
|
||||
orderFmt += `<BR>`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user