purple-accessData

ylbtech-class:purple-accessData
A, 返回顶部

1,送货时间

 #region 送货时间
        /// <summary>
        /// 送货时间
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetShippingTime(string value = "只有工作日")
        {
            string[] letters = { "只有工作日", "只有周末", "任何时间" };
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();
            foreach (string str in letters)
            {
                if (value == str)
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str, Selected = selected_str });
                }
                else
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str });
                }
            }

            return dals;
        }
        #endregion

2,发票(发票类型、发票科目)

#region Invoice
        /// <summary>
        /// 发票类型
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetInvoiceType(string value = "-1")
        {
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();

            dals.Add(new SelectListItemInfo() { Text = "-1", Value = "不开发票", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "0", Value = "个人", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "1", Value = "公司", Selected = selected_str });

            return dals;
        }
        /// <summary>
        /// 发票科目
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetInvoiceSubject(string value = "1")
        {
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();

            dals.Add(new SelectListItemInfo() { Text = "1", Value = "商品明细", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "2", Value = "服装", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "3", Value = "皮具", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "4", Value = "化妆品", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "5", Value = "箱包", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "6", Value = "鞋", Selected = selected_str });

            dals.Add(new SelectListItemInfo() { Text = "7", Value = "饰品", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "8", Value = "家居用品", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "9", Value = "珠宝", Selected = selected_str });

            return dals;
        }
        #endregion

3,订单状态

#region Order
        /// <summary>
        /// 订单状态
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetOrderStatus(string value = "1")
        {
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();

            dals.Add(new SelectListItemInfo() { Text = "1", Value = "全部状态", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "2", Value = "等待付款", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "3", Value = "等待自提", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "4", Value = "等待收货", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "5", Value = "处理中", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "6", Value = "有效", Selected = selected_str });

            dals.Add(new SelectListItemInfo() { Text = "7", Value = "已完成", Selected = selected_str });
            dals.Add(new SelectListItemInfo() { Text = "-1", Value = "已取消", Selected = selected_str });

            return dals;
        }
        #endregion

4,职位分类

#region 职位分类
        /// <summary>
        /// 职位分类
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetJobType(string value = "服务员")
        {
            string[] letters = { "服务员", "推销员", "业务员","电工","水电","其他" };
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();
            foreach (string str in letters)
            {
                if (value == str)
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str, Selected = selected_str });
                }
                else
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str });
                }
            }

            return dals;
        }
        #endregion

5,租赁分类

#region 租赁分类
        /// <summary>
        /// 租赁分类
        /// 【大家知道、熟悉的卖场、大厦】
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetRentType(string value = "商铺租赁")
        {
            string[] letters = { "商铺租赁", "场地租赁", "写字楼租赁", "写字楼销售", "会议室租赁", "其他" };
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();
            foreach (string str in letters)
            {
                if (value == str)
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str, Selected = selected_str });
                }
                else
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str });
                }
            }

            return dals;
        }
        #endregion

6,

B,返回顶部

6,租赁金额单位类型

#region 租赁金额单位类型
        /// <summary>
        /// 租赁金额单位类型
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public IList<SelectListItemInfo> GetRentUnitType(string value = "月/天")
        {
            string[] letters = { "元/天", "月/天", "元/年" };
            IList<SelectListItemInfo> dals = new List<SelectListItemInfo>();
            foreach (string str in letters)
            {
                if (value == str)
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str, Selected = selected_str });
                }
                else
                {
                    dals.Add(new SelectListItemInfo() { Text = str, Value = str });
                }
            }

            return dals;
        }
        #endregion

7,

8,

9,

10,

11,

C,返回顶部

11,

作者:ylbtech
出处:http://storebook.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
时间: 2024-09-30 22:09:04

purple-accessData的相关文章

编译器错误消息: CS0234: 命名空间“Purple”中不存在类型或命名空间名称“Model”(是否缺少程序集引用?)

编译错误 “/storeimg”应用程序中的服务器错误. 编译错误 说明: 在编译向该请求提供服务所需资源的过程中出现错误.请检查下列特定错误详细信息并适当地修改源代码. 编译器错误消息: CS0234: 命名空间“Purple”中不存在类型或命名空间名称“Model”(是否缺少程序集引用?) 源错误:   行 51: <pages> 行 52: <namespaces> 行 53: <add namespace="Purple.Model" />

Supra TK Society High Tops Purple White 24 February at 9pm on ABC Network.Episode 8 is titled

