qian
8 months ago
21 changed files with 756 additions and 51 deletions
@ -0,0 +1,228 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Data; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
using CK.SCP.Models; |
||||
|
using CK.SCP.Models.ScpEntity; |
||||
|
using System.Data.Entity.Migrations; |
||||
|
using CK.SCP.Utils; |
||||
|
using CK.SCP.Models.Enums; |
||||
|
using System.Data.Entity.Core; |
||||
|
using CK.SCP.Models.ScpEntity.ExcelExportEnttity; |
||||
|
using CK.SCP.Models.AppBoxEntity; |
||||
|
using System.Collections; |
||||
|
|
||||
|
namespace CK.SCP.Controller |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 采购对应收货管理地址
|
||||
|
/// </summary>
|
||||
|
public class SCP_TB_ADDRESS_BUYER_CONTROLLER |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 获取采购收货地址对应关系
|
||||
|
/// </summary>
|
||||
|
/// <param name="Buyer">采购</param>
|
||||
|
/// <param name="p_action"></param>
|
||||
|
public static void GetTbAddressBuyerList(string Buyer, Action<ResultObject<IQueryable<TB_ADDRESS_BUYER>>> p_action) |
||||
|
{ |
||||
|
ResultObject<IQueryable<TB_ADDRESS_BUYER>> _ret = new ResultObject<IQueryable<TB_ADDRESS_BUYER>>(); |
||||
|
try |
||||
|
{ |
||||
|
using (ScpEntities db = EntitiesFactory.CreateScpInstance()) |
||||
|
{ |
||||
|
IQueryable<TB_ADDRESS_BUYER> q = db.TB_ADDRESS_BUYER; |
||||
|
if (!string.IsNullOrEmpty(Buyer)) |
||||
|
{ |
||||
|
q = q.Where(p => p.Buyer.Contains(Buyer)); |
||||
|
} |
||||
|
_ret.State = ReturnStatus.Succeed; |
||||
|
_ret.Result = q; |
||||
|
p_action(_ret); |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
catch (Exception e) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.ErrorList.Add(e); |
||||
|
if (e.InnerException != null) |
||||
|
LogHelper.Writlog(LogHelper.LogType.Error, typeof(SCP_TB_ADDRESS_BUYER_CONTROLLER), "GetTbAddressBuyerList(Exception)", LogHelper.GetExceptionMessage(e).Message); |
||||
|
|
||||
|
LogHelper.Writlog(LogHelper.LogType.Error, typeof(SCP_TB_ADDRESS_BUYER_CONTROLLER), "GetTbAddressBuyerList", e.Message); |
||||
|
throw e; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 导入
|
||||
|
/// </summary>
|
||||
|
/// <param name="p_order_list"></param>
|
||||
|
/// <param name="p_creator"></param>
|
||||
|
/// <returns></returns>
|
||||
|
public static ResultObject<bool> EXCEL_ADRESS_BUYER_LIST(List<SCP_ADDRESS_BUYER_EXPORT> p_order_list, string p_creator) |
||||
|
{ |
||||
|
ResultObject<bool> _ret = new ResultObject<bool>(); |
||||
|
try |
||||
|
{ |
||||
|
using (ScpEntities db = EntitiesFactory.CreateScpInstance()) |
||||
|
{ |
||||
|
List<string> lineError = new List<string>(); |
||||
|
List<string> ErrorList = new List<string>(); |
||||
|
var _lst = p_order_list; |
||||
|
List<long> uidList = db.TB_ADDRESS.Select(q => q.UID).ToList(); |
||||
|
/// 校验
|
||||
|
lineError = Checked(p_order_list, uidList); |
||||
|
|
||||
|
if (lineError.Count > 0) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.MessageList.AddRange(lineError); |
||||
|
_ret.Result = false; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
DateTime time = DateTime.Now; |
||||
|
_lst.ForEach(p => |
||||
|
{ |
||||
|
var _Sitelist = db.TB_ADDRESS_BUYER.Count(t => t.Buyer == p.采购人); |
||||
|
if (_Sitelist == 0) |
||||
|
{ |
||||
|
TB_ADDRESS_BUYER buyer = new TB_ADDRESS_BUYER(); |
||||
|
buyer.AddressUID = long.Parse(p.收货地址ID); |
||||
|
buyer.Buyer = p.采购人; |
||||
|
buyer.Creator = p_creator; |
||||
|
buyer.CreateTime = time; |
||||
|
db.TB_ADDRESS_BUYER.Add(buyer); |
||||
|
} |
||||
|
else if (_Sitelist == 1) |
||||
|
{ |
||||
|
var buyer = db.TB_ADDRESS_BUYER.SingleOrDefault(t => t.Buyer == p.采购人); |
||||
|
buyer.AddressUID = long.Parse(p.收货地址ID); |
||||
|
buyer.UpdateTime = time; |
||||
|
buyer.UpdateUser = p_creator; |
||||
|
db.TB_ADDRESS_BUYER.AddOrUpdate(a => a.UID, buyer); |
||||
|
} |
||||
|
|
||||
|
}); |
||||
|
if (_ret.MessageList.Count == 0) |
||||
|
{ |
||||
|
int state = db.SaveChanges(); |
||||
|
if (state != -1) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Succeed; |
||||
|
_ret.Result = true; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.Result = false; |
||||
|
} |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.Result = false; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
catch (Exception e) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
LogHelper.Writlog(LogHelper.LogType.Error, typeof(SCP_TB_ADDRESS_BUYER_CONTROLLER), "EXCEL_ADRESS_BUYER_LIST", e.Message); |
||||
|
_ret.Result = false; |
||||
|
_ret.ErrorList.Add(e); |
||||
|
throw e; |
||||
|
} |
||||
|
return _ret; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 校验 查看是否有错误
|
||||
|
/// </summary>
|
||||
|
/// <param name="p_order_list">导入文件</param>
|
||||
|
/// <param name="ulist">地址uidlist</param>
|
||||
|
/// <returns></returns>
|
||||
|
public static List<string> Checked(List<SCP_ADDRESS_BUYER_EXPORT> p_order_list, List<long> ulist) |
||||
|
{ |
||||
|
List<string> errorlist = new List<string>(); |
||||
|
List<string> userName = new List<string>(); |
||||
|
using (AppBoxContext db = EntitiesFactory.CreateAppBoxInstance()) |
||||
|
{ |
||||
|
List<User> users = db.Users.ToList(); |
||||
|
//users = users.Where(q => q.Roles.Select(itm => itm.ID).Contains(8)).ToList();
|
||||
|
userName = users.Select(q => q.Name).ToList(); |
||||
|
} |
||||
|
long ID; |
||||
|
foreach (var item in p_order_list) |
||||
|
{ |
||||
|
var count = p_order_list.Where(q => q.采购人 == item.采购人).Count(); |
||||
|
if (count > 1) |
||||
|
{ |
||||
|
errorlist.Add(String.Format("{0}重复", item.采购人)); |
||||
|
break; |
||||
|
} |
||||
|
if (!userName.Contains(item.采购人)) |
||||
|
{ |
||||
|
errorlist.Add(string.Format("{0}不是当前系统人员", item.采购人)); |
||||
|
break; |
||||
|
} |
||||
|
if (!long.TryParse(item.收货地址ID, out ID)) |
||||
|
{ |
||||
|
errorlist.Add(string.Format("{0}不能转化为数字", item.收货地址ID)); |
||||
|
break; |
||||
|
} |
||||
|
else if (!ulist.Contains(ID)) |
||||
|
{ |
||||
|
errorlist.Add(string.Format("{0}不在收货信息管理(重庆专用)的UID里", item.收货地址ID)); |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
return errorlist; |
||||
|
} |
||||
|
/// <summary>
|
||||
|
/// 删除
|
||||
|
/// </summary>
|
||||
|
/// <param name="uidlist">uid列表</param>
|
||||
|
/// <returns></returns>
|
||||
|
public static ResultObject<bool> DeleteByUid(List<long> uidlist) |
||||
|
{ |
||||
|
ResultObject<bool> _ret = new ResultObject<bool>(); |
||||
|
try |
||||
|
{ |
||||
|
using (ScpEntities db = EntitiesFactory.CreateScpInstance()) |
||||
|
{ |
||||
|
var list = db.TB_ADDRESS_BUYER.Where(itm => uidlist.Contains(itm.UID)); |
||||
|
|
||||
|
db.TB_ADDRESS_BUYER.RemoveRange(list); |
||||
|
if (db.SaveChanges() != -1) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Succeed; |
||||
|
_ret.Result = true; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.Result = false; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
catch (Exception e) |
||||
|
{ |
||||
|
_ret.State = ReturnStatus.Failed; |
||||
|
_ret.Result = false; |
||||
|
_ret.ErrorList.Add(e); |
||||
|
LogHelper.Writlog(LogHelper.LogType.Error, typeof(SCP_TB_ADDRESS_BUYER_CONTROLLER), "DeleteByUid", e.Message); throw e; |
||||
|
} |
||||
|
return _ret; |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,9 @@ |
|||||
|
namespace CK.SCP.Models.ScpEntity.ExcelExportEnttity |
||||
|
{ |
||||
|
public class SCP_ADDRESS_BUYER_EXPORT |
||||
|
{ |
||||
|
|
||||
|
public string 收货地址ID { get; set; } |
||||
|
public string 采购人 { get; set; } |
||||
|
} |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
namespace CK.SCP.Models.ScpEntity.ExcelExportEnttity |
||||
|
{ |
||||
|
public class SCP_PRICE_Update_EXPORT |
||||
|
{ |
||||
|
public string UID { get; set; } |
||||
|
public string 状态 { get; set; } |
||||
|
public string 标识 { get; set; } |
||||
|
public string 供应商编号 { get; set; } |
||||
|
public string 零件编码 { get; set; } |
||||
|
public string 开始时间 { get; set; } |
||||
|
public string 结束时间 { get; set; } |
||||
|
public string 币种 { get; set; } |
||||
|
public string 单位 { get; set; } |
||||
|
public string 备注 { get; set; } |
||||
|
public string 零件基础价格 { get; set; } |
||||
|
public string 域 { get; set; } |
||||
|
public string 地点 { get; set; } |
||||
|
public string 累计分摊价格 { get; set; } |
||||
|
public string 累计分摊数量 { get; set; } |
||||
|
public string 是否临时价格 { get; set; } |
||||
|
public string 零件最新价格 { get; set; } |
||||
|
public string 最新开始时间 { get; set; } |
||||
|
public string 最新结束时间 { get; set; } |
||||
|
} |
||||
|
} |
@ -0,0 +1,29 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace CK.SCP.Models.ScpEntity |
||||
|
{ |
||||
|
public partial class TB_ADDRESS_BUYER |
||||
|
{ |
||||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] |
||||
|
[Key] |
||||
|
[Column(Order = 0)] |
||||
|
public long UID { get; set; } |
||||
|
public long AddressUID { get; set; } |
||||
|
[Key] |
||||
|
[Column(Order = 1)] |
||||
|
public string Buyer { get; set; } |
||||
|
[NotMapped] |
||||
|
public string Address { get; set; } |
||||
|
public string Creator { get; set; } |
||||
|
public DateTime? CreateTime { get; set; } |
||||
|
|
||||
|
public string UpdateUser { get; set; } |
||||
|
public DateTime? UpdateTime { get; set; } |
||||
|
} |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_TB_Address_Buyer.aspx.cs" Inherits="SCP.Views.BasicData.SCP_TB_Address_Buyer" %> |
||||
|
|
||||
|
<!DOCTYPE html> |
||||
|
|
||||
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
||||
|
<head runat="server"> |
||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||||
|
<title></title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<form id="form1" runat="server"> |
||||
|
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" /> |
||||
|
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="VBox"> |
||||
|
<Items> |
||||
|
<f:Toolbar ID="Toolbar1" runat="server"> |
||||
|
<Items> |
||||
|
<f:Button ID="Button3" runat="server" EnablePostBack="false" Text="刷新" Icon="Reload" OnClientClick="location.reload();"> |
||||
|
</f:Button> |
||||
|
<f:Button ID="btnDelete" runat="server" Text="删除" Icon="Delete" OnClick="btnDelete_Click" OnClientClick="if(!confirm('是否确定要删除?'))return false;"></f:Button> |
||||
|
<f:TextBox ID="txtBuyer" runat="server" Label="采购员" Text=""> |
||||
|
</f:TextBox> |
||||
|
<f:Button ID="btnSearch" runat="server" Text="快速查找" OnClick="btnSearch_Click" Icon="SystemSearch"> |
||||
|
</f:Button> |
||||
|
<f:ToolbarSeparator runat="server" /> |
||||
|
<f:FileUpload runat="server" ID="FileUp" EmptyText="请选择导入模板" Required="true" Width="200" ButtonIcon="Add" ShowRedStar="true"></f:FileUpload> |
||||
|
<f:Button ID="btnInput" runat="server" Text="导入" Icon="PageExcel" OnClick="btnInput_Click"> |
||||
|
</f:Button> |
||||
|
</Items> |
||||
|
</f:Toolbar> |
||||
|
|
||||
|
<f:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="true" BoxFlex="1" |
||||
|
ShowHeader="False" |
||||
|
AllowPaging="True" PageSize="50" OnPageIndexChange="Grid1_OnPageIndexChange" |
||||
|
ShowBorder="False" |
||||
|
DataKeyNames="UID" AllowSorting="true" IsDatabasePaging="true" SortField="UID"> |
||||
|
<Columns> |
||||
|
<f:BoundField DataField="AddressUID" HeaderText="收货地址UID" ColumnID="AddressUID" /> |
||||
|
<f:BoundField DataField="Address" HeaderText="收货地址" ColumnID="Address" Width="300px" /> |
||||
|
<f:BoundField DataField="Buyer" HeaderText="采购" ColumnID="Buyer"/> |
||||
|
|
||||
|
</Columns> |
||||
|
</f:Grid> |
||||
|
</Items> |
||||
|
</f:Panel> |
||||
|
|
||||
|
</form> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,191 @@ |
|||||
|
using CK.SCP.Controller; |
||||
|
using CK.SCP.Models.Enums; |
||||
|
using CK.SCP.Models.ScpEntity; |
||||
|
using CK.SCP.Models.ScpEntity.ExcelExportEnttity; |
||||
|
using CK.SCP.Utils; |
||||
|
using FineUI; |
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Data; |
||||
|
using System.IO; |
||||
|
using System.Linq; |
||||
|
using System.Web; |
||||
|
using System.Web.UI; |
||||
|
using System.Web.UI.WebControls; |
||||
|
|
||||
|
namespace SCP.Views.BasicData |
||||
|
{ |
||||
|
public partial class SCP_TB_Address_Buyer : PageBase |
||||
|
{ |
||||
|
protected void Page_Load(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (!IsPostBack) |
||||
|
{ |
||||
|
if (CurrentUser.ID != 0) |
||||
|
{ |
||||
|
//读取 所有菜单列表
|
||||
|
var mlist = GetMenus(CurrentUser.ID); |
||||
|
if (mlist.Count > 0 && mlist.Contains("收货信息管理(重庆专用)")) |
||||
|
{ |
||||
|
BindData(); |
||||
|
TranslatorAgent(Grid1); |
||||
|
TranslatorAgents(Toolbar1); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
Response.Write("当前用户没有操作该页面权限"); |
||||
|
Response.End(); |
||||
|
return; |
||||
|
} |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
Response.Write("当前用户没有操作该页面权限"); |
||||
|
Response.End(); |
||||
|
return; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public void BindData() |
||||
|
{ |
||||
|
SearchADDRESS_BUYER(txtBuyer.Text, (rs) => |
||||
|
{ |
||||
|
var list1 = SortAndPage<TB_ADDRESS_BUYER>(rs, Grid1); |
||||
|
var count1 = list1.ToList().Count; |
||||
|
if (count1 > 0) |
||||
|
{ |
||||
|
var _ls1 = list1.ToList(); |
||||
|
_ls1.ForEach(p => |
||||
|
{ |
||||
|
var address = SCPDB.TB_ADDRESS.Where(itm => itm.UID == p.AddressUID).FirstOrDefault(); |
||||
|
|
||||
|
if (address != null) |
||||
|
{ |
||||
|
p.Address = address.Address; |
||||
|
} |
||||
|
}); |
||||
|
Grid1.DataSource = _ls1; |
||||
|
Grid1.DataBind(); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
Grid1.DataSource = list1; |
||||
|
Grid1.DataBind(); |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
public void SearchADDRESS_BUYER(string Buyer, Action<IQueryable<TB_ADDRESS_BUYER>> p_action) |
||||
|
{ |
||||
|
SCP_TB_ADDRESS_BUYER_CONTROLLER.GetTbAddressBuyerList(Buyer, (_ret) => |
||||
|
{ |
||||
|
if (_ret.State == ReturnStatus.Succeed) |
||||
|
{ |
||||
|
p_action(_ret.Result); |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
//查询
|
||||
|
protected void btnSearch_OnClick(object sender, EventArgs e) |
||||
|
{ |
||||
|
BindData(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
protected void Grid1_OnPageIndexChange(object sender, GridPageEventArgs e) |
||||
|
{ |
||||
|
BindData(); |
||||
|
} |
||||
|
|
||||
|
protected void btnSearch_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
BindData(); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 上传文件
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
protected void btnInput_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
string _fileName = FileUp.FileName; |
||||
|
if (string.IsNullOrEmpty(_fileName)) |
||||
|
{ |
||||
|
Alert.Show("选择文件为空!"); |
||||
|
return; |
||||
|
} |
||||
|
string _lx = _fileName.Split('.')[1]; |
||||
|
Stream _stream = FileUp.PostedFile.InputStream; |
||||
|
DataTable _dt = new DataTable(); |
||||
|
if (_lx == "xls") |
||||
|
{ |
||||
|
_dt = ExcelHelper.GetDataTable(_stream); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
_dt = ExcelHelper.GetDataTableOfXlsx(_stream); |
||||
|
} |
||||
|
var list = ConvertHelper.ToList<SCP_ADDRESS_BUYER_EXPORT>(ExcelHelper.RemoveEmpty(_dt)).ToList(); |
||||
|
if (list.Count == 0) |
||||
|
{ |
||||
|
Alert.Show("文件内容为空!"); |
||||
|
return; |
||||
|
} |
||||
|
var ret = SCP_TB_ADDRESS_BUYER_CONTROLLER.EXCEL_ADRESS_BUYER_LIST(list, CurrentUser.Name); |
||||
|
if (ret.State == ReturnStatus.Succeed && ret.Result == true) |
||||
|
{ |
||||
|
Alert.Show("导入成功"); |
||||
|
BindData(); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
Alert.Show(string.Join("<br>", ret.MessageList)); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
protected void btnDelete_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
int[] selections = Grid1.SelectedRowIndexArray; |
||||
|
if (selections.Count() == 0) |
||||
|
{ |
||||
|
PageContext.RegisterStartupScript(Alert.GetShowInTopReference("没有选择数据!")); |
||||
|
return; |
||||
|
} |
||||
|
List<long> uidlist = new List<long>(); |
||||
|
foreach (int rowIndex in selections) |
||||
|
{ |
||||
|
uidlist.Add( long.Parse( Grid1.DataKeys[rowIndex][0].ToString())); |
||||
|
} |
||||
|
|
||||
|
var ret = SCP_TB_ADDRESS_BUYER_CONTROLLER.DeleteByUid(uidlist); |
||||
|
if (ret.State == ReturnStatus.Succeed) |
||||
|
{ |
||||
|
BindData(); |
||||
|
Alert.Show(GetResourceKey("删除成功!")); |
||||
|
return; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
if (ret.MessageList.Count > 0) |
||||
|
{ |
||||
|
Alert.Show(GetResourceKey(string.Join("<br>", ret.MessageList))); |
||||
|
return; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
Alert.Show(GetResourceKey(ret.Message)); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,116 @@ |
|||||
|
//------------------------------------------------------------------------------
|
||||
|
// <自动生成>
|
||||
|
// 此代码由工具生成。
|
||||
|
//
|
||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||
|
// 重新生成代码,则所做更改将丢失。
|
||||
|
// </自动生成>
|
||||
|
//------------------------------------------------------------------------------
|
||||
|
|
||||
|
namespace SCP.Views.BasicData |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
public partial class SCP_TB_Address_Buyer |
||||
|
{ |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// form1 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// PageManager1 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.PageManager PageManager1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Panel1 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Panel Panel1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Toolbar1 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Toolbar Toolbar1; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Button3 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Button Button3; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// btnDelete 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Button btnDelete; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// txtBuyer 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.TextBox txtBuyer; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// btnSearch 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Button btnSearch; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// FileUp 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.FileUpload FileUp; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// btnInput 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Button btnInput; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Grid1 控件。
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// 自动生成的字段。
|
||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
|
/// </remarks>
|
||||
|
protected global::FineUI.Grid Grid1; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue