1
This commit is contained in:
@@ -384,6 +384,7 @@ 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 {
|
||||
|
||||
@@ -264,6 +264,7 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("==========printData:%s", utils.Format4Output(printData, false))
|
||||
orderSel := utils.Int2Str(order.VendorID) + utils.Int2Str(order.OrderSeq)
|
||||
return c.PrintMsg(ctx, store.PrinterSN, orderSel, "", string(orderPrint))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user