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