Esempio n. 1
0
        public ActionResult Search(EasyUIGridParamModel param, TempCharge tCharge, TempChargeDetail tChargeDetail)
        {
            int            itemCount  = 0;
            List <dynamic> chargeList = new Ajax.BLL.TempChargeRule().Search(param, tCharge, out itemCount);
            var            showList   = from tempCharge in chargeList
                                        select new
            {
                ID           = tempCharge.ID,
                CUSTOMERNAME = tempCharge.CUSTOMERNAME,
                CHARGENAME   = tempCharge.CHARGENAME,
                MONEY        = tempCharge.MONEY,
                CREATETIME   = tempCharge.CREATETIME,
                NAME         = tempCharge.NAME
            };

            return(Json(new { total = itemCount, rows = showList }, JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
 public ActionResult TempChargeConfirmSearch(EasyUIGridParamModel param)
 {
     int itemCount = 0;
     TempCharge tc = new TempCharge();
     tc.Status = 0;
     List<dynamic> tempCharges = new TempChargeRule().Search(param, tc, out itemCount);
     var showList = from tempCharge in tempCharges
                    select new
                    {
                        ID = tempCharge.ID,
                        CustomerName = tempCharge.CUSTOMERNAME,
                        ChargeName = tempCharge.CHARGENAME,
                        Money = tempCharge.MONEY,
                        CreateTime = tempCharge.CREATETIME,
                        OperName = tempCharge.NAME,
                        Detail = "查看详细"
                    };
     return Json(new { total = tempCharges.Count, rows = showList }, JsonRequestBehavior.AllowGet);
 }
Esempio n. 3
0
 public ActionResult Search(EasyUIGridParamModel param, TempCharge tCharge, TempChargeDetail tChargeDetail)
 {
     int itemCount = 0;
     List<dynamic> chargeList = new Ajax.BLL.TempChargeRule().Search(param, tCharge, out itemCount);
     var showList = from tempCharge in chargeList
                    select new
                    {
                        ID = tempCharge.ID,
                        CUSTOMERNAME = tempCharge.CUSTOMERNAME,
                        CHARGENAME = tempCharge.CHARGENAME,
                        MONEY = tempCharge.MONEY,
                        CREATETIME = tempCharge.CREATETIME,
                        NAME = tempCharge.NAME
                    };
     return Json(new { total = itemCount, rows = showList }, JsonRequestBehavior.AllowGet);
 }