jjwms/src/webapp/WEB-INF/classes/config/origen/shipping/pickBackPage.xml

92 lines
6.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<pages>
<modifyDetailPage id="pickBackPage" title="pickBackPage" entityClass="com.dev.swms.server.model.shipping.PickTicket" onClose="refreshParent" width="850" height="450">
<modify>
<inputUIs>
<hidden id="pickTicket.id" reserve="false"/>
<text id="pickTicket.warehouse.name" title="warehouse.name" row="1" col="1" span="1" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<text id="pickTicket.company.name" title="company.name" row="1" col="2" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<text id="pickTicket.code" title="pickTicket.code" row="1" col="3" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<date id="pickTicket.orderDate" title="pickTicket.orderDate" row="1" col="4" readOnly="true" required="true" reserve="false" forceOverride="false" inVisible="false" showTime="true" manualEditable="true" defaultCurrentDate="false"/>
<text id="pickTicket.orderQuantity" title="pickTicket.orderQuantity" row="2" col="1" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<text id="pickTicket.allocatedQuantity" title="pickTicket.allocatedQuantity" row="2" col="2" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<text id="pickTicket.pickedQuantity" title="pickTicket.pickedQuantity" row="2" col="3" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
<text id="pickTicket.shippedQuantity" title="pickTicket.shippedQuantity" row="2" col="4" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
</inputUIs>
</modify>
<detail autoQuery="false">
<datasource><![CDATA[select
taskLog.id,
taskLog.task.code,
taskLog.srcLoc.code,
taskLog.srcLP.LP,
taskLog.itemKey.lot,
taskLog.itemKey.item.code,
taskLog.itemKey.item.name,
taskLog.packageUnit.unit,
case when taskLog.itemKey.item.company.id=1040 then (taskLog.movedQuantity||'') else ((taskLog.movedQuantity)||'') end,
taskLog.itemKey.lotInfo.propC2,
taskLog.weight,
taskLog.dstLoc.code,
taskLog.dstLP.LP,
worker.name,
taskLog.recordTime
from TaskLog taskLog
left join taskLog.srcLoc
left join taskLog.srcLP
left join taskLog.dstLoc
left join taskLog.dstLP
left join taskLog.worker worker
where 1 = 1
and taskLog.bePickBack = false
and taskLog.movedQuantity - taskLog.bolQuantity > 0
/~pickTicket.id: and taskLog.task.pickTicketDetail.pickTicket.id ={pickTicket.id} ~/
ORDER BY taskLog.task.code, taskLog.id]]></datasource>
<columns>
<column id="taskLog.id" title="taskLog.id" visible="false" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.task.code" title="task.code" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.srcLoc.name" title="taskLog.srcLoc" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.srcLP.LP" title="taskLog.srcLP" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.itemKey.lot" title="taskLog.lot" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.itemKey.item.code" title="item.code" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.itemKey.item.name" title="item.name" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.packageUnit.unit" title="packageUnit.unit" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.movedQuantity" title="taskLog.movedQuantity" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="lotInfo.propC2" title="lotInfo.propC2" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.weight" title="weight" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.dstLoc.name" title="taskLog.dstLoc" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.dstLP.LP" title="taskLog.dstLP" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="worker.name" title="taskLog.worker" visible="true" horizonAlign="center" verticalAlign="middle"/>
<column id="taskLog.recordTime" title="taskLog.recordTime" visible="true" horizonAlign="center" verticalAlign="middle"/>
</columns>
<buttons>
<commit id="pickBackAll" title="pickBackPage.pickBackAll" enableType="none" invisible="false" confirmMessage="pickBackPage.pickBack.confirmMessage">
<mappings>
<mapping id="pickTicket.id" className="long"/>
</mappings>
<actions>
<action managerName="pickTicketManager" methodName="pickedBack" parameter="pickTicket.id"/>
</actions>
<forwards>
<forward name="refreshWindow" newEnabled="true" editEnabled="true"/>
</forwards>
</commit>
<commit id="pickBackSome" title="pickBackPage.pickBackSome" enableType="multi" invisible="false" confirmMessage="pickBackPage.pickBackSome.confirmMessage">
<mappings>
<mapping id="pickTicket.id" className="long"/>
<mapping id="ids" className="list"/>
</mappings>
<actions>
<action managerName="pickTicketManager" methodName="pickedBack" parameter="pickTicket.id,ids"/>
</actions>
<forwards>
<forward name="refreshWindow" newEnabled="true" editEnabled="true"/>
</forwards>
</commit>
<!-- <popup id="setPickedBackQuantity" title="pickBackPage.pickBackQuantity" enableType="single" invisible="false" containId="true" pageId="setPickedBackQuantityPage"/> -->
</buttons>
</detail>
</modifyDetailPage>
</pages>