1
This commit is contained in:
@@ -51,10 +51,9 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
orderFmt += `
|
orderFmt += `<center>手机买菜上京西</center>\n
|
||||||
<center>手机买菜上京西</center>\n
|
|
||||||
<center>极速到家送惊喜</center>\n
|
<center>极速到家送惊喜</center>\n
|
||||||
--------------------------------
|
--------------------------------\n
|
||||||
下单时间: %s\n
|
下单时间: %s\n
|
||||||
预计送达: %s\n
|
预计送达: %s\n
|
||||||
订单编号: %s\n
|
订单编号: %s\n
|
||||||
@@ -136,9 +135,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
if storeDetail != nil {
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `<FS2><center>%s</center></FS2>\n`
|
||||||
<FS2><center>%s</center></FS2>\n
|
|
||||||
`
|
|
||||||
if order.VendorOrgCode == "34665" {
|
if order.VendorOrgCode == "34665" {
|
||||||
orderParams = append(orderParams, globals.StoreNameEbai2)
|
orderParams = append(orderParams, globals.StoreNameEbai2)
|
||||||
} else {
|
} else {
|
||||||
@@ -146,10 +143,9 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
orderFmt += `
|
orderFmt += `<center>手机买菜上京西</center>\n
|
||||||
<center>手机买菜上京西</center>\n
|
|
||||||
<center>极速到家送惊喜</center>\n
|
<center>极速到家送惊喜</center>\n
|
||||||
--------------------------------
|
--------------------------------\n
|
||||||
<FS>下单时间: %s\n\n</FS>
|
<FS>下单时间: %s\n\n</FS>
|
||||||
<FS>预计送达: %s\n\n</FS>
|
<FS>预计送达: %s\n\n</FS>
|
||||||
<FS>订单编号: %s\n</FS>
|
<FS>订单编号: %s\n</FS>
|
||||||
@@ -220,9 +216,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
if storeDetail != nil {
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `<FS2><center>%s</center></FS2>\n`
|
||||||
<FS2><center>%s</center></FS2>\n
|
|
||||||
`
|
|
||||||
if order.VendorOrgCode == "34665" {
|
if order.VendorOrgCode == "34665" {
|
||||||
orderParams = append(orderParams, globals.StoreNameEbai2)
|
orderParams = append(orderParams, globals.StoreNameEbai2)
|
||||||
} else {
|
} else {
|
||||||
@@ -237,8 +231,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
|||||||
} else {
|
} else {
|
||||||
title = `<FS2><center>退款订单详情</center></FS2>\n`
|
title = `<FS2><center>退款订单详情</center></FS2>\n`
|
||||||
}
|
}
|
||||||
orderFmt += `
|
orderFmt +=
|
||||||
--------------------------------\n
|
`--------------------------------\n
|
||||||
下单时间: %s\n
|
下单时间: %s\n
|
||||||
预计送达: %s\n
|
预计送达: %s\n
|
||||||
订单编号: %s\n
|
订单编号: %s\n
|
||||||
@@ -303,9 +297,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde
|
|||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
if storeDetail != nil {
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `<FS2><center>%s</center></FS2>\n`
|
||||||
<FS2><center>%s</center></FS2>\n
|
|
||||||
`
|
|
||||||
if order.VendorOrgCode == "34665" {
|
if order.VendorOrgCode == "34665" {
|
||||||
orderParams = append(orderParams, globals.StoreNameEbai2)
|
orderParams = append(orderParams, globals.StoreNameEbai2)
|
||||||
} else {
|
} else {
|
||||||
@@ -319,8 +311,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde
|
|||||||
} else {
|
} else {
|
||||||
title = `<FS2><center>退款订单详情</center></FS2>\n`
|
title = `<FS2><center>退款订单详情</center></FS2>\n`
|
||||||
}
|
}
|
||||||
orderFmt += `
|
orderFmt += `--------------------------------\n
|
||||||
--------------------------------\n
|
|
||||||
<FS>下单时间: %s\n\n</FS>
|
<FS>下单时间: %s\n\n</FS>
|
||||||
<FS>预计送达: %s\n\n</FS>
|
<FS>预计送达: %s\n\n</FS>
|
||||||
<FS>订单编号: %s\n</FS>
|
<FS>订单编号: %s\n</FS>
|
||||||
|
|||||||
Reference in New Issue
Block a user