lu
2025-04-26 e60c4a36bfc4164536b6ec2a8880dd48664e82da
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -58,6 +58,9 @@
            btnLayout.ItemClick += BtnLayout_ItemClick;
            btnFont.ItemClick += BtnFont_ItemClick;
            btnShouJian.ItemClick += BtnShouJian_ItemClick;
            btnCaiWuChk.ItemClick += BtnCaiWuChk_ItemClick;
            btnCaiWuFchk.ItemClick += BtnCaiWuFchk_ItemClick;
            var lst = new List<string>();
            foreach (BarItem item in barManager1.Items)
                if (item is BarLargeButtonItem largeButtonItem)
@@ -67,6 +70,7 @@
        }
     
        /// <summary>
        ///     初始化按钮状态
        /// </summary>
@@ -136,42 +140,24 @@
        {
            if (btnCaiGouFchkClick != null)
                btnCaiGouFchkClick(this, e);
            //if (string.IsNullOrEmpty(guidKey))
            //{
            //    MsgHelper.Warning("请先选择你要操作的行!");
            //    return;
            //}
            //if (string.IsNullOrEmpty(chkParameter))
            //{
            //    MsgHelper.ShowError("没有指定审核参数,请联系开发人员获取支持!");
            //    return;
            //}
            //if (!MsgHelper.AskQuestion("你选择了1条数据,确定采购反审核吗?"))
            //    return;
            //_ckService("-2");
        }
        private void BtnCaiGouChk_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnCaiGouChkClick != null)
                btnCaiGouChkClick(this, e);
            //if (string.IsNullOrEmpty(guidKey))
            //{
            //    MsgHelper.Warning("请先选择你要操作的行!");
            //    return;
            //}
        }
            //if (string.IsNullOrEmpty(chkParameter))
            //{
            //    MsgHelper.ShowError("没有指定审核参数,请联系开发人员获取支持!");
            //    return;
            //}
        private void BtnCaiWuFchk_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnCaiWuFchkClick != null)
                btnCaiWuFchkClick(this, e);
        }
            //if (!MsgHelper.AskQuestion("你选择了1条数据,确定采购审核吗?"))
            //    return;
            //_ckService("2");
        private void BtnCaiWuChk_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (btnCaiWuChkClick != null)
                btnCaiWuChkClick(this, e);
        }
        private void BtnZhiLiangFchk_ItemClick(object sender, ItemClickEventArgs e)
@@ -976,6 +962,19 @@
        /// </summary>
        public event EventHandler btnZhiLiangFchkClick;
        /// <summary>
        ///   财务审核
        /// </summary>
        public event EventHandler btnCaiWuChkClick;
        /// <summary>
        ///   质量反审核
        /// </summary>
        public event EventHandler btnCaiWuFchkClick;
        /// <summary>
        ///   驳回
        /// </summary>