| | |
| | | using DevExpress.Utils.MVVM.Services; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using DevExpress.XtraLayout.Customization; |
| | | using DevExpress.XtraRichEdit.Model; |
| | | using Gs.DevApp.DevFrm.Rpt; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | |
| | | }, lbGuid); |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | //解绑追溯码 |
| | | //确定反工 |
| | | btnZsm.Click += (s, e) => |
| | | { |
| | | if (!MsgHelper.AskQuestion("确定生成新的追溯码吗?")) |
| | |
| | | } |
| | | }; |
| | | //这是打印,这和其它页面是不一样的,不能复制这里 |
| | | this.ucBtnPrint98.SetPlButton(false); |
| | | this.ucBtnPrint98.btnPrintClick += (s, e) => |
| | | this.ucBtnPrint98.SetPrintButton(false); |
| | | this.ucBtnPrint98.btnAllClick += (s, e) => |
| | | { |
| | | string rowGuid = txt_aboutGuid.Text.Trim(); |
| | | if (rowGuid.Length < 36) |
| | |
| | | } |
| | | SelectDeleteBar frm = new SelectDeleteBar(rowGuid, "追溯码", lbGuid.Text.Trim()); |
| | | string strCodeList = ""; |
| | | string strAction = ""; |
| | | frm.UpdateParent += (ss, ee) => |
| | | { |
| | | strCodeList = ee.StringSingle; |
| | | strAction = ee.Data; |
| | | }; |
| | | frm.ShowDialog(); |
| | | if (string.IsNullOrEmpty(strCodeList)) |
| | | return; |
| | | if (strAction == "print") |
| | | { |
| | | try |
| | | { |
| | | string rptParameter = "rpt_trace{" |
| | |
| | | { |
| | | MsgHelper.ShowError(ex.Message); |
| | | } |
| | | } |
| | | |
| | | }; |
| | | } |
| | | |