打印
This commit is contained in:
@@ -133,7 +133,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
<B>商品明细: <BR></B>
|
<B>商品明细: <BR></B>
|
||||||
<B>品名 数量<BR></B>
|
<B>品名数量单价小计<BR></B>
|
||||||
--------------------------------<BR>`
|
--------------------------------<BR>`
|
||||||
// <B><BOLD>实际支付:</BOLD></B><B>%s<BR></B>
|
// <B><BOLD>实际支付:</BOLD></B><B>%s<BR></B>
|
||||||
orderParams := []interface{}{
|
orderParams := []interface{}{
|
||||||
@@ -153,9 +153,8 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
|
|
||||||
for _, sku := range order.Skus {
|
for _, sku := range order.Skus {
|
||||||
orderFmt += `<B>%s<BR></B>`
|
orderFmt += `<B>%s<BR></B>`
|
||||||
orderFmt += `<B>%s<BR><BR></B>`
|
orderFmt += `<B>%s %s %s<BR><BR></B>`
|
||||||
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count))
|
orderParams = append(orderParams, sku.SkuName, "x"+utils.Int2Str(sku.Count), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count)))
|
||||||
//jxutils.IntPrice2StandardCurrencyString(sku.SalePrice), jxutils.IntPrice2StandardCurrencyString(sku.SalePrice*int64(sku.Count))
|
|
||||||
}
|
}
|
||||||
orderFmt += `<BR>
|
orderFmt += `<BR>
|
||||||
<B><BOLD>共%d种%d件商品</BOLD></B>
|
<B><BOLD>共%d种%d件商品</BOLD></B>
|
||||||
|
|||||||
Reference in New Issue
Block a user