feat(材料管理):增加调拨出库

This commit is contained in:
2026-07-13 17:25:28 +08:00
parent 4df4d8bca3
commit 040de31eb1
14 changed files with 1102 additions and 29 deletions
@@ -69,7 +69,7 @@ namespace FineUIPro.Web.CLGL
drpTypeInt.DataTextField = "Key";
drpTypeInt.DataValueField = "Value";
drpTypeInt.DataSource = TwConst.TypeIntMap.Where(x => x.Key.Contains("入库"));
drpTypeInt.DataSource = TwConst.TypeIntMap.Where(x => x.Key.Contains("入库") && x.Value != (int)TwConst.TypeInt.);
drpTypeInt.DataBind();
drpCategory.DataTextField = "Key";
@@ -160,6 +160,12 @@ namespace FineUIPro.Web.CLGL
private bool Save(string type, bool validateDetail)
{
var currentModel = string.IsNullOrEmpty(Id) ? null : TwInOutplanmasterService.GetById(Id);
if (currentModel != null && currentModel.TypeInt == (int)TwConst.TypeInt.)
{
Alert.ShowInTop("调拨入库申请不允许单独编辑!", MessageBoxIcon.Warning);
return false;
}
if (!ValidateMaster())
{
return false;