From 00882b1b7952163bf6e2ef3e98286cd1fe22a103 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期四, 04 九月 2025 09:24:01 +0800 Subject: [PATCH] Bug修改 --- DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs index d6fee45..d8c36e1 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs @@ -64,7 +64,11 @@ btnIpt.Click += BtnIpt_Click; string rptName = ""; if (strType == QcSeason.鍙楁墭鍏ュ簱.ToString()) + { rptName = "rpt_Strk"; + layoutControlItem25.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; + layoutControlItem27.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; + } else if (strType == QcSeason.鍏跺畠鍏ュ簱妫�.ToString()) { @@ -439,7 +443,8 @@ toolBarMenu1.isSetBtn = false; string rkckid = txt_rkCkId.GetId(); if (strType == QcSeason.瓒呮湡妫�.ToString() - || strType == QcSeason.鍏跺畠鍏ュ簱妫�.ToString()) + || strType == QcSeason.鍏跺畠鍏ュ簱妫�.ToString() + || strType == QcSeason.鍙楁墭鍏ュ簱.ToString()) { } @@ -497,11 +502,17 @@ { gcMain1.DataSource = null; System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder(); + _sbSqlWhere.Append(" and a.ReceiveOrgId in"); + _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere()); _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList)); if (strType == QcSeason.鍏跺畠鍏ュ簱妫�.ToString()) { _sbSqlWhere.Append(" and isnull(qtrk.qt028,0)=1 and isnull(qtrk.qt032,0)=1 and isnull(qtrk.qt015,0)=1 "); } + if (strType == QcSeason.鍙楁墭鍏ュ簱.ToString()) + { + _sbSqlWhere.Append(" and isnull(st.isCheck,0)=1 and isnull(st.qt032,0)=1"); + } PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", " and a.order_type='" + strType + "' " + _sbSqlWhere.ToString()); string json = JsonConvert.SerializeObject(pgq); try -- Gitblit v1.9.3