| | |
| | | this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False; |
| | | this.aboutGuid = _aboutGuid; |
| | | this.aboutType = _aboutType; |
| | | this.Text = "批量操作【" + this.aboutType + "】,【" + this.aboutGuid + "】"; |
| | | switch (aboutType) |
| | | { |
| | | case "后盖码": |
| | | btnDelete.Visible = true; |
| | | colT1.Caption = "绑定托板码"; |
| | | colT2.Caption = "绑定追溯码"; |
| | | break; |
| | | case "追溯码": |
| | | colT1.Caption = "线体编号"; |
| | | colT2.Caption = "线体名称"; |
| | | break; |
| | | default: |
| | | colT1.Caption = "入库人"; |
| | | colT2.Caption = "入库日期"; |
| | | break; |
| | | } |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false); |
| | | getPageList(1); |
| | | btnDelete.Click += (s, e) => |
| | |
| | | MsgHelper.Warning("请勾选你要打印的条码!"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString() }); Close(); |
| | | }; |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | private bool _ckRptService(string _guidKey, string _rptParameter) |
| | | { |
| | | try |
| | | { |
| | | var _obj = new |
| | | { |
| | | guid = _guidKey, |
| | | _rptParameter, |
| | | isDesign = 1 |
| | | }; |
| | | var strJson = UtilityHelper.HttpPost("", "Report/GetRptData", |
| | | JsonConvert.SerializeObject(_obj)); |
| | | var _rtn = UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) return true; |
| | | return false; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | } |