bug
lu
6 天以前 aaea9659e60f676bebc47b153aa227ebd730265c
DevApp/Gs.DevApp/DevFrm/JJGZ/Frm_MesAttanCon.cs
@@ -26,6 +26,7 @@
        List<FilterEntity> _filterList = new List<FilterEntity>();
        string date;
        string lineNo;
        string orgId;
        
        // 用于跟踪原始值的字典
        private Dictionary<string, Dictionary<string, object>> _originalValues = new Dictionary<string, Dictionary<string, object>>();
@@ -44,7 +45,11 @@
            this.toolBarMenu1.btnLianBanClick += ToolBarMenu1_btnLianBanClick;
            toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
            toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gridView2);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gridView3);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gridView4);
            this.toolBarMenu1.getXmlConfig();
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) =>
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
@@ -61,7 +66,7 @@
        /// <param name="e"></param>
        private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e)
        {
            var frm = new KQCX(lineNo, date);
            var frm = new KQCX(lineNo, date, orgId);
            //赋值给明细表
            frm.UpdateParent += (ss, ee) =>
            {
@@ -69,6 +74,7 @@
                lst = ee.StringList;
                lineNo = string.IsNullOrEmpty(lst[0]) ? "0" : lst[0];
                date = string.IsNullOrEmpty(lst[1]) ? DateTime.Now.AddMonths(-1).ToString() : lst[1];
                orgId = string.IsNullOrEmpty(lst[2]) ? "1" : lst[2];
                getPageList();
            };
            frm.ShowDialog();
@@ -117,7 +123,8 @@
            var _obj = new
            {
                date = date,
                lineNo = lineNo
                lineNo = lineNo,
                orgId = orgId
            };
           // gcMain1.DataSource = null; 
            var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
@@ -245,7 +252,8 @@
            var _obj = new
            {
                date = date,
                lineNo = lineNo
                lineNo = lineNo,
                orgId = orgId
            };
            try
            {
@@ -323,7 +331,8 @@
            {
                lineNo = lineNo,
                date = date,
                list = list
                list = list,
                orgId = orgId
            };
            try
@@ -450,7 +459,8 @@
            {
                lineNo = lineNo,
                date = date,
                list = list
                list = list,
                orgId = orgId
            };
            try
@@ -508,8 +518,23 @@
                    strMsg = "反审核";
                    break;
            }
    ;
            toolBarMenu1.guidKey = "";
            if (_inFieldValue == 1)
            {
                string confirmMsg = $"是否审核 产线号:{lineNo},日期:{date}?";
                if (MessageBox.Show(confirmMsg, "审核确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
                {
                    return;
                }
            }
            else
            {
                string confirmMsg = $"是否反审核 产线号:{lineNo},日期:{date}?";
                if (MessageBox.Show(confirmMsg, "审核确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
                {
                    return;
                }
            }
                toolBarMenu1.guidKey = "";
            var _obj = new
            {
                lineNo = lineNo,