private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            DataGridItem item      = this.DataGrid1.SelectedItem;
            string       strselsql = "select " + this.txtRdID.Text.Trim() + ",'" + item.Cells[1].Text.Trim() + "'," + item.Cells[0].Text.Trim() + ",cnvcProviderID,cnvcInvCode,0,cnnPrice,0,0,cnvcGroupCode,cnvcComunitCode,cnvcBatch,'0','',cndMdate,cnnMassDate,cnvcMassUnit,cndExpDate";

            strselsql += " from tbRdRecordDetail where cnnAutoID=" + item.Cells[0].Text.Trim() + " and cnvcPoID='" + item.Cells[1].Text.Trim() + "' and cnvcProviderID='" + item.Cells[4].Text.Trim() + "' and cnvcInvCode='" + item.Cells[6].Text.Trim() + "'";
            OperLog operLog = new OperLog();

            operLog.cnvcOperType = "添加采购退货品";
            operLog.cnvcOperID   = this.oper.strLoginID;
            operLog.cnvcDeptID   = this.oper.strDeptID;
            StorageFacade sto = new StorageFacade();
            int           ret = sto.AddPoStockReturnDetail(operLog, strselsql);

            if (ret > 0)
            {
                this.Popup("添加退货品成功!");
            }
            else
            {
                this.Popup("添加退货品失败!");
            }

            this.DataGrid1.DataSource = null;
            this.DataGrid1.DataBind();
            this.DBBind();
        }