Exemple #1
0
        /// <summary>
        /// 获得报价标准
        /// </summary>
        /// <param name="tourID"></param>
        /// <returns></returns>
        protected string GetPriceByTour(string tourID)
        {
            string str = string.Empty;
            IList <EyouSoft.Model.TourStructure.MTourPriceStandard> list = new EyouSoft.BLL.TourStructure.BTour().GetTourSanPinPrice(tourID);

            if (list != null && list.Count > 0)
            {
                str = UtilsCommons.GetPriceStandardTable(list, this.ProviderToMoney);
            }
            return(str);
        }
Exemple #2
0
        /// <summary>
        /// 获取散拼计划报价标准
        /// </summary>
        /// <returns></returns>
        private string GetMTourPriceStandard()
        {
            //返回的信息
            string result = "";
            //计划编号
            string TourId = Utils.GetQueryStringValue("argument");
            //拼接数据
            string strb = string.Empty;
            IList <MTourPriceStandard> list = new EyouSoft.BLL.TourStructure.BTour().GetTourSanPinPrice(TourId);

            if (list != null && list.Count > 0)
            {
                strb   = UtilsCommons.GetPriceStandardTable(list, ProviderToMoney);
                result = UtilsCommons.AjaxReturnJson("true", strb.ToString());
            }
            else
            {
                result = UtilsCommons.AjaxReturnJson("false", "数据为空");
            }
            return(result);
        }