From ad87d724397c7e7b839be9570abe458e627bf655 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期五, 12 十二月 2025 13:40:00 +0800
Subject: [PATCH] 其它入库,其它出库单据和出入库类型改为可维护
---
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
index b4a358a..ee181f8 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -195,11 +195,12 @@
};
#endregion
+
#region 2025-08-27 澧炲姞濮斿渚涘簲鍟�
- txt_qtlx.SelectedIndexChanged += (s, e) =>
+ txt_qtlx.ChangedEvent += (s, e) =>
{
int idx = txt_qtlx.SelectedIndex;
- if (idx == 7)
+ if (idx == 6)
{
layItemWwgys.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
}
@@ -210,6 +211,7 @@
}
};
#endregion
+
#region 2025-10-10 鍚戜笅澶嶅埗beg
btnDown.Click += (s, e) =>
@@ -495,13 +497,13 @@
string inHzlx = ucLookHuoZhu1.GetHzLx();//璐т富绫诲瀷
string inHz = ucLookHuoZhu1.GetHzId();//璐т富
string inRkyy = txt_qt010.Text.Trim();//鍘熷洜
- string inDjlx = txt_qt019.Text.Trim();//鍗曟嵁绫诲瀷
+ string inDjlx = txt_qt019.TextTxt.Trim();//鍗曟嵁绫诲瀷
// string inLyOrg = txt_qt024.GetId();//棰嗙敤缁勭粐
string inLyOrg = inOrgId;//棰嗙敤缁勭粐绛変簬搴撳瓨缁勭粐
string inLyCus = txt_qt013.GetId();//棰嗙敤瀹㈡埛
string inLyDepart = txt_qt009.GetId();//棰嗙敤閮ㄩ棬
string inKcfx = txt_qt020.Text.Trim();//搴撳瓨鏂瑰悜
- string qtlx = txt_qtlx.Text.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
+ string qtlx = txt_qtlx.TextTxt.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
string wwgys = txt_wwgys.GetId();
if (string.IsNullOrEmpty(inOrgId))
{
@@ -519,20 +521,26 @@
Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨璐т富锛�");
return;
}
+ if (inDjlx.Length <= 0)
+ {
+ MsgHelper.ShowError("璇烽�夋嫨閫�鍗曟嵁绫诲瀷锛�");
+ txt_qt019.Focus();
+ return;
+ }
//if (string.IsNullOrEmpty(inLyOrg))
//{
// Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨棰嗙敤缁勭粐锛�");
// txt_qt024.Focus();
// return;
//}
- if (txt_qtlx.SelectedIndex <= 0)
+ if (qtlx.Length <= 0)
{
Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鍑哄簱绫诲瀷锛�");
txt_qtlx.Focus();
return;
}
//杩欐槸闈炲澶栫殑闃插憜
- if (txt_qtlx.SelectedIndex != 7)
+ if (txt_qtlx.SelectedIndex != 6)
{
if (string.IsNullOrEmpty(inLyCus) && string.IsNullOrEmpty(inLyDepart))
{
@@ -546,7 +554,7 @@
}
}
//杩欐槸濮斿鐨勯槻鍛�
- if (txt_qtlx.SelectedIndex == 7)
+ if (txt_qtlx.SelectedIndex == 6)
{
if (string.IsNullOrEmpty(wwgys))
{
--
Gitblit v1.9.3