This commit is contained in:
Administrator 2025-07-22 13:57:07 +08:00
parent 9530c0bba1
commit 81c63c1fc9
2 changed files with 6 additions and 6 deletions

View File

@ -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");

View File

@ -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>