默认启动辅助属性-python脚本方式

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

默认启动辅助属性-python脚本方式

def AfterBindData(e):
    id =this.View.Model.DataObject["id"];
    if id==0:
        materialAuxPtyCollection = this.View.Model.DataObject["MaterialAuxPty"];
        i = 0;
        for each in materialAuxPtyCollection:
            this.View.Model.SetValue("FIsEnable1", True, i)
            this.View.Model.SetValue("FIsAffectPlan1", True, i)
            i=i+1;

实例:默认启动辅助属性及影响计划
image.webp


做法太棒了,人性化的配置,太赞了

默认启动辅助属性-python脚本方式

def AfterBindData(e): id =this.View.Model.DataObject["id"]; if id==0: materialAuxPtyCollection = this.View.Model.Data...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息