kyy
2025-09-03 a7ac603470bad7a9a09efcf5b7b3214c76b97316
1、合并更新
已修改1个文件
36 ■■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs
@@ -186,7 +186,7 @@
                {
                    try
                    {
                        string rptParameter = "rpt_Arrival{"
                        string rptParameter = "rpt_Arrival_Hb{"
                        + "100"//重打都是传100,
                        + "," + ""
                        + "," + ""
@@ -293,40 +293,6 @@
        releaseNosStr  // s5 → @in6:releaseNo列表
                };
                /*string paramContent = string.Join(",", reportParams);
                string rptParam = $"rpt_Arrival_One{{{paramContent}}}";
                this.ucBtnPrintOne1.guidKey = mainGuid;
                this.ucBtnPrintOne1.rptParameter = rptParam;
                // 5. 调用预览(逻辑不变)
                try
                {
                    using (Form rptPreviewForm = new RptPreview(mainGuid, rptParam))
                    {
                        DialogResult previewResult = rptPreviewForm.ShowDialog();
                        if (previewResult == DialogResult.OK)
                        {
                            getModel(mainGuid);
                            Gs.DevApp.ToolBox.MsgHelper.ShowError($"批量打印完成!共打印 {validReleaseNos.Count} 条有效明细");
                        }
                        else if (previewResult == DialogResult.Cancel)
                        {
                            Gs.DevApp.ToolBox.MsgHelper.ShowError("用户取消批量打印操作");
                        }
                    }
                }
                catch (Exception ex)
                {
                    string errorMsg = $"批量打印异常:{ex.Message}";
                    if (ex.InnerException != null)
                    {
                        errorMsg += $"\n内部错误:{ex.InnerException.Message}";
                    }
                    Gs.DevApp.ToolBox.MsgHelper.ShowError(errorMsg);
                    this.ucBtnPrintOne1.rptParameter = "return false";
                }
*/
                this.ucBtnPrintOne1.guidKey = mainGuid;
                this.ucBtnPrintOne1.rptParameter = "rpt_Arrival_One{"