From 365cbc3eebc4cd017298534bbe7e55cfc5570f4d Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期六, 26 七月 2025 16:25:37 +0800 Subject: [PATCH] 异常报告系修改(增加修改、保存、反审核按钮。明细行增加合格、工废、料废计算) --- 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