Git.Storage.Web/Areas/Bad/Controllers/ProductController.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 微软
* Create Date: 2014-01-01 14:38:43
*
* Description: Git.Framework
* www.baidu.com
* Revision History:
* Date Author Description
* 2014-01-01 14:38:43 微软
*********************************************************************************/
using Git.Storage.Web.Lib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Git.Storage.Web.Lib.Filter;
using Git.Framework.DataTypes;
using Git.Storage.Common;
using Git.Framework.Controller;
using Git.Storage.Provider;
using Git.Storage.Entity.Bad;
using Git.Storage.Provider.Bad;
using Git.Framework.DataTypes.ExtensionMethods;
namespace Git.Storage.Web.Areas.Bad.Controllers
{
public class ProductController : MasterPage
{
/// <summary>
/// 添加报损清单
/// </summary>
/// <returns></returns>
[LoginFilter]
public ActionResult Add()
{
Session[CacheKey.TEMPDATA_CACHE_BADPRODUCTDETAIL] = null;
ViewBag.BadType = EnumHelper.GetOptions<EBadType>(EBadType.Bad, "请选择报损类型");
ViewBag.ProductType = EnumHelper.GetOptions<EProductType>(EProductType.Goods, "请选择入库产品类型");
return View();
}
/// <summary>
/// 添加报损产品选择页面
/// </summary>
/// <returns></returns>
[LoginFilter]
public ActionResult AddProduct()
{
return View();
}
/// <summary>
/// 报损清单详细页面
/// </summary>
/// <returns></returns>
[LoginFilter]
后面还有 65 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
