0
This commit is contained in:
parent
9530c0bba1
commit
81c63c1fc9
@ -242,7 +242,7 @@ namespace MyCode.Project.Services.Implementation
|
||||
Barcode = n.Barcode,
|
||||
OrderQty = n.SellCount,
|
||||
OrderPrice = Math.Round(n.DivideSellTotal / n.SellCount, 10),
|
||||
ItemId = n.GoodsId, // 商品
|
||||
ItemId = n.GoodsNo, // 商品
|
||||
LocationId = param.FWAREHOUSECODE,
|
||||
CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
OrderUnit = "pcs"
|
||||
@ -251,7 +251,7 @@ namespace MyCode.Project.Services.Implementation
|
||||
var uri = "http://172.16.42.45:9000";
|
||||
|
||||
var requestString = JsonHelper.ToJson(order, false, true, true);
|
||||
var client = new RestClient(pushKingdeeOrder.TradeType == 8 ? $"{uri}/sale/order/out" : $"{uri}/sale/order/reture");
|
||||
var client = new RestClient(pushKingdeeOrder.TradeType == 8 ? $"{uri}/sale/order/return" : $"{uri}/sale/order/out");
|
||||
client.Timeout = -1;
|
||||
var request = new RestRequest(Method.POST);
|
||||
request.AddHeader("Content-Type", "application/json");
|
||||
|
||||
@ -7,12 +7,12 @@
|
||||
<PropertyGroup>
|
||||
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||
<PublishProvider>FileSystem</PublishProvider>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
<LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration>
|
||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>False</ExcludeApp_Data>
|
||||
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>false</ExcludeApp_Data>
|
||||
<publishUrl>E:\Git\MyCodeMySql\Publish</publishUrl>
|
||||
<DeleteExistingFiles>True</DeleteExistingFiles>
|
||||
<DeleteExistingFiles>true</DeleteExistingFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Loading…
x
Reference in New Issue
Block a user