跳转打开 正查
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);
跳转打开 正查
本文2024-09-16 17:08:34发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-13802.html