Page -> Workflow -> Process -> State 或 Action 执行逻辑 -> Forward 执行后下一步操作(通常用于页面刷新、数据传递等功能)
pages
作为根节点,用于承载页面配置modifyDetailPage
典型配置页的根节点,常见属性如下
maintainPage 主列表页面,
典型的表格页面,常见配置如下
datasource: 数据源,通常为hql查询columns 表格页配置的列信息,
子节点如下
column: 常见属性如下
initListeners 初始化接口调用modify 修改编辑页面配置inputUIs 编辑页面的输入根节点,其中子节点包含了所有的表单类的输入组件配置
常见的输入组件如下:
<hidden id="wmsQualityDetail.id" title="wmsQualityDetail.id" reserve="false"/>
<text id="asn.customerBill" title="asn.customerBill" row="3" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" focusUI="false" inVisible="false" trimSpace="true">
<visibleExpression/>
<hql/>
<eventListeners/>
</text>
<remote
id="asn.qcLocationId"
title="asn.qcLocationId"
row="2" col="4"
span="1"
readOnly="false"
required="false"
reserve="false"
forceOverride="true"
focusUI="false"
inVisible="false"
editModel="editable"
language="false"
multiple="false"
manualEditable="true"
displayColumn="3"
enumColumnType="WmsLocationType"
percentSignPosition="both"
displayedTableHead="id,locationType,code">
<visibleExpression/>
<dataValue>
<![CDATA[
SELECT receiveLocation.id,receiveLocation.type,receiveLocation.code FROM WmsLocation receiveLocation WHERE 1=1 AND receiveLocation.status = 'E' AND receiveLocation.type in ('QC') AND receiveLocation.code LIKE :param AND receiveLocation.warehouseId in (select warehouse.id from WmsWarehouse warehouse where warehouse.organizationId = #{SESSION_BASE_ORGAN})
]]>
</dataValue>
<eventListeners/>
</remote>
<list id="asn.billTypeId" title="asn.billTypeId" row="1" col="3" span="1" readOnly="false" required="true" reserve="false" forceOverride="true" forceSpace="false" multiple="false" inVisible="false">
<visibleExpression/>
<dataValue><![CDATA[ SELECT billType.id, billType.name FROM WmsBillType billType WHERE 1=1 AND (billType.type = 'I' OR billType.type = 'IN') AND billType.status = 'E' AND billType.beManual=true AND billType.companyId = cast(${asn.companyId} as integer) order by billType.id]]></dataValue>
<eventListeners/>
</list>
<date id="asn.orderDate" title="asn.orderDate" row="1" col="4" span="1" readOnly="false" required="true" reserve="false" forceOverride="true" focusUI="false" inVisible="false" showTime="true" manualEditable="true" defaultCurrentDate="true">
<visibleExpression/>
<hql/>
<eventListeners/>
</date>
<htmlDisplayer id="ta.path" title="ta.path" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" focusUI="false" inVisible="false" language="false">
<visibleExpression/>
<hql/>
<eventListeners/>
</htmlDisplayer>
<numberText id="asnDetail.receivedQty" title="asnDetail.receivedQty" row="5" col="1" span="1" readOnly="true" required="false" reserve="false" forceOverride="true" focusUI="false" inVisible="false" language="false">
<visibleExpression/>
<hql/>
<eventListeners/>
</numberText>
eventListeners 位置位于输入组件的子节点,作用为:当该节点值发生变化时所影响的其他表单输入visibleExpression 是否展示的逻辑表达式separator 表单分割线配置detail 表单中的明细内容