| | |
| | | }, lbGuid); |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | |
| | | #region 托板码打印相关 |
| | | txt_psnQty_1.TextChanged += (s, e) => |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.PrintJiSuan(txt_psnQty_1, txt_iCount_1, txt_kQty.Text.Trim(), radOut, txt_yuliang_1); |
| | |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut, txt_yuliang_1); |
| | | }; |
| | | //这是托板码 |
| | | this.ucBtnPrint1.btnPrintClick += (s, e) => |
| | | { |
| | | _print(); |
| | |
| | | } |
| | | } |
| | | }; |
| | | //这是追溯码 |
| | | this.ucBtnPrint1.btnZhiJieClick += (s, e) => |
| | | { |
| | | _print(); |
| | | }; |
| | | #endregion |
| | | #region 追溯码打印相关 |
| | | this.ucBtnPrint98.btnPrintClick += (s, e) => |
| | | { |
| | | _print98(); |
| | |
| | | } |
| | | } |
| | | }; |
| | | //这是后盖码 |
| | | this.ucBtnPrint98.btnZhiJieClick += (s, e) => |
| | | { |
| | | _print98(); |
| | | }; |
| | | #endregion |
| | | |
| | | #region 后盖码打印相关 |
| | | this.ucBtnPrint100.btnPrintClick += (s, e) => |
| | | { |
| | | _print100(); |
| | |
| | | } |
| | | } |
| | | }; |
| | | //这是齐套标识卡,仅仅打印 |
| | | this.ucBtnPrint100.btnZhiJieClick += (s, e) => |
| | | { |
| | | _print100(); |
| | | }; |
| | | #endregion |
| | | |
| | | #region 这是齐套标识卡,仅仅打印 |
| | | this.ucBtnPrint101.SetPlButton(false); |
| | | this.ucBtnPrint101.btnPrintClick += (s, e) => |
| | | { |
| | | _print101(); |
| | | }; |
| | | this.ucBtnPrint101.btnZhiJieClick += (s, e) => |
| | | { |
| | | _print101(); |
| | | }; |
| | | #endregion |
| | | //导入模板 |
| | | this.btnIn.Click += (s, e) => |
| | | { |
| | |
| | | |
| | | }; |
| | | } |
| | | |
| | | |
| | | |
| | | private void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | |
| | | frm.ShowDialog(); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 进入看板 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |
| | | { |
| | | if (e.Button.Index == 0) |
| | | { |
| | | var userGuid = |
| | | string.IsNullOrEmpty(LoginInfoModel.CurrentUser.LoginUserGuid) |
| | | ? Guid.NewGuid().ToString() |
| | | : LoginInfoModel.CurrentUser.LoginUserGuid; |
| | | var rowhandle = gridView1.FocusedRowHandle; |
| | | var dr = gridView1.GetDataRow(rowhandle); |
| | | var qcGuid = dr["guid"].ToString() + "&mth=" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff") + "&userGuid=" + userGuid; |
| | | KanBanLaTouH5 frm = new KanBanLaTouH5(qcGuid); |
| | | frm.ShowDialog(); |
| | | } |
| | | } |
| | | } |
| | | } |