iqc
lu
2024-11-04 c0a7e84cfa7a2ca727e37db6437d90730bf5da80
iqc
已修改3个文件
58 ■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.Designer.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.Designer.cs
@@ -644,13 +644,13 @@
            this.gv_itemId.AppearanceCell.Options.UseFont = true;
            this.gv_itemId.Caption = "物料ID";
            this.gv_itemId.FieldName = "itemId";
            this.gv_itemId.MinWidth = 50;
            this.gv_itemId.MinWidth = 100;
            this.gv_itemId.Name = "gv_itemId";
            this.gv_itemId.OptionsColumn.AllowEdit = false;
            this.gv_itemId.Tag = "query_a.item_id";
            this.gv_itemId.Visible = true;
            this.gv_itemId.VisibleIndex = 5;
            this.gv_itemId.Width = 94;
            this.gv_itemId.Width = 100;
            // 
            // gv_iqcDate
            // 
@@ -1009,13 +1009,13 @@
            this.gv_lotNo.AppearanceCell.Options.UseFont = true;
            this.gv_lotNo.Caption = "送检批次";
            this.gv_lotNo.FieldName = "lotNo";
            this.gv_lotNo.MinWidth = 120;
            this.gv_lotNo.MinWidth = 150;
            this.gv_lotNo.Name = "gv_lotNo";
            this.gv_lotNo.OptionsColumn.AllowEdit = false;
            this.gv_lotNo.Tag = "query_a.lot_no";
            this.gv_lotNo.Visible = true;
            this.gv_lotNo.VisibleIndex = 3;
            this.gv_lotNo.Width = 120;
            this.gv_lotNo.Width = 150;
            // 
            // lb_checkQty
            // 
@@ -1296,13 +1296,13 @@
            this.gv_releaseNo.AppearanceCell.Options.UseFont = true;
            this.gv_releaseNo.Caption = "检验单号";
            this.gv_releaseNo.FieldName = "releaseNo";
            this.gv_releaseNo.MinWidth = 120;
            this.gv_releaseNo.MinWidth = 150;
            this.gv_releaseNo.Name = "gv_releaseNo";
            this.gv_releaseNo.OptionsColumn.AllowEdit = false;
            this.gv_releaseNo.Tag = "query_a.release_no";
            this.gv_releaseNo.Visible = true;
            this.gv_releaseNo.VisibleIndex = 0;
            this.gv_releaseNo.Width = 120;
            this.gv_releaseNo.Width = 150;
            // 
            // toolBarMenu1
            // 
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
@@ -69,6 +69,51 @@
        {
            if (!MsgHelper.AskQuestion("确定重新加载检验项目吗?"))
                return;
            string strGuid = lbGuid.Text.Trim();
            if (string.IsNullOrEmpty(strGuid))
            {
                ToolBox.MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            var _obj = new
            {
                guid = strGuid,//主建
            };
            try
            {
                string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetCheckResultList15Reload", JsonConvert.SerializeObject(_obj));
                ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson);
                if (_rtn.rtnCode > 0)
                {
                    dynamic dy = _rtn.rtnData;
                    lbGuid.Text = strGuid;
                    JObject _job = JObject.Parse(strJson);
                    JArray array = new JArray();
                    foreach (var a in _job["rtnData"]["list5"])
                    {
                        array.Add(a);
                    }
                    DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString());
                    if (dt.Rows.Count > 0)
                    {
                        gcMx1.BindingContext = new BindingContext();
                        gcMx1.DataSource = dt;
                        gcMx1.ForceInitialize();
                    }
                    else
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                    }
                }
                else
                    ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg);
            }
            catch (Exception ex)
            {
                ToolBox.MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void TxtJianYan_KeyDown(object sender, KeyEventArgs e)
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs
@@ -133,7 +133,6 @@
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void getModel(string strGuid, bool isEdit, int tabIdx)
        {
            if (string.IsNullOrEmpty(strGuid))