//判断是否全部审核完毕 该信息已结束
 private bool ShiFuAllShenhe(T_SczzDanju temp)
 {
     if (temp.UpShenHe != null && temp.ShenChanShenHe != null && temp.CheJianShenHe != null && temp.Jhzdr != null)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
        //创建制造计划单
        public ActionResult AddTable()
        {
            T_SczzDanju tsd = new T_SczzDanju();

            tsd.TextNameID = Convert.ToInt64(Request["topnameid"]);
            tsd.AddTime    = MvcApplication.GetT_time();
            tsd.ZhuangTai  = 0;
            tsd.AddUser    = LoginUser.ID;
            tsd.del        = 0;
            T_SczzDanjuService.AddEntity(tsd);
            int totalCount = 0;
            var temp       = GetSCZZdanju(out totalCount);

            return(Json(new { result = true, temp = temp, total = totalCount }, JsonRequestBehavior.AllowGet));
        }