134 lines
8.7 KiB
XML
134 lines
8.7 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
|
||
|
|
<pages>
|
||
|
|
<maintainPage id="maintainKQShipmentPage" title="maintainKQShipmentPage" autoQuery="false">
|
||
|
|
<search>
|
||
|
|
<inputUIs>
|
||
|
|
<text id="l.ecNo" title="shipmentLegsQueryPage.l.legNo" row="1" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
|
||
|
|
|
||
|
|
<remote id="orders.consignor.id" title="consignor" row="1" col="2" span="1" width="120" readOnly="false" required="false" reserve="false" forceOverride="true" editModel="uneditable" displayedTableHead="序号,代码,名称">
|
||
|
|
<hql><![CDATA[SELECT
|
||
|
|
org.id,
|
||
|
|
org.code,
|
||
|
|
org.name,
|
||
|
|
org.department.code
|
||
|
|
FROM Organization org
|
||
|
|
left join org.department
|
||
|
|
where org.beCustomer=true
|
||
|
|
and (upper(org.code) like upper(:param) or org.name like :param)
|
||
|
|
and (org.id in (select detail.subOrg.id from OrganizationDetail detail where detail.org = #{SESSION_PLATFORM})
|
||
|
|
or org.id in (select detail.subOrg.id from OrganizationDetail detail where detail.org.code = #{PUBLIC_PLATFORM}))
|
||
|
|
and org.disabled=false
|
||
|
|
]]></hql>
|
||
|
|
</remote>
|
||
|
|
<list id="l.order.department.name" title="modifyOrderPage.department.name" row="2" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" editModel="uneditable">
|
||
|
|
<hql><![CDATA[ SELECT
|
||
|
|
d.id,
|
||
|
|
d.name,
|
||
|
|
'' as remark
|
||
|
|
FROM Department d
|
||
|
|
WHERE d.disabled = false and d.org = #{SESSION_PLATFORM}
|
||
|
|
]]></hql>
|
||
|
|
</list>
|
||
|
|
|
||
|
|
<text id="l.fromContact.address" title="fromAddress" row="3" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
|
||
|
|
<text id="l.toContact.address" title="toAddress" row="3" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
|
||
|
|
|
||
|
|
<date id="l.order.orderDate1" title="order.orderDate" row="4" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" invisible="false" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
|
||
|
|
<date id="l.order.orderDate2" title="maintainOrderPage.listMaintainOrderPage.order.orderDate2" row="4" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" invisible="false" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
|
||
|
|
</inputUIs>
|
||
|
|
</search>
|
||
|
|
<datasource type="hql"><![CDATA[ select
|
||
|
|
l.id,
|
||
|
|
l.order.code,
|
||
|
|
l.ecNo,
|
||
|
|
l.consignor.name,
|
||
|
|
l.order.department.name,
|
||
|
|
l.status,
|
||
|
|
l.fromContact.address,
|
||
|
|
l.toContact.address,
|
||
|
|
l.order.itemName,
|
||
|
|
l.quantity,
|
||
|
|
l.weight,
|
||
|
|
l.volume,
|
||
|
|
l.order.planLeaveTime,
|
||
|
|
l.order.planArriveTime,
|
||
|
|
l.order.orderDate,
|
||
|
|
l.toName,
|
||
|
|
l.toContact.linkman,
|
||
|
|
l.toContact.phone,
|
||
|
|
l.description,
|
||
|
|
l.beSplit
|
||
|
|
from Legs l
|
||
|
|
left join l.order
|
||
|
|
left join l.order.department
|
||
|
|
left join l.consignor
|
||
|
|
left join l.contractor
|
||
|
|
left join l.toLocation
|
||
|
|
left join l.fromLocation
|
||
|
|
left join l.shipment
|
||
|
|
left join l.shipmentType
|
||
|
|
left join l.executer
|
||
|
|
left join l.predictionDepartment
|
||
|
|
where l.contractor = #{SESSION_PLATFORM} and l.status = 'UNDISTRIBUTION'
|
||
|
|
and l.order.department.name='凯泉项目组'
|
||
|
|
/~l.ecNo: and upper(l.ecNo) like upper({l.ecNo})~/
|
||
|
|
/~orders.consignor.id: and l.consignor.id = {orders.consignor.id}~/
|
||
|
|
/~l.order.department.name: and l.order.department.id = {l.order.department.name}~/
|
||
|
|
/~l.fromContact.address: and l.fromContact.address like {l.fromContact.address}~/
|
||
|
|
/~l.toContact.address: and l.toContact.address like {l.toContact.address}~/
|
||
|
|
/~l.status: and l.status like {l.status}~/
|
||
|
|
/~l.order.orderDate1: AND l.order.orderDate >= {l.order.orderDate1}~/
|
||
|
|
/~l.order.orderDate2: AND l.order.orderDate <= {l.order.orderDate2}~/
|
||
|
|
/~inTown: and ( ('INSIDE'={inTown} and l.inTown=true) or ('OUTSIDE'={inTown} and l.inTown=false) )
|
||
|
|
~/ order by l.id desc
|
||
|
|
]]></datasource>
|
||
|
|
<columns>
|
||
|
|
<column id="l.id" title="shipmentLegsQueryPage.l.id" visible="false" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.order.code" title="shipmentLegsQueryPage.l.order" visible="false" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.legNo" title="shipmentLegsQueryPage.l.legNo" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.consignor.name" title="consignor" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.order.department.name" title="shipmentLegsQueryPage.l.order.department" width="60" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.status" title="legs.status" visible="true" horizonAlign="left" verticalAlign="middle" format="enumFormat" formatParam="LegsStatus"/>
|
||
|
|
<column id="l.fromContact.address" title="fromAddress" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.toContact.address" title="toAddress" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.order.itemName" title="orders.itemName" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.quantity" title="shipmentLegsQueryPage.l.quantity" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.weight" title="shipmentLegsQueryPage.l.weight" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.volume" title="shipmentLegsQueryPage.l.volume" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="order.planLeaveTime" title="order.planLeaveTime" visible="true" horizonAlign="center" verticalAlign="middle" />
|
||
|
|
<column id="order.planArriveTime" title="order.planArriveTime" visible="true" horizonAlign="center" verticalAlign="middle" />
|
||
|
|
<column id="orders.orderDate" title="order.orderDate" visible="true" horizonAlign="center" verticalAlign="middle" format="columnsDateFormatter" formatParam="ymd"/>
|
||
|
|
<column id="l.toName" title="toName" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.toContact.linkman" title="linkman" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.toContact.phone" title="phone" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.description" title="shipmentLegsQueryPage.l.description" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<!-- <column id="l.shipment.code" title="shipmentLegsQueryPage.l.shipment.code" visible="false" horizonAlign="left" verticalAlign="middle"/>-->
|
||
|
|
<!-- <column id="l.shipmentMethod" title="shipmentLegsQueryPage.l.shipmentMethod" visible="false" horizonAlign="center" verticalAlign="middle" format="enumFormat" formatParam="ShipmentMethod"/>-->
|
||
|
|
<!-- <column id="l.shipmentType.name" title="shipmentType" visible="false" horizonAlign="center" verticalAlign="left"/>-->
|
||
|
|
<!-- <column id="l.toCode" title="shipmentLegsQueryPage.l.toCode" visible="false" horizonAlign="left" verticalAlign="middle"/>-->
|
||
|
|
<column id="l.beSplit" title="l.beSplit" visible="false" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
</columns>
|
||
|
|
<buttons>
|
||
|
|
<!-- <popup id="splitlegsButton" title="splitlegsButton" enableType="single" invisible="false" containId="true" pageId="editSplitLegsPage">-->
|
||
|
|
<!-- <enableExpression><![CDATA[${l.beSplit} == 'true']]></enableExpression> -->
|
||
|
|
<!-- </popup>-->
|
||
|
|
<!-- <commit id="cancelSplitOrder" title="maintainOrderPage.cancelSliptOrder" enableType="single" invisible="false">-->
|
||
|
|
<!-- <enableExpression><![CDATA[${l.beSplit} == 'false']]></enableExpression> -->
|
||
|
|
<!-- <mappings>-->
|
||
|
|
<!-- <mapping id="ids" className="list"/>-->
|
||
|
|
<!-- </mappings>-->
|
||
|
|
<!-- <actions>-->
|
||
|
|
<!-- <action managerName="shipmentManager" methodName="cancelSplitlegs" parameter="ids"/>-->
|
||
|
|
<!-- </actions>-->
|
||
|
|
<!-- <forwards>-->
|
||
|
|
<!-- <forward name="refreshWindow" newEnabled="true" editEnabled="true"/>-->
|
||
|
|
<!-- </forwards>-->
|
||
|
|
<!-- </commit>-->
|
||
|
|
<popup id="KQregistration" title="KQregistration" enableType="multi" invisible="false" containId="true" pageId="editKQShipmentPage"/>
|
||
|
|
<!-- <popup id="sendcar" title="sendcar" enableType="multi" invisible="false" containId="true" pageId="modifySendcarPage"/>-->
|
||
|
|
<!-- <popup id="predictionDepartment" title="predictionDepartment" enableType="multi" invisible="false" containId="true" pageId="editPredictionDepartmentPage"/>-->
|
||
|
|
</buttons>
|
||
|
|
</maintainPage>
|
||
|
|
</pages>
|