/// <summary> /// 删除 /// </summary> public override void EntityDelete() { ItemRule rule = new ItemRule(); Item entity = EntityGet(); rule.RDelete(entity); }
/// <summary> /// 删除 /// </summary> public override void EntityDelete() { ItemRule rule = new ItemRule(); Item entity = EntityGet(); //if (rule.IsCanDelect(entity.ItemCode)) //{ rule.RDelete(entity); //} //else // ShowMessage("该原料在出入库报表中,不可删除!"); }