bug
lu
9 天以前 4c09363b9dc423003848ae4861414e5357129bfb
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -107,7 +107,6 @@
                };
                frm.ShowDialog();
            };
            gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged;
        }
@@ -675,34 +674,6 @@
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }
        private void GvMx1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
        {
            if (e.FocusedRowHandle >= 0 && gvMx1.GetDataRow(e.FocusedRowHandle)["tlid"].ToString().Length > 0)
            {
                DataRow row = gvMx1.GetDataRow(e.FocusedRowHandle);
                lbMxGuid.Text = row["tlid"].ToString();
                toolBarMenu1.guidKey = row["tlid"].ToString();
                txtWlid.Text = row["tld002"].ToString();
                txtWlgg.Text = row["tld004"].ToString();
                txtWlmc.Text = row["tld003"].ToString();
                txtQuantity.Text = row["tld005"].ToString();//申请总量
                txtYdy.Text = row["ydy"].ToString();//已打印总量
                txt_kQty.Text = row["kdy"].ToString();//可打印总量
            }
            else
            {
                lbMxGuid.Text = "";
                toolBarMenu1.guidKey = "";
                txtWlid.Text = "";
                txtWlgg.Text = "";
                txtWlmc.Text = "";
                txtQuantity.Text = "";
                txtYdy.Text = "";
                txt_kQty.Text = "";
            }
        }
        /// <summary>
        /// 选择不良