跳转打开 正查

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

跳转打开 正查

clr.AddReference('Kingdee.BOS')

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


from Kingdee.BOS import *

from Kingdee.BOS.Core import *


def BarItemClick(e):

    if e.BarItemKey=='uuu':

        selectedRow = this.ListView.SelectedRowsInfo;

        if selectedRow.Count==0:

            this.View.ShowErrMessage("没有选择任何数据,请先选择数据!");

            return;

        if selectedRow.Count>1:

            this.View.ShowErrMessage("只能选择一行数据操作,请重新选择数据!");

            return;

        obj = this.ListModel.GetData(selectedRow);

        useOrgId = obj[0]["FUseOrgId_Id"];

        mtrlId = obj[0]["FMATERIALID_Id"];

        parameteropt =DynamicFormShowParameter();

        parameteropt.FormId = "ENG_BomQueryForward2";

        parameteropt.CustomParams.Add("FMaterialId", str(mtrlId));

        parameteropt.CustomParams.Add("FUseOrgId", str(useOrgId));

        parameteropt.ParentPageId = this.View.PageId;

        this.View.ShowForm(parameteropt);


跳转打开 正查

clr.AddReference('Kingdee.BOS')clr.AddReference('Kingdee.BOS.Core')from Kingdee.BOS import *from Kingdee.BOS.Core import *de...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息