From 6940ba1b4fe555c94353de9d7ab6a53a6c8884bc Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期三, 03 十二月 2025 18:27:35 +0800
Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~kyy/LB_MesClient
---
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
index 48daa38..3c7e497 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
@@ -157,6 +157,8 @@
}
};
#endregion
+ this.txt_fInDepartment.getSuppler("");
+ this.txt_fOutDepartment.getSuppler("");
}
private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
{
@@ -306,6 +308,7 @@
txt_ftranstype.ReadOnly = true;
txt_fOwnerTypeIdHead.ReadOnly = true;
txt_fOwnerTypeInIdHead.ReadOnly = true;
+ txt_djtype.ReadOnly = true;
}
/// <summary>
/// 鏂板浜嬩欢
@@ -322,7 +325,11 @@
Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
//澧炲姞鏃讹紝榛樿缁勭粐
string deftOrg = UtilityHelper.GetFirstOrg(txt_fapporgid);
-
+ txt_fapporgid.IsReadly = true;
+ txt_ftranstype.ReadOnly = true;
+ txt_fOwnerTypeIdHead.ReadOnly = true;
+ txt_fOwnerTypeInIdHead.ReadOnly = true;
+ txt_djtype.ReadOnly = true;
}
/// <summary>
/// 淇濆瓨浜嬩欢
@@ -339,6 +346,8 @@
string dblx = txt_ftranstype.Text.ToString();
string dchzlx = txt_fOwnerTypeIdHead.Text.ToString();
string drhzlx = txt_fOwnerTypeInIdHead.Text.ToString();
+ string inDe = txt_fInDepartment.GetId().ToString();
+ string outDe = txt_fOutDepartment.GetId().ToString();
//if (txt_fBillTypeID.SelectedIndex <= 0)
//{
// Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鍗曟嵁绫诲瀷锛�");
@@ -355,6 +364,18 @@
{
Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鐢宠缁勭粐锛�");
txt_fapporgid.Focus();
+ return;
+ }
+ if (string.IsNullOrEmpty(inDe))
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨璋冨叆閮ㄩ棬锛�");
+ txt_fInDepartment.Focus();
+ return;
+ }
+ if (string.IsNullOrEmpty(outDe))
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨璋冨嚭閮ㄩ棬锛�");
+ txt_fOutDepartment.Focus();
return;
}
//if (txt_fOwnerTypeIdHead.SelectedIndex <= 0)
@@ -380,6 +401,8 @@
dchzlx = dchzlx,//璋冨嚭璐т富绫诲瀷
drhzlx = drhzlx,//璋冨叆璐т富绫诲瀷
inRemark = txt_fRemarks.Text.Trim(),//澶囨敞
+ outDe = outDe,
+ inDe = inDe,
list = new List<dynamic>(),
};
gvMx1.CloseEditor();
--
Gitblit v1.9.3