销售出货单
parent
96911ead9a
commit
e00d2648d7
Binary file not shown.
|
|
@ -39,9 +39,10 @@ namespace MES
|
|||
|
||||
public virtual DbSet<saleInfo> saleInfo { get; set; }
|
||||
|
||||
|
||||
public virtual DbSet<saledetailInfo> saledetailInfo { get; set; }
|
||||
|
||||
public virtual DbSet<deliversaleInfo> deliversaleInfo { get; set; }
|
||||
|
||||
public virtual DbSet<deliversaledetailInfo> deliversaledetailInfo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
using WinformGeneralDeveloperFrame.Commons;
|
||||
|
||||
namespace MES.Entity
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("deliversale")]
|
||||
public partial class deliversaleInfo
|
||||
{
|
||||
///id
|
||||
[ModelBindControl("txtid")]
|
||||
public int id{set;get;}
|
||||
///客户
|
||||
[ModelBindControl("txtcustomerid")]
|
||||
public int customerid{set;get;}
|
||||
///客户编号
|
||||
[ModelBindControl("txtcustomercode")]
|
||||
public string customercode{set;get;}
|
||||
///出货日期
|
||||
[ModelBindControl("txtdeliverdate")]
|
||||
public DateTime? deliverdate{set;get;}=DateTime.Now;
|
||||
///客户类型
|
||||
[ModelBindControl("txtcustomertype")]
|
||||
public int customertype{set;get;}
|
||||
///联系人
|
||||
[ModelBindControl("txtcontactuser")]
|
||||
public int contactuser{set;get;}
|
||||
///送货地址
|
||||
[ModelBindControl("txtdeliveraddress")]
|
||||
public string deliveraddress{set;get;}
|
||||
///制单人
|
||||
[ModelBindControl("txtcreatorId")]
|
||||
public int creatorId{set;get;}
|
||||
///出货单号
|
||||
[ModelBindControl("txtdeliversalecode")]
|
||||
public string deliversalecode{set;get;}
|
||||
///备注
|
||||
[ModelBindControl("txtremark")]
|
||||
public string remark{set;get;}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
using WinformGeneralDeveloperFrame.Commons;
|
||||
|
||||
namespace MES.Entity
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("deliversaledetail")]
|
||||
public partial class deliversaledetailInfo
|
||||
{
|
||||
///id
|
||||
[ModelBindControl("txtid")]
|
||||
public int id{set;get;}
|
||||
///出货单
|
||||
[ModelBindControl("txtdeliversaleid")]
|
||||
public int deliversaleid{set;get;}
|
||||
///销售单号
|
||||
[ModelBindControl("txtsalecode")]
|
||||
public string salecode{set;get;}
|
||||
///产品名称
|
||||
[ModelBindControl("txtproductname")]
|
||||
public string productname{set;get;}
|
||||
///产品编号
|
||||
[ModelBindControl("txtproductcode")]
|
||||
public string productcode{set;get;}
|
||||
///规格型号
|
||||
[ModelBindControl("txtproductspec")]
|
||||
public string productspec{set;get;}
|
||||
///仓库
|
||||
[ModelBindControl("txtwarehouse")]
|
||||
public int warehouse{set;get;}
|
||||
///出货数量
|
||||
[ModelBindControl("txtnumber")]
|
||||
public decimal number{set;get;}
|
||||
///计量单位
|
||||
[ModelBindControl("txtunit")]
|
||||
public int unit{set;get;}
|
||||
///出库单号
|
||||
[ModelBindControl("txtdeliversalecode")]
|
||||
public string deliversalecode{set;get;}
|
||||
///备注
|
||||
[ModelBindControl("txtremark")]
|
||||
public string remark{set;get;}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,363 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using WinformGeneralDeveloperFrame;
|
||||
using WinformGeneralDeveloperFrame.Commons;
|
||||
using DevExpress.XtraLayout;
|
||||
using MES.Entity;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Data.Entity;
|
||||
using DevExpress.XtraEditors;
|
||||
using DevExpress.XtraEditors.Repository;
|
||||
using DevExpress.XtraGrid.Columns;
|
||||
|
||||
namespace MES.Form
|
||||
{
|
||||
public partial class Frmdeliversale : FrmBaseForm
|
||||
{
|
||||
private Dictionary<string, string> fieldDictionary = new Dictionary<string, string>();
|
||||
public Frmdeliversale()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void Frmdeliversale_Load(object sender, EventArgs e)
|
||||
{
|
||||
InitFrom(xtraTabControl1,grdList,grdListView,new LayoutControlGroup[]{layoutControlGroup1},new deliversaleInfo(),gridControl1,new string[]{ "txtdeliversalecode" });
|
||||
InitSearchDicData();
|
||||
repositoryItemGridLookUpEditsalecode.EditValueChanged += RepositoryItemGridLookUpEditsalecode_EditValueChanged;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数据源初始化
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private void Init()
|
||||
{
|
||||
txtcustomerid.Properties.DataSource = GetDataTableUtils.SqlTable("客户");
|
||||
repositoryItemtxtcustomerid.DataSource= GetDataTableUtils.SqlTable("客户");
|
||||
txtcustomertype.Properties.DataSource = GetDataTableUtils.SqlTable("客户类别");
|
||||
repositoryItemtxtcustomertype.DataSource= GetDataTableUtils.SqlTable("客户类别");
|
||||
txtcontactuser.Properties.DataSource = GetDataTableUtils.SqlTable("用户");
|
||||
repositoryItemtxtcontactuser.DataSource= GetDataTableUtils.SqlTable("用户");
|
||||
txtcreatorId.Properties.DataSource = GetDataTableUtils.SqlTable("用户");
|
||||
repositoryItemtxtcreatorId.DataSource= GetDataTableUtils.SqlTable("用户");
|
||||
|
||||
repositoryItemLookUpEditunit.DataSource=GetDataTableUtils.SqlTable("计量单位");
|
||||
repositoryItemLookUpEditwarehouse.DataSource = GetDataTableUtils.SqlTable("仓库");
|
||||
}
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private void InitSearchDicData()
|
||||
{
|
||||
fieldDictionary.Add("客户编号","customercode");
|
||||
fieldDictionary.Add("出货日期","deliverdate");
|
||||
fieldDictionary.Add("出货单号","deliversalecode");
|
||||
}
|
||||
|
||||
public override void InitgrdListDataSource()
|
||||
{
|
||||
using (var con=new MESDB())
|
||||
{
|
||||
grdList.DataSource=con.deliversaleInfo.ToList();
|
||||
}
|
||||
Init();
|
||||
}
|
||||
/// <summary>
|
||||
/// 字段为空校验
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool CheckInput()
|
||||
{
|
||||
if(string.IsNullOrEmpty(txtcustomerid.EditValue.ToString()))
|
||||
{
|
||||
"客户不能为空".ShowWarning();
|
||||
txtcustomerid.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtcustomercode.EditValue.ToString()))
|
||||
{
|
||||
"客户编号不能为空".ShowWarning();
|
||||
txtcustomercode.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtdeliverdate.EditValue.ToString()))
|
||||
{
|
||||
"出货日期不能为空".ShowWarning();
|
||||
txtdeliverdate.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtcustomertype.EditValue.ToString()))
|
||||
{
|
||||
"客户类型不能为空".ShowWarning();
|
||||
txtcustomertype.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtcontactuser.EditValue.ToString()))
|
||||
{
|
||||
"联系人不能为空".ShowWarning();
|
||||
txtcontactuser.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtdeliveraddress.EditValue.ToString()))
|
||||
{
|
||||
"送货地址不能为空".ShowWarning();
|
||||
txtdeliveraddress.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtcreatorId.EditValue.ToString()))
|
||||
{
|
||||
"制单人不能为空".ShowWarning();
|
||||
txtcreatorId.Focus();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 保存
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool SaveFunction()
|
||||
{
|
||||
string code = "SD" + DateTime.Now.Year + DateTime.Now.Month + DateTime.Now.Day + DateTime.Now.Hour +
|
||||
DateTime.Now.Minute + DateTime.Now.Second + DateTime.Now.Millisecond.ToString("D3");
|
||||
DataTable dt = gridControl1.DataSource as DataTable;
|
||||
try
|
||||
{
|
||||
deliversaleInfo info= (deliversaleInfo)this.ControlDataToModel(new deliversaleInfo());
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
using (var tran =db.Database.BeginTransaction())
|
||||
{
|
||||
try
|
||||
{
|
||||
Dictionary<string, List<deliversaledetailInfo>> dic =
|
||||
dt.GetDataTableData<deliversaledetailInfo>();
|
||||
if (info.id == 0)//新增
|
||||
{
|
||||
info.deliversalecode = code;
|
||||
db.deliversaleInfo.Add(info);
|
||||
db.SaveChanges();
|
||||
txtid.Text = info.id.ToString();
|
||||
txtdeliversalecode.Text = code;
|
||||
if (dt != null)
|
||||
{
|
||||
List<deliversaledetailInfo> detaiListAdd =
|
||||
dic["Add"];
|
||||
detaiListAdd.ForEach(a =>
|
||||
{
|
||||
a.deliversalecode = info.deliversalecode;
|
||||
a.deliversaleid = info.id;
|
||||
});
|
||||
db.deliversaledetailInfo.AddRange(detaiListAdd);
|
||||
db.SaveChanges();
|
||||
}
|
||||
}
|
||||
else //更新
|
||||
{
|
||||
db.Entry(info).State = EntityState.Modified;
|
||||
db.SaveChanges();
|
||||
if (dt != null)
|
||||
{
|
||||
List<deliversaledetailInfo> detaiListAdd =
|
||||
dic["Add"];
|
||||
detaiListAdd.ForEach(a =>
|
||||
{
|
||||
a.deliversalecode = info.deliversalecode;
|
||||
a.deliversaleid = info.id;
|
||||
});
|
||||
db.deliversaledetailInfo.AddRange(detaiListAdd);
|
||||
|
||||
List<deliversaledetailInfo> detaiListEdit =
|
||||
dic["Edit"];
|
||||
detaiListEdit.ForEach((a) =>
|
||||
{
|
||||
a.deliversalecode = info.deliversalecode;
|
||||
db.Entry(a).State = EntityState.Modified;
|
||||
});
|
||||
|
||||
List<deliversaledetailInfo> detaiListDel =
|
||||
dic["Del"];
|
||||
detaiListDel.ForEach((a) =>
|
||||
{
|
||||
db.Entry(a).State = EntityState.Deleted;
|
||||
});
|
||||
db.SaveChanges();
|
||||
}
|
||||
}
|
||||
tran.Commit();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
tran.Rollback();
|
||||
ex.Message.ShowError();
|
||||
return false;
|
||||
}
|
||||
finally
|
||||
{
|
||||
tran.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.Message.ShowError();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool DelFunction()
|
||||
{
|
||||
try
|
||||
{
|
||||
deliversaleInfo info = (deliversaleInfo)this.ControlDataToModel(new deliversaleInfo());
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
db.Entry(info).State=EntityState.Deleted;
|
||||
db.Database.ExecuteSqlCommand($"delete from deliversaledetail where deliversaleid={info.id}");
|
||||
db.SaveChanges();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.Message.ShowError();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 搜索
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override void SearchFunction()
|
||||
{
|
||||
FrmSearch frm = new FrmSearch(fieldDictionary);
|
||||
if (frm.ShowDialog()==DialogResult.OK)
|
||||
{
|
||||
string sql = frm.sql;
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
{
|
||||
grdList.DataSource = db.deliversaleInfo.SqlQuery("select * from deliversale").ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
grdList.DataSource = db.deliversaleInfo.SqlQuery($"select * from deliversale where {sql}").ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void EditFunction()
|
||||
{
|
||||
txtcustomerid.ReadOnly = true;
|
||||
}
|
||||
|
||||
public override void AddFunction()
|
||||
{
|
||||
gridControl1.DataSource = new List<deliversaledetailInfo>().ToDataTable();
|
||||
}
|
||||
|
||||
public override void gridControlMouseDoubleClickFunction(object sender, EventArgs e)
|
||||
{
|
||||
Initresgridcontrollookupedit();
|
||||
deliversaleInfo info = grdListView.GetFocusedRow() as deliversaleInfo;
|
||||
if (info != null)
|
||||
{
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
gridControl1.DataSource = db.deliversaledetailInfo.Where(p => p.deliversaleid == info.id).ToList().ToDataTable();
|
||||
gridView1.BestFitColumns();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void RepositoryItemGridLookUpEditsalecode_EditValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
GridLookUpEdit look = sender as GridLookUpEdit;
|
||||
saledetailInfo detailInfo = look.Properties.View.GetFocusedDataRow().RowToModel<saledetailInfo>();
|
||||
gridView1.GetFocusedDataRow()["productname"] =db.productInfo.Where(p=>p.id== detailInfo.productid).ToList().First().productname ;
|
||||
gridView1.GetFocusedDataRow()["productcode"] = detailInfo.productcode;
|
||||
gridView1.GetFocusedDataRow()["productspec"] = detailInfo.productspec;
|
||||
gridView1.GetFocusedDataRow()["unit"] = detailInfo.unit;
|
||||
gridView1.GetFocusedDataRow()["warehouse"] = detailInfo.warehouse;
|
||||
gridView1.GetFocusedDataRow()["number"] = detailInfo.salenumber;
|
||||
}
|
||||
}
|
||||
private void Initresgridcontrollookupedit()
|
||||
{
|
||||
GridColumn col1 = new GridColumn() { Caption = "销售单号", FieldName = "salecode", Visible = true };
|
||||
|
||||
GridColumn col7 = new GridColumn() { Caption = "产品名称", FieldName = "productid", Visible = true };
|
||||
RepositoryItemLookUpEdit resItemLookUpEdit = new RepositoryItemLookUpEdit();
|
||||
resItemLookUpEdit.DataSource = GetDataTableUtils.SqlTable("产品");
|
||||
resItemLookUpEdit.DisplayMember = "Name";
|
||||
resItemLookUpEdit.ValueMember = "ID";
|
||||
col7.ColumnEdit = resItemLookUpEdit;
|
||||
GridColumn col2 = new GridColumn() { Caption = "规格型号", FieldName = "productspec", Visible = true };
|
||||
GridColumn col3 = new GridColumn() { Caption = "数量", FieldName = "salenumber", Visible = true };
|
||||
GridColumn col31 = new GridColumn() { Caption = "计量单位", FieldName = "unit", Visible = true };
|
||||
RepositoryItemLookUpEdit resItemLookUpEditunit = new RepositoryItemLookUpEdit();
|
||||
resItemLookUpEditunit.DataSource = GetDataTableUtils.SqlTable("计量单位");
|
||||
resItemLookUpEditunit.DisplayMember = "Name";
|
||||
resItemLookUpEditunit.ValueMember = "ID";
|
||||
col31.ColumnEdit = resItemLookUpEditunit;
|
||||
|
||||
GridColumn col5 = new GridColumn() { Caption = "单价", FieldName = "unitprice", Visible = true };
|
||||
GridColumn col6 = new GridColumn() { Caption = "金额", FieldName = "money", Visible = true };
|
||||
repositoryItemGridLookUpEdit1View.Columns.AddRange(new GridColumn[] {col1, col7, col2, col3,col31, col5, col6 });
|
||||
}
|
||||
private void gridView1_ValidateRow(object sender, DevExpress.XtraGrid.Views.Base.ValidateRowEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripMenuItemAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
gridView1.AddNewRow();
|
||||
}
|
||||
private void toolStripMenuItemDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
gridView1.DeleteRow(gridView1.FocusedRowHandle);
|
||||
}
|
||||
|
||||
private void txtcustomerid_EditValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
Initresgridcontrollookupedit();
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
|
||||
if (txtcustomerid.EditValue != null)
|
||||
{
|
||||
int id = txtcustomerid.EditValue.ToString().ToInt16();
|
||||
repositoryItemGridLookUpEditsalecode.DataSource =
|
||||
db.Database.SqlQuery<saledetailInfo>($"SELECT st.* FROM sale s left join saledetail st on s.id = st.saleid where s.customerid = {id}").ToDataTable();
|
||||
customerInfo customer = db.customerInfo.Where(p => p.id == id)
|
||||
.First();
|
||||
if (customer != null)
|
||||
{
|
||||
txtcustomercode.Text = customer.customercode;
|
||||
txtcustomertype.EditValue = customer.customertype;
|
||||
txtcontactuser.EditValue = customer.contactuser;
|
||||
txtdeliveraddress.Text = customer.address;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,949 @@
|
|||
|
||||
using DevExpress.XtraEditors;
|
||||
using DevExpress.XtraLayout;
|
||||
using DevExpress.XtraTab;
|
||||
|
||||
namespace MES.Form
|
||||
{
|
||||
partial class Frmdeliversale
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemtxtcustomerid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemtxtcustomertype = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemtxtcontactuser = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemtxtcreatorId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
|
||||
this.tabDataList = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.grdList = new DevExpress.XtraGrid.GridControl();
|
||||
this.grdListView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.tabDataDetail = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
|
||||
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.toolStripMenuItemAdd = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItemDel = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemGridLookUpEditsalecode = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
|
||||
this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemLookUpEditunit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemLookUpEditwarehouse = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.repositoryItemTextEditsalecode = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
||||
this.txtid = new DevExpress.XtraEditors.TextEdit();
|
||||
this.txtcustomerid = new DevExpress.XtraEditors.LookUpEdit();
|
||||
this.txtcustomercode = new DevExpress.XtraEditors.TextEdit();
|
||||
this.txtdeliverdate = new DevExpress.XtraEditors.DateEdit();
|
||||
this.txtcustomertype = new DevExpress.XtraEditors.LookUpEdit();
|
||||
this.txtcontactuser = new DevExpress.XtraEditors.LookUpEdit();
|
||||
this.txtdeliveraddress = new DevExpress.XtraEditors.TextEdit();
|
||||
this.txtcreatorId = new DevExpress.XtraEditors.LookUpEdit();
|
||||
this.txtdeliversalecode = new DevExpress.XtraEditors.TextEdit();
|
||||
this.txtremark = new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomerid)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomertype)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcontactuser)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcreatorId)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
|
||||
this.xtraTabControl1.SuspendLayout();
|
||||
this.tabDataList.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdListView)).BeginInit();
|
||||
this.tabDataDetail.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
|
||||
this.panelControl2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||
this.layoutControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditsalecode)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditunit)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditwarehouse)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditsalecode)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomerid.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomercode.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomertype.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcontactuser.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliveraddress.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversalecode.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// gridColumn1
|
||||
//
|
||||
this.gridColumn1.Caption = "id";
|
||||
this.gridColumn1.FieldName = "id";
|
||||
this.gridColumn1.Name = "gridColumn1";
|
||||
//
|
||||
// gridColumn2
|
||||
//
|
||||
this.gridColumn2.Caption = "客户";
|
||||
this.gridColumn2.ColumnEdit = this.repositoryItemtxtcustomerid;
|
||||
this.gridColumn2.FieldName = "customerid";
|
||||
this.gridColumn2.Name = "gridColumn2";
|
||||
this.gridColumn2.Visible = true;
|
||||
this.gridColumn2.VisibleIndex = 0;
|
||||
this.gridColumn2.Width = 201;
|
||||
//
|
||||
// repositoryItemtxtcustomerid
|
||||
//
|
||||
this.repositoryItemtxtcustomerid.AutoHeight = false;
|
||||
this.repositoryItemtxtcustomerid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemtxtcustomerid.DisplayMember = "Name";
|
||||
this.repositoryItemtxtcustomerid.Name = "repositoryItemtxtcustomerid";
|
||||
this.repositoryItemtxtcustomerid.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn3
|
||||
//
|
||||
this.gridColumn3.Caption = "客户编号";
|
||||
this.gridColumn3.FieldName = "customercode";
|
||||
this.gridColumn3.Name = "gridColumn3";
|
||||
this.gridColumn3.Visible = true;
|
||||
this.gridColumn3.VisibleIndex = 1;
|
||||
this.gridColumn3.Width = 201;
|
||||
//
|
||||
// gridColumn4
|
||||
//
|
||||
this.gridColumn4.Caption = "出货日期";
|
||||
this.gridColumn4.DisplayFormat.FormatString = "G";
|
||||
this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.gridColumn4.FieldName = "deliverdate";
|
||||
this.gridColumn4.Name = "gridColumn4";
|
||||
this.gridColumn4.Visible = true;
|
||||
this.gridColumn4.VisibleIndex = 2;
|
||||
this.gridColumn4.Width = 201;
|
||||
//
|
||||
// gridColumn5
|
||||
//
|
||||
this.gridColumn5.Caption = "客户类型";
|
||||
this.gridColumn5.ColumnEdit = this.repositoryItemtxtcustomertype;
|
||||
this.gridColumn5.FieldName = "customertype";
|
||||
this.gridColumn5.Name = "gridColumn5";
|
||||
this.gridColumn5.Visible = true;
|
||||
this.gridColumn5.VisibleIndex = 3;
|
||||
this.gridColumn5.Width = 201;
|
||||
//
|
||||
// repositoryItemtxtcustomertype
|
||||
//
|
||||
this.repositoryItemtxtcustomertype.AutoHeight = false;
|
||||
this.repositoryItemtxtcustomertype.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemtxtcustomertype.DisplayMember = "Name";
|
||||
this.repositoryItemtxtcustomertype.Name = "repositoryItemtxtcustomertype";
|
||||
this.repositoryItemtxtcustomertype.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn6
|
||||
//
|
||||
this.gridColumn6.Caption = "联系人";
|
||||
this.gridColumn6.ColumnEdit = this.repositoryItemtxtcontactuser;
|
||||
this.gridColumn6.FieldName = "contactuser";
|
||||
this.gridColumn6.Name = "gridColumn6";
|
||||
this.gridColumn6.Visible = true;
|
||||
this.gridColumn6.VisibleIndex = 4;
|
||||
this.gridColumn6.Width = 201;
|
||||
//
|
||||
// repositoryItemtxtcontactuser
|
||||
//
|
||||
this.repositoryItemtxtcontactuser.AutoHeight = false;
|
||||
this.repositoryItemtxtcontactuser.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemtxtcontactuser.DisplayMember = "Name";
|
||||
this.repositoryItemtxtcontactuser.Name = "repositoryItemtxtcontactuser";
|
||||
this.repositoryItemtxtcontactuser.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn7
|
||||
//
|
||||
this.gridColumn7.Caption = "送货地址";
|
||||
this.gridColumn7.FieldName = "deliveraddress";
|
||||
this.gridColumn7.Name = "gridColumn7";
|
||||
this.gridColumn7.Visible = true;
|
||||
this.gridColumn7.VisibleIndex = 5;
|
||||
this.gridColumn7.Width = 201;
|
||||
//
|
||||
// gridColumn8
|
||||
//
|
||||
this.gridColumn8.Caption = "制单人";
|
||||
this.gridColumn8.ColumnEdit = this.repositoryItemtxtcreatorId;
|
||||
this.gridColumn8.FieldName = "creatorId";
|
||||
this.gridColumn8.Name = "gridColumn8";
|
||||
this.gridColumn8.Visible = true;
|
||||
this.gridColumn8.VisibleIndex = 6;
|
||||
this.gridColumn8.Width = 201;
|
||||
//
|
||||
// repositoryItemtxtcreatorId
|
||||
//
|
||||
this.repositoryItemtxtcreatorId.AutoHeight = false;
|
||||
this.repositoryItemtxtcreatorId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemtxtcreatorId.DisplayMember = "Name";
|
||||
this.repositoryItemtxtcreatorId.Name = "repositoryItemtxtcreatorId";
|
||||
this.repositoryItemtxtcreatorId.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn9
|
||||
//
|
||||
this.gridColumn9.Caption = "出货单号";
|
||||
this.gridColumn9.FieldName = "deliversalecode";
|
||||
this.gridColumn9.Name = "gridColumn9";
|
||||
this.gridColumn9.Visible = true;
|
||||
this.gridColumn9.VisibleIndex = 7;
|
||||
this.gridColumn9.Width = 201;
|
||||
//
|
||||
// gridColumn10
|
||||
//
|
||||
this.gridColumn10.Caption = "备注";
|
||||
this.gridColumn10.FieldName = "remark";
|
||||
this.gridColumn10.Name = "gridColumn10";
|
||||
this.gridColumn10.Visible = true;
|
||||
this.gridColumn10.VisibleIndex = 8;
|
||||
this.gridColumn10.Width = 201;
|
||||
//
|
||||
// xtraTabControl1
|
||||
//
|
||||
this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.xtraTabControl1.Location = new System.Drawing.Point(0, 34);
|
||||
this.xtraTabControl1.Name = "xtraTabControl1";
|
||||
this.xtraTabControl1.SelectedTabPage = this.tabDataList;
|
||||
this.xtraTabControl1.Size = new System.Drawing.Size(1300, 766);
|
||||
this.xtraTabControl1.TabIndex = 1;
|
||||
this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
||||
this.tabDataList,
|
||||
this.tabDataDetail});
|
||||
//
|
||||
// tabDataList
|
||||
//
|
||||
this.tabDataList.Controls.Add(this.grdList);
|
||||
this.tabDataList.Name = "tabDataList";
|
||||
this.tabDataList.Size = new System.Drawing.Size(1294, 737);
|
||||
this.tabDataList.Text = "数据列表";
|
||||
//
|
||||
// grdList
|
||||
//
|
||||
this.grdList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grdList.Location = new System.Drawing.Point(0, 0);
|
||||
this.grdList.MainView = this.grdListView;
|
||||
this.grdList.Name = "grdList";
|
||||
this.grdList.Size = new System.Drawing.Size(1294, 737);
|
||||
this.grdList.TabIndex = 0;
|
||||
this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.grdListView});
|
||||
//
|
||||
// grdListView
|
||||
//
|
||||
this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn1,
|
||||
this.gridColumn2,
|
||||
this.gridColumn3,
|
||||
this.gridColumn4,
|
||||
this.gridColumn5,
|
||||
this.gridColumn6,
|
||||
this.gridColumn7,
|
||||
this.gridColumn8,
|
||||
this.gridColumn9,
|
||||
this.gridColumn10});
|
||||
this.grdListView.GridControl = this.grdList;
|
||||
this.grdListView.Name = "grdListView";
|
||||
this.grdListView.OptionsBehavior.Editable = false;
|
||||
this.grdListView.OptionsView.ColumnAutoWidth = false;
|
||||
//
|
||||
// tabDataDetail
|
||||
//
|
||||
this.tabDataDetail.Controls.Add(this.panelControl2);
|
||||
this.tabDataDetail.Name = "tabDataDetail";
|
||||
this.tabDataDetail.Size = new System.Drawing.Size(1294, 737);
|
||||
this.tabDataDetail.Text = "数据编辑";
|
||||
//
|
||||
// panelControl2
|
||||
//
|
||||
this.panelControl2.Controls.Add(this.layoutControl1);
|
||||
this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelControl2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelControl2.Name = "panelControl2";
|
||||
this.panelControl2.Size = new System.Drawing.Size(1294, 737);
|
||||
this.panelControl2.TabIndex = 0;
|
||||
//
|
||||
// layoutControl1
|
||||
//
|
||||
this.layoutControl1.Controls.Add(this.gridControl1);
|
||||
this.layoutControl1.Controls.Add(this.txtid);
|
||||
this.layoutControl1.Controls.Add(this.txtcustomerid);
|
||||
this.layoutControl1.Controls.Add(this.txtcustomercode);
|
||||
this.layoutControl1.Controls.Add(this.txtdeliverdate);
|
||||
this.layoutControl1.Controls.Add(this.txtcustomertype);
|
||||
this.layoutControl1.Controls.Add(this.txtcontactuser);
|
||||
this.layoutControl1.Controls.Add(this.txtdeliveraddress);
|
||||
this.layoutControl1.Controls.Add(this.txtcreatorId);
|
||||
this.layoutControl1.Controls.Add(this.txtdeliversalecode);
|
||||
this.layoutControl1.Controls.Add(this.txtremark);
|
||||
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl1.Location = new System.Drawing.Point(2, 2);
|
||||
this.layoutControl1.Name = "layoutControl1";
|
||||
this.layoutControl1.Root = this.layoutControlGroup1;
|
||||
this.layoutControl1.Size = new System.Drawing.Size(1290, 733);
|
||||
this.layoutControl1.TabIndex = 6;
|
||||
this.layoutControl1.Text = "layoutControl1";
|
||||
//
|
||||
// gridControl1
|
||||
//
|
||||
this.gridControl1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.gridControl1.Location = new System.Drawing.Point(12, 156);
|
||||
this.gridControl1.MainView = this.gridView1;
|
||||
this.gridControl1.Name = "gridControl1";
|
||||
this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
||||
this.repositoryItemLookUpEditwarehouse,
|
||||
this.repositoryItemLookUpEditunit,
|
||||
this.repositoryItemTextEditsalecode,
|
||||
this.repositoryItemGridLookUpEditsalecode});
|
||||
this.gridControl1.Size = new System.Drawing.Size(1266, 565);
|
||||
this.gridControl1.TabIndex = 11;
|
||||
this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.gridView1});
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripMenuItemAdd,
|
||||
this.toolStripMenuItemDel});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(113, 48);
|
||||
//
|
||||
// toolStripMenuItemAdd
|
||||
//
|
||||
this.toolStripMenuItemAdd.Name = "toolStripMenuItemAdd";
|
||||
this.toolStripMenuItemAdd.Size = new System.Drawing.Size(112, 22);
|
||||
this.toolStripMenuItemAdd.Text = "新增行";
|
||||
this.toolStripMenuItemAdd.Click += new System.EventHandler(this.toolStripMenuItemAdd_Click);
|
||||
//
|
||||
// toolStripMenuItemDel
|
||||
//
|
||||
this.toolStripMenuItemDel.Name = "toolStripMenuItemDel";
|
||||
this.toolStripMenuItemDel.Size = new System.Drawing.Size(112, 22);
|
||||
this.toolStripMenuItemDel.Text = "删除行";
|
||||
this.toolStripMenuItemDel.Click += new System.EventHandler(this.toolStripMenuItemDel_Click);
|
||||
//
|
||||
// gridView1
|
||||
//
|
||||
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn11,
|
||||
this.gridColumn12,
|
||||
this.gridColumn13,
|
||||
this.gridColumn14,
|
||||
this.gridColumn15,
|
||||
this.gridColumn16,
|
||||
this.gridColumn17,
|
||||
this.gridColumn18,
|
||||
this.gridColumn19,
|
||||
this.gridColumn20,
|
||||
this.gridColumn21});
|
||||
this.gridView1.GridControl = this.gridControl1;
|
||||
this.gridView1.Name = "gridView1";
|
||||
this.gridView1.OptionsBehavior.Editable = false;
|
||||
this.gridView1.OptionsView.ColumnAutoWidth = false;
|
||||
this.gridView1.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.gridView1_ValidateRow);
|
||||
//
|
||||
// gridColumn11
|
||||
//
|
||||
this.gridColumn11.Caption = "id";
|
||||
this.gridColumn11.FieldName = "id";
|
||||
this.gridColumn11.Name = "gridColumn11";
|
||||
//
|
||||
// gridColumn12
|
||||
//
|
||||
this.gridColumn12.Caption = "出货单";
|
||||
this.gridColumn12.FieldName = "deliversaleid";
|
||||
this.gridColumn12.Name = "gridColumn12";
|
||||
//
|
||||
// gridColumn13
|
||||
//
|
||||
this.gridColumn13.Caption = "销售单号";
|
||||
this.gridColumn13.ColumnEdit = this.repositoryItemGridLookUpEditsalecode;
|
||||
this.gridColumn13.FieldName = "salecode";
|
||||
this.gridColumn13.Name = "gridColumn13";
|
||||
this.gridColumn13.Visible = true;
|
||||
this.gridColumn13.VisibleIndex = 0;
|
||||
this.gridColumn13.Width = 201;
|
||||
//
|
||||
// repositoryItemGridLookUpEditsalecode
|
||||
//
|
||||
this.repositoryItemGridLookUpEditsalecode.AutoHeight = false;
|
||||
this.repositoryItemGridLookUpEditsalecode.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemGridLookUpEditsalecode.DisplayMember = "salecode";
|
||||
this.repositoryItemGridLookUpEditsalecode.Name = "repositoryItemGridLookUpEditsalecode";
|
||||
this.repositoryItemGridLookUpEditsalecode.NullText = "";
|
||||
this.repositoryItemGridLookUpEditsalecode.PopupView = this.repositoryItemGridLookUpEdit1View;
|
||||
this.repositoryItemGridLookUpEditsalecode.ValueMember = "salecode";
|
||||
//
|
||||
// repositoryItemGridLookUpEdit1View
|
||||
//
|
||||
this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
||||
this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View";
|
||||
this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
|
||||
this.repositoryItemGridLookUpEdit1View.OptionsView.ColumnAutoWidth = false;
|
||||
this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
|
||||
//
|
||||
// gridColumn14
|
||||
//
|
||||
this.gridColumn14.Caption = "产品名称";
|
||||
this.gridColumn14.FieldName = "productname";
|
||||
this.gridColumn14.Name = "gridColumn14";
|
||||
this.gridColumn14.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn14.Visible = true;
|
||||
this.gridColumn14.VisibleIndex = 1;
|
||||
this.gridColumn14.Width = 201;
|
||||
//
|
||||
// repositoryItemLookUpEditunit
|
||||
//
|
||||
this.repositoryItemLookUpEditunit.AutoHeight = false;
|
||||
this.repositoryItemLookUpEditunit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemLookUpEditunit.DisplayMember = "Name";
|
||||
this.repositoryItemLookUpEditunit.Name = "repositoryItemLookUpEditunit";
|
||||
this.repositoryItemLookUpEditunit.NullText = "";
|
||||
this.repositoryItemLookUpEditunit.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn15
|
||||
//
|
||||
this.gridColumn15.Caption = "产品编号";
|
||||
this.gridColumn15.FieldName = "productcode";
|
||||
this.gridColumn15.Name = "gridColumn15";
|
||||
this.gridColumn15.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn15.Visible = true;
|
||||
this.gridColumn15.VisibleIndex = 2;
|
||||
this.gridColumn15.Width = 201;
|
||||
//
|
||||
// gridColumn16
|
||||
//
|
||||
this.gridColumn16.Caption = "规格型号";
|
||||
this.gridColumn16.FieldName = "productspec";
|
||||
this.gridColumn16.Name = "gridColumn16";
|
||||
this.gridColumn16.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn16.Visible = true;
|
||||
this.gridColumn16.VisibleIndex = 3;
|
||||
this.gridColumn16.Width = 201;
|
||||
//
|
||||
// gridColumn17
|
||||
//
|
||||
this.gridColumn17.Caption = "仓库";
|
||||
this.gridColumn17.ColumnEdit = this.repositoryItemLookUpEditwarehouse;
|
||||
this.gridColumn17.FieldName = "warehouse";
|
||||
this.gridColumn17.Name = "gridColumn17";
|
||||
this.gridColumn17.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn17.Visible = true;
|
||||
this.gridColumn17.VisibleIndex = 4;
|
||||
this.gridColumn17.Width = 201;
|
||||
//
|
||||
// repositoryItemLookUpEditwarehouse
|
||||
//
|
||||
this.repositoryItemLookUpEditwarehouse.AutoHeight = false;
|
||||
this.repositoryItemLookUpEditwarehouse.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemLookUpEditwarehouse.DisplayMember = "Name";
|
||||
this.repositoryItemLookUpEditwarehouse.Name = "repositoryItemLookUpEditwarehouse";
|
||||
this.repositoryItemLookUpEditwarehouse.NullText = "";
|
||||
this.repositoryItemLookUpEditwarehouse.ValueMember = "ID";
|
||||
//
|
||||
// gridColumn18
|
||||
//
|
||||
this.gridColumn18.Caption = "出货数量";
|
||||
this.gridColumn18.FieldName = "number";
|
||||
this.gridColumn18.Name = "gridColumn18";
|
||||
this.gridColumn18.Visible = true;
|
||||
this.gridColumn18.VisibleIndex = 5;
|
||||
this.gridColumn18.Width = 201;
|
||||
//
|
||||
// gridColumn19
|
||||
//
|
||||
this.gridColumn19.Caption = "计量单位";
|
||||
this.gridColumn19.ColumnEdit = this.repositoryItemLookUpEditunit;
|
||||
this.gridColumn19.FieldName = "unit";
|
||||
this.gridColumn19.Name = "gridColumn19";
|
||||
this.gridColumn19.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn19.Visible = true;
|
||||
this.gridColumn19.VisibleIndex = 6;
|
||||
this.gridColumn19.Width = 201;
|
||||
//
|
||||
// gridColumn20
|
||||
//
|
||||
this.gridColumn20.Caption = "出库单号";
|
||||
this.gridColumn20.FieldName = "deliversalecode";
|
||||
this.gridColumn20.Name = "gridColumn20";
|
||||
this.gridColumn20.Visible = true;
|
||||
this.gridColumn20.VisibleIndex = 7;
|
||||
this.gridColumn20.Width = 201;
|
||||
//
|
||||
// gridColumn21
|
||||
//
|
||||
this.gridColumn21.Caption = "备注";
|
||||
this.gridColumn21.FieldName = "remark";
|
||||
this.gridColumn21.Name = "gridColumn21";
|
||||
this.gridColumn21.Visible = true;
|
||||
this.gridColumn21.VisibleIndex = 8;
|
||||
this.gridColumn21.Width = 201;
|
||||
//
|
||||
// repositoryItemTextEditsalecode
|
||||
//
|
||||
this.repositoryItemTextEditsalecode.AutoHeight = false;
|
||||
this.repositoryItemTextEditsalecode.Name = "repositoryItemTextEditsalecode";
|
||||
//
|
||||
// txtid
|
||||
//
|
||||
this.txtid.Location = new System.Drawing.Point(63, 12);
|
||||
this.txtid.Name = "txtid";
|
||||
this.txtid.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtid.StyleController = this.layoutControl1;
|
||||
this.txtid.TabIndex = 1;
|
||||
//
|
||||
// txtcustomerid
|
||||
//
|
||||
this.txtcustomerid.EditValue = "";
|
||||
this.txtcustomerid.Location = new System.Drawing.Point(63, 36);
|
||||
this.txtcustomerid.Name = "txtcustomerid";
|
||||
this.txtcustomerid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtcustomerid.Properties.DisplayMember = "Name";
|
||||
this.txtcustomerid.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
||||
this.txtcustomerid.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
||||
this.txtcustomerid.Properties.ValueMember = "ID";
|
||||
this.txtcustomerid.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtcustomerid.StyleController = this.layoutControl1;
|
||||
this.txtcustomerid.TabIndex = 2;
|
||||
this.txtcustomerid.EditValueChanged += new System.EventHandler(this.txtcustomerid_EditValueChanged);
|
||||
//
|
||||
// txtcustomercode
|
||||
//
|
||||
this.txtcustomercode.Location = new System.Drawing.Point(698, 36);
|
||||
this.txtcustomercode.Name = "txtcustomercode";
|
||||
this.txtcustomercode.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtcustomercode.StyleController = this.layoutControl1;
|
||||
this.txtcustomercode.TabIndex = 3;
|
||||
//
|
||||
// txtdeliverdate
|
||||
//
|
||||
this.txtdeliverdate.EditValue = null;
|
||||
this.txtdeliverdate.ImeMode = System.Windows.Forms.ImeMode.Off;
|
||||
this.txtdeliverdate.Location = new System.Drawing.Point(698, 60);
|
||||
this.txtdeliverdate.Name = "txtdeliverdate";
|
||||
this.txtdeliverdate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtdeliverdate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton()});
|
||||
this.txtdeliverdate.Properties.DisplayFormat.FormatString = "G";
|
||||
this.txtdeliverdate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
||||
this.txtdeliverdate.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtdeliverdate.StyleController = this.layoutControl1;
|
||||
this.txtdeliverdate.TabIndex = 4;
|
||||
//
|
||||
// txtcustomertype
|
||||
//
|
||||
this.txtcustomertype.EditValue = "";
|
||||
this.txtcustomertype.Location = new System.Drawing.Point(63, 60);
|
||||
this.txtcustomertype.Name = "txtcustomertype";
|
||||
this.txtcustomertype.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtcustomertype.Properties.DisplayMember = "Name";
|
||||
this.txtcustomertype.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
||||
this.txtcustomertype.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
||||
this.txtcustomertype.Properties.ValueMember = "ID";
|
||||
this.txtcustomertype.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtcustomertype.StyleController = this.layoutControl1;
|
||||
this.txtcustomertype.TabIndex = 5;
|
||||
//
|
||||
// txtcontactuser
|
||||
//
|
||||
this.txtcontactuser.EditValue = "";
|
||||
this.txtcontactuser.Location = new System.Drawing.Point(63, 84);
|
||||
this.txtcontactuser.Name = "txtcontactuser";
|
||||
this.txtcontactuser.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtcontactuser.Properties.DisplayMember = "Name";
|
||||
this.txtcontactuser.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
||||
this.txtcontactuser.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
||||
this.txtcontactuser.Properties.ValueMember = "ID";
|
||||
this.txtcontactuser.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtcontactuser.StyleController = this.layoutControl1;
|
||||
this.txtcontactuser.TabIndex = 6;
|
||||
//
|
||||
// txtdeliveraddress
|
||||
//
|
||||
this.txtdeliveraddress.Location = new System.Drawing.Point(698, 84);
|
||||
this.txtdeliveraddress.Name = "txtdeliveraddress";
|
||||
this.txtdeliveraddress.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtdeliveraddress.StyleController = this.layoutControl1;
|
||||
this.txtdeliveraddress.TabIndex = 7;
|
||||
//
|
||||
// txtcreatorId
|
||||
//
|
||||
this.txtcreatorId.EditValue = "";
|
||||
this.txtcreatorId.Location = new System.Drawing.Point(63, 108);
|
||||
this.txtcreatorId.Name = "txtcreatorId";
|
||||
this.txtcreatorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtcreatorId.Properties.DisplayMember = "Name";
|
||||
this.txtcreatorId.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
||||
this.txtcreatorId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
||||
this.txtcreatorId.Properties.ValueMember = "ID";
|
||||
this.txtcreatorId.Size = new System.Drawing.Size(1215, 20);
|
||||
this.txtcreatorId.StyleController = this.layoutControl1;
|
||||
this.txtcreatorId.TabIndex = 8;
|
||||
//
|
||||
// txtdeliversalecode
|
||||
//
|
||||
this.txtdeliversalecode.Location = new System.Drawing.Point(698, 12);
|
||||
this.txtdeliversalecode.Name = "txtdeliversalecode";
|
||||
this.txtdeliversalecode.Size = new System.Drawing.Size(580, 20);
|
||||
this.txtdeliversalecode.StyleController = this.layoutControl1;
|
||||
this.txtdeliversalecode.TabIndex = 9;
|
||||
//
|
||||
// txtremark
|
||||
//
|
||||
this.txtremark.Location = new System.Drawing.Point(63, 132);
|
||||
this.txtremark.Name = "txtremark";
|
||||
this.txtremark.Size = new System.Drawing.Size(1215, 20);
|
||||
this.txtremark.StyleController = this.layoutControl1;
|
||||
this.txtremark.TabIndex = 10;
|
||||
//
|
||||
// layoutControlGroup1
|
||||
//
|
||||
this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
|
||||
this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.layoutControlItem1,
|
||||
this.layoutControlItem2,
|
||||
this.layoutControlItem4,
|
||||
this.layoutControlItem6,
|
||||
this.layoutControlItem8,
|
||||
this.layoutControlItem10,
|
||||
this.layoutControlItem11,
|
||||
this.layoutControlItem3,
|
||||
this.layoutControlItem5,
|
||||
this.layoutControlItem7,
|
||||
this.layoutControlItem9});
|
||||
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
||||
this.layoutControlGroup1.Size = new System.Drawing.Size(1290, 733);
|
||||
this.layoutControlGroup1.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem1
|
||||
//
|
||||
this.layoutControlItem1.Control = this.txtid;
|
||||
this.layoutControlItem1.CustomizationFormText = "id";
|
||||
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlItem1.Name = "layoutControlItem1";
|
||||
this.layoutControlItem1.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem1.Text = "id";
|
||||
this.layoutControlItem1.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.Control = this.txtcustomerid;
|
||||
this.layoutControlItem2.CustomizationFormText = "客户";
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(0, 24);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem2.Text = "客户";
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem4
|
||||
//
|
||||
this.layoutControlItem4.Control = this.txtdeliverdate;
|
||||
this.layoutControlItem4.CustomizationFormText = "出货日期";
|
||||
this.layoutControlItem4.Location = new System.Drawing.Point(635, 48);
|
||||
this.layoutControlItem4.Name = "layoutControlItem4";
|
||||
this.layoutControlItem4.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem4.Text = "出货日期";
|
||||
this.layoutControlItem4.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem6
|
||||
//
|
||||
this.layoutControlItem6.Control = this.txtcontactuser;
|
||||
this.layoutControlItem6.CustomizationFormText = "联系人";
|
||||
this.layoutControlItem6.Location = new System.Drawing.Point(0, 72);
|
||||
this.layoutControlItem6.Name = "layoutControlItem6";
|
||||
this.layoutControlItem6.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem6.Text = "联系人";
|
||||
this.layoutControlItem6.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem8
|
||||
//
|
||||
this.layoutControlItem8.Control = this.txtcreatorId;
|
||||
this.layoutControlItem8.CustomizationFormText = "制单人";
|
||||
this.layoutControlItem8.Location = new System.Drawing.Point(0, 96);
|
||||
this.layoutControlItem8.Name = "layoutControlItem8";
|
||||
this.layoutControlItem8.Size = new System.Drawing.Size(1270, 24);
|
||||
this.layoutControlItem8.Text = "制单人";
|
||||
this.layoutControlItem8.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem10
|
||||
//
|
||||
this.layoutControlItem10.Control = this.txtremark;
|
||||
this.layoutControlItem10.CustomizationFormText = "备注";
|
||||
this.layoutControlItem10.Location = new System.Drawing.Point(0, 120);
|
||||
this.layoutControlItem10.Name = "layoutControlItem10";
|
||||
this.layoutControlItem10.Size = new System.Drawing.Size(1270, 24);
|
||||
this.layoutControlItem10.Text = "备注";
|
||||
this.layoutControlItem10.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem11
|
||||
//
|
||||
this.layoutControlItem11.Control = this.gridControl1;
|
||||
this.layoutControlItem11.Location = new System.Drawing.Point(0, 144);
|
||||
this.layoutControlItem11.Name = "layoutControlItem11";
|
||||
this.layoutControlItem11.Size = new System.Drawing.Size(1270, 569);
|
||||
this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem11.TextVisible = false;
|
||||
//
|
||||
// layoutControlItem3
|
||||
//
|
||||
this.layoutControlItem3.Control = this.txtcustomercode;
|
||||
this.layoutControlItem3.CustomizationFormText = "客户编号";
|
||||
this.layoutControlItem3.Location = new System.Drawing.Point(635, 24);
|
||||
this.layoutControlItem3.Name = "layoutControlItem3";
|
||||
this.layoutControlItem3.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem3.Text = "客户编号";
|
||||
this.layoutControlItem3.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem5
|
||||
//
|
||||
this.layoutControlItem5.Control = this.txtcustomertype;
|
||||
this.layoutControlItem5.CustomizationFormText = "客户类型";
|
||||
this.layoutControlItem5.Location = new System.Drawing.Point(0, 48);
|
||||
this.layoutControlItem5.Name = "layoutControlItem5";
|
||||
this.layoutControlItem5.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem5.Text = "客户类型";
|
||||
this.layoutControlItem5.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem7
|
||||
//
|
||||
this.layoutControlItem7.Control = this.txtdeliveraddress;
|
||||
this.layoutControlItem7.CustomizationFormText = "送货地址";
|
||||
this.layoutControlItem7.Location = new System.Drawing.Point(635, 72);
|
||||
this.layoutControlItem7.Name = "layoutControlItem7";
|
||||
this.layoutControlItem7.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem7.Text = "送货地址";
|
||||
this.layoutControlItem7.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// layoutControlItem9
|
||||
//
|
||||
this.layoutControlItem9.Control = this.txtdeliversalecode;
|
||||
this.layoutControlItem9.CustomizationFormText = "出货单号";
|
||||
this.layoutControlItem9.Location = new System.Drawing.Point(635, 0);
|
||||
this.layoutControlItem9.Name = "layoutControlItem9";
|
||||
this.layoutControlItem9.Size = new System.Drawing.Size(635, 24);
|
||||
this.layoutControlItem9.Text = "出货单号";
|
||||
this.layoutControlItem9.TextSize = new System.Drawing.Size(48, 14);
|
||||
//
|
||||
// Frmdeliversale
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1300, 800);
|
||||
this.Controls.Add(this.xtraTabControl1);
|
||||
this.Name = "Frmdeliversale";
|
||||
this.Text = "销售出货单";
|
||||
this.Load += new System.EventHandler(this.Frmdeliversale_Load);
|
||||
this.Controls.SetChildIndex(this.xtraTabControl1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomerid)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomertype)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcontactuser)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcreatorId)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
|
||||
this.xtraTabControl1.ResumeLayout(false);
|
||||
this.tabDataList.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdListView)).EndInit();
|
||||
this.tabDataDetail.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
|
||||
this.panelControl2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||
this.layoutControl1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditsalecode)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditunit)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditwarehouse)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditsalecode)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomerid.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomercode.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcustomertype.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcontactuser.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliveraddress.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversalecode.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private XtraTabControl xtraTabControl1;
|
||||
private XtraTabPage tabDataList;
|
||||
private XtraTabPage tabDataDetail;
|
||||
private DevExpress.XtraGrid.GridControl grdList;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView grdListView;
|
||||
private PanelControl panelControl2;
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
||||
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtid;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcustomerid;
|
||||
|
||||
private DevExpress.XtraEditors.LookUpEdit txtcustomerid;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtcustomercode;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.DateEdit txtdeliverdate;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcustomertype;
|
||||
|
||||
private DevExpress.XtraEditors.LookUpEdit txtcustomertype;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcontactuser;
|
||||
|
||||
private DevExpress.XtraEditors.LookUpEdit txtcontactuser;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtdeliveraddress;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcreatorId;
|
||||
|
||||
private DevExpress.XtraEditors.LookUpEdit txtcreatorId;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtdeliversalecode;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtremark;
|
||||
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
|
||||
private DevExpress.XtraGrid.GridControl gridControl1;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn20;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn21;
|
||||
private LayoutControlItem layoutControlItem11;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAdd;
|
||||
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDel;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEditwarehouse;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEditunit;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEditsalecode;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit repositoryItemGridLookUpEditsalecode;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView repositoryItemGridLookUpEdit1View;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using WinformGeneralDeveloperFrame;
|
||||
using WinformGeneralDeveloperFrame.Commons;
|
||||
using DevExpress.XtraLayout;
|
||||
using MES.Entity;
|
||||
using System.Data.Entity.Migrations;
|
||||
using System.Data.Entity;
|
||||
namespace MES.Form
|
||||
{
|
||||
public partial class Frmdeliversaledetail : FrmBaseForm
|
||||
{
|
||||
private Dictionary<string, string> fieldDictionary = new Dictionary<string, string>();
|
||||
public Frmdeliversaledetail()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void Frmdeliversaledetail_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
InitFrom(xtraTabControl1,grdList,grdListView,new LayoutControlGroup[]{layoutControlGroup1},new deliversaledetailInfo());
|
||||
InitSearchDicData();
|
||||
}
|
||||
/// <summary>
|
||||
/// 数据源初始化
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
txtwarehouse.Properties.DataSource = GetDataTableUtils.SqlTable("仓库");
|
||||
repositoryItemtxtwarehouse.DataSource= GetDataTableUtils.SqlTable("仓库");
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private void InitSearchDicData()
|
||||
{
|
||||
fieldDictionary.Add("销售单号","salecode");
|
||||
fieldDictionary.Add("出库单号","deliversalecode");
|
||||
fieldDictionary.Add("备注","remark");
|
||||
}
|
||||
|
||||
public override void InitgrdListDataSource()
|
||||
{
|
||||
using (var con=new MESDB())///
|
||||
{
|
||||
grdList.DataSource=con.deliversaledetailInfo.ToList();
|
||||
}
|
||||
Init();
|
||||
}
|
||||
/// <summary>
|
||||
/// 字段为空校验
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool CheckInput()
|
||||
{
|
||||
if(string.IsNullOrEmpty(txtdeliversaleid.EditValue.ToString()))
|
||||
{
|
||||
"出货单不能为空".ShowWarning();
|
||||
txtdeliversaleid.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtsalecode.EditValue.ToString()))
|
||||
{
|
||||
"销售单号不能为空".ShowWarning();
|
||||
txtsalecode.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtproductname.EditValue.ToString()))
|
||||
{
|
||||
"产品名称不能为空".ShowWarning();
|
||||
txtproductname.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtproductcode.EditValue.ToString()))
|
||||
{
|
||||
"产品编号不能为空".ShowWarning();
|
||||
txtproductcode.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtproductspec.EditValue.ToString()))
|
||||
{
|
||||
"规格型号不能为空".ShowWarning();
|
||||
txtproductspec.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtwarehouse.EditValue.ToString()))
|
||||
{
|
||||
"仓库不能为空".ShowWarning();
|
||||
txtwarehouse.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtnumber.EditValue.ToString()))
|
||||
{
|
||||
"出货数量不能为空".ShowWarning();
|
||||
txtnumber.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtunit.EditValue.ToString()))
|
||||
{
|
||||
"计量单位不能为空".ShowWarning();
|
||||
txtunit.Focus();
|
||||
return false;
|
||||
}
|
||||
if(string.IsNullOrEmpty(txtdeliversalecode.EditValue.ToString()))
|
||||
{
|
||||
"出库单号不能为空".ShowWarning();
|
||||
txtdeliversalecode.Focus();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 保存
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool SaveFunction()
|
||||
{
|
||||
try
|
||||
{
|
||||
deliversaledetailInfo info= (deliversaledetailInfo)this.ControlDataToModel(new deliversaledetailInfo());
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
db.deliversaledetailInfo.AddOrUpdate(info);
|
||||
db.SaveChanges();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.Message.ShowError();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override bool DelFunction()
|
||||
{
|
||||
try
|
||||
{
|
||||
deliversaledetailInfo info = (deliversaledetailInfo)this.ControlDataToModel(new deliversaledetailInfo());
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
db.Entry(info).State=EntityState.Deleted;
|
||||
db.SaveChanges();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.Message.ShowError();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 搜索
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public override void SearchFunction()
|
||||
{
|
||||
FrmSearch frm = new FrmSearch(fieldDictionary);
|
||||
if (frm.ShowDialog()==DialogResult.OK)
|
||||
{
|
||||
string sql = frm.sql;
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
{
|
||||
grdList.DataSource = db.deliversaledetailInfo.SqlQuery("select * from deliversaledetail").ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
grdList.DataSource = db.deliversaledetailInfo.SqlQuery($"select * from deliversaledetail where {sql}").ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,680 @@
|
|||
|
||||
using DevExpress.XtraEditors;
|
||||
using DevExpress.XtraLayout;
|
||||
using DevExpress.XtraTab;
|
||||
|
||||
namespace MES.Form
|
||||
{
|
||||
partial class Frmdeliversaledetail
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||
|
||||
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
|
||||
this.tabDataList = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.tabDataDetail = new DevExpress.XtraTab.XtraTabPage();
|
||||
this.grdList = new DevExpress.XtraGrid.GridControl();
|
||||
this.grdListView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
|
||||
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
|
||||
|
||||
//////////////////////
|
||||
this.txtid=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtdeliversaleid=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtsalecode=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtproductname=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtproductcode=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtproductspec=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.repositoryItemtxtwarehouse = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
||||
|
||||
this.txtwarehouse=new DevExpress.XtraEditors.LookUpEdit();
|
||||
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtnumber=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtunit=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtdeliversalecode=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
//////////////////////
|
||||
this.txtremark=new DevExpress.XtraEditors.TextEdit();
|
||||
this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
|
||||
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||
|
||||
this.layoutControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversaleid.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtsalecode.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductname.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductcode.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductspec.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).BeginInit();
|
||||
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtwarehouse.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtnumber.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtunit.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversalecode.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
|
||||
|
||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
|
||||
this.xtraTabControl1.SuspendLayout();
|
||||
this.tabDataList.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdListView)).BeginInit();
|
||||
this.tabDataDetail.SuspendLayout();
|
||||
|
||||
this.SuspendLayout();
|
||||
|
||||
// layoutControl1
|
||||
//
|
||||
|
||||
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl1.Location = new System.Drawing.Point(12, 8);
|
||||
this.layoutControl1.Name = "layoutControl1";
|
||||
this.layoutControl1.Root = this.layoutControlGroup1;
|
||||
layoutControl1.AutoScroll=true;
|
||||
this.layoutControl1.Size = new System.Drawing.Size(605, 363);
|
||||
this.layoutControl1.TabIndex = 6;
|
||||
this.layoutControl1.Text = "layoutControl1";
|
||||
|
||||
this.layoutControl1.Controls.Add(this.txtid);
|
||||
this.layoutControl1.Controls.Add(this.txtdeliversaleid);
|
||||
this.layoutControl1.Controls.Add(this.txtsalecode);
|
||||
this.layoutControl1.Controls.Add(this.txtproductname);
|
||||
this.layoutControl1.Controls.Add(this.txtproductcode);
|
||||
this.layoutControl1.Controls.Add(this.txtproductspec);
|
||||
this.layoutControl1.Controls.Add(this.txtwarehouse);
|
||||
this.layoutControl1.Controls.Add(this.txtnumber);
|
||||
this.layoutControl1.Controls.Add(this.txtunit);
|
||||
this.layoutControl1.Controls.Add(this.txtdeliversalecode);
|
||||
this.layoutControl1.Controls.Add(this.txtremark);
|
||||
//TextEdit
|
||||
//DateEdit
|
||||
//SimpleButton
|
||||
//CheckEdit
|
||||
//MemoEdit
|
||||
//PictureEdit
|
||||
//LookUpEdit
|
||||
//ComboBoxEdit
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtid.Location = new System.Drawing.Point(112, 12);
|
||||
this.txtid.Name = "txtid";
|
||||
this.txtid.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtid.StyleController = this.layoutControl1;
|
||||
this.txtid.TabIndex = 1;
|
||||
//
|
||||
// layoutControlItem1
|
||||
//
|
||||
this.layoutControlItem1.Control = this.txtid;
|
||||
this.layoutControlItem1.CustomizationFormText = "id";
|
||||
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlItem1.Name = "layoutControlItem1";
|
||||
this.layoutControlItem1.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem1.Text = "id";
|
||||
this.layoutControlItem1.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtdeliversaleid.Location = new System.Drawing.Point(112, 36);
|
||||
this.txtdeliversaleid.Name = "txtdeliversaleid";
|
||||
this.txtdeliversaleid.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtdeliversaleid.StyleController = this.layoutControl1;
|
||||
this.txtdeliversaleid.TabIndex = 2;
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.Control = this.txtdeliversaleid;
|
||||
this.layoutControlItem2.CustomizationFormText = "出货单";
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(0, 24);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem2.Text = "出货单";
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtsalecode.Location = new System.Drawing.Point(112, 60);
|
||||
this.txtsalecode.Name = "txtsalecode";
|
||||
this.txtsalecode.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtsalecode.StyleController = this.layoutControl1;
|
||||
this.txtsalecode.TabIndex = 3;
|
||||
//
|
||||
// layoutControlItem3
|
||||
//
|
||||
this.layoutControlItem3.Control = this.txtsalecode;
|
||||
this.layoutControlItem3.CustomizationFormText = "销售单号";
|
||||
this.layoutControlItem3.Location = new System.Drawing.Point(0, 48);
|
||||
this.layoutControlItem3.Name = "layoutControlItem3";
|
||||
this.layoutControlItem3.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem3.Text = "销售单号";
|
||||
this.layoutControlItem3.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtproductname.Location = new System.Drawing.Point(112, 84);
|
||||
this.txtproductname.Name = "txtproductname";
|
||||
this.txtproductname.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtproductname.StyleController = this.layoutControl1;
|
||||
this.txtproductname.TabIndex = 4;
|
||||
//
|
||||
// layoutControlItem4
|
||||
//
|
||||
this.layoutControlItem4.Control = this.txtproductname;
|
||||
this.layoutControlItem4.CustomizationFormText = "产品名称";
|
||||
this.layoutControlItem4.Location = new System.Drawing.Point(0, 72);
|
||||
this.layoutControlItem4.Name = "layoutControlItem4";
|
||||
this.layoutControlItem4.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem4.Text = "产品名称";
|
||||
this.layoutControlItem4.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtproductcode.Location = new System.Drawing.Point(112, 108);
|
||||
this.txtproductcode.Name = "txtproductcode";
|
||||
this.txtproductcode.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtproductcode.StyleController = this.layoutControl1;
|
||||
this.txtproductcode.TabIndex = 5;
|
||||
//
|
||||
// layoutControlItem5
|
||||
//
|
||||
this.layoutControlItem5.Control = this.txtproductcode;
|
||||
this.layoutControlItem5.CustomizationFormText = "产品编号";
|
||||
this.layoutControlItem5.Location = new System.Drawing.Point(0, 96);
|
||||
this.layoutControlItem5.Name = "layoutControlItem5";
|
||||
this.layoutControlItem5.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem5.Text = "产品编号";
|
||||
this.layoutControlItem5.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtproductspec.Location = new System.Drawing.Point(112, 132);
|
||||
this.txtproductspec.Name = "txtproductspec";
|
||||
this.txtproductspec.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtproductspec.StyleController = this.layoutControl1;
|
||||
this.txtproductspec.TabIndex = 6;
|
||||
//
|
||||
// layoutControlItem6
|
||||
//
|
||||
this.layoutControlItem6.Control = this.txtproductspec;
|
||||
this.layoutControlItem6.CustomizationFormText = "规格型号";
|
||||
this.layoutControlItem6.Location = new System.Drawing.Point(0, 120);
|
||||
this.layoutControlItem6.Name = "layoutControlItem6";
|
||||
this.layoutControlItem6.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem6.Text = "规格型号";
|
||||
this.layoutControlItem6.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// lookUpEdit1
|
||||
//
|
||||
this.txtwarehouse.Location = new System.Drawing.Point(120, 60);
|
||||
this.txtwarehouse.Name = "txtwarehouse";
|
||||
this.txtwarehouse.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.txtwarehouse.Properties.DisplayMember = "Name";
|
||||
this.txtwarehouse.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
|
||||
this.txtwarehouse.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
|
||||
this.txtwarehouse.Properties.ValueMember = "ID";
|
||||
this.txtwarehouse.Size = new System.Drawing.Size(932, 20);
|
||||
this.txtwarehouse.StyleController = this.layoutControl1;
|
||||
this.txtwarehouse.TabIndex = 7;
|
||||
this.txtwarehouse.EditValue = "";
|
||||
|
||||
//
|
||||
// layoutControlItem7
|
||||
//
|
||||
this.layoutControlItem7.Control = this.txtwarehouse;
|
||||
this.layoutControlItem7.CustomizationFormText = "仓库";
|
||||
this.layoutControlItem7.Location = new System.Drawing.Point(0, 144);
|
||||
this.layoutControlItem7.Name = "layoutControlItem7";
|
||||
this.layoutControlItem7.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem7.Text = "仓库";
|
||||
this.layoutControlItem7.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtnumber.Location = new System.Drawing.Point(112, 180);
|
||||
this.txtnumber.Name = "txtnumber";
|
||||
this.txtnumber.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtnumber.StyleController = this.layoutControl1;
|
||||
this.txtnumber.TabIndex = 8;
|
||||
//
|
||||
// layoutControlItem8
|
||||
//
|
||||
this.layoutControlItem8.Control = this.txtnumber;
|
||||
this.layoutControlItem8.CustomizationFormText = "出货数量";
|
||||
this.layoutControlItem8.Location = new System.Drawing.Point(0, 168);
|
||||
this.layoutControlItem8.Name = "layoutControlItem8";
|
||||
this.layoutControlItem8.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem8.Text = "出货数量";
|
||||
this.layoutControlItem8.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtunit.Location = new System.Drawing.Point(112, 204);
|
||||
this.txtunit.Name = "txtunit";
|
||||
this.txtunit.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtunit.StyleController = this.layoutControl1;
|
||||
this.txtunit.TabIndex = 9;
|
||||
//
|
||||
// layoutControlItem9
|
||||
//
|
||||
this.layoutControlItem9.Control = this.txtunit;
|
||||
this.layoutControlItem9.CustomizationFormText = "计量单位";
|
||||
this.layoutControlItem9.Location = new System.Drawing.Point(0, 192);
|
||||
this.layoutControlItem9.Name = "layoutControlItem9";
|
||||
this.layoutControlItem9.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem9.Text = "计量单位";
|
||||
this.layoutControlItem9.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtdeliversalecode.Location = new System.Drawing.Point(112, 228);
|
||||
this.txtdeliversalecode.Name = "txtdeliversalecode";
|
||||
this.txtdeliversalecode.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtdeliversalecode.StyleController = this.layoutControl1;
|
||||
this.txtdeliversalecode.TabIndex = 10;
|
||||
//
|
||||
// layoutControlItem10
|
||||
//
|
||||
this.layoutControlItem10.Control = this.txtdeliversalecode;
|
||||
this.layoutControlItem10.CustomizationFormText = "出库单号";
|
||||
this.layoutControlItem10.Location = new System.Drawing.Point(0, 216);
|
||||
this.layoutControlItem10.Name = "layoutControlItem10";
|
||||
this.layoutControlItem10.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem10.Text = "出库单号";
|
||||
this.layoutControlItem10.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
//
|
||||
// txt${ColumnInfo.Name.Alias.ToCapit()}
|
||||
//
|
||||
this.txtremark.Location = new System.Drawing.Point(112, 252);
|
||||
this.txtremark.Name = "txtremark";
|
||||
this.txtremark.Size = new System.Drawing.Size(481, 20);
|
||||
this.txtremark.StyleController = this.layoutControl1;
|
||||
this.txtremark.TabIndex = 11;
|
||||
//
|
||||
// layoutControlItem11
|
||||
//
|
||||
this.layoutControlItem11.Control = this.txtremark;
|
||||
this.layoutControlItem11.CustomizationFormText = "备注";
|
||||
this.layoutControlItem11.Location = new System.Drawing.Point(0, 240);
|
||||
this.layoutControlItem11.Name = "layoutControlItem11";
|
||||
this.layoutControlItem11.Size = new System.Drawing.Size(585, 24);
|
||||
this.layoutControlItem11.Text = "备注";
|
||||
this.layoutControlItem11.TextSize = new System.Drawing.Size(96, 14);
|
||||
|
||||
|
||||
//
|
||||
// layoutControlGroup1
|
||||
//
|
||||
this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
|
||||
this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.layoutControlItem1
|
||||
,this.layoutControlItem2
|
||||
,this.layoutControlItem3
|
||||
,this.layoutControlItem4
|
||||
,this.layoutControlItem5
|
||||
,this.layoutControlItem6
|
||||
,this.layoutControlItem7
|
||||
,this.layoutControlItem8
|
||||
,this.layoutControlItem9
|
||||
,this.layoutControlItem10
|
||||
,this.layoutControlItem11
|
||||
});
|
||||
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
||||
this.layoutControlGroup1.Size = new System.Drawing.Size(605, 363);
|
||||
this.layoutControlGroup1.Text = "layoutControlGroup1";
|
||||
this.layoutControlGroup1.TextVisible = false;
|
||||
|
||||
|
||||
//
|
||||
// xtraTabControl1
|
||||
//
|
||||
this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.xtraTabControl1.Location = new System.Drawing.Point(0, 34);
|
||||
this.xtraTabControl1.Name = "xtraTabControl1";
|
||||
this.xtraTabControl1.SelectedTabPage = this.tabDataList;
|
||||
this.xtraTabControl1.Size = new System.Drawing.Size(585, 436);
|
||||
this.xtraTabControl1.TabIndex = 1;
|
||||
this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
||||
this.tabDataList,
|
||||
this.tabDataDetail});
|
||||
//
|
||||
// tabDataList
|
||||
//
|
||||
this.tabDataList.Controls.Add(this.grdList);
|
||||
this.tabDataList.Name = "tabDataList";
|
||||
this.tabDataList.Size = new System.Drawing.Size(579, 407);
|
||||
this.tabDataList.Text = "数据列表";
|
||||
//
|
||||
// tabDataDetail
|
||||
//
|
||||
this.tabDataDetail.Controls.Add(this.panelControl2);
|
||||
this.tabDataDetail.Name = "tabDataDetail";
|
||||
this.tabDataDetail.Size = new System.Drawing.Size(579, 407);
|
||||
this.tabDataDetail.Text = "数据编辑";
|
||||
//
|
||||
// grdList
|
||||
//
|
||||
this.grdList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grdList.Location = new System.Drawing.Point(0, 0);
|
||||
this.grdList.MainView = this.grdListView;
|
||||
this.grdList.Name = "grdList";
|
||||
this.grdList.Size = new System.Drawing.Size(579, 407);
|
||||
this.grdList.TabIndex = 0;
|
||||
this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
||||
this.grdListView});
|
||||
//
|
||||
// grdListView
|
||||
//
|
||||
this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
||||
this.gridColumn1,
|
||||
this.gridColumn2,
|
||||
this.gridColumn3,
|
||||
this.gridColumn4,
|
||||
this.gridColumn5,
|
||||
this.gridColumn6,
|
||||
this.gridColumn7,
|
||||
this.gridColumn8,
|
||||
this.gridColumn9,
|
||||
this.gridColumn10,
|
||||
this.gridColumn11,
|
||||
});
|
||||
this.grdListView.OptionsBehavior.Editable = false;
|
||||
this.grdListView.GridControl = this.grdList;
|
||||
this.grdListView.Name = "grdListView";
|
||||
this.grdListView.OptionsView.ColumnAutoWidth=false;
|
||||
this.grdListView.BestFitColumns();
|
||||
//
|
||||
// panelControl2
|
||||
//
|
||||
this.panelControl2.Controls.Add(this.layoutControl1);
|
||||
this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelControl2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelControl2.Name = "panelControl2";
|
||||
this.panelControl2.Size = new System.Drawing.Size(579, 407);
|
||||
this.panelControl2.TabIndex = 0;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn1).Caption = "id";
|
||||
(this.gridColumn1).Name = "gridColumn1";
|
||||
(this.gridColumn1).FieldName = "id";
|
||||
////////////////////////////////
|
||||
(this.gridColumn2).Caption = "出货单";
|
||||
(this.gridColumn2).Name = "gridColumn2";
|
||||
(this.gridColumn2).FieldName = "deliversaleid";
|
||||
////////////////////////////////
|
||||
(this.gridColumn3).Caption = "销售单号";
|
||||
(this.gridColumn3).Name = "gridColumn3";
|
||||
(this.gridColumn3).FieldName = "salecode";
|
||||
(this.gridColumn3).Visible = true;
|
||||
(this.gridColumn3).VisibleIndex = 3;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn4).Caption = "产品名称";
|
||||
(this.gridColumn4).Name = "gridColumn4";
|
||||
(this.gridColumn4).FieldName = "productname";
|
||||
(this.gridColumn4).Visible = true;
|
||||
(this.gridColumn4).VisibleIndex = 4;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn5).Caption = "产品编号";
|
||||
(this.gridColumn5).Name = "gridColumn5";
|
||||
(this.gridColumn5).FieldName = "productcode";
|
||||
(this.gridColumn5).Visible = true;
|
||||
(this.gridColumn5).VisibleIndex = 5;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn6).Caption = "规格型号";
|
||||
(this.gridColumn6).Name = "gridColumn6";
|
||||
(this.gridColumn6).FieldName = "productspec";
|
||||
(this.gridColumn6).Visible = true;
|
||||
(this.gridColumn6).VisibleIndex = 6;
|
||||
|
||||
(this.gridColumn7).ColumnEdit = this.repositoryItemtxtwarehouse;
|
||||
this.repositoryItemtxtwarehouse.AutoHeight = false;
|
||||
this.repositoryItemtxtwarehouse.DisplayMember = "Name";
|
||||
this.repositoryItemtxtwarehouse.ValueMember = "ID";
|
||||
this.repositoryItemtxtwarehouse.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||
this.repositoryItemtxtwarehouse.Name = "repositoryItemtxtwarehouse";
|
||||
(this.gridColumn7).Caption = "仓库";
|
||||
(this.gridColumn7).Name = "gridColumn7";
|
||||
(this.gridColumn7).FieldName = "warehouse";
|
||||
(this.gridColumn7).Visible = true;
|
||||
(this.gridColumn7).VisibleIndex = 7;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn8).Caption = "出货数量";
|
||||
(this.gridColumn8).Name = "gridColumn8";
|
||||
(this.gridColumn8).FieldName = "number";
|
||||
(this.gridColumn8).Visible = true;
|
||||
(this.gridColumn8).VisibleIndex = 8;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn9).Caption = "计量单位";
|
||||
(this.gridColumn9).Name = "gridColumn9";
|
||||
(this.gridColumn9).FieldName = "unit";
|
||||
(this.gridColumn9).Visible = true;
|
||||
(this.gridColumn9).VisibleIndex = 9;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn10).Caption = "出库单号";
|
||||
(this.gridColumn10).Name = "gridColumn10";
|
||||
(this.gridColumn10).FieldName = "deliversalecode";
|
||||
(this.gridColumn10).Visible = true;
|
||||
(this.gridColumn10).VisibleIndex = 10;
|
||||
|
||||
////////////////////////////////
|
||||
(this.gridColumn11).Caption = "备注";
|
||||
(this.gridColumn11).Name = "gridColumn11";
|
||||
(this.gridColumn11).FieldName = "remark";
|
||||
(this.gridColumn11).Visible = true;
|
||||
(this.gridColumn11).VisibleIndex = 11;
|
||||
|
||||
|
||||
//
|
||||
// XtraForm1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1300, 800);
|
||||
this.Controls.Add(this.xtraTabControl1);
|
||||
this.Name = "Frmdeliversaledetail";
|
||||
this.Text = "Frmdeliversaledetail";
|
||||
this.Load += new System.EventHandler(this.Frmdeliversaledetail_Load);
|
||||
this.Controls.SetChildIndex(this.xtraTabControl1, 0);
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversaleid.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtsalecode.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductname.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductcode.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtproductspec.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).EndInit();
|
||||
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtwarehouse.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtnumber.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtunit.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtdeliversalecode.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
|
||||
/////////////////////////
|
||||
((System.ComponentModel.ISupportInitialize)(this.txtremark.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
|
||||
this.xtraTabControl1.ResumeLayout(false);
|
||||
this.tabDataList.ResumeLayout(false);
|
||||
this.tabDataDetail.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdListView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||
this.layoutControl1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
||||
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private XtraTabControl xtraTabControl1;
|
||||
private XtraTabPage tabDataList;
|
||||
private XtraTabPage tabDataDetail;
|
||||
private DevExpress.XtraGrid.GridControl grdList;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView grdListView;
|
||||
private PanelControl panelControl2;
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
||||
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtid;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtdeliversaleid;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtsalecode;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtproductname;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtproductcode;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtproductspec;
|
||||
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtwarehouse;
|
||||
|
||||
private DevExpress.XtraEditors.LookUpEdit txtwarehouse;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtnumber;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtunit;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtdeliversalecode;
|
||||
///////////////////////////////
|
||||
private DevExpress.XtraEditors.TextEdit txtremark;
|
||||
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
|
||||
}
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@ namespace MES.Form
|
|||
public partial class Frmsale : FrmBaseForm
|
||||
{
|
||||
private Dictionary<string, string> fieldDictionary = new Dictionary<string, string>();
|
||||
public Frmsale()
|
||||
public Frmsale()///22
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
|
@ -170,7 +170,11 @@ namespace MES.Form
|
|||
{
|
||||
List<saledetailInfo> detaiListAdd =
|
||||
dic["Add"];
|
||||
detaiListAdd.ForEach(a => a.saleid = info.id);
|
||||
detaiListAdd.ForEach(a =>
|
||||
{
|
||||
a.saleid = info.id;
|
||||
a.salecode = info.saleordercode;
|
||||
});
|
||||
db.saledetailInfo.AddRange(detaiListAdd);
|
||||
db.SaveChanges();
|
||||
}
|
||||
|
|
@ -183,13 +187,18 @@ namespace MES.Form
|
|||
{
|
||||
List<saledetailInfo> detaiListAdd =
|
||||
dic["Add"];
|
||||
detaiListAdd.ForEach(a => a.saleid = info.id);
|
||||
detaiListAdd.ForEach(a =>
|
||||
{
|
||||
a.saleid = info.id;
|
||||
a.salecode = info.saleordercode;
|
||||
});
|
||||
db.saledetailInfo.AddRange(detaiListAdd);
|
||||
|
||||
List<saledetailInfo> detaiListEdit =
|
||||
dic["Edit"];
|
||||
detaiListEdit.ForEach((a) =>
|
||||
{
|
||||
a.salecode = info.saleordercode;
|
||||
db.Entry(a).State = EntityState.Modified;
|
||||
});
|
||||
|
||||
|
|
@ -236,8 +245,10 @@ namespace MES.Form
|
|||
using (var db = new MESDB())
|
||||
{
|
||||
db.Entry(info).State=EntityState.Deleted;
|
||||
db.Database.ExecuteSqlCommand($"delete from saledetail where saleid={info.id}");
|
||||
db.SaveChanges();
|
||||
}
|
||||
gridControl1.DataSource = null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -269,6 +280,12 @@ namespace MES.Form
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void EditFunction()
|
||||
{
|
||||
txtcustomerid.ReadOnly = true;
|
||||
}
|
||||
|
||||
public override void gridControlMouseDoubleClickFunction(object sender, EventArgs e)
|
||||
{
|
||||
Initresgridcontrollookupedit();
|
||||
|
|
@ -326,14 +343,7 @@ namespace MES.Form
|
|||
Initresgridcontrollookupedit();
|
||||
using (var db = new MESDB())
|
||||
{
|
||||
if (db.quotationInfo.ToList().Count > 0&& db.quotationInfo.ToList()
|
||||
.Where(p => p.customeruser == txtcustomerid.EditValue.ToString().ToInt16()).Count()>0)
|
||||
{
|
||||
quotationInfo quotation = db.quotationInfo.ToList()
|
||||
.Where(p => p.customeruser == txtcustomerid.EditValue.ToString().ToInt16()).First();
|
||||
repositoryItemGridLookUpEdit1.DataSource =
|
||||
db.quotationdetailInfo.Where(p => p.quotationid == quotation.id).ToList();
|
||||
}
|
||||
repositoryItemGridLookUpEdit1.DataSource = db.Database.SqlQuery<quotationdetailInfo>($"SELECT qt.* FROM quotation q left join quotationdetail qt on q.id = qt.quotationid where q.customerid = {txtcustomerid.EditValue}").ToDataTable();
|
||||
if (txtcustomerid.EditValue != null)
|
||||
{
|
||||
int id = txtcustomerid.EditValue.ToString().ToInt16();
|
||||
|
|
@ -350,10 +360,6 @@ namespace MES.Form
|
|||
}
|
||||
}
|
||||
}
|
||||
//GridColumn col1 = new GridColumn();
|
||||
//col1=repositoryItemGridLookUpEdit1View.Columns.AddField("productid");
|
||||
//col1.Caption = "产品名称";
|
||||
//col1.Visible = true;
|
||||
private void Initresgridcontrollookupedit()
|
||||
{
|
||||
GridColumn col1 = new GridColumn(){Caption = "产品",FieldName = "productid",Visible = false};
|
||||
|
|
@ -379,15 +385,6 @@ namespace MES.Form
|
|||
gridView1.GetFocusedDataRow()["productid"] = quotationdetail.productid;
|
||||
gridView1.GetFocusedDataRow()["unitprice"] = quotationdetail.unitprice;
|
||||
gridView1.GetFocusedDataRow()["salenumber"] = quotationdetail.number;
|
||||
//LookUpEdit look = sender as LookUpEdit;
|
||||
//int quotationid = look.EditValue.ToInt32();
|
||||
//quotationdetailInfo product = db.productInfo.Where(p => p.id == productid).FirstOrDefault();
|
||||
//DataTable dt = gridControl1.DataSource as DataTable;
|
||||
//gridView1.GetFocusedDataRow()["spec"] = product.spec;
|
||||
//gridView1.GetFocusedDataRow()["unit"] = product.unit;
|
||||
//gridView1.GetFocusedDataRow()["stockid"] = product.warehouse;
|
||||
//gridView1.GetFocusedDataRow()["productcode"] = product.productcode;
|
||||
//gridView1.GetFocusedDataRow()["productname"] = product.productname;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -774,6 +774,7 @@ namespace MES.Form
|
|||
this.gridColumn37.Caption = "销售单号";
|
||||
this.gridColumn37.FieldName = "salecode";
|
||||
this.gridColumn37.Name = "gridColumn37";
|
||||
this.gridColumn37.OptionsColumn.AllowEdit = false;
|
||||
this.gridColumn37.Visible = true;
|
||||
this.gridColumn37.VisibleIndex = 20;
|
||||
this.gridColumn37.Width = 201;
|
||||
|
|
|
|||
|
|
@ -1,29 +1,30 @@
|
|||
DevExpress.XtraEditors.DateEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraNavBar.NavBarControl, DevExpress.XtraNavBar.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemTreeListLookUpEdit, DevExpress.XtraTreeList.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ProgressBarControl, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraCharts.ChartControl, DevExpress.XtraCharts.v19.2.UI, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.PopupGalleryEdit, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraTabbedMdi.XtraTabbedMdiManager, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraCharts.ChartControl, DevExpress.XtraCharts.v19.2.UI, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.PopupGalleryEdit, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.DateEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.GridLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemTextEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraNavBar.NavBarControl, DevExpress.XtraNavBar.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraTreeList.TreeList, DevExpress.XtraTreeList.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.SearchLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraWizard.WizardControl, DevExpress.XtraWizard.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.TreeListLookUpEdit, DevExpress.XtraTreeList.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.GridLookUpEdit, DevExpress.XtraGrid.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ImageComboBoxEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraDataLayout.DataLayoutControl, DevExpress.XtraLayout.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraTreeList.TreeList, DevExpress.XtraTreeList.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemTreeListLookUpEdit, DevExpress.XtraTreeList.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ProgressBarControl, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ImageComboBoxEdit, DevExpress.XtraEditors.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraTabbedMdi.XtraTabbedMdiManager, DevExpress.XtraBars.v19.2, Version=19.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
|
|
|||
|
|
@ -138,6 +138,8 @@
|
|||
<Compile Include="DB\MESDB.cs" />
|
||||
<Compile Include="EntityAdapter.cs" />
|
||||
<Compile Include="Entity\customerInfo.cs" />
|
||||
<Compile Include="Entity\deliversaledetailInfo.cs" />
|
||||
<Compile Include="Entity\deliversaleInfo.cs" />
|
||||
<Compile Include="Entity\lotteryInfo.cs" />
|
||||
<Compile Include="Entity\materialInfo.cs" />
|
||||
<Compile Include="Entity\productInfo.cs" />
|
||||
|
|
@ -161,6 +163,18 @@
|
|||
<Compile Include="Form\Frmcustomer.designer.cs">
|
||||
<DependentUpon>Frmcustomer.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form\Frmdeliversale.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form\Frmdeliversale.designer.cs">
|
||||
<DependentUpon>Frmdeliversale.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form\Frmdeliversaledetail.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form\Frmdeliversaledetail.designer.cs">
|
||||
<DependentUpon>Frmdeliversaledetail.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form\Frmmaterial.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
@ -356,6 +370,9 @@
|
|||
<EmbeddedResource Include="Form\Frmcustomer.resx">
|
||||
<DependentUpon>Frmcustomer.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form\Frmdeliversale.resx">
|
||||
<DependentUpon>Frmdeliversale.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form\Frmmaterial.resx">
|
||||
<DependentUpon>Frmmaterial.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
|||
Loading…
Reference in New Issue