HN.UI/Controllers/PurBillController.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HN.BLL;
using HN.Model;
using Newtonsoft.Json;
using System.Web.Script.Serialization;
using System.Text;
using System.Reflection;
namespace HN.UI.Controllers
{
public class PurBillController : Controller
{
//
// 采购单相关
PurBill purbill = new PurBill();
PurBills purbills = new PurBills();
WareHouse whbll = new WareHouse();
#region View-采购单列表 Index()
[GlobalFilter("menu")]
public ActionResult Index()
{
return View();
}
#endregion
#region View-采购单选择 Refer()
public ActionResult Refer(PurBillInfo info, string ReferType, bool iscgfk)
{
if (info.AuditStatus == -1)
{
ViewBag.AuditStatus = null;
}
else
{
ViewBag.AuditStatus = info.AuditStatus;
}
ViewBag.OrgID = info.PurOrgID;
ViewBag.VenID = info.VenID;
ViewBag.ReferType = ReferType;
ViewBag.iscgfk = iscgfk;
return View();
}
#endregion
#region View-查看采购单详情 Index()
public ActionResult ViewDetails(string id)
{
PurBillInfo model = new PurBillInfo();
if (!string.IsNullOrEmpty(id))
{
model.UserID = model.SaleID;
model = purbill.GetModel(null, Convert.ToInt32(id));
}
后面还有 183 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
