public ActionResult ReceiptDeliverBill(string ids, string returnTime, string damageInfo) { string strErrText; DeliverSystem deliver = new DeliverSystem(); foreach (string id in ids.Split(',')) { if (!deliver.UpdateDeliverBillReceipt(long.Parse(id), DateTime.Parse(returnTime), damageInfo, LoginAccountId, LoginStaffName, out strErrText)) { return Json(strErrText); } } return Json(string.Empty); }