lg
2025-11-26 f2a352ef00e1b5d3c0723eb8b9aada1bea1b2713
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -37,6 +37,8 @@
            toolBarMenu1.btnPingZhiClick += ToolBarMenu1_btnPingZhiClick;
            toolBarMenu1.btnFPingZhiClick += ToolBarMenu1_btnFPingZhiClick;
            toolBarMenu1.btnWjClick += ToolBarMenu1_btnWjClick;
            toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick;
            this.toolBarMenu1.getXmlConfig();
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
@@ -87,8 +89,8 @@
                {
                    try
                    {
                        var lst = new List<string>();
                        lst = ee.StringList;
                        var lst = new List<dynamic>();
                        lst = ee.DynamicList;
                        var _obj = lst;
                        var strReturn = UtilityHelper.HttpPost("",
                            "MesItemTblManager/SelectPbaToView",
@@ -192,7 +194,7 @@
                DataTable dt = (DataTable)gcMx1.DataSource;
                foreach (DataRow row in dt.Rows)
                {
                    string guid = row["guid"].ToString();
                    string guid = row["tlid"].ToString();
                    string psnQty = row["kdy"].ToString();
                    if (string.IsNullOrEmpty(psnQty))
                    {
@@ -220,7 +222,7 @@
        }
        /// <summary>
        /// 打印
@@ -287,6 +289,32 @@
        private void PageBar1_PagerEvent(int curPage, int pageSize)
        {
            getPageList(curPage);
        }
        /// <summary>
        /// 打印
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e)
        {
            //guidKey, rptParameter
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1, "billNo");
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.ShowError("请先选择你要操作的行!");
                return;
            }
            this.toolBarMenu1.rptParameter = "rpt_SCTLSQ{"
                                               + ""
                                               + "," + ""
                                               + "," + ""
                                               + "," + ""
                                               + "," + ""
                                               + "}";
            this.toolBarMenu1.guidKey = rowGuid;
        }
        /// <summary>
        /// 查询事件
@@ -589,7 +617,8 @@
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()),
                        Sl = _sl, //申请数量
                        Remark = _tld014,
                        Bllb = row["tld015"].ToString().Replace("|", ",")
                        Bllb = row["tld015"].ToString().Replace("|", ","),
                        tld016 = row["tld016"].ToString()
                    });
                }
            }