From 4b9138191f734a79afb4c3b89d2316a5acd02a2b Mon Sep 17 00:00:00 2001 From: liuwf Date: Thu, 12 Dec 2024 17:55:17 +0800 Subject: [PATCH] =?UTF-8?q?change-=E6=8F=90=E4=BA=A4=20=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E5=B0=81=E5=8F=91-=E6=8E=A5=E6=94=B6=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E6=9D=A1=E7=A0=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs | 5 +++-- SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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(() =>