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

@ -89,7 +89,7 @@
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="执行封发" Command="{Binding DataContext.ExecuteCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding}" Style="{StaticResource BUTTON_AGREE}" FontSize="14" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,5,0"/>
<Button Content="删除" Command="{Binding DataContext.DeleteCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding}" Style="{StaticResource BUTTON_AGREE}" FontSize="14" Width="80" Height="30" Background="#009999" BorderBrush="#FF36B5C1" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0,0,0"/>
<Button Content="删除" Command="{Binding DataContext.DeleteCommand, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" CommandParameter="{Binding}" Style="{StaticResource BUTTON_AGREE}" FontSize="14" Width="80" Height="30" Background="#009999" BorderBrush="#FF36B5C1" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0,0,0"/>
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>

@ -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 正式启用
CsbResult res = csbHandleBusiness.transferOrderFfjhCheckByCsb(transferOrderInfo.ffjhNo, transferOrderInfo.ffjhscrq);
TransferMsg = $"验证调拨单结果:{res.GetMsg()}";
if (res.code== "200")
{ //封发计划正常可封发
// MessageBox.Show($"验证调拨单结果,[{res.GetMsg()}];");
SuccessEvent?.Invoke();
RefreshSubmitVerifyEvent?.Invoke(2, res.GetMsg(), transferOrderInfo);
}
else
{

Loading…
Cancel
Save