1
This commit is contained in:
@@ -186,12 +186,12 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
for _, sku := range order.Skus {
|
||||
orderFmt += `<FH><FB>%s\n\n</FB></FH>`
|
||||
//orderFmt += `<FS2>%s %s %s\n\n</FS2>`
|
||||
orderFmt += `<FH><FB>%20s%8s\n</FB></FH>`
|
||||
orderFmt += `<FS>%20s%8s\n</FS>`
|
||||
//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*int64(sku.Count)))
|
||||
//标品需要打印条形码
|
||||
if sku.Upc != "" {
|
||||
orderFmt += `<FS2>upc码: %s\n</FS2>`
|
||||
orderFmt += `<FS>upc码: %s\n</FS>`
|
||||
orderParams = append(orderParams, sku.Upc)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user