采购入库成功

This commit is contained in:
admin
2021-01-07 14:06:26 +08:00
parent b5c01d31be
commit 7245c08c94
11 changed files with 543 additions and 61 deletions

View File

@@ -287,8 +287,46 @@ namespace U8AppMain
private void 登录ToolStripMenuItem_Click(object sender, EventArgs e)
{
u8LoginContext = new NX.ERP.U8.U8LoginContext();
u8LoginContext.Login(true);
var a = new NX.ERP.U8.Store.PuStoreInDAL();
a.Loadd();
//u8LoginContext = new NX.ERP.U8.U8LoginContext();
//u8LoginContext.Login(true);
}
private void toolStripMenuItem2_Click(object sender, EventArgs e)
{
var a = new NX.ERP.U8.Store.PuStoreInDAL();
a.AddPuStoreIn(new NX.ERP.Model.Store.PuStoreIn()
{
Code = "0001",
PersonCode = "wx065",
PuCode = "0002",
Date = DateTime.Today,
Id = 1000021,
Depcode = "24",
//SupplierName = "上海拓恩机电科技有限公司",
SupplierCode = "10001",
Source = "采购到货单",
Whcode = "1",
SourceCode = "CGDH210100002",
Maker = "222",
RdCode = "101",
PuStoreInDetails = new List<NX.ERP.Model.Store.PuStoreInDetail>() {
new NX.ERP.Model.Store.PuStoreInDetail(){
//Batch="001",
Quantity=2,
Id=1,
Invcode="201001",
PuStoreInId=1000021,
SorceDetailId=1000023146,
}
}
}); ;
}
}
}