Browse Source

扫身份证自动打开过磅单。

master
yibo 7 years ago
parent
commit
29a7459eb6
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      ButcherWeight/WeightForm.cs

+ 8
- 2
ButcherWeight/WeightForm.cs View File

@ -98,8 +98,14 @@ namespace ButcherWeight
{ {
this.Invoke(new Action(() => this.Invoke(new Action(() =>
{ {
msgGrid.DataSource = WeightBillRpc.GetMsgList();
msgGrid.Refresh();
//msgGrid.DataSource = WeightBillRpc.GetMsgList();
//msgGrid.Refresh();
var list = WeightBillRpc.GetMsgList();
if (list.Any())
{
Dmo = WeightBillRpc.Load(list.First().WeightBill_ID);
AppToUI();
}
})); }));
} }
Thread.Sleep(2000); Thread.Sleep(2000);


Loading…
Cancel
Save