/// <summary>
        /// 记账
        /// </summary>
        /// <param name="presType"></param>
        public void PresMark(int presType)
        {
            DataTable dt = null;

            if (presType == 0)
            {
                dt = view.BindLongPresControlData;
            }
            else
            {
                dt = view.BindShortPresControlData;
            }

            if (dt.Rows.Count > 0)
            {
                List <int>      intlist     = new List <int>();
                List <string>   prestype    = new List <string>();
                List <string>   ChargeCodeL = new List <string>();
                List <DateTime> CostDateL   = new List <DateTime>();
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    if (Convert.ToInt32(dt.Rows[i]["PresOrderID"]) != 0)
                    {
                        if ((bool)dt.Rows[i]["XD"] == true && Convert.ToInt32(dt.Rows[i]["Charge_Flag"]) != 1)
                        {
                            dt.Rows[i]["ChargeCode"] = user.EmployeeID.ToString();
                            dt.Rows[i]["CostDate"]   = XcDate.ServerDateTime;

                            intlist.Add(Convert.ToInt32(dt.Rows[i]["PresOrderID"]));
                            prestype.Add(dt.Rows[i]["PRESTYPE"].ToString());
                            ChargeCodeL.Add(user.EmployeeID.ToString());
                            CostDateL.Add(XcDate.ServerDateTime);
                            dt.Rows[i]["Charge_Flag"] = 1;
                            dt.Rows[i]["Drug_Flag"]   = 0;
                        }
                    }
                }
                if (intlist.Count > 0)
                {
                    //2009-4-8 zy update 执行成功后提示
                    zyPresOrder.ChargePres(intlist, prestype, ChargeCodeL, CostDateL);

                    GetPresData(presType);
                    icM.PatListID = zy_Patlist.PatListID;
                    view.BindPatFeeControlData = icM.GetPatFee();
                    //Nccm_UploadFee();//农合记账
                }
            }
        }