kyy
2025-08-27 3da484ef1060100bfae2d82b56a4382e11a602de
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs
@@ -26,6 +26,9 @@
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx3);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMxL1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMxL2);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMxL3);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) =>
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
@@ -274,13 +277,18 @@
        releaseNosStr  // s5 → @in6:releaseNo列表
                };
                string paramContent = string.Join(",", reportParams);
                string rptParam = $"rpt_Arrival_One{{{paramContent}}}";
                //string paramContent = string.Join(",", reportParams);
                //string rptParam = $"rpt_Arrival_One{{{paramContent}}}";
                //this.ucBtnPrintOne1.guidKey = mainGuid;
                //this.ucBtnPrintOne1.rptParameter = rptParam;
                this.ucBtnPrintOne1.guidKey = mainGuid;
                this.ucBtnPrintOne1.rptParameter = rptParam;
                this.ucBtnPrintOne1.rptParameter = "rpt_Arrival_One{"
                    + string.Join(",", reportParams)  // 拼接reportParams数组元素
                    + "}";
                // 5. 调用预览(逻辑不变)
                /*  // 5. 调用预览(逻辑不变)
                try
                {
                    using (Form rptPreviewForm = new RptPreview(mainGuid, rptParam))
@@ -307,7 +315,7 @@
                    Gs.DevApp.ToolBox.MsgHelper.ShowError(errorMsg);
                    this.ucBtnPrintOne1.rptParameter = "return false";
                }
  */
                // 6. 清空控件
                txt_iCount_2.Text = "";
                txt_psnQty_2.Text = "";