| | |
| | | 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); |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 打印 |
| | |
| | | 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> |
| | | /// 查询事件 |
| | |
| | | Sl = _sl, //申请数量 |
| | | Remark = _tld014, |
| | | Bllb = row["tld015"].ToString().Replace("|", ","), |
| | | tld016= row["tld016"].ToString() |
| | | tld016 = row["tld016"].ToString() |
| | | }); |
| | | } |
| | | } |