bug
lu
8 天以前 d03323ba9592a0b83ac210faa148f0032155fa83
DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
@@ -31,6 +31,23 @@
            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) =>
@@ -112,7 +129,7 @@
                    MsgHelper.Warning("请勾选你要打印的条码!");
                    return;
                }
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString() }); Close();
            };
        }
@@ -156,28 +173,5 @@
        }
        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;
        }
    }
}