From 699b5a929e4ad920352672fc263d60c9e77e2ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=AF=20=E7=8E=8B?= <648428741@qq.com> Date: Mon, 31 May 2021 18:22:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=94=80=E5=94=AE=E8=AE=A2?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/WinformGeneralDeveloperFrame/v16/.suo | Bin 524800 -> 522752 bytes .../ExtensionMethod.cs | 32 + WinformGeneralDeveloperFrame/DB/MESDB.cs | 5 + .../Entity/customerInfo.cs | 12 +- .../Entity/quotationInfo.cs | 2 +- .../Entity/quotationdetailInfo.cs | 5 +- .../Entity/saleInfo.cs | 58 + .../Entity/saledetailInfo.cs | 85 ++ .../Form/Frmcustomer.designer.cs | 67 +- .../Form/Frmquotation.cs | 19 +- .../Form/Frmquotation.designer.cs | 33 +- WinformGeneralDeveloperFrame/Form/Frmsale.cs | 394 +++++ .../Form/Frmsale.designer.cs | 1302 +++++++++++++++++ .../Form/Frmsale.resx | 123 ++ .../Form/Frmsaledetail.cs | 277 ++++ .../Form/Frmsaledetail.designer.cs | 1158 +++++++++++++++ .../Form/Frmsaledetail.resx | 120 ++ WinformGeneralDeveloperFrame/FrmBaseForm.cs | 27 +- .../Properties/licenses.licx | 51 +- .../WinformGeneralDeveloperFrame.csproj | 20 + 20 files changed, 3726 insertions(+), 64 deletions(-) create mode 100644 WinformGeneralDeveloperFrame/Entity/saleInfo.cs create mode 100644 WinformGeneralDeveloperFrame/Entity/saledetailInfo.cs create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsale.cs create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsale.designer.cs create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsale.resx create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsaledetail.cs create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsaledetail.designer.cs create mode 100644 WinformGeneralDeveloperFrame/Form/Frmsaledetail.resx diff --git a/.vs/WinformGeneralDeveloperFrame/v16/.suo b/.vs/WinformGeneralDeveloperFrame/v16/.suo index 0f533603d6dda2f243eb3972f2ec6c6de265c1c0..3370350da30baa609a523102566e0147b883be9a 100644 GIT binary patch delta 30924 zcmeHv3tSXc|NfrYxc~w#h)9UIA`u}XAS&T)B{eleGE-9{H8eFuL^Q?Qg1%;^hK%jk zN)gTQk{NE z%vh(JtyK;4qT3o=Ka;`mcN}{H*REf`&a)XH1I557U?T7=@G{WFXfXVw4cfulvw7BD z`9hj^UiZDP$-O^j=W*4Zu4W6_tWdomOcPeSsoBQtsoPOqa6ewB!EiV5GoIr5@h9>h z&-)11mIFh920$oK4>$vS4~z!J0iOWVfV#jzAOlcPeK}He#*hy@3h=HxVlYfK`0x|_ zS|a5S^m3jLN7@K@8~7B61~vgffFHnzq$$uEhzD#y6fgUl9R_+uO<1G#9Y73u3hH;kkQ(y2_1kisG-;L>26jt6+HDM;%8R^(4d+6#CR zXbh;6r0}kLaPT-V8F&kYa*$>Nd@P^Ac@rG}4R8ng1BpO;APrcJ>%)+a1b$Y(m7ZYr z)J8%>Z__KC7VxF3%7!>?13h}90jAmMq@(Tsd zsd`zTs_6N+ax*p5-81Qe9l#1nvb& zf#-n97}a86HjeGUXTTBlAnh~D0^s!eETo5k=Ya#xyf=}C18zVG@BrWq zB;ekSNHx^n0V%&f7b&lICem2oC1*arwhhONfHt`An86TX*pHJHz;=KaSmsRkA-xZ1 zhk|z@^;Lbm>I~S6qYr>Cz=uF2&A&nmJaHK%`l%l*zPZy>$kJmw{vprbr}xJKT0HIBI&;n&rxUgMRYabf?H z26dwM1m>k)@V+j&Bd1cGP^VdGxbHP1g?S3WVmNM5t=l6h%TusQxgwfOmpz4U>h?M@ z(vu)TU%DK`n$Zd`!7Sd3!jv~g45unDA-Xg)puCpNjfGKI5NqJh_>&t~m&giY$!=jd z4Xw_q3SvD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z>mylRx;B`85{EmRlCYEek^1!lhdl#GlxLn1#=}!bY;a2aBuV z9wnOwKddCMcw+C$&sp0|)$hmW4DpGd7o{?BU=%J4f(?%IoI|i`@u54DSjfhZaVvK2 ztJ-3xf3C2y$sDT$4b|mDl4$k zkFZW3srWOo8I(5PM&Fz9gK0_APH(OsH^ zczLdjHEtoOfWyrl`j^F5CX9;s)>JY1`WmK@+)s(dV*5;E{r#HNOhtDpGAnT%M#MU{ zLEAq%U4I*ezYU|?)K`gNC++8Q2YP`R+FqP#w84imjgDOhOD{zx*(this IEnumerable varlist) + { + DataTable dtReturn = new DataTable(); + // column names + PropertyInfo[] oProps = null; + // Could add a check to verify that there is an element 0 + foreach (T rec in varlist) + { + if (oProps == null) + { + oProps = ((Type)rec.GetType()).GetProperties(); + + foreach (PropertyInfo pi in oProps) + { + Type colType = pi.PropertyType; if ((colType.IsGenericType) && (colType.GetGenericTypeDefinition() == typeof(Nullable<>))) + { + colType = colType.GetGenericArguments()[0]; + } + dtReturn.Columns.Add(new DataColumn(pi.Name, colType)); + } + } + + DataRow dr = dtReturn.NewRow(); foreach (PropertyInfo pi in oProps) + { + dr[pi.Name] = pi.GetValue(rec, null) == null ? DBNull.Value : pi.GetValue(rec, null); + } + dtReturn.Rows.Add(dr); + } + return (dtReturn); + } + public delegate object[] CreateRowDelegate(T t); + ///

