public ActionResult SavePatientCharge(M_PatientCharge info)
        {
            info.ChargePerson = UserOperateContext.Current.Session_UsrInfo.Name;
            info.IFArrearage = false;

            if (new M_PatientChargeBLL().Add(info) > 0)

                return Json(new { Result = "OK", Message = "收费信息记录成功!"}, "text/plain;charset=UTF-8", JsonRequestBehavior.AllowGet);
                //return this.JsonResult(Utility.E_JsonResult.OK, "收费信息记录成功!", null, null);
            else
                return Json(new { Result = "Error", Message = "收费信息记录失败!" }, "text/plain;charset=UTF-8", JsonRequestBehavior.AllowGet);
                //return this.JsonResult(Utility.E_JsonResult.Error, "收费信息记录失败!", null, null);
        }
 public ActionResult EditPatientCharge(M_PatientCharge info)
 {
     info.ChargePerson = UserOperateContext.Current.Session_UsrInfo.Name;
     info.IFArrearage = false;
     int res = new M_PatientChargeBLL().Modify(info, "Date", "InvoiceNumber", "PatientName", "AddressStart", "AddressEnd", "OutStationRoadCode", "PointRoadCode", "ArriveHospitalRoadCode", "ReturnStationRoadCode", "OneWayKM",
         "ChargeKM", "CarFee", "WaitingFee", "EmergencyFee", "DrugFeeTotal", "ExamineFeeTotal", "ConsumableFeeTotal", "MeasureFeeTotal", "ReceivableTotal", "PaidMoney", "ChargePerson", "IFArrearage", "TaskSD");
     if (res > 0)
         return Json(new { Result = "OK", Message = "收费信息记录成功!"}, "text/plain;charset=UTF-8", JsonRequestBehavior.AllowGet);
         //return this.JsonResult(Utility.E_JsonResult.OK, "收费信息记录成功!", null, null);
     else
         return Json(new { Result = "Error", Message = "收费信息记录失败!" }, "text/plain;charset=UTF-8", JsonRequestBehavior.AllowGet);
        // return this.JsonResult(Utility.E_JsonResult.Error, "收费信息记录失败!", null, null);
 }