1
This commit is contained in:
@@ -276,7 +276,9 @@ func (c *OrderManager) OnOrderStatusChanged(vendorOrgCode string, orderStatus *m
|
||||
|
||||
// 判断是否需要打印取消订单
|
||||
storeDetail, errDetail := c.LoadStoreDetail(order2.JxStoreID, order2.VendorID)
|
||||
globals.SugarLogger.Debugf("==============storeDetail := %s", utils.Format4Output(storeDetail, false))
|
||||
if errDetail == nil && storeDetail.IsPrintCancelOrder == model.YES { // 取消申请
|
||||
globals.SugarLogger.Debugf("==============storeDetail := %s , %d", utils.Format4Output(order2.VendorOrderID, false), order2.StoreID)
|
||||
_, err = netprinter.PrintRefundOrCancelOrder(jxcontext.AdminCtx, model.YES, order2, order2.StoreID)
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user