导入工具
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="EaiSender" value="003"/>
|
||||
<add key="EaiPort" value="80"/>
|
||||
<add key="EaiPath" value="U8EAI/import.asp"/>
|
||||
|
||||
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
||||
<!--账套数据库配置如果不配置就使用登录后的数据库连接-->
|
||||
<add key="connStr" value="Server=192.168.168;DataBase=UFDATA_003_2019;Uid=sa;Pwd=!@#qwe123;"/>
|
||||
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
||||
</appSettings>
|
||||
<runtime>
|
||||
|
||||
</runtime>
|
||||
<system.web>
|
||||
|
||||
</system.web>
|
||||
</configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="EaiSender" value="wuxitest" />
|
||||
<add key="EaiPort" value="88" />
|
||||
<add key="EaiPath" value="EAI/import.asp" />
|
||||
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
||||
<!--账套数据库配置如果不配置就使用登录后的数据库连接-->
|
||||
<add key="connStr" value="Server=10.0.0.250,49318;DataBase=UFDATA_001_2019;Uid=wxinput;Pwd=Nx123456;" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
</appSettings>
|
||||
<runtime>
|
||||
</runtime>
|
||||
<system.web>
|
||||
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||
<providers>
|
||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||
<providers>
|
||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -205,8 +205,10 @@ namespace U8AppMain
|
||||
bomLookup.Add(strKey, purchase);
|
||||
}
|
||||
body.inventorycode = row["存货编码"].ToString().Trim();
|
||||
|
||||
body.taxrate = InvInfo[body.inventorycode].TaxRate;
|
||||
body.requiredate = purchase.purchaseapp.header.date;
|
||||
body.define25 = row["用料工位"].ToString().Trim();
|
||||
body.quantity = decimal.Parse(row["数量"].ToString());
|
||||
purchase.purchaseapp.body.Add(body);
|
||||
}
|
||||
@@ -440,7 +442,7 @@ namespace U8AppMain
|
||||
{
|
||||
|
||||
//var ap = new NX.ERP.U8.AP.APVouch();
|
||||
//ap.AddVocher();
|
||||
////ap.AddVocher();
|
||||
//var dal = new NX.ERP.U8.Store.ProductInDAL();
|
||||
//dal.AddVoucher(new NX.ERP.Model.Request.ProductStoreIn()
|
||||
//{
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
@@ -26,12 +27,11 @@
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace U8AppMain.Purchase
|
||||
//public string originaltax { get; set; }
|
||||
|
||||
//public string originalsum { get; set; }
|
||||
|
||||
public string define25 { get; set; }
|
||||
|
||||
public int ivouchrowno { get; set; }
|
||||
// <vendorcode />
|
||||
|
||||
Reference in New Issue
Block a user