protected void GridView2_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            GridView2.PageIndex = e.NewPageIndex;

            issueHeaderDC = new IssueHeaderDC();

            string SELECT_TEXT = select_text.Value;

            List <ModelMtl_issue_header> modelMtl_issue_header = new List <ModelMtl_issue_header>();

            modelMtl_issue_header = issueHeaderDC.getIssueHeaderByLikeINVOICE_NO(SELECT_TEXT);

            GridView2.DataSource = modelMtl_issue_header;

            GridView2.DataBind();
        }
        //模糊查询领料单号
        protected void select(object sender, EventArgs e)
        {
            issueHeaderDC = new IssueHeaderDC();

            string SELECT_TEXT = select_text.Value;

            List <ModelMtl_issue_header> modelMtl_issue_header = new List <ModelMtl_issue_header>();

            try
            {
                modelMtl_issue_header = issueHeaderDC.getIssueHeaderByLikeINVOICE_NO(SELECT_TEXT);
            }
            catch (Exception)
            {
                PageUtil.showToast(this, "查询失败!");

                return;
            }

            GridView2.DataSource = modelMtl_issue_header;

            GridView2.DataBind();
        }