Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult RepaireRecord(string id)
        {
            DRepairInfo Repair = new DRepairInfo();

            Repair.StrECode = id;
            return(View(Repair));
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult EquipService(string id)
        {
            DRepairInfo Repair = new DRepairInfo();

            Repair.StrECode = id;
            return(View(Repair));
        }
Esempio n. 3
0
        /// <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 }));
            }
        }