lu
2024-12-26 777bbf3d0d9399e69c0718fc4c562803cd4f15ec
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs
@@ -45,7 +45,7 @@
            await Task.Delay(100);
            getPageList(1);
        }
        /// <summary>
        /// 分页事件
        /// </summary>
@@ -98,7 +98,7 @@
        private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e)
        {
            string rowGuid = "", rowName = "";
             (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_typeNo, gridView1, "typeNo");
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_typeNo, gridView1, "typeNo");
            if (string.IsNullOrEmpty(rowGuid))
            {
                ToolBox.MsgHelper.Warning("请先选择你要操作的行!");
@@ -164,7 +164,14 @@
                return;
            }
            Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3);
            UtilityHelper.ChangeEnableByControl(panel1.Controls, true);
            if (xtraTabControl1.SelectedTabPageIndex == 1)
            {
                getModel(rowGuid);
            }
            else
            {
                UtilityHelper.ChangeEnableByControl(panel1.Controls, true);
            }
        }
        /// <summary>
        /// 新增事件
@@ -194,8 +201,8 @@
            var _obj = new MesDefectType()
            {
                Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()),
                TypeNo=txt_typeNo.Text.Trim(),
                TypeMemo=txt_typeMemo.Text.Trim(),
                TypeNo = txt_typeNo.Text.Trim(),
                TypeMemo = txt_typeMemo.Text.Trim(),
            };
            try
            {