修改飞鹅打印机
This commit is contained in:
@@ -81,7 +81,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
商品明细: <BR>
|
商品明细: <BR>
|
||||||
`
|
`
|
||||||
priceQuote := `品名 数量<BR>
|
priceQuote := `品名 数量<BR>
|
||||||
--------------------------------<BR>` // 报价
|
--------------------------------<BR>` // 报价
|
||||||
pricePoints := `品名 数量 单价 小计<BR>
|
pricePoints := `品名 数量 单价 小计<BR>
|
||||||
--------------------------------<BR>` // 扣点
|
--------------------------------<BR>` // 扣点
|
||||||
// <BOLD>实际支付:</BOLD>%s<BR>
|
// <BOLD>实际支付:</BOLD>%s<BR>
|
||||||
@@ -206,7 +206,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
orderFmt += `<B>%s %s %s</B><BR>`
|
orderFmt += `<B>%s %s %s</B><BR>`
|
||||||
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.VendorPrice), jxutils.IntPrice2StandardCurrencyString(sku.VendorPrice*int64(sku.Count)))
|
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.VendorPrice), jxutils.IntPrice2StandardCurrencyString(sku.VendorPrice*int64(sku.Count)))
|
||||||
case model.EarningTypeQuote: // 报价
|
case model.EarningTypeQuote: // 报价
|
||||||
orderFmt += `<B>%25s</B><BR>`
|
orderFmt += `<CB>%s</CB><BR>`
|
||||||
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count))
|
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user