dep_deliver
杨威 5 months ago
parent c3269bb6d7
commit a149a39d5f

@ -98,8 +98,8 @@ namespace Mesnac.Action.ChemicalWeighing.Su
int ab= Convert.ToInt32(mCCombobox.MCValue);
var list = FreeDb.FreeSqlUnit.Instance.Queryable<SuSong>().Where(x => x.UpdateTime > a)
.Where(x => x.UpdateTime < b)
var list = FreeDb.FreeSqlUnit.Instance.Queryable<SuSong>().Where(x => x.CreateTime > a)
.Where(x => x.CreateTime < b)
.Where(x=>x.No==ab)
.Take(1000).OrderByDescending(x => x.UpdateTime).ToList();
@ -110,7 +110,8 @@ namespace Mesnac.Action.ChemicalWeighing.Su
dt.Columns.Add("方式", typeof(string));
dt.Columns.Add("目标仓", typeof(string));
dt.Columns.Add("数量", typeof(string));
dt.Columns.Add("时间", typeof(string));
dt.Columns.Add("开始时间", typeof(string));
dt.Columns.Add("更新时间", typeof(string));
dt.Columns.Add("状态", typeof(string));
foreach (var x in list)
@ -152,9 +153,9 @@ namespace Mesnac.Action.ChemicalWeighing.Su
dr[4] = x.Number;
dr[5] = Convert.ToDateTime(x.CreateTime).ToString("yyyy-MM-dd hh:mm:ss");
dr[6] = Convert.ToDateTime(x.UpdateTime).ToString("yyyy-MM-dd hh:mm:ss");
dr[6] = x.Remark;
dr[7]h = x.Remark;
dt.Rows.Add(dr);
}

@ -1646,7 +1646,7 @@
<Property name="Text">状态</Property>
<Property name="BackColor">Transparent</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">164, 90</Property>
<Property name="Location">159, 90</Property>
<Property name="Name">MCLabel346</Property>
<Property name="Size">29, 12</Property>
</Object>
@ -2029,7 +2029,7 @@
<Property name="Text">状态</Property>
<Property name="BackColor">Transparent</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">162, 96</Property>
<Property name="Location">156, 96</Property>
<Property name="Name">MCLabel344</Property>
<Property name="Size">29, 12</Property>
</Object>

Loading…
Cancel
Save