采集项更改
This commit is contained in:
@@ -361,6 +361,30 @@ namespace JY.Inspection
|
||||
|
||||
colDefList.Add(col);
|
||||
}
|
||||
|
||||
foreach (var propName in ConstValue.CCD_FDict.Keys)
|
||||
{
|
||||
DataGridViewColumn col = new DataGridViewTextBoxColumn();
|
||||
col.DataPropertyName = propName;
|
||||
col.HeaderText = ConstValue.CCD_FDict[propName];
|
||||
col.MinimumWidth = 6;
|
||||
col.Name = $"Col_ccd_{propName}";
|
||||
col.ReadOnly = true;
|
||||
|
||||
colDefList.Add(col);
|
||||
}
|
||||
|
||||
foreach (var propName in ConstValue.CCD_IDict.Keys)
|
||||
{
|
||||
DataGridViewColumn col = new DataGridViewTextBoxColumn();
|
||||
col.DataPropertyName = propName;
|
||||
col.HeaderText = ConstValue.CCD_IDict[propName];
|
||||
col.MinimumWidth = 6;
|
||||
col.Name = $"Col_ccd_{propName}";
|
||||
col.ReadOnly = true;
|
||||
|
||||
colDefList.Add(col);
|
||||
}
|
||||
#endregion
|
||||
|
||||
DataGridViewTextBoxColumn Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -2377,6 +2401,8 @@ namespace JY.Inspection
|
||||
if (listEntity.Count() > 0)
|
||||
{
|
||||
m.TDGroup = listEntity.First().TDGroup;
|
||||
m.InTime = listEntity.First().CreateTime;
|
||||
m.IsRepeat = listEntity.Count > 1;
|
||||
}
|
||||
|
||||
// 处理空条码
|
||||
|
||||
Reference in New Issue
Block a user