判断当前页面是否新增,新增才进行操作

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:2

判断当前页面是否新增,新增才进行操作

import clr

clr.AddReference('Kingdee.BOS')

clr.AddReference('Kingdee.BOS.Core')

clr.AddReference('Kingdee.BOS.DataEntity')

from Kingdee.BOS.Util import *

from Kingdee.BOS.Core import *

from System import *

def AfterBindData(e):

    if (this.Model.OpenParameter.Status == OperationStatus.ADDNEW):

        FParentGroup = this.View.Model.GetValue("FParentGroup");

        if(FParentGroup != "全部"):

          this.Model.SetValue("FNumber", FParentGroup + ".");


判断当前页面是否新增,新增才进行操作

import clrclr.AddReference('Kingdee.BOS')clr.AddReference('Kingdee.BOS.Core')clr.AddReference('Kingdee.BOS.DataEntity')from King...
点击下载文档
分享:
上一篇:学习笔记下一篇:学习笔记之五
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息