/// <summary> /// /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult RepaireRecord(string id) { DRepairInfo Repair = new DRepairInfo(); Repair.StrECode = id; return(View(Repair)); }
/// <summary> /// /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult EquipService(string id) { DRepairInfo Repair = new DRepairInfo(); Repair.StrECode = id; return(View(Repair)); }
/// <summary> /// /// </summary> /// <param name="Repair"></param> /// <returns></returns> public ActionResult UpdateDRepairInfo(DRepairInfo Repair) { string strErr = ""; if (EquipMan.UpdateNewDRepairInfo(Repair, ref strErr) == true) { return(Json(new { success = "true", Msg = "保存成功" })); } else { return(Json(new { success = "false", Msg = "保存出错" + "/" + strErr })); } }