iqc
lu
2025-04-22 f090facc03df282747691d6295229a25583f9712
DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -18,6 +18,7 @@
    public partial class Jyxm : DevExpress.XtraEditors.XtraUserControl
    {
        private List<FilterEntity> _filterList = new List<FilterEntity>();
        string _ucItem = "";//物料
        private readonly string _webServiceName = "MesQmCheckitemManager/";
        public string strType = "";//iqc type
        public decimal dfValue = 1;  //iqc的样品数量默认5,否则1
@@ -70,6 +71,11 @@
                if ((lbGuid.Text.Trim().Length < 10))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请先保存当前信息!");
                    return;
                }
                if ((txt_foneChecked.Checked==false))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowInformation("该项目未审核,暂不能复制到其它物料!");
                    return;
                }
                JyxmShow frm = new JyxmShow(lbGuid.Text.Trim(), strType);
@@ -453,11 +459,12 @@
                if (_rtn.rtnCode > 0)
                {
                    var dy = _rtn.rtnData;
                    _ucItem = dy.itemId;
                    lbGuid.Text = strGuid;
                    var gvList = new List<GridView>();
                    gvList.Add(gvMx1);
                    UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy,
                        isEdit, gvList);
                    UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList);
                    _ucItem = "";
                    var _job = JObject.Parse(strJson);
                    var array = new JArray();
                    foreach (var a in _job["rtnData"]["list"]) array.Add(a);
@@ -528,7 +535,7 @@
                    _webServiceName + "EditModelSubmit",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                if (_inFieldValue < 0 && _rtn.rtnCode > 0)
                {
                    if (xtraTabControl1.SelectedTabPageIndex == 0)
@@ -565,9 +572,7 @@
                string _orgId = txt_fSubsidiary.GetId();
                if (string.IsNullOrEmpty(_orgId))
                    return;
                txt_itemId.getSuppler(_orgId);
                //txt_gg.Text ="";
                //txt_itemNo.Text = "";
                txt_itemId.getSuppler(_orgId, _ucItem, " ", strType);
            };
            txt_itemId.EditChanged += (s, e) =>
            {