/// <summary> /// 厨房制作 /// </summary> /// <param name="batchId">批次号</param> /// <param name="showType">展示方式 0为排产显示 1为订单显示</param> /// <returns></returns> public ActionResult Index(string batchNo, int showType = 0) { //显示方式 ViewBag.showType = showType; //批次号 ViewBag.batchNo = batchNo; //厨房数据 var batchInfos = _kitchenService.GetInfoByBatchNo(batchNo); ViewBag.nextBatchNo = _kitchenService.GetNextBatchNo(batchNo); ViewBag.preBatchNo = _kitchenService.GetPreBatchNo(batchNo); return(View(batchInfos)); }