预订单打印

This commit is contained in:
suyl
2021-08-09 15:16:46 +08:00
parent b74879f91a
commit bc710e48b5
2 changed files with 15 additions and 0 deletions

View File

@@ -59,6 +59,13 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
下单时间: %s<BR>
预计送达: %s<BR>
订单编号: %s<BR>
`
if order.BusinessType == model.BusinessTypeDingshida {
orderFmt += `
<B>预订单</B><BR>
`
}
orderFmt += `
<BR>
<B>%s#%d</B><BR><BR>

View File

@@ -58,6 +58,14 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
下单时间: %s\n
预计送达: %s\n
订单编号: %s\n
`
if order.BusinessType == model.BusinessTypeDingshida {
orderFmt += `
<FS2>预订单</FS2>\n
`
}
orderFmt += `
\n
<FS2>%s#%d</FS2>\n\n
<QR>%s</QR>