/// 获取datatable数据 /// diff --git a/WinformGeneralDeveloperFrame/DB/MESDB.cs b/WinformGeneralDeveloperFrame/DB/MESDB.cs index 8abcf0b..a7b0b9b 100644 --- a/WinformGeneralDeveloperFrame/DB/MESDB.cs +++ b/WinformGeneralDeveloperFrame/DB/MESDB.cs @@ -37,6 +37,11 @@ namespace MES public virtual DbSet quotationdetailInfo { get; set; } + public virtual DbSet saleInfo { get; set; } + + + public virtual DbSet saledetailInfo { get; set; } + } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Entity/customerInfo.cs b/WinformGeneralDeveloperFrame/Entity/customerInfo.cs index e105b1e..f8e6030 100644 --- a/WinformGeneralDeveloperFrame/Entity/customerInfo.cs +++ b/WinformGeneralDeveloperFrame/Entity/customerInfo.cs @@ -14,8 +14,8 @@ namespace MES.Entity ///id [ModelBindControl("txtid")] public int id{set;get;} - ///客户名称 - [ModelBindControl("txtcustomername")] + ///客户名称phonenumber + [ModelBindControl("txtcustomername")] public string customername{set;get;} ///客户类别 [ModelBindControl("txtcustomertype")] @@ -25,9 +25,13 @@ namespace MES.Entity public int contactuser{set;get;} ///客户地址 [ModelBindControl("txtaddress")] + public string address{set;get;} - ///期初应收款 - [ModelBindControl("txtstartreceipt")] + ///电话phonenumber + [ModelBindControl("txtphonenumber")] + public string phonenumber { set; get; } + ///期初应收款 + [ModelBindControl("txtstartreceipt")] public decimal startreceipt{set;get;} ///客户编号 [ModelBindControl("txtcustomercode")] diff --git a/WinformGeneralDeveloperFrame/Entity/quotationInfo.cs b/WinformGeneralDeveloperFrame/Entity/quotationInfo.cs index f8e754d..04178e0 100644 --- a/WinformGeneralDeveloperFrame/Entity/quotationInfo.cs +++ b/WinformGeneralDeveloperFrame/Entity/quotationInfo.cs @@ -19,7 +19,7 @@ namespace MES.Entity public int customerid{set;get;} ///报价日期 [ModelBindControl("txtquotationdate")] - public DateTime? quotationdate{set;get;}=DateTime.Now; + public DateTime quotationdate{set;get;}=DateTime.Now; ///客户编码 [ModelBindControl("txtcustomercode")] public string customercode{set;get;} diff --git a/WinformGeneralDeveloperFrame/Entity/quotationdetailInfo.cs b/WinformGeneralDeveloperFrame/Entity/quotationdetailInfo.cs index a8326f1..df8ab79 100644 --- a/WinformGeneralDeveloperFrame/Entity/quotationdetailInfo.cs +++ b/WinformGeneralDeveloperFrame/Entity/quotationdetailInfo.cs @@ -16,8 +16,11 @@ namespace MES.Entity public int id{set;get;} ///产品名称 [ModelBindControl("txtproductid")] + public int productid{set;get;} - ///规格型号 + + public string productname { set; get; } + ///规格型号 [ModelBindControl("txtspec")] public string spec{set;get;} ///报价数量 diff --git a/WinformGeneralDeveloperFrame/Entity/saleInfo.cs b/WinformGeneralDeveloperFrame/Entity/saleInfo.cs new file mode 100644 index 0000000..d9a0587 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Entity/saleInfo.cs @@ -0,0 +1,58 @@ +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("sale")] + public partial class saleInfo + { + ///id + [ModelBindControl("txtid")] + public int id{set;get;} + ///销售单号 + [ModelBindControl("txtsaleordercode")] + public string saleordercode{set;get;} + ///订单日期 + [ModelBindControl("txtorderdate")] + public DateTime orderdate{set;get;}=DateTime.Now; + ///客户 + [ModelBindControl("txtcustomerid")] + public int customerid{set;get;} + ///客户编号 + [ModelBindControl("txtcustomercode")] + public string customercode{set;get;} + ///客户类型 + [ModelBindControl("txtcustomertype")] + public int customertype{set;get;} + ///客户单号 + [ModelBindControl("txtcustomerordercode")] + public string customerordercode{set;get;} + ///联系人 + [ModelBindControl("txtcontactuser")] + public int contactuser{set;get;} + ///联系电话 + [ModelBindControl("txtcontactphone")] + public string contactphone{set;get;} + ///送货地址 + [ModelBindControl("txtdeliveraddress")] + public string deliveraddress{set;get;} + ///业务员 + [ModelBindControl("txtsalesman")] + public int salesman{set;get;} + ///完货日期 + [ModelBindControl("txtfinishdate")] + public DateTime finishdate{set;get;}=DateTime.Now; + ///制单人 + [ModelBindControl("txtcreatorId")] + public int creatorId { set;get;} + ///备注 + [ModelBindControl("txtremark")] + public string remark{set;get;} + + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Entity/saledetailInfo.cs b/WinformGeneralDeveloperFrame/Entity/saledetailInfo.cs new file mode 100644 index 0000000..4d4bc0d --- /dev/null +++ b/WinformGeneralDeveloperFrame/Entity/saledetailInfo.cs @@ -0,0 +1,85 @@ +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("saledetail")] + public partial class saledetailInfo + { + ///id + [ModelBindControl("txtid")] + public int id{set;get;} + ///产品 + [ModelBindControl("txtproductid")] + public int productid{set;get;} + ///规格型号 + [ModelBindControl("txtproductspec")] + public string productspec{set;get;} + ///数量 + [ModelBindControl("txtsalenumber")] + public decimal salenumber{set;get;} + ///计量单位 + [ModelBindControl("txtunit")] + public int unit{set;get;} + ///单价 + [ModelBindControl("txtunitprice")] + public decimal unitprice{set;get;} + ///金额 + [ModelBindControl("txtmoney")] + public decimal money{set;get;} + ///交货日期 + [ModelBindControl("txtdeliverdate")] + public DateTime deliverdate{set;get;}=DateTime.Now; + ///仓库 + [ModelBindControl("txtwarehouse")] + public int warehouse{set;get;} + ///已排产量 + [ModelBindControl("txtreadynumber")] + public decimal readynumber{set;get;} + ///待排产量 + [ModelBindControl("txtnoreadynumber")] + public decimal noreadynumber{set;get;} + ///已完工量 + [ModelBindControl("txtfinishnumber")] + public decimal finishnumber{set;get;} + ///已出货量 + [ModelBindControl("txtoutnumber")] + public decimal outnumber{set;get;} + ///退货量 + [ModelBindControl("txtreturnnumber")] + public decimal returnnumber{set;get;} + ///未交货数量 + [ModelBindControl("txtnodelivernumber")] + public decimal nodelivernumber{set;get;} + ///实际交货数量 + [ModelBindControl("txtdelivernumber")] + public decimal delivernumber{set;get;} + ///已结算数量 + [ModelBindControl("txtclosenumber")] + public decimal closenumber{set;get;} + ///未结算数量 + [ModelBindControl("txtnoclosenumber")] + public decimal noclosenumber{set;get;} + ///物料成本 + [ModelBindControl("txtmaterialcost")] + public decimal materialcost{set;get;} + ///实际物料成本 + [ModelBindControl("txtrealmaterialcost")] + public decimal realmaterialcost{set;get;} + ///产品编号 + [ModelBindControl("txtproductcode")] + public string productcode{set;get;} + ///销售主表 + [ModelBindControl("txtsaleid")] + public int saleid{set;get;} + ///销售单号 + [ModelBindControl("txtsalecode")] + public string salecode{set;get;} + + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmcustomer.designer.cs b/WinformGeneralDeveloperFrame/Form/Frmcustomer.designer.cs index 3f82498..1da6919 100644 --- a/WinformGeneralDeveloperFrame/Form/Frmcustomer.designer.cs +++ b/WinformGeneralDeveloperFrame/Form/Frmcustomer.designer.cs @@ -77,6 +77,9 @@ namespace MES.Form this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.txtphonenumber = new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomertype)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcontactuser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); @@ -113,6 +116,8 @@ namespace MES.Form ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtphonenumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); this.SuspendLayout(); // // gridColumn1 @@ -274,7 +279,8 @@ namespace MES.Form this.gridColumn8, this.gridColumn9, this.gridColumn10, - this.gridColumn11}); + this.gridColumn11, + this.gridColumn12}); this.grdListView.GridControl = this.grdList; this.grdListView.Name = "grdListView"; this.grdListView.OptionsBehavior.Editable = false; @@ -298,6 +304,7 @@ namespace MES.Form // // layoutControl1 // + this.layoutControl1.Controls.Add(this.txtphonenumber); this.layoutControl1.Controls.Add(this.txtid); this.layoutControl1.Controls.Add(this.txtcustomername); this.layoutControl1.Controls.Add(this.txtcustomertype); @@ -373,7 +380,7 @@ namespace MES.Form // // txtstartreceipt // - this.txtstartreceipt.Location = new System.Drawing.Point(502, 84); + this.txtstartreceipt.Location = new System.Drawing.Point(75, 108); this.txtstartreceipt.Name = "txtstartreceipt"; this.txtstartreceipt.Size = new System.Drawing.Size(360, 20); this.txtstartreceipt.StyleController = this.layoutControl1; @@ -389,15 +396,15 @@ namespace MES.Form // // txttotalreceivables // - this.txttotalreceivables.Location = new System.Drawing.Point(75, 132); + this.txttotalreceivables.Location = new System.Drawing.Point(502, 108); this.txttotalreceivables.Name = "txttotalreceivables"; - this.txttotalreceivables.Size = new System.Drawing.Size(787, 20); + this.txttotalreceivables.Size = new System.Drawing.Size(360, 20); this.txttotalreceivables.StyleController = this.layoutControl1; this.txttotalreceivables.TabIndex = 8; // // txttotalamountsettled // - this.txttotalamountsettled.Location = new System.Drawing.Point(75, 108); + this.txttotalamountsettled.Location = new System.Drawing.Point(75, 132); this.txttotalamountsettled.Name = "txttotalamountsettled"; this.txttotalamountsettled.Size = new System.Drawing.Size(360, 20); this.txttotalamountsettled.StyleController = this.layoutControl1; @@ -405,7 +412,7 @@ namespace MES.Form // // txttotaloutstandingamount // - this.txttotaloutstandingamount.Location = new System.Drawing.Point(502, 108); + this.txttotaloutstandingamount.Location = new System.Drawing.Point(502, 132); this.txttotaloutstandingamount.Name = "txttotaloutstandingamount"; this.txttotaloutstandingamount.Size = new System.Drawing.Size(360, 20); this.txttotaloutstandingamount.StyleController = this.layoutControl1; @@ -431,11 +438,12 @@ namespace MES.Form this.layoutControlItem11, this.layoutControlItem3, this.layoutControlItem5, - this.layoutControlItem7, this.layoutControlItem9, - this.layoutControlItem8, this.layoutControlItem10, - this.emptySpaceItem1}); + this.emptySpaceItem1, + this.layoutControlItem7, + this.layoutControlItem8, + this.layoutControlItem12}); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(874, 528); this.layoutControlGroup1.TextVisible = false; @@ -474,7 +482,7 @@ namespace MES.Form // this.layoutControlItem6.Control = this.txtstartreceipt; this.layoutControlItem6.CustomizationFormText = "期初应收款"; - this.layoutControlItem6.Location = new System.Drawing.Point(427, 72); + this.layoutControlItem6.Location = new System.Drawing.Point(0, 96); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(427, 24); this.layoutControlItem6.Text = "期初应收款"; @@ -524,7 +532,7 @@ namespace MES.Form // this.layoutControlItem9.Control = this.txttotalamountsettled; this.layoutControlItem9.CustomizationFormText = "已结款总额"; - this.layoutControlItem9.Location = new System.Drawing.Point(0, 96); + this.layoutControlItem9.Location = new System.Drawing.Point(0, 120); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(427, 24); this.layoutControlItem9.Text = "已结款总额"; @@ -534,9 +542,9 @@ namespace MES.Form // this.layoutControlItem8.Control = this.txttotalreceivables; this.layoutControlItem8.CustomizationFormText = "应收款总额"; - this.layoutControlItem8.Location = new System.Drawing.Point(0, 120); + this.layoutControlItem8.Location = new System.Drawing.Point(427, 96); this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(854, 24); + this.layoutControlItem8.Size = new System.Drawing.Size(427, 24); this.layoutControlItem8.Text = "应收款总额"; this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 14); // @@ -544,7 +552,7 @@ namespace MES.Form // this.layoutControlItem10.Control = this.txttotaloutstandingamount; this.layoutControlItem10.CustomizationFormText = "未结款总额"; - this.layoutControlItem10.Location = new System.Drawing.Point(427, 96); + this.layoutControlItem10.Location = new System.Drawing.Point(427, 120); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(427, 24); this.layoutControlItem10.Text = "未结款总额"; @@ -558,6 +566,32 @@ namespace MES.Form this.emptySpaceItem1.Size = new System.Drawing.Size(854, 340); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // + // gridColumn12 + // + this.gridColumn12.Caption = "联系方式"; + this.gridColumn12.FieldName = "phonenumber"; + this.gridColumn12.Name = "gridColumn12"; + this.gridColumn12.Visible = true; + this.gridColumn12.VisibleIndex = 10; + // + // txtphonenumber + // + this.txtphonenumber.Location = new System.Drawing.Point(502, 84); + this.txtphonenumber.Name = "txtphonenumber"; + this.txtphonenumber.Size = new System.Drawing.Size(360, 20); + this.txtphonenumber.StyleController = this.layoutControl1; + this.txtphonenumber.TabIndex = 12; + // + // layoutControlItem12 + // + this.layoutControlItem12.Control = this.txtphonenumber; + this.layoutControlItem12.CustomizationFormText = "联系方式"; + this.layoutControlItem12.Location = new System.Drawing.Point(427, 72); + this.layoutControlItem12.Name = "layoutControlItem12"; + this.layoutControlItem12.Size = new System.Drawing.Size(427, 24); + this.layoutControlItem12.Text = "联系方式"; + this.layoutControlItem12.TextSize = new System.Drawing.Size(60, 14); + // // Frmcustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); @@ -604,6 +638,8 @@ namespace MES.Form ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtphonenumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); this.ResumeLayout(false); } @@ -667,5 +703,8 @@ namespace MES.Form private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; private EmptySpaceItem emptySpaceItem1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; + private TextEdit txtphonenumber; + private LayoutControlItem layoutControlItem12; } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmquotation.cs b/WinformGeneralDeveloperFrame/Form/Frmquotation.cs index 3530f65..a792119 100644 --- a/WinformGeneralDeveloperFrame/Form/Frmquotation.cs +++ b/WinformGeneralDeveloperFrame/Form/Frmquotation.cs @@ -43,10 +43,15 @@ namespace MES.Form gridView1.GetFocusedDataRow()["unit"] = product.unit; gridView1.GetFocusedDataRow()["stockid"] = product.warehouse; gridView1.GetFocusedDataRow()["productcode"] = product.productcode; - + gridView1.GetFocusedDataRow()["productname"] = product.productname; } } + public override void InitFormFunction() + { + gridView1.BestFitColumns(); + } + /// /// 数据源初始化 /// @@ -152,8 +157,8 @@ namespace MES.Form /// public override bool SaveFunction() { - string code = "KHBJ" + DateTime.Now.Year + DateTime.Now.Month + DateTime.Now.Day + DateTime.Now.Hour + - DateTime.Now.Minute + DateTime.Now.Second + DateTime.Now.Millisecond; + string code = "KH" + 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 { @@ -172,7 +177,8 @@ namespace MES.Form info.quotationcode = code; db.quotationInfo.Add(info); db.SaveChanges(); - + txtid.Text = info.id.ToString(); + txtquotationcode.Text = code; if (dt != null) { List detaiListAdd = @@ -247,6 +253,7 @@ namespace MES.Form db.Database.ExecuteSqlCommand($"delete from quotationdetail where quotationid={info.id}"); db.SaveChanges(); } + gridControl1.DataSource = null; } catch (Exception ex) { @@ -300,6 +307,7 @@ namespace MES.Form txtcustomertype.EditValue = customer.customertype; txtcustomeruser.EditValue = customer.contactuser; txtdeliveraddress.Text = customer.address; + } } } @@ -313,6 +321,7 @@ namespace MES.Form using (var db=new MESDB()) { gridControl1.DataSource = db.quotationdetailInfo.Where(p => p.quotationid == info.id).ToList().ToDataTable(); + gridView1.BestFitColumns(); } } } @@ -331,6 +340,7 @@ namespace MES.Form if (string.IsNullOrEmpty(gridView1.GetFocusedDataRow()["productid"].ToString())) { "请选择产品".ShowTips(); + return; } if (!string.IsNullOrEmpty(gridView1.GetFocusedDataRow()["unitprice"].ToString()) && @@ -341,6 +351,7 @@ namespace MES.Form gridView1.GetFocusedDataRow()["number"].ToDecimal(0)); ; } + gridView1.BestFitColumns(); } } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmquotation.designer.cs b/WinformGeneralDeveloperFrame/Form/Frmquotation.designer.cs index 6d376ba..bcf5440 100644 --- a/WinformGeneralDeveloperFrame/Form/Frmquotation.designer.cs +++ b/WinformGeneralDeveloperFrame/Form/Frmquotation.designer.cs @@ -61,7 +61,7 @@ namespace MES.Form 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.productid = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemtxtproductid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -97,6 +97,7 @@ namespace MES.Form this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomerid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomertype)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtcustomeruser)).BeginInit(); @@ -395,8 +396,9 @@ namespace MES.Form // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gridColumn11, this.gridColumn12, + this.gridColumn11, + this.productid, this.gridColumn13, this.gridColumn14, this.gridColumn15, @@ -419,15 +421,15 @@ namespace MES.Form this.gridColumn11.FieldName = "id"; this.gridColumn11.Name = "gridColumn11"; // - // gridColumn12 + // productid // - this.gridColumn12.Caption = "产品名称"; - this.gridColumn12.ColumnEdit = this.repositoryItemtxtproductid; - this.gridColumn12.FieldName = "productid"; - this.gridColumn12.Name = "gridColumn12"; - this.gridColumn12.Visible = true; - this.gridColumn12.VisibleIndex = 0; - this.gridColumn12.Width = 201; + this.productid.Caption = "产品名称"; + this.productid.ColumnEdit = this.repositoryItemtxtproductid; + this.productid.FieldName = "productid"; + this.productid.Name = "productid"; + this.productid.Visible = true; + this.productid.VisibleIndex = 0; + this.productid.Width = 201; // // repositoryItemtxtproductid // @@ -492,7 +494,7 @@ namespace MES.Form this.gridColumn17.FieldName = "money"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { - new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "money", "SUM={0:0.##}")}); + new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "money", "总金额={0:0.##}")}); this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 5; this.gridColumn17.Width = 201; @@ -797,6 +799,12 @@ namespace MES.Form this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem11.TextVisible = false; // + // gridColumn12 + // + this.gridColumn12.Caption = "gridColumn12"; + this.gridColumn12.FieldName = "productname"; + this.gridColumn12.Name = "gridColumn12"; + // // Frmquotation // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); @@ -916,7 +924,7 @@ namespace MES.Form 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 productid; private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; private DevExpress.XtraGrid.Columns.GridColumn gridColumn15; @@ -931,5 +939,6 @@ namespace MES.Form private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtunit; private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtstockid; private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtproductid; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsale.cs b/WinformGeneralDeveloperFrame/Form/Frmsale.cs new file mode 100644 index 0000000..887edb3 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsale.cs @@ -0,0 +1,394 @@ +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 CCWin.SkinClass; +using DevExpress.XtraEditors; +using DevExpress.XtraGrid.Columns; +using DevExpress.XtraRichEdit.Layout; + +namespace MES.Form +{ + public partial class Frmsale : FrmBaseForm + { + private Dictionary fieldDictionary = new Dictionary(); + public Frmsale() + { + InitializeComponent(); + } + private void Frmsale_Load(object sender, EventArgs e) + { + + InitFrom(xtraTabControl1,grdList,grdListView,new LayoutControlGroup[]{layoutControlGroup1},new saleInfo(),gridControl1,new string[]{ "txtsaleordercode" }); + InitSearchDicData(); + repositoryItemGridLookUpEdit1.EditValueChanged += RepositoryItemGridLookUpEdit1_EditValueChanged; + } + + + /// + /// 数据源初始化 + /// + /// + 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("用户"); + txtsalesman.Properties.DataSource = GetDataTableUtils.SqlTable("用户"); + repositoryItemtxtsalesman.DataSource= GetDataTableUtils.SqlTable("用户"); + txtcreatorId.Properties.DataSource = GetDataTableUtils.SqlTable("用户"); + repositoryItemtxtpreparedby.DataSource= GetDataTableUtils.SqlTable("用户"); + repositoryItemtxtunit.DataSource = GetDataTableUtils.SqlTable("计量单位"); + repositoryItemtxtwarehouse.DataSource = GetDataTableUtils.SqlTable("仓库"); + txtcreatorId.Properties.DataSource= GetDataTableUtils.SqlTable("用户"); + } + /// + /// 搜索字段 + /// + /// + private void InitSearchDicData() + { + fieldDictionary.Add("销售单号","saleordercode"); + fieldDictionary.Add("订单日期","orderdate"); + fieldDictionary.Add("客户单号","customerordercode"); + fieldDictionary.Add("业务员","salesman"); + fieldDictionary.Add("完货日期","finishdate"); + fieldDictionary.Add("制单人", "creatorId"); + } + + public override void InitgrdListDataSource() + { + using (var con=new MESDB())/// + { + grdList.DataSource=con.saleInfo.ToList(); + } + Init(); + } + /// + /// 字段为空校验 + /// + /// + public override bool CheckInput() + { + if(string.IsNullOrEmpty(txtorderdate.EditValue.ToString())) + { + "订单日期不能为空".ShowWarning(); + txtorderdate.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtcustomerid.EditValue.ToString())) + { + "客户不能为空".ShowWarning(); + txtcustomerid.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(txtcontactphone.EditValue.ToString())) + { + "联系电话不能为空".ShowWarning(); + txtcontactphone.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtdeliveraddress.EditValue.ToString())) + { + "送货地址不能为空".ShowWarning(); + txtdeliveraddress.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtsalesman.EditValue.ToString())) + { + "业务员不能为空".ShowWarning(); + txtsalesman.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtfinishdate.EditValue.ToString())) + { + "完货日期不能为空".ShowWarning(); + txtfinishdate.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtcreatorId.EditValue.ToString())) + { + "制单人不能为空".ShowWarning(); + txtcreatorId.Focus(); + return false; + } + return true; + } + /// + /// 保存 + /// + /// + public override bool SaveFunction() + { + string code = "SO" + 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 + { + saleInfo info= (saleInfo)this.ControlDataToModel(new saleInfo()); + using (var db = new MESDB()) + { + using (var tran=db.Database.BeginTransaction()) + { + try + { + Dictionary> dic = + dt.GetDataTableData(); + if (info.id == 0)//新增 + { + info.saleordercode = code; + db.saleInfo.Add(info); + db.SaveChanges(); + txtid.Text = info.id.ToString(); + txtsaleordercode.Text = code; + if (dt != null) + { + List detaiListAdd = + dic["Add"]; + detaiListAdd.ForEach(a => a.saleid = info.id); + db.saledetailInfo.AddRange(detaiListAdd); + db.SaveChanges(); + } + } + else //更新 + { + db.Entry(info).State = EntityState.Modified; + db.SaveChanges(); + if (dt != null) + { + List detaiListAdd = + dic["Add"]; + detaiListAdd.ForEach(a => a.saleid = info.id); + db.saledetailInfo.AddRange(detaiListAdd); + + List detaiListEdit = + dic["Edit"]; + detaiListEdit.ForEach((a) => + { + db.Entry(a).State = EntityState.Modified; + }); + + List 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; + } + /// + /// 删除 + /// + /// + public override bool DelFunction() + { + try + { + saleInfo info = (saleInfo)this.ControlDataToModel(new saleInfo()); + using (var db = new MESDB()) + { + db.Entry(info).State=EntityState.Deleted; + db.SaveChanges(); + } + } + catch (Exception ex) + { + ex.Message.ShowError(); + return false; + } + return true; + } + /// + /// 搜索 + /// + /// + 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.saleInfo.SqlQuery("select * from sale").ToList(); + } + else + { + grdList.DataSource = db.saleInfo.SqlQuery($"select * from sale where {sql}").ToList(); + } + } + } + } + public override void gridControlMouseDoubleClickFunction(object sender, EventArgs e) + { + Initresgridcontrollookupedit(); + saleInfo info = grdListView.GetFocusedRow() as saleInfo; + if (info != null) + { + using (var db = new MESDB()) + { + gridControl1.DataSource = db.saledetailInfo.Where(p => p.saleid == info.id).ToList().ToDataTable(); + gridView1.BestFitColumns(); + quotationInfo quotation = db.quotationInfo.Where(p => p.customeruser == info.customerid).ToList() + .FirstOrDefault(); + + repositoryItemGridLookUpEdit1.DataSource = + db.quotationdetailInfo.Where(p => p.quotationid == quotation.id).ToList(); + } + } + } + public override void AddFunction() + { + txtorderdate.DateTime = DateTime.Now; + gridControl1.DataSource = new List().ToDataTable(); + } + private void toolStripMenuItemAdd_Click(object sender, EventArgs e) + { + gridView1.AddNewRow(); + } + + private void toolStripMenuItemDel_Click(object sender, EventArgs e) + { + gridView1.DeleteRow(gridView1.FocusedRowHandle); + } + + private void gridView1_ValidateRow(object sender, DevExpress.XtraGrid.Views.Base.ValidateRowEventArgs e) + { + if (string.IsNullOrEmpty(gridView1.GetFocusedDataRow()["productid"].ToString())) + { + "请选择产品".ShowTips(); + return; + } + + if (!string.IsNullOrEmpty(gridView1.GetFocusedDataRow()["unitprice"].ToString()) && + !string.IsNullOrEmpty(gridView1.GetFocusedDataRow()["salenumber"].ToString())) + { + gridView1.GetFocusedDataRow()["money"] = decimal.Multiply( + gridView1.GetFocusedDataRow()["unitprice"].ToDecimal(0), + gridView1.GetFocusedDataRow()["salenumber"].ToDecimal(0)); + ; + } + gridView1.BestFitColumns(); + } + + private void txtcustomerid_EditValueChanged(object sender, EventArgs e) + { + 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(); + } + if (txtcustomerid.EditValue != null) + { + int id = txtcustomerid.EditValue.ToString().ToInt16(); + 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; + txtcontactphone.Text = customer.phonenumber; + } + } + } + } + //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}; + GridColumn col7 = new GridColumn() { Caption = "产品名称", FieldName = "productname", Visible = true }; + GridColumn col2 = new GridColumn() { Caption = "规格", FieldName = "spec", Visible = true }; + GridColumn col3 = new GridColumn() { Caption = "报价数量", FieldName = "number", Visible = true }; + GridColumn col5 = new GridColumn() { Caption = "单价", FieldName = "unitprice", Visible = true }; + GridColumn col6 = new GridColumn() { Caption = "金额", FieldName = "money", Visible = true }; + GridColumn col4 = new GridColumn() { Caption = "id", FieldName = "id", Visible = false }; + repositoryItemGridLookUpEdit1View.Columns.AddRange(new GridColumn[]{col1, col7, col2,col3,col5,col6,col4}); + } + + private void RepositoryItemGridLookUpEdit1_EditValueChanged(object sender, EventArgs e) + { + using (var db = new MESDB()) + { + GridLookUpEdit look = sender as GridLookUpEdit; + quotationdetailInfo quotationdetail = look.Properties.View.GetFocusedRow() as quotationdetailInfo; + gridView1.GetFocusedDataRow()["productspec"] = quotationdetail.spec; + gridView1.GetFocusedDataRow()["unit"] = quotationdetail.unit; + gridView1.GetFocusedDataRow()["warehouse"] = quotationdetail.stockid; + gridView1.GetFocusedDataRow()["productcode"] = quotationdetail.productcode; + 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; + } + } + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsale.designer.cs b/WinformGeneralDeveloperFrame/Form/Frmsale.designer.cs new file mode 100644 index 0000000..b9a9b48 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsale.designer.cs @@ -0,0 +1,1302 @@ + +using DevExpress.XtraEditors; +using DevExpress.XtraLayout; +using DevExpress.XtraTab; + +namespace MES.Form +{ + partial class Frmsale + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + 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.repositoryItemtxtcustomerid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtcustomertype = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtcontactuser = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtsalesman = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtpreparedby = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn14 = 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.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemGridLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); + this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtunit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtwarehouse = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn34 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn36 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn37 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtproductid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.txtid = new DevExpress.XtraEditors.TextEdit(); + this.txtsaleordercode = new DevExpress.XtraEditors.TextEdit(); + this.txtorderdate = new DevExpress.XtraEditors.DateEdit(); + this.txtcustomerid = new DevExpress.XtraEditors.LookUpEdit(); + this.txtcustomercode = new DevExpress.XtraEditors.TextEdit(); + this.txtcustomertype = new DevExpress.XtraEditors.LookUpEdit(); + this.txtcustomerordercode = new DevExpress.XtraEditors.TextEdit(); + this.txtcontactuser = new DevExpress.XtraEditors.LookUpEdit(); + this.txtcontactphone = new DevExpress.XtraEditors.TextEdit(); + this.txtdeliveraddress = new DevExpress.XtraEditors.TextEdit(); + this.txtsalesman = new DevExpress.XtraEditors.LookUpEdit(); + this.txtfinishdate = new DevExpress.XtraEditors.DateEdit(); + this.txtcreatorId = new DevExpress.XtraEditors.LookUpEdit(); + 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.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem12 = 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(); + this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem14 = 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.repositoryItemtxtsalesman)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtpreparedby)).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.repositoryItemGridLookUpEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtunit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtproductid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsaleordercode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtorderdate.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtorderdate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomerid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomercode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomertype.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomerordercode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcontactuser.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcontactphone.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliveraddress.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalesman.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishdate.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishdate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.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.layoutControlItem11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).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(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); + this.SuspendLayout(); + // + // gridColumn1 + // + this.gridColumn1.Caption = "id"; + this.gridColumn1.FieldName = "id"; + this.gridColumn1.Name = "gridColumn1"; + // + // gridColumn2 + // + this.gridColumn2.Caption = "销售单号"; + this.gridColumn2.FieldName = "saleordercode"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 0; + this.gridColumn2.Width = 201; + // + // gridColumn3 + // + this.gridColumn3.Caption = "订单日期"; + this.gridColumn3.DisplayFormat.FormatString = "G"; + this.gridColumn3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn3.FieldName = "orderdate"; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 1; + this.gridColumn3.Width = 201; + // + // gridColumn4 + // + this.gridColumn4.Caption = "客户"; + this.gridColumn4.ColumnEdit = this.repositoryItemtxtcustomerid; + this.gridColumn4.FieldName = "customerid"; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 2; + this.gridColumn4.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"; + // + // gridColumn5 + // + this.gridColumn5.Caption = "客户编号"; + this.gridColumn5.FieldName = "customercode"; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 3; + this.gridColumn5.Width = 201; + // + // gridColumn6 + // + this.gridColumn6.Caption = "客户类型"; + this.gridColumn6.ColumnEdit = this.repositoryItemtxtcustomertype; + this.gridColumn6.FieldName = "customertype"; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 4; + this.gridColumn6.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"; + // + // gridColumn7 + // + this.gridColumn7.Caption = "客户单号"; + this.gridColumn7.FieldName = "customerordercode"; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.Visible = true; + this.gridColumn7.VisibleIndex = 5; + this.gridColumn7.Width = 201; + // + // gridColumn8 + // + this.gridColumn8.Caption = "联系人"; + this.gridColumn8.ColumnEdit = this.repositoryItemtxtcontactuser; + this.gridColumn8.FieldName = "contactuser"; + this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.Visible = true; + this.gridColumn8.VisibleIndex = 6; + this.gridColumn8.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"; + // + // gridColumn9 + // + this.gridColumn9.Caption = "联系电话"; + this.gridColumn9.FieldName = "contactphone"; + this.gridColumn9.Name = "gridColumn9"; + this.gridColumn9.Visible = true; + this.gridColumn9.VisibleIndex = 7; + this.gridColumn9.Width = 201; + // + // gridColumn10 + // + this.gridColumn10.Caption = "送货地址"; + this.gridColumn10.FieldName = "deliveraddress"; + this.gridColumn10.Name = "gridColumn10"; + this.gridColumn10.Visible = true; + this.gridColumn10.VisibleIndex = 8; + this.gridColumn10.Width = 201; + // + // gridColumn11 + // + this.gridColumn11.Caption = "业务员"; + this.gridColumn11.ColumnEdit = this.repositoryItemtxtsalesman; + this.gridColumn11.FieldName = "salesman"; + this.gridColumn11.Name = "gridColumn11"; + this.gridColumn11.Visible = true; + this.gridColumn11.VisibleIndex = 9; + this.gridColumn11.Width = 201; + // + // repositoryItemtxtsalesman + // + this.repositoryItemtxtsalesman.AutoHeight = false; + this.repositoryItemtxtsalesman.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtsalesman.DisplayMember = "Name"; + this.repositoryItemtxtsalesman.Name = "repositoryItemtxtsalesman"; + this.repositoryItemtxtsalesman.ValueMember = "ID"; + // + // gridColumn12 + // + this.gridColumn12.Caption = "完货日期"; + this.gridColumn12.DisplayFormat.FormatString = "G"; + this.gridColumn12.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn12.FieldName = "finishdate"; + this.gridColumn12.Name = "gridColumn12"; + this.gridColumn12.Visible = true; + this.gridColumn12.VisibleIndex = 10; + this.gridColumn12.Width = 201; + // + // gridColumn13 + // + this.gridColumn13.Caption = "制单人"; + this.gridColumn13.ColumnEdit = this.repositoryItemtxtpreparedby; + this.gridColumn13.FieldName = "creatorId"; + this.gridColumn13.Name = "gridColumn13"; + this.gridColumn13.Visible = true; + this.gridColumn13.VisibleIndex = 11; + this.gridColumn13.Width = 201; + // + // repositoryItemtxtpreparedby + // + this.repositoryItemtxtpreparedby.AutoHeight = false; + this.repositoryItemtxtpreparedby.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtpreparedby.DisplayMember = "Name"; + this.repositoryItemtxtpreparedby.Name = "repositoryItemtxtpreparedby"; + this.repositoryItemtxtpreparedby.ValueMember = "ID"; + // + // gridColumn14 + // + this.gridColumn14.Caption = "备注"; + this.gridColumn14.FieldName = "remark"; + this.gridColumn14.Name = "gridColumn14"; + this.gridColumn14.Visible = true; + this.gridColumn14.VisibleIndex = 12; + this.gridColumn14.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(944, 636); + 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(938, 607); + 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(938, 607); + 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.gridColumn12, + this.gridColumn13, + this.gridColumn14}); + 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(938, 607); + 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(938, 607); + this.panelControl2.TabIndex = 0; + // + // layoutControl1 + // + this.layoutControl1.Controls.Add(this.gridControl1); + this.layoutControl1.Controls.Add(this.txtid); + this.layoutControl1.Controls.Add(this.txtsaleordercode); + this.layoutControl1.Controls.Add(this.txtorderdate); + this.layoutControl1.Controls.Add(this.txtcustomerid); + this.layoutControl1.Controls.Add(this.txtcustomercode); + this.layoutControl1.Controls.Add(this.txtcustomertype); + this.layoutControl1.Controls.Add(this.txtcustomerordercode); + this.layoutControl1.Controls.Add(this.txtcontactuser); + this.layoutControl1.Controls.Add(this.txtcontactphone); + this.layoutControl1.Controls.Add(this.txtdeliveraddress); + this.layoutControl1.Controls.Add(this.txtsalesman); + this.layoutControl1.Controls.Add(this.txtfinishdate); + this.layoutControl1.Controls.Add(this.txtcreatorId); + 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(934, 603); + this.layoutControl1.TabIndex = 6; + this.layoutControl1.Text = "layoutControl1"; + // + // gridControl1 + // + this.gridControl1.ContextMenuStrip = this.contextMenuStrip1; + this.gridControl1.Location = new System.Drawing.Point(12, 204); + this.gridControl1.MainView = this.gridView1; + this.gridControl1.Name = "gridControl1"; + this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemtxtproductid, + this.repositoryItemtxtunit, + this.repositoryItemtxtwarehouse, + this.repositoryItemGridLookUpEdit1}); + this.gridControl1.Size = new System.Drawing.Size(910, 387); + this.gridControl1.TabIndex = 15; + 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.gridColumn15, + this.gridColumn16, + this.gridColumn17, + this.gridColumn18, + this.gridColumn19, + this.gridColumn20, + this.gridColumn21, + this.gridColumn22, + this.gridColumn23, + this.gridColumn24, + this.gridColumn25, + this.gridColumn26, + this.gridColumn27, + this.gridColumn28, + this.gridColumn29, + this.gridColumn30, + this.gridColumn31, + this.gridColumn32, + this.gridColumn33, + this.gridColumn34, + this.gridColumn35, + this.gridColumn36, + this.gridColumn37}); + 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); + // + // gridColumn15 + // + this.gridColumn15.Caption = "id"; + this.gridColumn15.FieldName = "id"; + this.gridColumn15.Name = "gridColumn15"; + this.gridColumn15.Width = 201; + // + // gridColumn16 + // + this.gridColumn16.Caption = "产品"; + this.gridColumn16.ColumnEdit = this.repositoryItemGridLookUpEdit1; + this.gridColumn16.FieldName = "productid"; + this.gridColumn16.Name = "gridColumn16"; + this.gridColumn16.Visible = true; + this.gridColumn16.VisibleIndex = 0; + this.gridColumn16.Width = 201; + // + // repositoryItemGridLookUpEdit1 + // + this.repositoryItemGridLookUpEdit1.AutoHeight = false; + this.repositoryItemGridLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemGridLookUpEdit1.DisplayMember = "productname"; + this.repositoryItemGridLookUpEdit1.Name = "repositoryItemGridLookUpEdit1"; + this.repositoryItemGridLookUpEdit1.NullText = ""; + this.repositoryItemGridLookUpEdit1.PopupView = this.repositoryItemGridLookUpEdit1View; + this.repositoryItemGridLookUpEdit1.ValueMember = "productid"; + // + // repositoryItemGridLookUpEdit1View + // + this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View"; + this.repositoryItemGridLookUpEdit1View.OptionsBehavior.Editable = false; + this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; + this.repositoryItemGridLookUpEdit1View.OptionsView.ColumnAutoWidth = false; + this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false; + // + // gridColumn17 + // + this.gridColumn17.Caption = "规格型号"; + this.gridColumn17.FieldName = "productspec"; + this.gridColumn17.Name = "gridColumn17"; + this.gridColumn17.Visible = true; + this.gridColumn17.VisibleIndex = 1; + this.gridColumn17.Width = 201; + // + // gridColumn18 + // + this.gridColumn18.Caption = "数量"; + this.gridColumn18.FieldName = "salenumber"; + this.gridColumn18.Name = "gridColumn18"; + this.gridColumn18.Visible = true; + this.gridColumn18.VisibleIndex = 2; + this.gridColumn18.Width = 201; + // + // gridColumn19 + // + this.gridColumn19.Caption = "计量单位"; + this.gridColumn19.ColumnEdit = this.repositoryItemtxtunit; + this.gridColumn19.FieldName = "unit"; + this.gridColumn19.Name = "gridColumn19"; + this.gridColumn19.Visible = true; + this.gridColumn19.VisibleIndex = 3; + this.gridColumn19.Width = 201; + // + // repositoryItemtxtunit + // + this.repositoryItemtxtunit.AutoHeight = false; + this.repositoryItemtxtunit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtunit.DisplayMember = "Name"; + this.repositoryItemtxtunit.Name = "repositoryItemtxtunit"; + this.repositoryItemtxtunit.NullText = ""; + this.repositoryItemtxtunit.ValueMember = "ID"; + // + // gridColumn20 + // + this.gridColumn20.Caption = "单价"; + this.gridColumn20.FieldName = "unitprice"; + this.gridColumn20.Name = "gridColumn20"; + this.gridColumn20.Visible = true; + this.gridColumn20.VisibleIndex = 4; + this.gridColumn20.Width = 201; + // + // gridColumn21 + // + this.gridColumn21.Caption = "金额"; + this.gridColumn21.FieldName = "money"; + this.gridColumn21.Name = "gridColumn21"; + this.gridColumn21.Visible = true; + this.gridColumn21.VisibleIndex = 5; + this.gridColumn21.Width = 201; + // + // gridColumn22 + // + this.gridColumn22.Caption = "交货日期"; + this.gridColumn22.DisplayFormat.FormatString = "G"; + this.gridColumn22.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn22.FieldName = "deliverdate"; + this.gridColumn22.Name = "gridColumn22"; + this.gridColumn22.Visible = true; + this.gridColumn22.VisibleIndex = 6; + this.gridColumn22.Width = 201; + // + // gridColumn23 + // + this.gridColumn23.Caption = "仓库"; + this.gridColumn23.ColumnEdit = this.repositoryItemtxtwarehouse; + this.gridColumn23.FieldName = "warehouse"; + this.gridColumn23.Name = "gridColumn23"; + this.gridColumn23.Visible = true; + this.gridColumn23.VisibleIndex = 7; + this.gridColumn23.Width = 201; + // + // repositoryItemtxtwarehouse + // + this.repositoryItemtxtwarehouse.AutoHeight = false; + this.repositoryItemtxtwarehouse.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtwarehouse.DisplayMember = "Name"; + this.repositoryItemtxtwarehouse.Name = "repositoryItemtxtwarehouse"; + this.repositoryItemtxtwarehouse.ValueMember = "ID"; + // + // gridColumn24 + // + this.gridColumn24.Caption = "已排产量"; + this.gridColumn24.FieldName = "readynumber"; + this.gridColumn24.Name = "gridColumn24"; + this.gridColumn24.OptionsColumn.AllowEdit = false; + this.gridColumn24.Visible = true; + this.gridColumn24.VisibleIndex = 8; + this.gridColumn24.Width = 201; + // + // gridColumn25 + // + this.gridColumn25.Caption = "待排产量"; + this.gridColumn25.FieldName = "noreadynumber"; + this.gridColumn25.Name = "gridColumn25"; + this.gridColumn25.OptionsColumn.AllowEdit = false; + this.gridColumn25.Visible = true; + this.gridColumn25.VisibleIndex = 9; + this.gridColumn25.Width = 201; + // + // gridColumn26 + // + this.gridColumn26.Caption = "已完工量"; + this.gridColumn26.FieldName = "finishnumber"; + this.gridColumn26.Name = "gridColumn26"; + this.gridColumn26.OptionsColumn.AllowEdit = false; + this.gridColumn26.Visible = true; + this.gridColumn26.VisibleIndex = 10; + this.gridColumn26.Width = 201; + // + // gridColumn27 + // + this.gridColumn27.Caption = "已出货量"; + this.gridColumn27.FieldName = "outnumber"; + this.gridColumn27.Name = "gridColumn27"; + this.gridColumn27.OptionsColumn.AllowEdit = false; + this.gridColumn27.Visible = true; + this.gridColumn27.VisibleIndex = 11; + this.gridColumn27.Width = 201; + // + // gridColumn28 + // + this.gridColumn28.Caption = "退货量"; + this.gridColumn28.FieldName = "returnnumber"; + this.gridColumn28.Name = "gridColumn28"; + this.gridColumn28.OptionsColumn.AllowEdit = false; + this.gridColumn28.Visible = true; + this.gridColumn28.VisibleIndex = 12; + this.gridColumn28.Width = 201; + // + // gridColumn29 + // + this.gridColumn29.Caption = "未交货数量"; + this.gridColumn29.FieldName = "nodelivernumber"; + this.gridColumn29.Name = "gridColumn29"; + this.gridColumn29.OptionsColumn.AllowEdit = false; + this.gridColumn29.Visible = true; + this.gridColumn29.VisibleIndex = 13; + this.gridColumn29.Width = 201; + // + // gridColumn30 + // + this.gridColumn30.Caption = "实际交货数量"; + this.gridColumn30.FieldName = "delivernumber"; + this.gridColumn30.Name = "gridColumn30"; + this.gridColumn30.OptionsColumn.AllowEdit = false; + this.gridColumn30.Visible = true; + this.gridColumn30.VisibleIndex = 14; + this.gridColumn30.Width = 201; + // + // gridColumn31 + // + this.gridColumn31.Caption = "已结算数量"; + this.gridColumn31.FieldName = "closenumber"; + this.gridColumn31.Name = "gridColumn31"; + this.gridColumn31.OptionsColumn.AllowEdit = false; + this.gridColumn31.Visible = true; + this.gridColumn31.VisibleIndex = 15; + this.gridColumn31.Width = 201; + // + // gridColumn32 + // + this.gridColumn32.Caption = "未结算数量"; + this.gridColumn32.FieldName = "noclosenumber"; + this.gridColumn32.Name = "gridColumn32"; + this.gridColumn32.OptionsColumn.AllowEdit = false; + this.gridColumn32.Visible = true; + this.gridColumn32.VisibleIndex = 16; + this.gridColumn32.Width = 201; + // + // gridColumn33 + // + this.gridColumn33.Caption = "物料成本"; + this.gridColumn33.FieldName = "materialcost"; + this.gridColumn33.Name = "gridColumn33"; + this.gridColumn33.OptionsColumn.AllowEdit = false; + this.gridColumn33.Visible = true; + this.gridColumn33.VisibleIndex = 17; + this.gridColumn33.Width = 201; + // + // gridColumn34 + // + this.gridColumn34.Caption = "实际物料成本"; + this.gridColumn34.FieldName = "realmaterialcost"; + this.gridColumn34.Name = "gridColumn34"; + this.gridColumn34.OptionsColumn.AllowEdit = false; + this.gridColumn34.Visible = true; + this.gridColumn34.VisibleIndex = 18; + this.gridColumn34.Width = 201; + // + // gridColumn35 + // + this.gridColumn35.Caption = "产品编号"; + this.gridColumn35.FieldName = "productcode"; + this.gridColumn35.Name = "gridColumn35"; + this.gridColumn35.Visible = true; + this.gridColumn35.VisibleIndex = 19; + this.gridColumn35.Width = 201; + // + // gridColumn36 + // + this.gridColumn36.Caption = "销售主表"; + this.gridColumn36.FieldName = "saleid"; + this.gridColumn36.Name = "gridColumn36"; + this.gridColumn36.Width = 201; + // + // gridColumn37 + // + this.gridColumn37.Caption = "销售单号"; + this.gridColumn37.FieldName = "salecode"; + this.gridColumn37.Name = "gridColumn37"; + this.gridColumn37.Visible = true; + this.gridColumn37.VisibleIndex = 20; + this.gridColumn37.Width = 201; + // + // repositoryItemtxtproductid + // + this.repositoryItemtxtproductid.AutoHeight = false; + this.repositoryItemtxtproductid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtproductid.Name = "repositoryItemtxtproductid"; + // + // txtid + // + this.txtid.Location = new System.Drawing.Point(63, 12); + this.txtid.Name = "txtid"; + this.txtid.Size = new System.Drawing.Size(859, 20); + this.txtid.StyleController = this.layoutControl1; + this.txtid.TabIndex = 1; + // + // txtsaleordercode + // + this.txtsaleordercode.Location = new System.Drawing.Point(63, 36); + this.txtsaleordercode.Name = "txtsaleordercode"; + this.txtsaleordercode.Size = new System.Drawing.Size(402, 20); + this.txtsaleordercode.StyleController = this.layoutControl1; + this.txtsaleordercode.TabIndex = 2; + // + // txtorderdate + // + this.txtorderdate.EditValue = null; + this.txtorderdate.ImeMode = System.Windows.Forms.ImeMode.Off; + this.txtorderdate.Location = new System.Drawing.Point(520, 36); + this.txtorderdate.Name = "txtorderdate"; + this.txtorderdate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txtorderdate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton()}); + this.txtorderdate.Properties.DisplayFormat.FormatString = "G"; + this.txtorderdate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.txtorderdate.Size = new System.Drawing.Size(402, 20); + this.txtorderdate.StyleController = this.layoutControl1; + this.txtorderdate.TabIndex = 3; + // + // txtcustomerid + // + this.txtcustomerid.EditValue = ""; + this.txtcustomerid.Location = new System.Drawing.Point(63, 60); + 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(402, 20); + this.txtcustomerid.StyleController = this.layoutControl1; + this.txtcustomerid.TabIndex = 4; + this.txtcustomerid.EditValueChanged += new System.EventHandler(this.txtcustomerid_EditValueChanged); + // + // txtcustomercode + // + this.txtcustomercode.Location = new System.Drawing.Point(520, 60); + this.txtcustomercode.Name = "txtcustomercode"; + this.txtcustomercode.Size = new System.Drawing.Size(402, 20); + this.txtcustomercode.StyleController = this.layoutControl1; + this.txtcustomercode.TabIndex = 5; + // + // txtcustomertype + // + this.txtcustomertype.EditValue = ""; + this.txtcustomertype.Location = new System.Drawing.Point(63, 84); + 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(402, 20); + this.txtcustomertype.StyleController = this.layoutControl1; + this.txtcustomertype.TabIndex = 6; + // + // txtcustomerordercode + // + this.txtcustomerordercode.Location = new System.Drawing.Point(520, 84); + this.txtcustomerordercode.Name = "txtcustomerordercode"; + this.txtcustomerordercode.Size = new System.Drawing.Size(402, 20); + this.txtcustomerordercode.StyleController = this.layoutControl1; + this.txtcustomerordercode.TabIndex = 7; + // + // txtcontactuser + // + this.txtcontactuser.EditValue = ""; + this.txtcontactuser.Location = new System.Drawing.Point(63, 108); + 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(402, 20); + this.txtcontactuser.StyleController = this.layoutControl1; + this.txtcontactuser.TabIndex = 8; + // + // txtcontactphone + // + this.txtcontactphone.Location = new System.Drawing.Point(520, 108); + this.txtcontactphone.Name = "txtcontactphone"; + this.txtcontactphone.Size = new System.Drawing.Size(402, 20); + this.txtcontactphone.StyleController = this.layoutControl1; + this.txtcontactphone.TabIndex = 9; + // + // txtdeliveraddress + // + this.txtdeliveraddress.Location = new System.Drawing.Point(520, 132); + this.txtdeliveraddress.Name = "txtdeliveraddress"; + this.txtdeliveraddress.Size = new System.Drawing.Size(402, 20); + this.txtdeliveraddress.StyleController = this.layoutControl1; + this.txtdeliveraddress.TabIndex = 10; + // + // txtsalesman + // + this.txtsalesman.EditValue = ""; + this.txtsalesman.Location = new System.Drawing.Point(63, 132); + this.txtsalesman.Name = "txtsalesman"; + this.txtsalesman.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txtsalesman.Properties.DisplayMember = "Name"; + this.txtsalesman.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; + this.txtsalesman.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; + this.txtsalesman.Properties.ValueMember = "ID"; + this.txtsalesman.Size = new System.Drawing.Size(402, 20); + this.txtsalesman.StyleController = this.layoutControl1; + this.txtsalesman.TabIndex = 11; + // + // txtfinishdate + // + this.txtfinishdate.EditValue = null; + this.txtfinishdate.ImeMode = System.Windows.Forms.ImeMode.Off; + this.txtfinishdate.Location = new System.Drawing.Point(63, 156); + this.txtfinishdate.Name = "txtfinishdate"; + this.txtfinishdate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txtfinishdate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton()}); + this.txtfinishdate.Properties.DisplayFormat.FormatString = "G"; + this.txtfinishdate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.txtfinishdate.Size = new System.Drawing.Size(402, 20); + this.txtfinishdate.StyleController = this.layoutControl1; + this.txtfinishdate.TabIndex = 12; + // + // txtcreatorId + // + this.txtcreatorId.EditValue = ""; + this.txtcreatorId.Location = new System.Drawing.Point(520, 156); + 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(402, 20); + this.txtcreatorId.StyleController = this.layoutControl1; + this.txtcreatorId.TabIndex = 13; + // + // txtremark + // + this.txtremark.Location = new System.Drawing.Point(63, 180); + this.txtremark.Name = "txtremark"; + this.txtremark.Size = new System.Drawing.Size(859, 20); + this.txtremark.StyleController = this.layoutControl1; + this.txtremark.TabIndex = 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.layoutControlItem4, + this.layoutControlItem6, + this.layoutControlItem8, + this.layoutControlItem11, + this.layoutControlItem12, + this.layoutControlItem3, + this.layoutControlItem5, + this.layoutControlItem7, + this.layoutControlItem9, + this.layoutControlItem10, + this.layoutControlItem13, + this.layoutControlItem15, + this.layoutControlItem14}); + this.layoutControlGroup1.Name = "layoutControlGroup1"; + this.layoutControlGroup1.Size = new System.Drawing.Size(934, 603); + 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(914, 24); + this.layoutControlItem1.Text = "id"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.txtsaleordercode; + this.layoutControlItem2.CustomizationFormText = "销售单号"; + this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem2.Text = "销售单号"; + this.layoutControlItem2.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem4 + // + this.layoutControlItem4.Control = this.txtcustomerid; + this.layoutControlItem4.CustomizationFormText = "客户"; + this.layoutControlItem4.Location = new System.Drawing.Point(0, 48); + this.layoutControlItem4.Name = "layoutControlItem4"; + this.layoutControlItem4.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem4.Text = "客户"; + this.layoutControlItem4.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem6 + // + this.layoutControlItem6.Control = this.txtcustomertype; + this.layoutControlItem6.CustomizationFormText = "客户类型"; + this.layoutControlItem6.Location = new System.Drawing.Point(0, 72); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem6.Text = "客户类型"; + this.layoutControlItem6.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.txtcontactuser; + this.layoutControlItem8.CustomizationFormText = "联系人"; + this.layoutControlItem8.Location = new System.Drawing.Point(0, 96); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem8.Text = "联系人"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem11 + // + this.layoutControlItem11.Control = this.txtsalesman; + this.layoutControlItem11.CustomizationFormText = "业务员"; + this.layoutControlItem11.Location = new System.Drawing.Point(0, 120); + this.layoutControlItem11.Name = "layoutControlItem11"; + this.layoutControlItem11.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem11.Text = "业务员"; + this.layoutControlItem11.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem12 + // + this.layoutControlItem12.Control = this.txtfinishdate; + this.layoutControlItem12.CustomizationFormText = "完货日期"; + this.layoutControlItem12.Location = new System.Drawing.Point(0, 144); + this.layoutControlItem12.Name = "layoutControlItem12"; + this.layoutControlItem12.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem12.Text = "完货日期"; + this.layoutControlItem12.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.txtorderdate; + this.layoutControlItem3.CustomizationFormText = "订单日期"; + this.layoutControlItem3.Location = new System.Drawing.Point(457, 24); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem3.Text = "订单日期"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txtcustomercode; + this.layoutControlItem5.CustomizationFormText = "客户编号"; + this.layoutControlItem5.Location = new System.Drawing.Point(457, 48); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem5.Text = "客户编号"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem7 + // + this.layoutControlItem7.Control = this.txtcustomerordercode; + this.layoutControlItem7.CustomizationFormText = "客户单号"; + this.layoutControlItem7.Location = new System.Drawing.Point(457, 72); + this.layoutControlItem7.Name = "layoutControlItem7"; + this.layoutControlItem7.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem7.Text = "客户单号"; + this.layoutControlItem7.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem9 + // + this.layoutControlItem9.Control = this.txtcontactphone; + this.layoutControlItem9.CustomizationFormText = "联系电话"; + this.layoutControlItem9.Location = new System.Drawing.Point(457, 96); + this.layoutControlItem9.Name = "layoutControlItem9"; + this.layoutControlItem9.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem9.Text = "联系电话"; + this.layoutControlItem9.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem10 + // + this.layoutControlItem10.Control = this.txtdeliveraddress; + this.layoutControlItem10.CustomizationFormText = "送货地址"; + this.layoutControlItem10.Location = new System.Drawing.Point(457, 120); + this.layoutControlItem10.Name = "layoutControlItem10"; + this.layoutControlItem10.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem10.Text = "送货地址"; + this.layoutControlItem10.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem13 + // + this.layoutControlItem13.Control = this.txtcreatorId; + this.layoutControlItem13.CustomizationFormText = "制单人"; + this.layoutControlItem13.Location = new System.Drawing.Point(457, 144); + this.layoutControlItem13.Name = "layoutControlItem13"; + this.layoutControlItem13.Size = new System.Drawing.Size(457, 24); + this.layoutControlItem13.Text = "制单人"; + this.layoutControlItem13.TextSize = new System.Drawing.Size(48, 14); + // + // layoutControlItem15 + // + this.layoutControlItem15.Control = this.gridControl1; + this.layoutControlItem15.Location = new System.Drawing.Point(0, 192); + this.layoutControlItem15.Name = "layoutControlItem15"; + this.layoutControlItem15.Size = new System.Drawing.Size(914, 391); + this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem15.TextVisible = false; + // + // layoutControlItem14 + // + this.layoutControlItem14.Control = this.txtremark; + this.layoutControlItem14.CustomizationFormText = "备注"; + this.layoutControlItem14.Location = new System.Drawing.Point(0, 168); + this.layoutControlItem14.Name = "layoutControlItem14"; + this.layoutControlItem14.Size = new System.Drawing.Size(914, 24); + this.layoutControlItem14.Text = "备注"; + this.layoutControlItem14.TextSize = new System.Drawing.Size(48, 14); + // + // Frmsale + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(944, 670); + this.Controls.Add(this.xtraTabControl1); + this.Name = "Frmsale"; + this.Text = "销售订单"; + this.Load += new System.EventHandler(this.Frmsale_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.repositoryItemtxtsalesman)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtpreparedby)).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.repositoryItemGridLookUpEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtunit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtproductid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsaleordercode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtorderdate.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtorderdate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomerid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomercode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomertype.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcustomerordercode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcontactuser.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcontactphone.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliveraddress.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalesman.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishdate.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishdate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtcreatorId.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.layoutControlItem11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).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(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).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.XtraGrid.Columns.GridColumn gridColumn12; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtid; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtsaleordercode; + /////////////////////////////// + private DevExpress.XtraEditors.DateEdit txtorderdate; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcustomerid; + + private DevExpress.XtraEditors.LookUpEdit txtcustomerid; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtcustomercode; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcustomertype; + + private DevExpress.XtraEditors.LookUpEdit txtcustomertype; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtcustomerordercode; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtcontactuser; + + private DevExpress.XtraEditors.LookUpEdit txtcontactuser; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtcontactphone; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtdeliveraddress; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtsalesman; + + private DevExpress.XtraEditors.LookUpEdit txtsalesman; + /////////////////////////////// + private DevExpress.XtraEditors.DateEdit txtfinishdate; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtpreparedby; + + private DevExpress.XtraEditors.LookUpEdit txtcreatorId; + /////////////////////////////// + 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; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; + private DevExpress.XtraGrid.GridControl gridControl1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + 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 DevExpress.XtraGrid.Columns.GridColumn gridColumn22; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn23; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn24; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn25; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn26; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn27; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn28; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn29; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn30; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn31; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn32; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn33; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn34; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn35; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn36; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn37; + private LayoutControlItem layoutControlItem15; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtproductid; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtunit; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtwarehouse; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAdd; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDel; + private DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit repositoryItemGridLookUpEdit1; + private DevExpress.XtraGrid.Views.Grid.GridView repositoryItemGridLookUpEdit1View; + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsale.resx b/WinformGeneralDeveloperFrame/Form/Frmsale.resx new file mode 100644 index 0000000..ad53752 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsale.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsaledetail.cs b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.cs new file mode 100644 index 0000000..0dc2835 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.cs @@ -0,0 +1,277 @@ +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 Frmsaledetail : FrmBaseForm + { + private Dictionary fieldDictionary = new Dictionary(); + public Frmsaledetail() + { + InitializeComponent(); + } + private void Frmsaledetail_Load(object sender, EventArgs e) + { + + InitFrom(xtraTabControl1,grdList,grdListView,new LayoutControlGroup[]{layoutControlGroup1},new saledetailInfo()); + InitSearchDicData(); + } + /// + /// 数据源初始化 + /// + /// + private void Init() + { + + + + + txtproductid.Properties.DataSource = GetDataTableUtils.SqlTable("产品"); + repositoryItemtxtproductid.DataSource= GetDataTableUtils.SqlTable("产品"); + txtunit.Properties.DataSource = GetDataTableUtils.SqlTable("计量单位"); + repositoryItemtxtunit.DataSource= GetDataTableUtils.SqlTable("计量单位"); + txtwarehouse.Properties.DataSource = GetDataTableUtils.SqlTable("仓库"); + repositoryItemtxtwarehouse.DataSource= GetDataTableUtils.SqlTable("仓库"); + + + } + /// + /// 搜索字段 + /// + /// + private void InitSearchDicData() + { + fieldDictionary.Add("交货日期","deliverdate"); + fieldDictionary.Add("仓库","warehouse"); + fieldDictionary.Add("产品编号","productcode"); + fieldDictionary.Add("销售单号","salecode"); + } + + public override void InitgrdListDataSource() + { + using (var con=new MESDB())/// + { + grdList.DataSource=con.saledetailInfo.ToList(); + } + Init(); + } + /// + /// 字段为空校验 + /// + /// + public override bool CheckInput() + { + if(string.IsNullOrEmpty(txtproductid.EditValue.ToString())) + { + "产品不能为空".ShowWarning(); + txtproductid.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtproductspec.EditValue.ToString())) + { + "规格型号不能为空".ShowWarning(); + txtproductspec.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtsalenumber.EditValue.ToString())) + { + "数量不能为空".ShowWarning(); + txtsalenumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtunit.EditValue.ToString())) + { + "计量单位不能为空".ShowWarning(); + txtunit.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtunitprice.EditValue.ToString())) + { + "单价不能为空".ShowWarning(); + txtunitprice.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtmoney.EditValue.ToString())) + { + "金额不能为空".ShowWarning(); + txtmoney.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtdeliverdate.EditValue.ToString())) + { + "交货日期不能为空".ShowWarning(); + txtdeliverdate.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtwarehouse.EditValue.ToString())) + { + "仓库不能为空".ShowWarning(); + txtwarehouse.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtreadynumber.EditValue.ToString())) + { + "已排产量不能为空".ShowWarning(); + txtreadynumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtnoreadynumber.EditValue.ToString())) + { + "待排产量不能为空".ShowWarning(); + txtnoreadynumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtfinishnumber.EditValue.ToString())) + { + "已完工量不能为空".ShowWarning(); + txtfinishnumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtoutnumber.EditValue.ToString())) + { + "已出货量不能为空".ShowWarning(); + txtoutnumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtreturnnumber.EditValue.ToString())) + { + "退货量不能为空".ShowWarning(); + txtreturnnumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtnodelivernumber.EditValue.ToString())) + { + "未交货数量不能为空".ShowWarning(); + txtnodelivernumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtdelivernumber.EditValue.ToString())) + { + "实际交货数量不能为空".ShowWarning(); + txtdelivernumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtclosenumber.EditValue.ToString())) + { + "已结算数量不能为空".ShowWarning(); + txtclosenumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtnoclosenumber.EditValue.ToString())) + { + "未结算数量不能为空".ShowWarning(); + txtnoclosenumber.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtmaterialcost.EditValue.ToString())) + { + "物料成本不能为空".ShowWarning(); + txtmaterialcost.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtrealmaterialcost.EditValue.ToString())) + { + "实际物料成本不能为空".ShowWarning(); + txtrealmaterialcost.Focus(); + return false; + } + if(string.IsNullOrEmpty(txtproductcode.EditValue.ToString())) + { + "产品编号不能为空".ShowWarning(); + txtproductcode.Focus(); + return false; + } + //if(string.IsNullOrEmpty(txtsaleid.EditValue.ToString())) + //{ + // "销售主表不能为空".ShowWarning(); + // txtsaleid.Focus(); + // return false; + //} + if(string.IsNullOrEmpty(txtsalecode.EditValue.ToString())) + { + "销售单号不能为空".ShowWarning(); + txtsalecode.Focus(); + return false; + } + return true; + } + /// + /// 保存 + /// + /// + public override bool SaveFunction() + { + try + { + saledetailInfo info= (saledetailInfo)this.ControlDataToModel(new saledetailInfo()); + using (var db = new MESDB()) + { + db.saledetailInfo.AddOrUpdate(info); + db.SaveChanges(); + } + } + catch (Exception ex) + { + ex.Message.ShowError(); + return false; + } + return true; + } + /// + /// 删除 + /// + /// + public override bool DelFunction() + { + try + { + saledetailInfo info = (saledetailInfo)this.ControlDataToModel(new saledetailInfo()); + using (var db = new MESDB()) + { + db.Entry(info).State=EntityState.Deleted; + db.SaveChanges(); + } + } + catch (Exception ex) + { + ex.Message.ShowError(); + return false; + } + return true; + } + /// + /// 搜索 + /// + /// + 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.saledetailInfo.SqlQuery("select * from saledetail").ToList(); + } + else + { + grdList.DataSource = db.saledetailInfo.SqlQuery($"select * from saledetail where {sql}").ToList(); + } + } + } + } + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsaledetail.designer.cs b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.designer.cs new file mode 100644 index 0000000..e670c9e --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.designer.cs @@ -0,0 +1,1158 @@ + +using DevExpress.XtraEditors; +using DevExpress.XtraLayout; +using DevExpress.XtraTab; + +namespace MES.Form +{ + partial class Frmsaledetail + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemtxtproductid = 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.repositoryItemtxtunit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + 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.repositoryItemtxtwarehouse = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); + this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); + 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.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn23 = 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.txtid = new DevExpress.XtraEditors.TextEdit(); + this.txtproductid = new DevExpress.XtraEditors.LookUpEdit(); + this.txtproductspec = new DevExpress.XtraEditors.TextEdit(); + this.txtsalenumber = new DevExpress.XtraEditors.TextEdit(); + this.txtunit = new DevExpress.XtraEditors.LookUpEdit(); + this.txtunitprice = new DevExpress.XtraEditors.TextEdit(); + this.txtmoney = new DevExpress.XtraEditors.TextEdit(); + this.txtdeliverdate = new DevExpress.XtraEditors.DateEdit(); + this.txtwarehouse = new DevExpress.XtraEditors.LookUpEdit(); + this.txtreadynumber = new DevExpress.XtraEditors.TextEdit(); + this.txtnoreadynumber = new DevExpress.XtraEditors.TextEdit(); + this.txtfinishnumber = new DevExpress.XtraEditors.TextEdit(); + this.txtoutnumber = new DevExpress.XtraEditors.TextEdit(); + this.txtreturnnumber = new DevExpress.XtraEditors.TextEdit(); + this.txtnodelivernumber = new DevExpress.XtraEditors.TextEdit(); + this.txtdelivernumber = new DevExpress.XtraEditors.TextEdit(); + this.txtclosenumber = new DevExpress.XtraEditors.TextEdit(); + this.txtnoclosenumber = new DevExpress.XtraEditors.TextEdit(); + this.txtmaterialcost = new DevExpress.XtraEditors.TextEdit(); + this.txtrealmaterialcost = new DevExpress.XtraEditors.TextEdit(); + this.txtproductcode = new DevExpress.XtraEditors.TextEdit(); + this.txtsalecode = new DevExpress.XtraEditors.TextEdit(); + this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtproductid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtunit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).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.txtid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductspec.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalenumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtunit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtunitprice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtmoney.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtwarehouse.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtreadynumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnoreadynumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishnumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtoutnumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtreturnnumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnodelivernumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdelivernumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtclosenumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnoclosenumber.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtmaterialcost.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtrealmaterialcost.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductcode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalecode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit(); + this.SuspendLayout(); + // + // gridColumn1 + // + this.gridColumn1.Caption = "id"; + this.gridColumn1.FieldName = "id"; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 0; + this.gridColumn1.Width = 201; + // + // gridColumn2 + // + this.gridColumn2.Caption = "产品"; + this.gridColumn2.ColumnEdit = this.repositoryItemtxtproductid; + this.gridColumn2.FieldName = "productid"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 1; + this.gridColumn2.Width = 201; + // + // repositoryItemtxtproductid + // + this.repositoryItemtxtproductid.AutoHeight = false; + this.repositoryItemtxtproductid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtproductid.DisplayMember = "Name"; + this.repositoryItemtxtproductid.Name = "repositoryItemtxtproductid"; + this.repositoryItemtxtproductid.NullText = ""; + this.repositoryItemtxtproductid.ValueMember = "ID"; + // + // gridColumn3 + // + this.gridColumn3.Caption = "规格型号"; + this.gridColumn3.FieldName = "productspec"; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 2; + this.gridColumn3.Width = 201; + // + // gridColumn4 + // + this.gridColumn4.Caption = "数量"; + this.gridColumn4.FieldName = "salenumber"; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 3; + this.gridColumn4.Width = 201; + // + // gridColumn5 + // + this.gridColumn5.Caption = "计量单位"; + this.gridColumn5.ColumnEdit = this.repositoryItemtxtunit; + this.gridColumn5.FieldName = "unit"; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 4; + this.gridColumn5.Width = 201; + // + // repositoryItemtxtunit + // + this.repositoryItemtxtunit.AutoHeight = false; + this.repositoryItemtxtunit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtunit.DisplayMember = "Name"; + this.repositoryItemtxtunit.Name = "repositoryItemtxtunit"; + this.repositoryItemtxtunit.ValueMember = "ID"; + // + // gridColumn6 + // + this.gridColumn6.Caption = "单价"; + this.gridColumn6.FieldName = "unitprice"; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 5; + this.gridColumn6.Width = 201; + // + // gridColumn7 + // + this.gridColumn7.Caption = "金额"; + this.gridColumn7.FieldName = "money"; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.Visible = true; + this.gridColumn7.VisibleIndex = 6; + this.gridColumn7.Width = 201; + // + // gridColumn8 + // + this.gridColumn8.Caption = "交货日期"; + this.gridColumn8.DisplayFormat.FormatString = "G"; + this.gridColumn8.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.gridColumn8.FieldName = "deliverdate"; + this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.Visible = true; + this.gridColumn8.VisibleIndex = 7; + this.gridColumn8.Width = 201; + // + // gridColumn9 + // + this.gridColumn9.Caption = "仓库"; + this.gridColumn9.ColumnEdit = this.repositoryItemtxtwarehouse; + this.gridColumn9.FieldName = "warehouse"; + this.gridColumn9.Name = "gridColumn9"; + this.gridColumn9.Visible = true; + this.gridColumn9.VisibleIndex = 8; + this.gridColumn9.Width = 201; + // + // repositoryItemtxtwarehouse + // + this.repositoryItemtxtwarehouse.AutoHeight = false; + this.repositoryItemtxtwarehouse.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemtxtwarehouse.DisplayMember = "Name"; + this.repositoryItemtxtwarehouse.Name = "repositoryItemtxtwarehouse"; + this.repositoryItemtxtwarehouse.ValueMember = "ID"; + // + // gridColumn10 + // + this.gridColumn10.Caption = "已排产量"; + this.gridColumn10.FieldName = "readynumber"; + this.gridColumn10.Name = "gridColumn10"; + this.gridColumn10.Visible = true; + this.gridColumn10.VisibleIndex = 9; + this.gridColumn10.Width = 201; + // + // gridColumn11 + // + this.gridColumn11.Caption = "待排产量"; + this.gridColumn11.FieldName = "noreadynumber"; + this.gridColumn11.Name = "gridColumn11"; + this.gridColumn11.Visible = true; + this.gridColumn11.VisibleIndex = 10; + this.gridColumn11.Width = 201; + // + // gridColumn12 + // + this.gridColumn12.Caption = "已完工量"; + this.gridColumn12.FieldName = "finishnumber"; + this.gridColumn12.Name = "gridColumn12"; + this.gridColumn12.Visible = true; + this.gridColumn12.VisibleIndex = 11; + this.gridColumn12.Width = 201; + // + // gridColumn13 + // + this.gridColumn13.Caption = "已出货量"; + this.gridColumn13.FieldName = "outnumber"; + this.gridColumn13.Name = "gridColumn13"; + this.gridColumn13.Visible = true; + this.gridColumn13.VisibleIndex = 12; + this.gridColumn13.Width = 201; + // + // gridColumn14 + // + this.gridColumn14.Caption = "退货量"; + this.gridColumn14.FieldName = "returnnumber"; + this.gridColumn14.Name = "gridColumn14"; + this.gridColumn14.Visible = true; + this.gridColumn14.VisibleIndex = 13; + this.gridColumn14.Width = 201; + // + // gridColumn15 + // + this.gridColumn15.Caption = "未交货数量"; + this.gridColumn15.FieldName = "nodelivernumber"; + this.gridColumn15.Name = "gridColumn15"; + this.gridColumn15.Visible = true; + this.gridColumn15.VisibleIndex = 14; + this.gridColumn15.Width = 201; + // + // gridColumn16 + // + this.gridColumn16.Caption = "实际交货数量"; + this.gridColumn16.FieldName = "delivernumber"; + this.gridColumn16.Name = "gridColumn16"; + this.gridColumn16.Visible = true; + this.gridColumn16.VisibleIndex = 15; + this.gridColumn16.Width = 201; + // + // gridColumn17 + // + this.gridColumn17.Caption = "已结算数量"; + this.gridColumn17.FieldName = "closenumber"; + this.gridColumn17.Name = "gridColumn17"; + this.gridColumn17.Visible = true; + this.gridColumn17.VisibleIndex = 16; + this.gridColumn17.Width = 201; + // + // gridColumn18 + // + this.gridColumn18.Caption = "未结算数量"; + this.gridColumn18.FieldName = "noclosenumber"; + this.gridColumn18.Name = "gridColumn18"; + this.gridColumn18.Visible = true; + this.gridColumn18.VisibleIndex = 17; + this.gridColumn18.Width = 201; + // + // gridColumn19 + // + this.gridColumn19.Caption = "物料成本"; + this.gridColumn19.FieldName = "materialcost"; + this.gridColumn19.Name = "gridColumn19"; + this.gridColumn19.Visible = true; + this.gridColumn19.VisibleIndex = 18; + this.gridColumn19.Width = 201; + // + // gridColumn20 + // + this.gridColumn20.Caption = "实际物料成本"; + this.gridColumn20.FieldName = "realmaterialcost"; + this.gridColumn20.Name = "gridColumn20"; + this.gridColumn20.Visible = true; + this.gridColumn20.VisibleIndex = 19; + this.gridColumn20.Width = 201; + // + // gridColumn21 + // + this.gridColumn21.Caption = "产品编号"; + this.gridColumn21.FieldName = "productcode"; + this.gridColumn21.Name = "gridColumn21"; + this.gridColumn21.Visible = true; + this.gridColumn21.VisibleIndex = 20; + this.gridColumn21.Width = 201; + // + // gridColumn22 + // + this.gridColumn22.Caption = "销售主表"; + this.gridColumn22.FieldName = "saleid"; + this.gridColumn22.Name = "gridColumn22"; + this.gridColumn22.Visible = true; + this.gridColumn22.VisibleIndex = 21; + this.gridColumn22.Width = 201; + // + // gridColumn23 + // + this.gridColumn23.Caption = "销售单号"; + this.gridColumn23.FieldName = "salecode"; + this.gridColumn23.Name = "gridColumn23"; + this.gridColumn23.Visible = true; + this.gridColumn23.VisibleIndex = 22; + this.gridColumn23.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.gridColumn11, + this.gridColumn12, + this.gridColumn13, + this.gridColumn14, + this.gridColumn15, + this.gridColumn16, + this.gridColumn17, + this.gridColumn18, + this.gridColumn19, + this.gridColumn20, + this.gridColumn21, + this.gridColumn22, + this.gridColumn23}); + 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.txtid); + this.layoutControl1.Controls.Add(this.txtproductid); + this.layoutControl1.Controls.Add(this.txtproductspec); + this.layoutControl1.Controls.Add(this.txtsalenumber); + this.layoutControl1.Controls.Add(this.txtunit); + this.layoutControl1.Controls.Add(this.txtunitprice); + this.layoutControl1.Controls.Add(this.txtmoney); + this.layoutControl1.Controls.Add(this.txtdeliverdate); + this.layoutControl1.Controls.Add(this.txtwarehouse); + this.layoutControl1.Controls.Add(this.txtreadynumber); + this.layoutControl1.Controls.Add(this.txtnoreadynumber); + this.layoutControl1.Controls.Add(this.txtfinishnumber); + this.layoutControl1.Controls.Add(this.txtoutnumber); + this.layoutControl1.Controls.Add(this.txtreturnnumber); + this.layoutControl1.Controls.Add(this.txtnodelivernumber); + this.layoutControl1.Controls.Add(this.txtdelivernumber); + this.layoutControl1.Controls.Add(this.txtclosenumber); + this.layoutControl1.Controls.Add(this.txtnoclosenumber); + this.layoutControl1.Controls.Add(this.txtmaterialcost); + this.layoutControl1.Controls.Add(this.txtrealmaterialcost); + this.layoutControl1.Controls.Add(this.txtproductcode); + this.layoutControl1.Controls.Add(this.txtsalecode); + 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"; + // + // txtid + // + this.txtid.Location = new System.Drawing.Point(87, 12); + this.txtid.Name = "txtid"; + this.txtid.Size = new System.Drawing.Size(1191, 20); + this.txtid.StyleController = this.layoutControl1; + this.txtid.TabIndex = 1; + // + // txtproductid + // + this.txtproductid.EditValue = ""; + this.txtproductid.Location = new System.Drawing.Point(87, 36); + this.txtproductid.Name = "txtproductid"; + this.txtproductid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txtproductid.Properties.DisplayMember = "Name"; + this.txtproductid.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; + this.txtproductid.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; + this.txtproductid.Properties.ValueMember = "ID"; + this.txtproductid.Size = new System.Drawing.Size(1191, 20); + this.txtproductid.StyleController = this.layoutControl1; + this.txtproductid.TabIndex = 2; + // + // txtproductspec + // + this.txtproductspec.Location = new System.Drawing.Point(87, 60); + this.txtproductspec.Name = "txtproductspec"; + this.txtproductspec.Size = new System.Drawing.Size(1191, 20); + this.txtproductspec.StyleController = this.layoutControl1; + this.txtproductspec.TabIndex = 3; + // + // txtsalenumber + // + this.txtsalenumber.Location = new System.Drawing.Point(87, 84); + this.txtsalenumber.Name = "txtsalenumber"; + this.txtsalenumber.Size = new System.Drawing.Size(1191, 20); + this.txtsalenumber.StyleController = this.layoutControl1; + this.txtsalenumber.TabIndex = 4; + // + // txtunit + // + this.txtunit.EditValue = ""; + this.txtunit.Location = new System.Drawing.Point(87, 108); + this.txtunit.Name = "txtunit"; + this.txtunit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txtunit.Properties.DisplayMember = "Name"; + this.txtunit.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; + this.txtunit.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; + this.txtunit.Properties.ValueMember = "ID"; + this.txtunit.Size = new System.Drawing.Size(1191, 20); + this.txtunit.StyleController = this.layoutControl1; + this.txtunit.TabIndex = 5; + // + // txtunitprice + // + this.txtunitprice.Location = new System.Drawing.Point(87, 132); + this.txtunitprice.Name = "txtunitprice"; + this.txtunitprice.Size = new System.Drawing.Size(1191, 20); + this.txtunitprice.StyleController = this.layoutControl1; + this.txtunitprice.TabIndex = 6; + // + // txtmoney + // + this.txtmoney.Location = new System.Drawing.Point(87, 156); + this.txtmoney.Name = "txtmoney"; + this.txtmoney.Size = new System.Drawing.Size(1191, 20); + this.txtmoney.StyleController = this.layoutControl1; + this.txtmoney.TabIndex = 7; + // + // txtdeliverdate + // + this.txtdeliverdate.EditValue = null; + this.txtdeliverdate.ImeMode = System.Windows.Forms.ImeMode.Off; + this.txtdeliverdate.Location = new System.Drawing.Point(87, 180); + 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(1191, 20); + this.txtdeliverdate.StyleController = this.layoutControl1; + this.txtdeliverdate.TabIndex = 8; + // + // txtwarehouse + // + this.txtwarehouse.EditValue = ""; + this.txtwarehouse.Location = new System.Drawing.Point(87, 204); + 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(1191, 20); + this.txtwarehouse.StyleController = this.layoutControl1; + this.txtwarehouse.TabIndex = 9; + // + // txtreadynumber + // + this.txtreadynumber.Location = new System.Drawing.Point(87, 228); + this.txtreadynumber.Name = "txtreadynumber"; + this.txtreadynumber.Size = new System.Drawing.Size(1191, 20); + this.txtreadynumber.StyleController = this.layoutControl1; + this.txtreadynumber.TabIndex = 10; + // + // txtnoreadynumber + // + this.txtnoreadynumber.Location = new System.Drawing.Point(87, 252); + this.txtnoreadynumber.Name = "txtnoreadynumber"; + this.txtnoreadynumber.Size = new System.Drawing.Size(1191, 20); + this.txtnoreadynumber.StyleController = this.layoutControl1; + this.txtnoreadynumber.TabIndex = 11; + // + // txtfinishnumber + // + this.txtfinishnumber.Location = new System.Drawing.Point(87, 276); + this.txtfinishnumber.Name = "txtfinishnumber"; + this.txtfinishnumber.Size = new System.Drawing.Size(1191, 20); + this.txtfinishnumber.StyleController = this.layoutControl1; + this.txtfinishnumber.TabIndex = 12; + // + // txtoutnumber + // + this.txtoutnumber.Location = new System.Drawing.Point(87, 300); + this.txtoutnumber.Name = "txtoutnumber"; + this.txtoutnumber.Size = new System.Drawing.Size(1191, 20); + this.txtoutnumber.StyleController = this.layoutControl1; + this.txtoutnumber.TabIndex = 13; + // + // txtreturnnumber + // + this.txtreturnnumber.Location = new System.Drawing.Point(87, 324); + this.txtreturnnumber.Name = "txtreturnnumber"; + this.txtreturnnumber.Size = new System.Drawing.Size(1191, 20); + this.txtreturnnumber.StyleController = this.layoutControl1; + this.txtreturnnumber.TabIndex = 14; + // + // txtnodelivernumber + // + this.txtnodelivernumber.Location = new System.Drawing.Point(87, 348); + this.txtnodelivernumber.Name = "txtnodelivernumber"; + this.txtnodelivernumber.Size = new System.Drawing.Size(1191, 20); + this.txtnodelivernumber.StyleController = this.layoutControl1; + this.txtnodelivernumber.TabIndex = 15; + // + // txtdelivernumber + // + this.txtdelivernumber.Location = new System.Drawing.Point(87, 372); + this.txtdelivernumber.Name = "txtdelivernumber"; + this.txtdelivernumber.Size = new System.Drawing.Size(1191, 20); + this.txtdelivernumber.StyleController = this.layoutControl1; + this.txtdelivernumber.TabIndex = 16; + // + // txtclosenumber + // + this.txtclosenumber.Location = new System.Drawing.Point(87, 396); + this.txtclosenumber.Name = "txtclosenumber"; + this.txtclosenumber.Size = new System.Drawing.Size(1191, 20); + this.txtclosenumber.StyleController = this.layoutControl1; + this.txtclosenumber.TabIndex = 17; + // + // txtnoclosenumber + // + this.txtnoclosenumber.Location = new System.Drawing.Point(87, 420); + this.txtnoclosenumber.Name = "txtnoclosenumber"; + this.txtnoclosenumber.Size = new System.Drawing.Size(1191, 20); + this.txtnoclosenumber.StyleController = this.layoutControl1; + this.txtnoclosenumber.TabIndex = 18; + // + // txtmaterialcost + // + this.txtmaterialcost.Location = new System.Drawing.Point(87, 444); + this.txtmaterialcost.Name = "txtmaterialcost"; + this.txtmaterialcost.Size = new System.Drawing.Size(1191, 20); + this.txtmaterialcost.StyleController = this.layoutControl1; + this.txtmaterialcost.TabIndex = 19; + // + // txtrealmaterialcost + // + this.txtrealmaterialcost.Location = new System.Drawing.Point(87, 468); + this.txtrealmaterialcost.Name = "txtrealmaterialcost"; + this.txtrealmaterialcost.Size = new System.Drawing.Size(1191, 20); + this.txtrealmaterialcost.StyleController = this.layoutControl1; + this.txtrealmaterialcost.TabIndex = 20; + // + // txtproductcode + // + this.txtproductcode.Location = new System.Drawing.Point(87, 492); + this.txtproductcode.Name = "txtproductcode"; + this.txtproductcode.Size = new System.Drawing.Size(1191, 20); + this.txtproductcode.StyleController = this.layoutControl1; + this.txtproductcode.TabIndex = 21; + // + // txtsalecode + // + this.txtsalecode.Location = new System.Drawing.Point(87, 516); + this.txtsalecode.Name = "txtsalecode"; + this.txtsalecode.Size = new System.Drawing.Size(1191, 20); + this.txtsalecode.StyleController = this.layoutControl1; + this.txtsalecode.TabIndex = 22; + // + // 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.layoutControlItem12, + this.layoutControlItem13, + this.layoutControlItem14, + this.layoutControlItem15, + this.layoutControlItem16, + this.layoutControlItem17, + this.layoutControlItem18, + this.layoutControlItem19, + this.layoutControlItem20, + this.layoutControlItem21, + this.layoutControlItem22}); + 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(1270, 24); + this.layoutControlItem1.Text = "id"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.txtproductid; + this.layoutControlItem2.CustomizationFormText = "产品"; + this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem2.Text = "产品"; + this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.txtproductspec; + this.layoutControlItem3.CustomizationFormText = "规格型号"; + this.layoutControlItem3.Location = new System.Drawing.Point(0, 48); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem3.Text = "规格型号"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem4 + // + this.layoutControlItem4.Control = this.txtsalenumber; + this.layoutControlItem4.CustomizationFormText = "数量"; + this.layoutControlItem4.Location = new System.Drawing.Point(0, 72); + this.layoutControlItem4.Name = "layoutControlItem4"; + this.layoutControlItem4.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem4.Text = "数量"; + this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txtunit; + this.layoutControlItem5.CustomizationFormText = "计量单位"; + this.layoutControlItem5.Location = new System.Drawing.Point(0, 96); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem5.Text = "计量单位"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem6 + // + this.layoutControlItem6.Control = this.txtunitprice; + this.layoutControlItem6.CustomizationFormText = "单价"; + this.layoutControlItem6.Location = new System.Drawing.Point(0, 120); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem6.Text = "单价"; + this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem7 + // + this.layoutControlItem7.Control = this.txtmoney; + this.layoutControlItem7.CustomizationFormText = "金额"; + this.layoutControlItem7.Location = new System.Drawing.Point(0, 144); + this.layoutControlItem7.Name = "layoutControlItem7"; + this.layoutControlItem7.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem7.Text = "金额"; + this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.txtdeliverdate; + this.layoutControlItem8.CustomizationFormText = "交货日期"; + this.layoutControlItem8.Location = new System.Drawing.Point(0, 168); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem8.Text = "交货日期"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem9 + // + this.layoutControlItem9.Control = this.txtwarehouse; + this.layoutControlItem9.CustomizationFormText = "仓库"; + this.layoutControlItem9.Location = new System.Drawing.Point(0, 192); + this.layoutControlItem9.Name = "layoutControlItem9"; + this.layoutControlItem9.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem9.Text = "仓库"; + this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem10 + // + this.layoutControlItem10.Control = this.txtreadynumber; + this.layoutControlItem10.CustomizationFormText = "已排产量"; + this.layoutControlItem10.Location = new System.Drawing.Point(0, 216); + this.layoutControlItem10.Name = "layoutControlItem10"; + this.layoutControlItem10.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem10.Text = "已排产量"; + this.layoutControlItem10.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem11 + // + this.layoutControlItem11.Control = this.txtnoreadynumber; + this.layoutControlItem11.CustomizationFormText = "待排产量"; + this.layoutControlItem11.Location = new System.Drawing.Point(0, 240); + this.layoutControlItem11.Name = "layoutControlItem11"; + this.layoutControlItem11.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem11.Text = "待排产量"; + this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem12 + // + this.layoutControlItem12.Control = this.txtfinishnumber; + this.layoutControlItem12.CustomizationFormText = "已完工量"; + this.layoutControlItem12.Location = new System.Drawing.Point(0, 264); + this.layoutControlItem12.Name = "layoutControlItem12"; + this.layoutControlItem12.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem12.Text = "已完工量"; + this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem13 + // + this.layoutControlItem13.Control = this.txtoutnumber; + this.layoutControlItem13.CustomizationFormText = "已出货量"; + this.layoutControlItem13.Location = new System.Drawing.Point(0, 288); + this.layoutControlItem13.Name = "layoutControlItem13"; + this.layoutControlItem13.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem13.Text = "已出货量"; + this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem14 + // + this.layoutControlItem14.Control = this.txtreturnnumber; + this.layoutControlItem14.CustomizationFormText = "退货量"; + this.layoutControlItem14.Location = new System.Drawing.Point(0, 312); + this.layoutControlItem14.Name = "layoutControlItem14"; + this.layoutControlItem14.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem14.Text = "退货量"; + this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem15 + // + this.layoutControlItem15.Control = this.txtnodelivernumber; + this.layoutControlItem15.CustomizationFormText = "未交货数量"; + this.layoutControlItem15.Location = new System.Drawing.Point(0, 336); + this.layoutControlItem15.Name = "layoutControlItem15"; + this.layoutControlItem15.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem15.Text = "未交货数量"; + this.layoutControlItem15.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem16 + // + this.layoutControlItem16.Control = this.txtdelivernumber; + this.layoutControlItem16.CustomizationFormText = "实际交货数量"; + this.layoutControlItem16.Location = new System.Drawing.Point(0, 360); + this.layoutControlItem16.Name = "layoutControlItem16"; + this.layoutControlItem16.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem16.Text = "实际交货数量"; + this.layoutControlItem16.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem17 + // + this.layoutControlItem17.Control = this.txtclosenumber; + this.layoutControlItem17.CustomizationFormText = "已结算数量"; + this.layoutControlItem17.Location = new System.Drawing.Point(0, 384); + this.layoutControlItem17.Name = "layoutControlItem17"; + this.layoutControlItem17.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem17.Text = "已结算数量"; + this.layoutControlItem17.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem18 + // + this.layoutControlItem18.Control = this.txtnoclosenumber; + this.layoutControlItem18.CustomizationFormText = "未结算数量"; + this.layoutControlItem18.Location = new System.Drawing.Point(0, 408); + this.layoutControlItem18.Name = "layoutControlItem18"; + this.layoutControlItem18.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem18.Text = "未结算数量"; + this.layoutControlItem18.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem19 + // + this.layoutControlItem19.Control = this.txtmaterialcost; + this.layoutControlItem19.CustomizationFormText = "物料成本"; + this.layoutControlItem19.Location = new System.Drawing.Point(0, 432); + this.layoutControlItem19.Name = "layoutControlItem19"; + this.layoutControlItem19.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem19.Text = "物料成本"; + this.layoutControlItem19.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem20 + // + this.layoutControlItem20.Control = this.txtrealmaterialcost; + this.layoutControlItem20.CustomizationFormText = "实际物料成本"; + this.layoutControlItem20.Location = new System.Drawing.Point(0, 456); + this.layoutControlItem20.Name = "layoutControlItem20"; + this.layoutControlItem20.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem20.Text = "实际物料成本"; + this.layoutControlItem20.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem21 + // + this.layoutControlItem21.Control = this.txtproductcode; + this.layoutControlItem21.CustomizationFormText = "产品编号"; + this.layoutControlItem21.Location = new System.Drawing.Point(0, 480); + this.layoutControlItem21.Name = "layoutControlItem21"; + this.layoutControlItem21.Size = new System.Drawing.Size(1270, 24); + this.layoutControlItem21.Text = "产品编号"; + this.layoutControlItem21.TextSize = new System.Drawing.Size(72, 14); + // + // layoutControlItem22 + // + this.layoutControlItem22.Control = this.txtsalecode; + this.layoutControlItem22.CustomizationFormText = "销售单号"; + this.layoutControlItem22.Location = new System.Drawing.Point(0, 504); + this.layoutControlItem22.Name = "layoutControlItem22"; + this.layoutControlItem22.Size = new System.Drawing.Size(1270, 209); + this.layoutControlItem22.Text = "销售单号"; + this.layoutControlItem22.TextSize = new System.Drawing.Size(72, 14); + // + // Frmsaledetail + // + 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 = "Frmsaledetail"; + this.Text = "Frmsaledetail"; + this.Load += new System.EventHandler(this.Frmsaledetail_Load); + this.Controls.SetChildIndex(this.xtraTabControl1, 0); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtproductid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtunit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemtxtwarehouse)).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.txtid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductspec.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalenumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtunit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtunitprice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtmoney.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdeliverdate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtwarehouse.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtreadynumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnoreadynumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtfinishnumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtoutnumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtreturnnumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnodelivernumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtdelivernumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtclosenumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtnoclosenumber.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtmaterialcost.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtrealmaterialcost.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtproductcode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtsalecode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).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.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 DevExpress.XtraGrid.Columns.GridColumn gridColumn22; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn23; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtid; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtproductid; + + private DevExpress.XtraEditors.LookUpEdit txtproductid; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtproductspec; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtsalenumber; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtunit; + + private DevExpress.XtraEditors.LookUpEdit txtunit; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtunitprice; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtmoney; + /////////////////////////////// + private DevExpress.XtraEditors.DateEdit txtdeliverdate; + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemtxtwarehouse; + + private DevExpress.XtraEditors.LookUpEdit txtwarehouse; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtreadynumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtnoreadynumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtfinishnumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtoutnumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtreturnnumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtnodelivernumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtdelivernumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtclosenumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtnoclosenumber; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtmaterialcost; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtrealmaterialcost; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtproductcode; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtsalecode; + + 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; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem18; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem19; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem21; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem22; + } +} \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmsaledetail.resx b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/WinformGeneralDeveloperFrame/Form/Frmsaledetail.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/FrmBaseForm.cs b/WinformGeneralDeveloperFrame/FrmBaseForm.cs index 81a488d..fd73db9 100644 --- a/WinformGeneralDeveloperFrame/FrmBaseForm.cs +++ b/WinformGeneralDeveloperFrame/FrmBaseForm.cs @@ -51,10 +51,13 @@ namespace WinformGeneralDeveloperFrame this.xtraTab = xtraTab; this.gridControl = gridControl; this.gridView = gridView; + this.gridView.BestFitColumns(); this.controlGroups = controlGroups; + InitFormFunction(); InitToolBtntatus(EFormStatus.eInit); InitEvent(); } + public void InitFrom(XtraTabControl xtraTab, GridControl gridControl, GridView gridView, LayoutControlGroup[] controlGroups, object DataType,GridControl griddetail,string[] readcontrols) { if (griddetail != null) @@ -73,6 +76,11 @@ namespace WinformGeneralDeveloperFrame xtraTab.SelectedPageChanged += xtraTabControl1_SelectedPageChanged; gridControl.MouseDoubleClick += gridControl_MouseDoubleClick; } + + public virtual void InitFormFunction() + { + + } private void xtraTabControl1_SelectedPageChanged(object sender, DevExpress.XtraTab.TabPageChangedEventArgs e) { @@ -143,7 +151,7 @@ namespace WinformGeneralDeveloperFrame "保存成功!".ShowTips(); InitToolBtntatus(EFormStatus.eView); - InitgrdListDataSource(); + InitgrdListDataSourceFunction(); SetControlStatus(controlGroups, true); } @@ -193,6 +201,19 @@ namespace WinformGeneralDeveloperFrame } } + + public void InitgrdListDataSourceFunction() + { + if (gridView != null) + { + gridView.BestFitColumns(); + } + if (gridViewDetail != null) + { + gridViewDetail.BestFitColumns(); + } + InitgrdListDataSource(); + } public virtual void InitgrdListDataSource() { @@ -233,7 +254,7 @@ namespace WinformGeneralDeveloperFrame if (DelFunction()) { InitToolBtntatus(EFormStatus.eDelete); - InitgrdListDataSource(); + InitgrdListDataSourceFunction(); ClearScreen(); } } @@ -503,7 +524,7 @@ namespace WinformGeneralDeveloperFrame private void FrmBaseForm_Load(object sender, EventArgs e) { - InitgrdListDataSource(); + InitgrdListDataSourceFunction(); } } /// diff --git a/WinformGeneralDeveloperFrame/Properties/licenses.licx b/WinformGeneralDeveloperFrame/Properties/licenses.licx index c66bb47..1b53e67 100644 --- a/WinformGeneralDeveloperFrame/Properties/licenses.licx +++ b/WinformGeneralDeveloperFrame/Properties/licenses.licx @@ -1,28 +1,29 @@ -DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, 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.XtraNavBar.NavBarControl, DevExpress.XtraNavBar.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.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.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.PictureEdit, 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.ProgressBarControl, DevExpress.XtraEditors.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.Repository.RepositoryItemSearchLookUpEdit, DevExpress.XtraGrid.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.GridLookUpEdit, DevExpress.XtraGrid.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.DateEdit, DevExpress.XtraEditors.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.ImageComboBoxEdit, 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.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.LookUpEdit, 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.XtraWizard.WizardControl, DevExpress.XtraWizard.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.XtraDataLayout.DataLayoutControl, DevExpress.XtraLayout.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.TreeListLookUpEdit, DevExpress.XtraTreeList.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.XtraEditors.CheckEdit, DevExpress.XtraEditors.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.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 diff --git a/WinformGeneralDeveloperFrame/WinformGeneralDeveloperFrame.csproj b/WinformGeneralDeveloperFrame/WinformGeneralDeveloperFrame.csproj index 48fe3fb..c1e1ee3 100644 --- a/WinformGeneralDeveloperFrame/WinformGeneralDeveloperFrame.csproj +++ b/WinformGeneralDeveloperFrame/WinformGeneralDeveloperFrame.csproj @@ -143,6 +143,8 @@ + + @@ -177,6 +179,18 @@ Frmquotation.cs + + Form + + + Frmsale.cs + + + Form + + + Frmsaledetail.cs + Form @@ -351,6 +365,12 @@ Frmquotation.cs + + Frmsale.cs + + + Frmsaledetail.cs + Frmstock.cs