1
This commit is contained in:
@@ -193,6 +193,11 @@ func (c *PrinterHandler) getOrderContentV2(order *model.GoodsOrder, storeTel str
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><B>预订单</B><C>`
|
||||
} else {
|
||||
orderFmt += `<C><B>立即送达</B><C>`
|
||||
}
|
||||
orderFmt += `
|
||||
` + xpyunapi.StrRepeat("-", 32) + `
|
||||
<L>下单时间: %s
|
||||
@@ -256,6 +261,11 @@ func (c *PrinterHandler) getOrderContentBigV2(order *model.GoodsOrder, storeTel
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><B>预订单</B><C>`
|
||||
} else {
|
||||
orderFmt += `<C><B>立即送达</B><C>`
|
||||
}
|
||||
orderFmt += `
|
||||
` + xpyunapi.StrRepeat("-", 32) + `
|
||||
<HB><L>下单时间: %s
|
||||
@@ -321,6 +331,11 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><B>预订单</B><C>`
|
||||
} else {
|
||||
orderFmt += `<C><B>立即送达</B><C>`
|
||||
}
|
||||
orderFmt += `
|
||||
` + xpyunapi.StrRepeat("-", 32) + `
|
||||
<L>下单时间: %s
|
||||
@@ -401,6 +416,11 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
}
|
||||
}
|
||||
}
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<C><B>预订单</B><C>`
|
||||
} else {
|
||||
orderFmt += `<C><B>立即送达</B><C>`
|
||||
}
|
||||
orderFmt += `
|
||||
` + xpyunapi.StrRepeat("-", 32) + `
|
||||
<HB><L>下单时间: %s
|
||||
|
||||
Reference in New Issue
Block a user