| | |
| | | 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 |
| | | { |
| | |
| | | var action = new ApiAction<List<U9CReturnData2>>(); |
| | | try |
| | | { |
| | | action = await SubmitLine(input); |
| | | if (action.IsSuccessed) { |
| | | input.IsLogin = false; |
| | | action = await ApproveLine(input); |
| | | } |
| | | //action = await SubmitLine(input); |
| | | //if (action.IsSuccessed) { |
| | | // input.IsLogin = false; |
| | | // action = await ApproveLine(input); |
| | | //} |
| | | action = await ApproveLine(input); |
| | | } |
| | | catch (System.Exception ex) |
| | | { |