private void btnCheckOk_Click(object sender, System.EventArgs e)
        {
            DataTable dt = (DataTable)Session["checktomod"];

            if (this.ddlDayCheckNo.SelectedValue == "")
            {
                this.Popup("盘点序号不正确,可能盘点记录已经不是当日操作记录!");
                return;
            }
            if (dt.Rows.Count <= 0)
            {
                this.Popup("无任何盘点存货记录!");
                return;
            }
            Entity.OperLog ol = new AMSApp.zhenghua.Entity.OperLog();
            ol.cnvcOperType = "仓库库存盘点";
            ol.cnvcOperID   = this.oper.strLoginID;
            ol.cnvcDeptID   = this.oper.strDeptID;

            DataTable dtre = Helper.Query("select count(*) from tbStorageCheckLog where cnvcCheckNo='" + this.ddlDayCheckNo.SelectedValue + "' and (cndMdate is null or cndExpDate is null)");

            if (dtre.Rows[0][0].ToString() != "0")
            {
                this.Popup("盘点存货中存在生产日期或过期日期为空的记录,请先修改!");
                return;
            }
            StorageFacade sto = new StorageFacade();
            int           ret = sto.StorageCheckLogConfirm(ol, this.ddlDayCheckNo.SelectedValue, this.ddlWhouse.SelectedValue, this.ddlDept.SelectedValue);

            if (ret > 0)
            {
                this.Popup("仓库库存盘点确认更新库存成功!");
                this.DBBind();
            }
            else
            {
                this.Popup("仓库库存盘点确认更新库存失败!");
            }
        }