#表单插件#应付单二开,取消默认勾选按含税单价录入

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:3

#表单插件#应付单二开,取消默认勾选按含税单价录入

## 代码 ```using Kingdee.BOS.App.Data; using Kingdee.BOS.Core.Bill; using Kingdee.BOS.Core.Bill.PlugIn; using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel; using Kingdee.BOS.Orm.DataEntity; using System; using System.Collections.Generic; using System.ComponentModel; using Kingdee.BOS.Core.Metadata; namespace HNKD.K3.Test { [Kingdee.BOS.Util.HotUpdate] [Description("表单插件_应付单")] public class AP_PAYABLE_Edit : AbstractBillPlugIn { /// 数据绑定后事件 public override void AfterBindData(EventArgs e) { base.AfterBindData(e); //这个方法是判断单据状态。 //有四种:ADDNEW、EDIT、VIEW、DISASSEMBLY //新增、编辑、查看、卸载 //如果是,新增状态 ADDNEW if (this.View.OpenParameter.Status.Equals(OperationStatus.ADDNEW)) { this.Model.SetValue("FISTAX", false); } } } } ``` ## 效果 ![image.webp](/download/01000716e15161b749f884fc2acdd60ebb93.webp)

#表单插件#应付单二开,取消默认勾选按含税单价录入

## 代码```using Kingdee.BOS.App.Data;using Kingdee.BOS.Core.Bill;using Kingdee.BOS.Core.Bill.PlugIn;using Kingdee.BOS.Core.Dy...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息