lu
2025-02-12 f13592561fedab01d5d447a3f8db9026ce51b7c8
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -49,6 +49,7 @@
                string _orgId = txt_qt023.GetId();
                if (string.IsNullOrEmpty(_orgId))
                    return;
                txt_qt008.getSuppler(_orgId);
                ucLookHuoZhu1.OrgId = _orgId;
                System.Text.StringBuilder sbWhere = new System.Text.StringBuilder();
                sbWhere.Append(" and a.FSubsidiary ='" + _orgId + "'");
@@ -259,6 +260,7 @@
            string inLyCus = txt_qt013.GetId();//领用客户
            string inLyDepart = txt_qt009.GetId();//领用部门
            string inKcfx = txt_qt020.Text.Trim();//库存方向
            string inFlck = txt_qt008.GetId();//发料仓库
            if (string.IsNullOrEmpty(inOrgId))
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("请选择库存组织!");
@@ -279,6 +281,12 @@
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("请选择单据类型!");
                txt_qt019.Focus();
                return;
            }
            if (string.IsNullOrEmpty(inFlck))
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("请选择发料仓库!");
                txt_qt008.Focus();
                return;
            }
            if (string.IsNullOrEmpty(inLyOrg))
@@ -310,6 +318,7 @@
                inLyCus = inLyCus,//领用客户
                inLyDepart = inLyDepart,//领用部门
                inKcfx = inKcfx,//库存方向
                inFlck = inFlck,//发料仓库
                list = new List<dynamic>(),
            };
            gvMx1.CloseEditor();