1
This commit is contained in:
@@ -266,16 +266,8 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
orderSel := utils.Int2Str(order.VendorID) + utils.Int2Str(order.OrderSeq)
|
||||
if order.VendorOrderID == "3301223263215186716" {
|
||||
globals.SugarLogger.Debugf("----------------:%s", string(orderPrint))
|
||||
}
|
||||
dataSuls, err := c.PrintMsg(ctx, store.PrinterSN, orderSel, "", string(orderPrint))
|
||||
if order.VendorOrderID == "3301223263215186716" {
|
||||
globals.SugarLogger.Debugf("----------------:%s", utils.Format4Output(dataSuls, false))
|
||||
globals.SugarLogger.Debugf("----------------:%v", err)
|
||||
}
|
||||
return
|
||||
orderSeq := utils.Int2Str(order.VendorID) + utils.Int2Str(order.OrderSeq)
|
||||
return c.PrintMsg(ctx, store.PrinterSN, orderSeq, "", string(orderPrint))
|
||||
}
|
||||
|
||||
func (c *PrinterHandler) PrintCancelOrRefundOrder(ctx *jxcontext.Context, printType int, store *model.Store, storeDetail *dao.StoreDetail, order *model.GoodsOrder) (printerStatus *partner.PrinterStatus, err error) {
|
||||
|
||||
Reference in New Issue
Block a user