1
This commit is contained in:
@@ -196,6 +196,11 @@ func (c *PrinterHandler) getOrderContentV2(order *model.GoodsOrder, storeTel str
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>预订单</font#>`
|
||||
} else {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>立即送达</font#>`
|
||||
}
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<LEFT>下单时间: %s</LEFT>
|
||||
@@ -261,6 +266,11 @@ func (c *PrinterHandler) getOrderContentBigV2(order *model.GoodsOrder, storeTel
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>预订单</font#>`
|
||||
} else {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>立即送达</font#>`
|
||||
}
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=2 width=1>--------------------------------</font#>
|
||||
<LEFT>下单时间: %s</LEFT>
|
||||
@@ -328,6 +338,11 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>预订单</font#>`
|
||||
} else {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>立即送达</font#>`
|
||||
}
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<LEFT>下单时间: %s</LEFT>
|
||||
@@ -397,6 +412,11 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>预订单</font#>`
|
||||
} else {
|
||||
orderFmt += `<C><font# bolder=0 height=2 width=2>立即送达</font#>`
|
||||
}
|
||||
orderFmt += `
|
||||
<font# bolder=0 height=1 width=1>--------------------------------</font#>
|
||||
<LEFT><font# bolder=0 height=2 width=1>下单时间: %s</font#></LEFT>
|
||||
|
||||
Reference in New Issue
Block a user