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 = "", Value = "个人", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "公司", Selected = selected_str }); return dals;
}
/// <summary>
/// 发票科目
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public IList<SelectListItemInfo> GetInvoiceSubject(string value = "")
{
IList<SelectListItemInfo> dals = new List<SelectListItemInfo>(); dals.Add(new SelectListItemInfo() { Text = "", Value = "商品明细", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "服装", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "皮具", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "化妆品", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "箱包", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "鞋", Selected = selected_str }); dals.Add(new SelectListItemInfo() { Text = "", Value = "饰品", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "家居用品", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "珠宝", Selected = selected_str }); return dals;
}
#endregion

3,订单状态

#region Order
/// <summary>
/// 订单状态
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public IList<SelectListItemInfo> GetOrderStatus(string value = "")
{
IList<SelectListItemInfo> dals = new List<SelectListItemInfo>(); dals.Add(new SelectListItemInfo() { Text = "", Value = "全部状态", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "等待付款", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "等待自提", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "等待收货", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "处理中", Selected = selected_str });
dals.Add(new SelectListItemInfo() { Text = "", Value = "有效", Selected = selected_str }); dals.Add(new SelectListItemInfo() { Text = "", 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,

purple-accessData 作者:ylbtech
出处:http://storebook.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
上一篇:gdb常用的调试命令


下一篇:alpha冲刺总结随笔