my OCD crossed into an eating disorder. I noticed one day that I had sat down to eat breakfast at exactly eight o'clock – and I thought it felt almost comforting. I thought it would be nice to eat at exactly 11 or 12, as I could make a pattern out of

CF gym 100962D Deep Purple [后缀树,树链剖分,线段树]

Codeforces 思路 感觉这个离线的思路好神仙啊qwq 对于每个询问\([l,r]\)其实就是要求\(p_{max}\),使得\(lcs(s[1,p],s[1,r])>p-l\),也就是\(lcs(s[1,p],s[1,r])+l>p\). 首先把询问离线按\(r\)排序,然后从右往左扫,每次 处理之前已经被加进去的询问,看当前位置是否能被作为\(p\),然后把已经处理完毕的询问给删掉. 把当前询问塞进去. 建出反串的后缀树,那么不等式左边就是\(dep_{lca(p,r)}+l\).

CSS样式的优先级

1.相同权值情况下,CSS样式的优先级总结来说,就是--就近原则(离被设置元素越近优先级别越高): 内联样式表(标签内部)> 嵌入样式表(当前文件中)> 外部样式表(外部文件中). 2.权值不同时,浏览器是根据权值来判断使用哪种css样式的,哪种样式权值高就使用哪种样式. 下面是权值的规则: 标签的权值为1,类选择符的权值为10,ID选择符的权值最高为100.例如下面的代码: p{color:red;} /*标签,权值为1*/ p span{color:green;} /*两个标签,权值为1+

CSS颜色代码大全

CSS颜色代码大全 颜色代码表(一): EEEEEE FFCCFF FF66FF FF00FF DDDDDD FFCCCC FF66CC FF00CC CCCCCC FFCC99 FF6699 FF0099 BBBBBB FFCC66 FF6666 FF0066 AAAAAA FFCC33 FF6633 FF0033 999999 FFCC00 FF6600 FF0000 888888 CCCCFF CC66FF CC00FF 777777 CCCCCC CC66CC CC00CC 666666

重温HTML

HTML是HyperText Markup Language的缩写,翻译过来就是超文本标记语言(也可以叫超文本标签语言),是制作网站的标记语言. HTML文件里面包含HTML元素.标签等...,html文件后缀是.html,有人会说还有.htm后缀的,两种后缀没有本质意义的区别,只是为了满足DOS仅能识别8+3的文件名而已,因为一些老的系统(win32)不能识别四位文件名,所以某些网页服务器要求index.html最后一个l不能省略. HTML主体结构是: <!DOCTYPE html> &l

HTML/CSS 常用单词整理

页面布局(layout) header 头部/页眉: index 首页/索引: logo 标志: nav/sub_nav 导航/子导航: banner 横幅广告: main/content 主体/内容: container/con 容器: wrapper/wrap 包裹(类似于container): menu 菜单: sub_menu/second_menu 子菜单/二级菜单: list 列表: section 分区/分块(类似于div); article 文章: aside 侧边栏/广告: f

css动画效果

1.2D,3D转换 -1.通过2D,3D转换,我们能够对元素进行移动,缩放,转动,拉长,或拉伸. 转换是使元素改变形状,尺寸和位置的一种效果. 可以使用2D或者3D转换来转换元素. -2.2D(transform)转换方法 1.translate(x,y)移动,第二个参数未提供时默认为0 2.rotate(xdeg)旋转 3.scale(x,y)缩放 4.skew(xdeg,ydeg)倾斜,第二个参数未提供时默认为0 -3.3D转换方法 1.rotateX() 2.rotateY() <!DOC

CSS3略谈(中二)

一.3D转换:三维变换使用基于二维变换的相同属性,可以让我们基于三个坐标方向对元素进行变换.和二维变形一样,三维变形可以使用transform属性来设置 1. 3D移动 l   方法:translate3d(x,y,z) 使元素在这三个纬度中移动,也可以分开写,如:translateX(length),translateY(length), translateZ(length) l   示例: div:hover{ /*Y轴移动+100px*/ /*transform:translateY(10

python之pandas模块的基本使用(1)

一.pandas概述 pandas :pannel data analysis(面板数据分析).pandas是基于numpy构建的,为时间序列分析提供了很好的支持.pandas中有两个主要的数据结构,一个是Series,另一个是DataFrame. 二.数据结构 Series Series 类似于一维数组与字典(map)数据结构的结合.它由一组数据和一组与数据相对应的数据标签(索引index)组成.这组数据和索引标签的基础都是一个一维ndarray数组.可将index索引理解为行索引. Seri