139 lines
9.4 KiB
XML
139 lines
9.4 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
|
||
|
|
<pages>
|
||
|
|
<maintainPage id="maintainSupplierStarPage" title="maintainSupplierStarPage" 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>
|
||
|
|
<numberText id="l.weight1" title="l.weight1" row="2" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" returnType="Double" decimal="2"/>
|
||
|
|
<numberText id="l.weight2" title="l.weight2" row="2" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" returnType="Double" decimal="2"/>
|
||
|
|
<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"/>
|
||
|
|
<remote id="shipment.carrier.id" title="shipment.carrier" row="5" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" manualEditable="true" displayColumn="3" percentSignPosition="both" displayedTableHead="序号,编码,名称">
|
||
|
|
<hql><![CDATA[ select
|
||
|
|
carrier.id,
|
||
|
|
carrier.code,
|
||
|
|
carrier.name
|
||
|
|
from Organization carrier
|
||
|
|
where carrier.disabled=false
|
||
|
|
and (carrier.code like upper(:param) or carrier.name like :param )
|
||
|
|
and (carrier.beCarrier = true )
|
||
|
|
and (carrier.id in (select detail.subOrg.id from OrganizationDetail detail where detail.org = #{SESSION_PLATFORM})
|
||
|
|
or carrier.id in (select detail.subOrg.id from OrganizationDetail detail where detail.org.code = #{PUBLIC_PLATFORM}))
|
||
|
|
/~carrier.name: and carrier.name like {carrier.name}~/
|
||
|
|
order by carrier.sortIndex asc,carrier.id asc
|
||
|
|
]]></hql>
|
||
|
|
<inputUIs>
|
||
|
|
<text id="carrier.name" title="maintainShipmentPage.carrier.name" row="1" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true"/>
|
||
|
|
</inputUIs>
|
||
|
|
</remote>
|
||
|
|
<date id="l.order.planFromTime1" title="orders.planFromDate" row="6" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" invisible="false" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
|
||
|
|
<date id="l.order.planFromTime2" title="endDate" row="6" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" invisible="false" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
|
||
|
|
<list id="l.order.superviseType" title="orders.cargoType" row="7" col="1" span="1" width="120" readOnly="false" required="false" reserve="false" forceOverride="true" enumType="SuperviseType" >
|
||
|
|
<hql><![CDATA[ SELECT
|
||
|
|
enumerate.enumValue,
|
||
|
|
enumerate.enumValue From Enumerate enumerate
|
||
|
|
where enumerate.enumType = 'SuperviseType' or enumerate.id=1 order by enumerate.id asc ]]></hql>
|
||
|
|
</list>
|
||
|
|
</inputUIs>
|
||
|
|
</search>
|
||
|
|
<datasource type="hql"><![CDATA[ select
|
||
|
|
sr.id,
|
||
|
|
sr.starGarde,
|
||
|
|
l.supplier.name,
|
||
|
|
DATE_FORMAT(l.arriveTime,'%Y-%m-%d'),
|
||
|
|
l.ecNo,
|
||
|
|
l.order.superviseType,
|
||
|
|
l.order.fromName || l.order.fromContact.address,
|
||
|
|
l.toName,
|
||
|
|
l.order.toContact.address,
|
||
|
|
round(l.quantity,2),
|
||
|
|
round(l.weight,3),
|
||
|
|
round(l.volume,3),
|
||
|
|
l.order.toContact.linkman,
|
||
|
|
l.order.toContact.phone,
|
||
|
|
l.order.consignor.shortName,
|
||
|
|
l.fromContact.linkman,
|
||
|
|
l.fromContact.phone,
|
||
|
|
o.description ,
|
||
|
|
l.supplierName,
|
||
|
|
l.supplierTime
|
||
|
|
from StarRating sr
|
||
|
|
left join sr.leg l
|
||
|
|
left join l.order o
|
||
|
|
left join l.order.consignor
|
||
|
|
left join l.order.extends1
|
||
|
|
left join l.order.extends2
|
||
|
|
left join l.shareRouteFee
|
||
|
|
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.supplier
|
||
|
|
left join l.company
|
||
|
|
where l.executer = #{SESSION_PLATFORM} and l.status !='UNDISTRIBUTION'
|
||
|
|
and l.supplier is not null and l.shipment is null
|
||
|
|
/~l.ecNo: and upper(l.ecNo) like upper({l.ecNo})~/
|
||
|
|
/~orders.consignor.id: and l.consignor.id = {orders.consignor.id}~/
|
||
|
|
/~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.superviseType: and l.order.superviseType = {l.order.superviseType}~/
|
||
|
|
/~l.weight1: AND l.weight >= {l.weight1} || l.volume >= {l.weight1}~/
|
||
|
|
/~l.weight2: AND l.weight <= {l.weight2} || l.volume <= {l.weight2}~/
|
||
|
|
/~l.order.orderDate1: AND l.order.orderDate >= {l.order.orderDate1} ~/
|
||
|
|
/~l.order.orderDate2: AND l.order.orderDate <= {l.order.orderDate2}~/
|
||
|
|
/~shipment.carrier.id: and l.supplier.id = {shipment.carrier.id}~/
|
||
|
|
/~l.order.planFromTime1: AND (l.order.planFromDate) >= {l.order.planFromTime1} ~/
|
||
|
|
/~l.order.planFromTime2: AND (l.order.planFromDate) <= {l.order.planFromTime2}~/
|
||
|
|
order by l.order.planFromTime desc,l.id desc
|
||
|
|
]]></datasource>
|
||
|
|
<columns>
|
||
|
|
<column id="sr.id" title="shipmentLegsQueryPage.l.id" visible="false" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.evaluate" width="70" title="gysStar" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.supplier.name" width="70" title="l.supplier.name" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.arriveTime" width="80" title="legs.arriveTime" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.legNo" title="shipmentLegsQueryPage.l.legNo" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="order.superviseType" width="80" title="orders.superviseType" visible="true" horizonAlign="center" verticalAlign="middle" format="enumFormat" formatParam="SuperviseType"/>
|
||
|
|
<column id="l.fromContact.address" title="fromAddress" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.toName" title="l.toName" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.toContact.address" title="toAddress" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.quantity" title="quantity" width="60" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.weight" title="weight" width="60" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.volume" title="volume" width="60" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="orders.toContact.linkman" title="linkman" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="orders.toContact.phone" title="phone" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="order.consignor.name" width="70" title="consignor" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.fromContact.linkman" title="linkman" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
<column id="l.fromContact.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.supplierName" title="legs.supplierName" width="80" visible="true" horizonAlign="center" verticalAlign="middle"/>
|
||
|
|
<column id="l.supplierTime" title="legs.supplierTime" visible="true" horizonAlign="left" verticalAlign="middle"/>
|
||
|
|
</columns>
|
||
|
|
<buttons>
|
||
|
|
<popup id="gysStar" title="gysStar" enableType="single" invisible="false" containId="true" pageId="editGYSEvaluationPage">
|
||
|
|
</popup>
|
||
|
|
</buttons>
|
||
|
|
</maintainPage>
|
||
|
|
</pages>
|