private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
        {
            if (dataGridView1.RowCount == 0)
            {
                return;
            }

            #region 信息区显示

            BindingCollection <View_S_IsolationManageBill> dataSource = dataGridView1.DataSource as BindingCollection <View_S_IsolationManageBill>;

            View_S_IsolationManageBill bill = dataSource.First(p => p.单据号 == dataGridView1.CurrentRow.Cells["单据号"].Value.ToString());

            View_S_Stock stockInfo = m_serverStore.GetGoodsStockInfoView((int)bill.物品ID, bill.批次号, bill.供货单位, bill.库房代码);

            if (stockInfo == null)
            {
                return;
            }

            cmbStorage.Tag   = stockInfo.库房代码;
            cmbStorage.Text  = UniversalFunction.GetStorageName(stockInfo.库房代码);
            txtName.Text     = stockInfo.物品名称;
            txtName.Tag      = Convert.ToInt32(stockInfo.物品ID);
            txtCode.Text     = stockInfo.图号型号;
            txtSpec.Text     = stockInfo.规格;
            txtDepot.Text    = stockInfo.材料类别编码;
            txtCount.Text    = bill.隔离数量.ToString();
            txtProvider.Text = stockInfo.供货单位;
            txtBatchNo.Text  = stockInfo.批次号;
            lbdw.Text        = stockInfo.单位;

            #endregion

            #region 单据内容

            txtReason.Text           = bill.隔离原因;
            txtMeansAndAsk.Text      = bill.隔离方法和要求;
            chkIsOutsourcing.Checked = bill.是否委外返修;
            m_strRejectMode          = bill.退货方式 == null ? "" : bill.退货方式;
            lbCLBM.Tag  = bill.处理部门代码;
            lbCLBM.Text = bill.处理部门;

            NudQC_FQ.Value    = bill.QC废弃数;
            NudQC_BF.Value    = bill.QC报废数;
            NudQC_HG.Value    = bill.QC合格数;
            NudQC_RB.Value    = bill.QC让步数;
            NudQC_TH.Value    = bill.QC退货数;
            NudSQE_BHG.Value  = bill.合格数;
            NudSQE_HG.Value   = bill.合格数;
            NudSQE_TFGS.Value = bill.处理工时;

            #endregion

            #region 单据信息

            lbDJH.Text  = bill.单据号;
            lbDJZT.Text = bill.单据状态;
            lbBZ.Text   = bill.编制人;
            lbSH.Text   = bill.审核人;
            lbDC.Text   = bill.调出人;
            lbCLJG.Text = bill.处理人;
            lbJYJG.Text = bill.检验人;
            lbDR.Text   = bill.调入人;
            lbQE.Text   = bill.QE人员;

            #endregion

            SetRejectMode();

            仓管员操作ToolStripMenuItem.Visible =
                UniversalFunction.CheckStorageAndPersonnel(bill.库房代码);

            if (lbCLBM.Tag == null || !BasicInfo.DeptCode.Contains(lbCLBM.Tag.ToString()))
            {
                sQE操作ToolStripMenuItem.Visible  = false;
                处理结果提交ToolStripMenuItem.Visible = false;
            }
            else
            {
                sQE操作ToolStripMenuItem.Visible  = true;
                处理结果提交ToolStripMenuItem.Visible = true;
            }

            if (lbDJZT.Text == "新建单据" || lbDJZT.Text == "等待主管审核" || lbDJZT.Text == "等待仓管调出")
            {
                txtBatchNo.ShowResultForm = true;
                txtName.ShowResultForm    = true;
            }
            else
            {
                txtBatchNo.ShowResultForm = false;
                txtName.ShowResultForm    = false;
            }
        }