| | |
| | | this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; |
| | | this.toolBarMenu1.btnZhongTaiClick += ToolBarMenu1_btnZhongTaiClick; |
| | | this.toolBarMenu1.btnTzblClick += ToolBarMenu1_btnTzblClick; |
| | | // this.toolBarMenu1.btnKgClick += ToolBarMenu1_btnKgClick; |
| | | this.toolBarMenu1.btnKgClick += ToolBarMenu1_btnKgClick; |
| | | this.toolBarMenu1.btnWgClick += ToolBarMenu1_btnWgClick; |
| | | toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; |
| | | this.toolBarMenu1.btnShouJianClick += ToolBarMenu1_btnShouJianClick; |
| | |
| | | frm.ShowDialog(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | private void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | |
| | | { |
| | | _toolCk(7); |
| | | } |
| | | //private void ToolBarMenu1_btnKgClick(object sender, EventArgs e) |
| | | //{ |
| | | // _toolCk(8); |
| | | //} |
| | | private void ToolBarMenu1_btnKgClick(object sender, EventArgs e) |
| | | { |
| | | _toolCk(8); |
| | | } |
| | | private void ToolBarMenu1_btnWgClick(object sender, EventArgs e) |
| | | { |
| | | _toolCk(9); |
| | |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx4, gvMx4); |
| | | } |
| | | //加上打印权限 |
| | | JArray array5 = new JArray(); |
| | | foreach (var a in _job["rtnData"]["list5"]) |
| | | { |
| | | if (a["blackName"].ToString() == "托板码打印") |
| | | { |
| | | splitMx99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both; |
| | | continue; |
| | | } |
| | | if (a["blackName"].ToString() == "追溯码打印") |
| | | { |
| | | splitMx98.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both; |
| | | continue; |
| | | } |
| | | if (a["blackName"].ToString() == "后盖码打印") |
| | | { |
| | | splitMx100.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both; |
| | | continue; |
| | | } |
| | | if (a["blackName"].ToString() == "齐套标识卡打印") |
| | | { |
| | | xtraTabPage5.PageVisible = true; |
| | | continue; |
| | | } |
| | | } |
| | | |
| | | txt_psnQty_1.Text = txt_printRemark.Text = txt_iCount_1.Text = txt_printRemark98.Text = txt_iCount_98.Text = txt_yuliang_1.Text = ""; |
| | | } |
| | | else |
| | |
| | | this.ucBtnPrint1.rptParameter = "return false"; |
| | | return; |
| | | } |
| | | if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim())) |
| | | if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim(), txt_yuliang_1.Text.Trim())) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请输入正确的条码数量!"); |
| | | txt_iCount_1.Focus(); |