增加付款单
This commit is contained in:
23
NX.ERP.U8.App/FrmMain.Designer.cs
generated
23
NX.ERP.U8.App/FrmMain.Designer.cs
generated
@@ -88,14 +88,14 @@ namespace U8AppMain
|
||||
// BtnReadExcel
|
||||
//
|
||||
this.BtnReadExcel.Name = "BtnReadExcel";
|
||||
this.BtnReadExcel.Size = new System.Drawing.Size(139, 22);
|
||||
this.BtnReadExcel.Size = new System.Drawing.Size(180, 22);
|
||||
this.BtnReadExcel.Text = "读取Excel";
|
||||
this.BtnReadExcel.Click += new System.EventHandler(this.BtnReadExcel_Click);
|
||||
//
|
||||
// 登录ToolStripMenuItem
|
||||
//
|
||||
this.登录ToolStripMenuItem.Name = "登录ToolStripMenuItem";
|
||||
this.登录ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.登录ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.登录ToolStripMenuItem.Text = "登录";
|
||||
this.登录ToolStripMenuItem.Visible = false;
|
||||
this.登录ToolStripMenuItem.Click += new System.EventHandler(this.登录ToolStripMenuItem_Click);
|
||||
@@ -103,7 +103,7 @@ namespace U8AppMain
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(139, 22);
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(180, 22);
|
||||
this.toolStripMenuItem2.Text = "采购入库单";
|
||||
this.toolStripMenuItem2.Visible = false;
|
||||
this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
|
||||
@@ -111,7 +111,7 @@ namespace U8AppMain
|
||||
// 材料出库单ToolStripMenuItem
|
||||
//
|
||||
this.材料出库单ToolStripMenuItem.Name = "材料出库单ToolStripMenuItem";
|
||||
this.材料出库单ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.材料出库单ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.材料出库单ToolStripMenuItem.Text = "材料出库单";
|
||||
this.材料出库单ToolStripMenuItem.Visible = false;
|
||||
this.材料出库单ToolStripMenuItem.Click += new System.EventHandler(this.材料出库单ToolStripMenuItem_Click);
|
||||
@@ -119,7 +119,7 @@ namespace U8AppMain
|
||||
// 其他入库ToolStripMenuItem
|
||||
//
|
||||
this.其他入库ToolStripMenuItem.Name = "其他入库ToolStripMenuItem";
|
||||
this.其他入库ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.其他入库ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.其他入库ToolStripMenuItem.Text = "其他入库";
|
||||
this.其他入库ToolStripMenuItem.Visible = false;
|
||||
this.其他入库ToolStripMenuItem.Click += new System.EventHandler(this.其他入库ToolStripMenuItem_Click);
|
||||
@@ -127,7 +127,7 @@ namespace U8AppMain
|
||||
// 其他出库ToolStripMenuItem
|
||||
//
|
||||
this.其他出库ToolStripMenuItem.Name = "其他出库ToolStripMenuItem";
|
||||
this.其他出库ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.其他出库ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.其他出库ToolStripMenuItem.Text = "其他出库";
|
||||
this.其他出库ToolStripMenuItem.Visible = false;
|
||||
this.其他出库ToolStripMenuItem.Click += new System.EventHandler(this.其他出库ToolStripMenuItem_Click);
|
||||
@@ -135,7 +135,7 @@ namespace U8AppMain
|
||||
// 销售出库ToolStripMenuItem
|
||||
//
|
||||
this.销售出库ToolStripMenuItem.Name = "销售出库ToolStripMenuItem";
|
||||
this.销售出库ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.销售出库ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.销售出库ToolStripMenuItem.Text = "销售出库";
|
||||
this.销售出库ToolStripMenuItem.Visible = false;
|
||||
this.销售出库ToolStripMenuItem.Click += new System.EventHandler(this.销售出库ToolStripMenuItem_Click);
|
||||
@@ -143,9 +143,8 @@ namespace U8AppMain
|
||||
// 成品入库ToolStripMenuItem
|
||||
//
|
||||
this.成品入库ToolStripMenuItem.Name = "成品入库ToolStripMenuItem";
|
||||
this.成品入库ToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
|
||||
this.成品入库ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.成品入库ToolStripMenuItem.Text = "成品入库";
|
||||
this.成品入库ToolStripMenuItem.Visible = false;
|
||||
this.成品入库ToolStripMenuItem.Click += new System.EventHandler(this.成品入库ToolStripMenuItem_Click);
|
||||
//
|
||||
// 导入ToolStripMenuItem
|
||||
@@ -161,21 +160,21 @@ namespace U8AppMain
|
||||
// ImportBom
|
||||
//
|
||||
this.ImportBom.Name = "ImportBom";
|
||||
this.ImportBom.Size = new System.Drawing.Size(113, 22);
|
||||
this.ImportBom.Size = new System.Drawing.Size(180, 22);
|
||||
this.ImportBom.Text = "BOM";
|
||||
this.ImportBom.Click += new System.EventHandler(this.ImportBom_Click);
|
||||
//
|
||||
// BtnPurchaseImport
|
||||
//
|
||||
this.BtnPurchaseImport.Name = "BtnPurchaseImport";
|
||||
this.BtnPurchaseImport.Size = new System.Drawing.Size(113, 22);
|
||||
this.BtnPurchaseImport.Size = new System.Drawing.Size(180, 22);
|
||||
this.BtnPurchaseImport.Text = "请购单";
|
||||
this.BtnPurchaseImport.Click += new System.EventHandler(this.BtnPurchaseImport_Click);
|
||||
//
|
||||
// 领料单ToolStripMenuItem
|
||||
//
|
||||
this.领料单ToolStripMenuItem.Name = "领料单ToolStripMenuItem";
|
||||
this.领料单ToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
|
||||
this.领料单ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.领料单ToolStripMenuItem.Text = "领料单";
|
||||
this.领料单ToolStripMenuItem.Click += new System.EventHandler(this.领料单ToolStripMenuItem_Click);
|
||||
//
|
||||
|
||||
@@ -438,25 +438,28 @@ namespace U8AppMain
|
||||
|
||||
private void 成品入库ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dal = new NX.ERP.U8.Store.ProductInDAL();
|
||||
dal.AddVoucher(new NX.ERP.Model.Request.ProductStoreIn()
|
||||
{
|
||||
Source = "生产订单",
|
||||
SourceCode = "SCDD200900013",
|
||||
Date = DateTime.Today,
|
||||
WhCode = "1",
|
||||
Details = new List<NX.ERP.Model.Request.ProductStoreInDetail>() {
|
||||
new NX.ERP.Model.Request.ProductStoreInDetail()
|
||||
{
|
||||
Batch="",
|
||||
InvCode="904005",
|
||||
SourceDetailId=1000003338,
|
||||
Quantity=1,
|
||||
Position=""
|
||||
}
|
||||
}
|
||||
|
||||
}); ;
|
||||
var ap = new NX.ERP.U8.AP.APVouch();
|
||||
ap.AddVocher();
|
||||
//var dal = new NX.ERP.U8.Store.ProductInDAL();
|
||||
//dal.AddVoucher(new NX.ERP.Model.Request.ProductStoreIn()
|
||||
//{
|
||||
// Source = "生产订单",
|
||||
// SourceCode = "SCDD200900013",
|
||||
// Date = DateTime.Today,
|
||||
// WhCode = "1",
|
||||
// Details = new List<NX.ERP.Model.Request.ProductStoreInDetail>() {
|
||||
// new NX.ERP.Model.Request.ProductStoreInDetail()
|
||||
// {
|
||||
// Batch="",
|
||||
// InvCode="904005",
|
||||
// SourceDetailId=1000003338,
|
||||
// Quantity=1,
|
||||
// Position=""
|
||||
// }
|
||||
// }
|
||||
|
||||
//}); ;
|
||||
}
|
||||
|
||||
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
|
||||
@@ -56,6 +56,11 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Accessibility" />
|
||||
<Reference Include="ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
<HintPath>..\NX.ERP.U8\lib\ADODB.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ComponentFactory.Krypton.Design, Version=4.5.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Krypton.Components.Suite.4.5.9\lib\net20\ComponentFactory.Krypton.Design.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
Reference in New Issue
Block a user