bug
lu
4 天以前 5f92474a32f3fc3e38f2f19274745720062baee6
DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
@@ -23,7 +23,7 @@
        /// <param name="_aboutGuid">父亲guid</param>
        /// <param name="_aboutType">类别(后盖码,追溯码,受托入库等)</param>
        /// <param name="_qcGuid">qcGuid,在返工重条的时候</param>
        public SelectDeleteBar(string _aboutGuid, string _aboutType,string _qcGuid="")
        public SelectDeleteBar(string _aboutGuid, string _aboutType, string _qcGuid = "")
        {
            InitializeComponent();
            this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); };
@@ -37,17 +37,19 @@
            this.Text = "批量操作【" + this.aboutType + "】,【" + this.aboutGuid + "】";
            switch (aboutType)
            {
                case "采购入库":
                case "托板码":
                    btnDelete.Visible = false;
                    break;
                case "追溯码":
                    btnDelete.Visible = false;
                    colT1.Caption = "线体编号";
                    colT2.Caption = "线体名称";
                    break;
                case "后盖码":
                    colT1.Caption = "绑定托板码";
                    colT2.Caption = "绑定追溯码";
                    break;
                case "追溯码":
                    colT1.Caption = "线体编号";
                    colT2.Caption = "线体名称";
                    break;
                default:
                    colT1.Caption = "入库人";
                    colT2.Caption = "入库日期";
@@ -108,7 +110,7 @@
                    MsgHelper.ShowError("提示:" + ex.Message);
                    return;
                }
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = strMsg, Data="delete" }); Close();
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = strMsg, Data = "delete" }); Close();
            };
            btnPrint.Click += (s, e) =>
            {
@@ -135,7 +137,7 @@
                    return;
                }
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString() ,Data = "print" }); Close();
                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString(), Data = "print" }); Close();
            };
        }