From 9c6b86409bd6d4802d8de3275627cdd3e87fd7e8 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期五, 15 八月 2025 14:29:06 +0800 Subject: [PATCH] 售退 --- DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs index b579ad7..ab740fd 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs @@ -63,8 +63,12 @@ gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged; btnIpt.Click += BtnIpt_Click; string rptName = ""; - if (strType == QcSeason.鐢熶骇閫�鏂欏叆搴撴.ToString()) - rptName = "rpt_SCTL"; + 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()) { } @@ -502,6 +507,10 @@ { _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