This commit is contained in:
邹宗楠
2023-03-23 14:16:37 +08:00
parent 9dd43e2af8
commit 9217d0a85a
2 changed files with 0 additions and 2 deletions

View File

@@ -384,7 +384,6 @@ func (s *DefScheduler) OnOrderNew(order *model.GoodsOrder, isPending bool, isAut
if order.Flag&model.OrderFlagMaskFake == 0 {
utils.CallFuncAsync(func() {
// order = setFakeActualPayPrice(order)
globals.SugarLogger.Debugf("ebai============:%s", utils.Format4Output(order, false))
netprinter.PrintOrderByOrder(jxcontext.AdminCtx, order, model.PrintTypeOrder, nil)
//目前暂且认为AdjustCount > 0 就是调整单
if order.AdjustCount > 0 {

View File

@@ -265,7 +265,6 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
if err != nil {
return nil, err
}
globals.SugarLogger.Debugf("==========jxprintMsg:%s", string(orderPrint))
orderSel := utils.Int2Str(order.VendorID) + utils.Int2Str(order.OrderSeq)
return c.PrintMsg(ctx, store.PrinterSN, orderSel, "", string(orderPrint))