按视图配置指南配置了“员工职业资格”多行表页签,但打开报错,如下图:
但打开后报错,详细视图代码如下:
<?xml version="1.0"?><main> <assign personInfo="remoteCall('com.kingdee.eas.hr.emp.app.PersonQueryFacade', 'getPersonInfo', (model.person.id)!)" /> <assign modelName="${personInfo.personName!}" type="string" /> <header> <title value="职业资格信息" /> </header> <body> <multiRow name="EmployeeCertifyCompetencyForm" sorterItems="isHighestCompetency desc, obtainDate desc"> <group name="header"> <photo personId="${(model.person.id)!}" class="shr-personPhoto" readonly="true" /> <div class="shr-baseInfo"> <div class="shr-baseInfo-title">${personInfo.personName!}</div> <div>${personInfo.orgName!}</div> <div>${personInfo.positionName!}</div> <tags objectId="${(model.person.id)!}" objectEntity="com.kingdee.eas.basedata.person.app.Person" readonly="true" /> </div> </group> <entrys> <relatedField name="person.id"></relatedField> <toolbar class="entry-button-top"> <button name="edit" caption="编辑" pageStates="VIEW" class="btn-primary" /> <button name="addNew" caption="新增" pageStates="VIEW" class="btn-primary" /> <button name="delete" caption="删除" pageStates="VIEW"/> <button name="save" class="btn-primary" caption="保存" pageStates="EDIT,ADDNEW"/> <button name="cancel" caption="取消" pageStates="EDIT,ADDNEW"/> </toolbar> <group name="base" caption="职业资格信息"> <field name="CertifyCompetency" label="职业资格" required="true"></field> <field name="obtainDate"></field> <field name="fromUnit"></field> <field name="certificateNo"></field> <field name="isHighestCompetency"></field> </group> <group name="base" caption="其它"> <field name="description" ctrl="textArea" rows="1" colspan="2"></field> </group> </entrys> </multiRow> </body></main>