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
@@ -171,6 +171,11 @@ namespace FineUIPro.Web.CLGL
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
var model = BLL.TwInOutplanmasterService.GetById(rowID);
if (!string.IsNullOrEmpty(model.TransferBatchId))
{
Alert.ShowInTop("已提交的调拨申请不允许单独删除!", MessageBoxIcon.Warning);
return;
}
if (model.State == (int)TwConst.State. || model.State == (int)TwConst.State.)
{
Alert.ShowInTop("请选择有效的计划!", MessageBoxIcon.Warning);
@@ -200,6 +205,11 @@ namespace FineUIPro.Web.CLGL
}
string ID = Grid1.SelectedRowID;
var model = BLL.TwInOutplanmasterService.GetById(ID);
if (model != null && model.TypeInt == (int)TwConst.TypeInt.)
{
Alert.ShowInTop("调拨入库申请由调拨出库申请配对生成,不允许单独编辑!", MessageBoxIcon.Warning);
return;
}
if (model != null) ///已上报时不能删除
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InPlanMasterApplyEdit.aspx?Id={0}", ID, "编辑 - ")));