银行存款对账shift实现多选二开方案(含源码)
新加一个表单插件
打开bos银行存款对账注册新加插件
3.效果
4.源码
using Kingdee.BOS.Core.DynamicForm.PlugIn; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Kingdee.BOS.Util; using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel; namespace KD_CN_Business.PlugIn { /// <Author></Author> /// <summary> /// 银行对账SHIFT多选客户端插件 /// </summary> [Description("银行对账SHIFT多选客户端插件")] public class KdBankAcntCheck : AbstractDynamicFormPlugIn { /// <summary> /// /// </summary> /// <param name="e"></param> public override void DataChanged(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.DataChangedEventArgs e) { base.DataChanged(e); if (e.Field.Key.EqualsIgnoreCase("FDownBlend") || e.Field.Key.EqualsIgnoreCase("FUpBlend")) { if (Convert.ToBoolean(e.NewValue)) { var entrySelectRows = this.View.GetControl<EntryGrid>(e.Field.EntityKey).GetSelectedRows(); if (entrySelectRows == null) return; if (entrySelectRows.Length == 0) return; if (entrySelectRows[0] < 0) return; if (entrySelectRows.Length == 1) return; foreach (int row in entrySelectRows) { if (row == e.Row) continue; this.View.Model.SetValue(e.Field.Key, true, row); } this.View.UpdateView(e.Field.Key); } } } } }
银行存款对账shift实现多选二开方案(含源码)
新加一个表单插件打开bos银行存款对账注册新加插件3.效果4.源码using Kingdee.BOS.Core.DynamicForm.PlugIn;using System;using System.Col...
点击下载文档
本文2024-09-23 01:57:25发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-149284.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章