From b6c4b763fa582f8da8dd965c82f2b1979d9d0ea5 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 08 四月 2025 16:37:04 +0800 Subject: [PATCH] fqc --- DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs | 68 +++++++++------------------------ 1 files changed, 19 insertions(+), 49 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs index ddf4c99..6570002 100644 --- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs +++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs @@ -100,7 +100,7 @@ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } - + /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -166,7 +166,7 @@ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); } - + /// <summary> /// 鍒锋柊浜嬩欢 /// </summary> @@ -189,7 +189,7 @@ getPageList(this.pageBar1.CurrentPage); } } - + /// <summary> /// 淇敼浜嬩欢 /// </summary> @@ -228,57 +228,28 @@ private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) { toolBarMenu1.isSetBtn = false; - string _txt_djType = txt_djType.Text.Trim(); - string _txt_fbatchQty = txt_fbatchQty.Text.Trim(); - string _txt_lifnr = txt_lifnr.Text.Trim(); - string _txt_suppId =""; - string _txt_lineId =""; - string _txt_itemId = txt_itemId11111.Text.Trim(); - string _txt_remarks = txt_remarks.Text.Trim(); - string _txt_workNo = txt_workNo.GetCode(); - string _txt_epTag = txt_epTag.Text.Trim(); + string _txt_fngHandle = txt_fngHandle.Text.Trim(); + string _freceQty = txt_freceQty.Text.Trim(); + string _txt_fmrmode = txt_fmrmode.GetCode(); string _txt_fzrId = txt_fzrId.GetId(); + string _txt_workNo = txt_workNo.Text.Trim(); string _txt_msg = txt_msg.TextTxt; - string _txt_fmanageNo = txt_fmanageNo.Text.Trim(); - string _txt_lotNo2 = txt_lotNo2.Text.Trim(); - string _txt_lotNo1 = txt_lotNo1.Text.Trim(); - string _txt_lotNo = txt_lotNo.Text.Trim(); - if (txt_djType.SelectedIndex <= 0) - { - Gs.DevApp.ToolBox.MsgHelper.Warning("鍗曟嵁绫诲瀷涓嶈兘涓虹┖锛�"); - txt_djType.Focus(); - return; - } - if (string.IsNullOrEmpty(_txt_fbatchQty.Trim())) - { - Gs.DevApp.ToolBox.MsgHelper.Warning("鎶芥鏁伴噺涓嶈兘涓虹┖锛�"); - txt_fbatchQty.Focus(); - return; - } - if (string.IsNullOrEmpty(_txt_lotNo.Trim())) - { - Gs.DevApp.ToolBox.MsgHelper.Warning("宸ュ崟鍙蜂笉鑳戒负绌猴紒"); - txt_lotNo.Focus(); - return; - } + //if (string.IsNullOrEmpty(_txt_fbatchQty.Trim())) + //{ + // Gs.DevApp.ToolBox.MsgHelper.Warning("鎶芥鏁伴噺涓嶈兘涓虹┖锛�"); + // txt_fbatchQty.Focus(); + // return; + //} var _obj = new { guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 - djType = _txt_djType, - fbatchQty = _txt_fbatchQty, - lifnr = _txt_lifnr, - suppId = _txt_suppId, - lineId = _txt_lineId, - itemId = _txt_itemId, - remarks = _txt_remarks, - workNo = _txt_workNo, - epTag = _txt_epTag, + freceQty = _freceQty, + fngHandle = _txt_fngHandle, fzrId = _txt_fzrId, + workNo = _txt_workNo, + fmrmode = _txt_fmrmode, msg = _txt_msg, - fmanageNo = _txt_fmanageNo, - lotNo2 = _txt_lotNo2, - lotNo1 = _txt_lotNo1, - lotNo = _txt_lotNo + edtType = 1 }; try { @@ -288,7 +259,6 @@ if (_rtn.rtnCode > 0) { lbGuid.Text = _rtn.rtnData.outGuid; - txt_releaseNo.Text = _rtn.rtnData.outNo; toolBarMenu1.isSetBtn = true; UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false); this.setEable(false); @@ -522,7 +492,7 @@ { if (xtraTabControl1.SelectedTabPageIndex == 1) { - getModel(lbGuid.Text.Trim(),"0"); + getModel(lbGuid.Text.Trim(), "0"); } int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); gridView1.FocusedRowHandle = rowHandle; -- Gitblit v1.9.3