Exemplo n.º 1
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            ItemRule rule   = new ItemRule();
            Item     entity = EntityGet();

            rule.RDelete(entity);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            ItemRule rule = new ItemRule();

            Item entity = EntityGet();

            //if (rule.IsCanDelect(entity.ItemCode))
            //{
            rule.RDelete(entity);
            //}
            //else
            //    ShowMessage("该原料在出入库报表中,不可删除!");
        }