1
This commit is contained in:
@@ -500,7 +500,7 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod
|
|||||||
msghub.OnKeyOrderStatusChanged(savedOrderInfo.order)
|
msghub.OnKeyOrderStatusChanged(savedOrderInfo.order)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 京西云打印机打印数据
|
// 京西云打印机打印数据-如果门店使用京西打印机才使用如下代码块
|
||||||
//netprinter.PrintOrderByOrder(jxcontext.AdminCtx, order, model.PrintTypeOrder)
|
//netprinter.PrintOrderByOrder(jxcontext.AdminCtx, order, model.PrintTypeOrder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,11 +114,13 @@ func ManagerOrderPrint(order *model.GoodsOrder, storeTel string, storeDetail *da
|
|||||||
printOrder[StoreTel] = storeTel
|
printOrder[StoreTel] = storeTel
|
||||||
printOrder[OfficialName] = globals.StoreName
|
printOrder[OfficialName] = globals.StoreName
|
||||||
|
|
||||||
bill, _ := partner.CurOrderManager.LoadWaybill(order.VendorWaybillID, order.WaybillVendorID)
|
if order.WaybillVendorID != -1 && order.VendorWaybillID != "" {
|
||||||
//printOrder[StoreStatus] = utils.Int2Str(storeDetail.Status)
|
bill, _ := partner.CurOrderManager.LoadWaybill(order.VendorWaybillID, order.WaybillVendorID)
|
||||||
printOrder[RiderVendorId] = utils.Int2Str(bill.WaybillVendorID)
|
//printOrder[StoreStatus] = utils.Int2Str(storeDetail.Status)
|
||||||
printOrder[RiderName] = bill.CourierName
|
printOrder[RiderVendorId] = utils.Int2Str(bill.WaybillVendorID)
|
||||||
printOrder[RiderPhone] = bill.CourierMobile
|
printOrder[RiderName] = bill.CourierName
|
||||||
|
printOrder[RiderPhone] = bill.CourierMobile
|
||||||
|
}
|
||||||
return printOrder
|
return printOrder
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user