Exemple #1
0
 //[Authorize]
 public ActionResult QCReport(QccasttModels _qccastt)
 {
     //if ((cm.Vin == null) || (cm.Vin == ""))
     //{
     //    cm.Vin = "NAS";
     //}
     //_qccastt.SelectedItemIds = new[] { 2, 3 };
     //_qccastt.SelectedItemIds2 = new[] { 2, 3 };
     _qccastt.Vin          = "NAS411100G1205277";
     _qccastt.Lstshop      = QccasttUtility.GetShop().Cast <Pcshopt>().ToList();
     _qccastt.LstArea      = QccasttUtility.GetArea("").Cast <Area>().ToList();
     _qccastt.LstCarGroup  = CarUtility.GetBaseCarGroupList().Cast <CarGroup>().ToList();
     _qccastt.LstBodyModel = CarUtility.GetBaseBodyModelList().Cast <BodyModel>().ToList();
     _qccastt.LstStrength  = QccasttUtility.GetBaseStrength().Cast <Strength>().ToList();
     _qccastt.LstBodyStyle = CarUtility.GetBodyStyle("", "").Cast <BodyStyle>().ToList();
     _qccastt.LstShift     = new List <Shift>();
     _qccastt.LstShift.Add(new Shift {
         ShiftName = "A"
     });
     _qccastt.LstShift.Add(new Shift {
         ShiftName = "B"
     });
     _qccastt.LstShift.Add(new Shift {
         ShiftName = "C"
     });
     return(View(_qccastt));
 }
Exemple #2
0
 public ActionResult ReportShow2(QccasttModels qcm)
 {
     return(View(qcm));
 }