diff --git a/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs b/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs index 61d1d3a..3a766f1 100644 --- a/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs +++ b/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs @@ -284,7 +284,7 @@ namespace SlnMesnac.RfidUpload.Business /// /// 容器封发-接收容器条码 /// - public CsbResult containerScanSealByCsb(string ffjhNo, string opBatch, string ffjhscrq, string batchNo, string rqtmList) + public CsbResult containerScanSealByCsb(string ffjhNo, string opBatch, string ffjhscrq, string batchNo, List rqtmList) { CsbResult res = new CsbResult(); try @@ -299,7 +299,8 @@ namespace SlnMesnac.RfidUpload.Business ["opBatch"] = opBatch, ["ffjhscrq"] = ffjhscrq, ["batchNo"] = batchNo, - ["rqtmList"] = rqtmList, + ["rqtmList"] = JArray.FromObject(rqtmList), + // ["rqtmList"] = rqtmList, }; string jsonString = jsonObject.ToString(); diff --git a/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs b/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs index 24d3f6f..c84dca0 100644 --- a/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs +++ b/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs @@ -418,7 +418,7 @@ namespace SlnMesnac.RfidUpload.UI.viewModel string opBatch = Guid.NewGuid().ToString("N").Substring(0, 20); CsbResult res = csbHandleBusiness.containerScanSealByCsb(TransferOrderInfoItem.ffjhNo, System.Guid.NewGuid().ToString("N").Substring(0, 20), - TransferOrderInfoItem.ffjhscrq, "1", jsonChange.ModeToJson(strList)); + TransferOrderInfoItem.ffjhscrq, "1", strList); MessageBox.Show("封发-按调拨单"+res.message); Task.Run(() =>