bug
lu
5 天以前 c1ddac72637f73b87610974e69704f5497019ba3
DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs
@@ -121,32 +121,36 @@
                string rowGuid = txt_aboutGuid.Text.Trim();
                SelectDeleteBar frm = new SelectDeleteBar(rowGuid, strType);
                string strCodeList = "";
                string strAction = "";
                frm.UpdateParent += (ss, ee) =>
                {
                    strCodeList = ee.StringSingle;
                    strAction = ee.Data;
                };
                frm.ShowDialog();
                if (string.IsNullOrEmpty(strCodeList))
                    return;
                try
                {
                    string rptParameter = rptName + "{"
                    + "100"
                    + "," + ""
                    + "," + ""
                    + "," + ""
                    + "," + ""
                    + "," + strCodeList
                    + "}";
                    using (Form rpt = new RptPreview(rowGuid, rptParameter))
                if (strAction == "print") {
                    try
                    {
                        rpt.ShowDialog();
                        string rptParameter = rptName + "{"
                        + "100"
                        + "," + ""
                        + "," + ""
                        + "," + ""
                        + "," + ""
                        + "," + strCodeList
                        + "}";
                        using (Form rpt = new RptPreview(rowGuid, rptParameter))
                        {
                            rpt.ShowDialog();
                        }
                        frm.Close();
                    }
                    frm.Close();
                }
                catch (Exception ex)
                {
                    MsgHelper.ShowError(ex.Message);
                    catch (Exception ex)
                    {
                        MsgHelper.ShowError(ex.Message);
                    }
                }
            };
            //自动计算打印量