This commit is contained in:
邹宗楠
2024-10-28 11:19:45 +08:00
parent b28a614342
commit c1eec9eb67

View File

@@ -359,6 +359,13 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
} else {
content = c.getOrderContent(order, store.Tel1, storeDetail)
}
if store.PrinterSN == "525553742" {
globals.SugarLogger.Debugf("-------------storeDetail := %s", utils.Format4Output(storeDetail, false))
globals.SugarLogger.Debugf("-------------order := %s", utils.Format4Output(order, false))
globals.SugarLogger.Debugf("-------------printType := %s", utils.Format4Output(printType, false))
globals.SugarLogger.Debugf("-------------asfOrder := %s", utils.Format4Output(asfOrder, false))
globals.SugarLogger.Debugf("-------------content := %s", content)
}
return c.PrintMsg(ctx, store.PrinterSN, store.PrinterKey, order.VendorOrderID, content)
}