| | |
| | | List<CreateRcvBySrcASNParam> param = new(); |
| | | param.Add(input.CreateRcvBySrcASNParam); |
| | | var response = await HttpHelper.PostAsync(CreateRcvBySrcASNUrl, JsonConvert.SerializeObject(param), new Dictionary<string, string>() { { "token", input.token } }); |
| | | //var response = new ApiAction("{\"ResCode\":0,\"Success\":true,\"ResMsg\":null,\"Data\":[{\"IsSucess\":true,\"U9CVersion\":null,\"OtherID\":\"WMS\",\"ID\":1002503210000100,\"Code\":\"YDRC250300003\",\"ErrorMsg\":null}]}"); |
| | | |
| | | var result = JsonConvert.DeserializeObject<U9CResult2>(response.Message); |
| | | if (result != null) |
| | | { |
| | | if (result.Success && result.Data[0].IsSucess) |
| | | { |
| | | action.Data = result.Data; |
| | | Logger.Interface.Info($"新增收货单-来源ASN单接口提交Json: {JsonConvert.SerializeObject(param)},返回Json: {response.Message}"); |
| | | // Logger.Interface.Info($"新增收货单-来源ASN单接口提交Json: {JsonConvert.SerializeObject(param)},返回Json: {response.Message}"); |
| | | } |
| | | else |
| | | { |
| | |
| | | { |
| | | site = count.AUTH_ORG, |
| | | }; |
| | | var data = _stockBus.GetStockInfo(_data); |
| | | //从T100获取库存信息 |
| | | //var data = _stockBus.GetStockInfo(_data); |
| | | var data = new List<SaleOutInfoDetailDTO>(); |
| | | response = response.GetResponse(DI.Resolve<IBS>().GenerateCount(count,data)); |
| | | |
| | | } |