| | |
| | | |
| | | private void GvMx1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e) |
| | | { |
| | | if (e.FocusedRowHandle >= 0) |
| | | if (e.FocusedRowHandle >= 0 && gvMx1.GetDataRow(e.FocusedRowHandle)["tlid"].ToString().Length>0) |
| | | { |
| | | DataRow row = gvMx1.GetDataRow(e.FocusedRowHandle); |
| | | lbMxGuid.Text = row["tlid"].ToString(); |
| | |
| | | txtQuantity.Text = row["tld005"].ToString();//申请总量 |
| | | txtYdy.Text = row["ydy"].ToString();//已打印总量 |
| | | txt_kQty.Text = row["kdy"].ToString();//可打印总量 |
| | | txt_psnQty_1.Text = row["tld005"].ToString(); //默认每张条码数量 |
| | | } |
| | | else |
| | | { |