Example #1
0
        public JsonResult LoadDeliverBillNos(string term)
        {
            //读取所有车辆数据
            string strErrText = string.Empty;
            DeliverSystem deliver = new DeliverSystem();
            List<DeliverBill> listDeliverBills = deliver.LoadDeliverBillNosByNo(term, LoginAccountId, LoginStaffName, out strErrText);
            if (listDeliverBills == null)
            {
                listDeliverBills = new List<DeliverBill>();
            }

            var ret = (from b in listDeliverBills select b.BillNo).ToArray();

            return Json(ret, JsonRequestBehavior.AllowGet);
        }