From 2de65e7ad262da695494122b547db604ca53b01a Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期五, 15 八月 2025 17:40:09 +0800 Subject: [PATCH] 1、UtilityHelper通用类 (1、底部汇总新增选择时汇总 2、颜色设置) 2、到货条码打印设置检验结果颜色 3、采购到货(1、为GridView的鼠标抬起事件添加处理方法,实现自定义交互2、条件汇总:只对选中(打勾)的行进行汇总) --- DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs index 8dbfded..7daf4e1 100644 --- a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs +++ b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs @@ -128,6 +128,11 @@ return false; } + + /// <summary> + /// 璁剧疆鎵归噺鎸夐挳鍙鎬� + /// </summary> + /// <param name="blPiLiang"></param> public void SetPlButton(bool blPiLiang) { if (blPiLiang == true) @@ -137,6 +142,18 @@ } /// <summary> + /// 璁剧疆纭畾鎸夐挳鍙鎬� + /// </summary> + /// <param name="blPiLiang"></param> + public void SetPrintButton(bool blPiLiang) + { + if (blPiLiang == true) + this.lay1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always; + else + this.lay1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; + } + + /// <summary> /// /// </summary> private void _print() { -- Gitblit v1.9.3