修改导入程序配置
This commit is contained in:
@@ -20,7 +20,7 @@ namespace U8AppMain
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private NX.ERP.U8.U8LoginContext u8LoginContext = null;
|
||||
|
||||
|
||||
private void PrintLog(ResultEnity.ufinterface info)
|
||||
{
|
||||
@@ -53,7 +53,7 @@ namespace U8AppMain
|
||||
try
|
||||
{
|
||||
|
||||
var response = HttpHelper.HttpPost(url, body);
|
||||
var response = HttpHelper.HttpPost(U8LoginContext.Instance.EAIUrl, body);
|
||||
return XmlHelper.XmlDeserialize<ResultEnity.ufinterface>(response, Encoding.UTF8);
|
||||
// var strResult = $"单据:{result.requestroottag} 操作:{result.proc} \r\n";
|
||||
//foreach (var item in result.Items)
|
||||
@@ -72,7 +72,7 @@ namespace U8AppMain
|
||||
|
||||
}
|
||||
|
||||
private string url = ConfigurationManager.AppSettings.Get("url");
|
||||
//private string url = ConfigurationManager.AppSettings.Get("url");
|
||||
// private string connStr = ConfigurationManager.AppSettings.Get("connStr");
|
||||
private DataTable dataTable;
|
||||
|
||||
@@ -259,7 +259,7 @@ namespace U8AppMain
|
||||
}
|
||||
foreach (var item in bomLookup.Values)
|
||||
{
|
||||
var a = new Voucher.VoucherDAL(this.u8LoginContext.Constr4Net);
|
||||
var a = new Voucher.VoucherDAL(U8LoginContext.Instance.Constr4Net);
|
||||
if (a.Add(item))
|
||||
{
|
||||
this.richTextBox1.SelectionColor = Color.Green;
|
||||
@@ -412,7 +412,7 @@ namespace U8AppMain
|
||||
InvCode="902112",
|
||||
Position="",
|
||||
Quantity=1,
|
||||
SourceDetailId=2921,
|
||||
SourceDetailId=2921
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user