|
@@ -164,7 +164,7 @@ namespace BPASmartClient.MorkS |
|
|
//SortNum = mORKS.doe[subid].MorkOrder.SortNum.ToString(); |
|
|
//SortNum = mORKS.doe[subid].MorkOrder.SortNum.ToString(); |
|
|
if (!string.IsNullOrEmpty(goodName) && !string.IsNullOrEmpty(SortNum)) |
|
|
if (!string.IsNullOrEmpty(goodName) && !string.IsNullOrEmpty(SortNum)) |
|
|
{ |
|
|
{ |
|
|
EventBus.GetInstance().Publish(new OrderStatusChangedEvent() { SortNum = SortNum, GoodName = goodName, Status = oRDER_STATUS, SubOrderId = subid, deviceClientType = DeviceType }); |
|
|
|
|
|
|
|
|
EventBus.GetInstance().Publish(new OrderStatusChangedEvent() { SortNum = SortNum, GoodName = goodName, Status = oRDER_STATUS, SubOrderId = subid, deviceClientType = DeviceType }, e => { complete?.Invoke(); }); |
|
|
var index = DataServer.GetInstance.morkS.MakeOrder.FindIndex(p => p.SortNum == SortNum); |
|
|
var index = DataServer.GetInstance.morkS.MakeOrder.FindIndex(p => p.SortNum == SortNum); |
|
|
if (index >= 0 && index < DataServer.GetInstance.morkS.MakeOrder.Count) |
|
|
if (index >= 0 && index < DataServer.GetInstance.morkS.MakeOrder.Count) |
|
|
{ |
|
|
{ |
|
|