예제 #1
0
        public void LoadWayRefData()
        {
            if (SelectedDishItem == null)
            {
                return;
            }
            Dish dish = _ChooseDishesService.FindDishByDishId(SelectedDishItem.DishId);

            LoadRefData(dish);
        }
예제 #2
0
 //加载 菜品促销 信息明细
 public void JeiXiDetail(PromotionsDishBean bean)
 {
     DishLists.Clear();
     if (bean != null)
     {
         if (bean.PromotionsDishDetail != null && bean.PromotionsDishDetail.Count > 0)
         {
             foreach (var element in bean.PromotionsDishDetail)
             {
                 if (element.Deleted == 0)
                 {
                     PromotionsDishDetailBean PDDB = new PromotionsDishDetailBean().CreatePromotionsDishDetailBean(element);
                     PDDB.DishName = _DataService.FindDishByDishId(element.DishId).DishName;
                     DishLists.Add(PDDB);
                 }
             }
         }
     }
 }