- 飞鹅打印机支持

This commit is contained in:
gazebo
2019-04-01 21:00:15 +08:00
parent 28f24b1a7a
commit d1d056077d
9 changed files with 195 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ func (s *WatchOrderInfo) updateOrderStoreFeature(order *model.GoodsOrder) (err e
return err
}
s.autoPickupTimeoutMinute = int(storeMap.AutoPickup)
s.storeDeliveryType = basesch.GetStoreDeliveryType(order, storeMap)
s.storeDeliveryType = FixedScheduler.GetStoreDeliveryType(order, storeMap)
if s.storeDeliveryType == scheduler.StoreDeliveryTypeByStore {
order.DeliveryFlag |= model.OrderDeliveryFlagMaskPurcahseDisabled
}
@@ -149,6 +149,9 @@ func init() {
err = err2
}
}
if isAcceptIt {
sch.PrintOrderByOrder(jxcontext.AdminCtx, order)
}
}
return err
})