lu
2025-05-23 7c1bfcd20a0da13c66659dea4f105805fc25465d
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkTechnique.cs
@@ -1,4 +1,5 @@

using Gs.DevApp.DevFrm.QC;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Gs.DevApp.UserControl;
@@ -82,6 +83,22 @@
                frm.ShowDialog();
            };
            _getListJyxm();
            //复制
            btnCopy.Click += (s, e) =>
            {
                if ((lbGuid.Text.Trim().Length < 10))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请先保存当前信息!");
                    return;
                }
                if ((txt_isCheck.Checked == false))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowInformation("该项目未审核,暂不能复制到其它物料!");
                    return;
                }
                Frm_WorkTechniqueShow frm = new Frm_WorkTechniqueShow(lbGuid.Text.Trim(), "");
                frm.ShowDialog();
            };
        }
        private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
@@ -156,7 +173,7 @@
        private void getPageList(int curPage)
        {
            gcMain1.DataSource = null;
            var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
            gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
            var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.item_no asc", "",
                "", _sbSqlWhere.ToString());
            var json = JsonConvert.SerializeObject(pgq);
@@ -256,7 +273,8 @@
            }
            decimal num = 0;
            int num2 = 0;
            if (!int.TryParse(txt_fSumPeople.Text.Trim(), out num2)) {
            if (!int.TryParse(txt_fSumPeople.Text.Trim(), out num2))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请输入正确的定员!");
                txt_fSumPeople.Focus(); return;
            }
@@ -320,6 +338,7 @@
                    gvList.Add(gvMx1);
                    UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gvList);
                    toolBarMenu1.currentAction = "";
                    //Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6);
                }
            }
            catch (Exception ex)