| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, "", "", (value) => |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); |
| | | }); |
| | | }, tips); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => |
| | | { |
| | | getModel(value); |
| | |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | |
| | | //这是仓库标识卡,仅仅打印 |
| | | this.ucBtnPrint101.SetPlButton(false); |
| | | this.ucBtnPrint101.btnPrintClick += (s, e) => |
| | | { |
| | | _print101(); |
| | | }; |
| | | |
| | | } |
| | | private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 这是仓库 |
| | | /// </summary> |
| | | private void _print101() |
| | | { |
| | | string rowGuid, rowName; |
| | | (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, |
| | | lbGuid, txt_itemBarcode, gridView1); |
| | | ucBtnPrint101.guidKey = rowGuid; |
| | | if (rowGuid.Length < 36) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择你要打印的行!"); |
| | | this.ucBtnPrint101.rptParameter = "return false"; |
| | | return; |
| | | } |
| | | this.ucBtnPrint101.rptParameter = "rpt_cktm{" |
| | | + "" |
| | | + "," + "" |
| | | + "," + "" |
| | | + "," + "" |
| | | + "," + "" |
| | | + "}"; |
| | | } |
| | | |
| | | } |
| | | } |