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
@@ -444,6 +444,11 @@ namespace FineUIPro.Web.CLGL
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
var model = BLL.TwInOutplanmasterService.GetById(rowID);
if (!string.IsNullOrEmpty(model.TransferBatchId) && model.State != (int)TwConst.State.)
{
Alert.ShowInTop("已提交的调拨申请不允许单独删除!", MessageBoxIcon.Warning);
return;
}
if (model.State == (int)TwConst.State. || model.State == (int)TwConst.State.)
{
Alert.ShowInTop("请选择有效的计划!", MessageBoxIcon.Warning);
@@ -530,7 +535,10 @@ namespace FineUIPro.Web.CLGL
}
string planId = Grid1.SelectedRowID;
var planMaster = BLL.TwInOutplanmasterService.GetById(planId);
if (planMaster.State == (int)TwConst.State. && (planMaster.TypeInt == (int)TwConst.TypeInt. || planMaster.TypeInt == (int)TwConst.TypeInt.))
if (planMaster.State == (int)TwConst.State. &&
(planMaster.TypeInt == (int)TwConst.TypeInt. ||
planMaster.TypeInt == (int)TwConst.TypeInt. ||
planMaster.TypeInt == (int)TwConst.TypeInt.))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("OutPlanMasterEdit.aspx?UnitWorkId={0}&Id={1} ", tvControlItem.SelectedNodeID, planId, "新增 - ")));