public string opBatch { get; set; }

在获取驿站 后添加 opbatch
master
nodyang@aliyun.com 1 month ago
parent 9417bbf7e3
commit d77d0767f1

@ -57,6 +57,7 @@ namespace SlnMesnac.RfidUpload.UI
// 自动生成opBatch // 自动生成opBatch
string opBatch = Guid.NewGuid().ToString("N").Substring(0, 20); string opBatch = Guid.NewGuid().ToString("N").Substring(0, 20);
OpBatchManager.BathNo = opBatch; OpBatchManager.BathNo = opBatch;
CsbResult res = csbHandleBusiness.findStationSequenceByCsb(_transferOrderInfo.ffjhNo, opBatch); CsbResult res = csbHandleBusiness.findStationSequenceByCsb(_transferOrderInfo.ffjhNo, opBatch);
this.PageMessage.Content = res.GetMsg(); this.PageMessage.Content = res.GetMsg();
if (res.code == "200") if (res.code == "200")
@ -69,6 +70,8 @@ namespace SlnMesnac.RfidUpload.UI
foreach (var institution in institutionList) foreach (var institution in institutionList)
{ {
institution.No = count++.ToString(); institution.No = count++.ToString();
institution.opBatch = opBatch;
} }
InstitutionList.ItemsSource = institutionList; InstitutionList.ItemsSource = institutionList;
} }
@ -166,6 +169,9 @@ namespace SlnMesnac.RfidUpload.UI
public string stationOrgCode { get; set; } public string stationOrgCode { get; set; }
public string stationOrgName { get; set; } public string stationOrgName { get; set; }
public string opBatch { get; set; }
} }

@ -219,11 +219,4 @@ namespace SlnMesnac.RfidUpload.UI.viewModel
} }
} }
} }
class result1
{
public string status { get; set; }
public string msg { get; set; }
public List<TransferOrderInfo> @object { get; set; }
}

@ -227,13 +227,12 @@ namespace SlnMesnac.RfidUpload.UI.viewModel
#region 正式启用 #region 正式启用
CsbResult res = csbHandleBusiness.transferOrderFfjhCheckByCsb(transferOrderInfo.ffjhNo, transferOrderInfo.ffjhscrq); CsbResult res = csbHandleBusiness.transferOrderFfjhCheckByCsb(transferOrderInfo.ffjhNo, transferOrderInfo.ffjhscrq);
TransferMsg = $"验证调拨单结果:{res.GetMsg()}"; TransferMsg = $"验证调拨单结果:{res.GetMsg()}";
if (res.code== "200") if (res.code== "200")
{ //封发计划正常可封发 { //封发计划正常可封发
// MessageBox.Show($"验证调拨单结果,[{res.GetMsg()}];"); // MessageBox.Show($"验证调拨单结果,[{res.GetMsg()}];");
SuccessEvent?.Invoke(); SuccessEvent?.Invoke();
RefreshSubmitVerifyEvent?.Invoke(2, res.GetMsg(), transferOrderInfo); RefreshSubmitVerifyEvent?.Invoke(2, res.GetMsg(), transferOrderInfo);
} }
else else
{ {

Loading…
Cancel
Save