public virtual ActionResult GetSelectJsonByType(string type, string orderBy = " Order By F_SortCode ")
        {
            SearchCondition condition = new SearchCondition();

            condition.AddCondition("F_EnCode", type, SqlOperator.Equal);
            Mst_GoodsInfo typeInfo = BLLFactory <Mst_Goods> .Instance.FindSingle(GetConditionStr(condition));

            List <object> list = new List <object>();

            if (type == null)
            {
                return(Content(JsonAppHelper.ToJson(list)));
            }

            condition = new SearchCondition();
            condition.AddCondition("F_CategoryID", typeInfo.F_Id, SqlOperator.Equal);
            var data = baseBLL.Find(GetConditionStr(condition), orderBy);

            foreach (Mst_CategoryInfo item in data)
            {
                list.Add(new { id = item.F_Id, text = item.F_FullName });
            }
            return(Content(JsonAppHelper.ToJson(list)));
        }
        /// <summary>
        /// 根据下拉框获取信息
        /// </summary>
        /// <param name="keyValue"></param>
        /// <returns></returns>
        public ActionResult GoodsById(string keyValue)
        {
            Mst_GoodsInfo goodsInfo = BLLFactory <Mst_Goods> .Instance.FindByID(keyValue);

            return(Content(JsonAppHelper.ToJson(goodsInfo)));
        }