1
This commit is contained in:
@@ -102,7 +102,11 @@ func (p PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store, s
|
||||
}
|
||||
content := ""
|
||||
if store.ID == 669063 {
|
||||
content = p.getOrderContent(order, store.Tel1, storeDetail)
|
||||
if store.PrinterFontSize == partner.PrinterFontSizeBig || store.PrinterFontSize == partner.PrinterFontSizeBig2 {
|
||||
content = p.getOrderContentBig(order, store.Tel1, storeDetail)
|
||||
} else {
|
||||
content = p.getOrderContent(order, store.Tel1, storeDetail)
|
||||
}
|
||||
} else {
|
||||
if store.PrinterFontSize == partner.PrinterFontSizeBig || store.PrinterFontSize == partner.PrinterFontSizeBig2 {
|
||||
content = p.getOrderContentBigV2(order, store.Tel1, storeDetail)
|
||||
@@ -408,7 +412,6 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<LEFT><font# bolder=0 height=2 width=1>客户备注:%s</font#></LEFT>
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<LEFT><font# bolder=0 height=2 width=1>商品列表</font#>
|
||||
<LEFT><font# bolder=0 height=2 width=1>商品名 数量 单价 小计</font#></LEFT>
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
`
|
||||
@@ -417,6 +420,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
utils.Time2Str(expectedDeliveryTime),
|
||||
order.ConsigneeName,
|
||||
order.ConsigneeMobile,
|
||||
order.StoreName,
|
||||
order.VendorOrderID,
|
||||
jxutils.GetVendorName(order.VendorID),
|
||||
order.OrderSeq,
|
||||
|
||||
Reference in New Issue
Block a user