no message
parent
31567c2337
commit
88266f055c
|
|
@ -20,7 +20,6 @@
|
|||
AND (location.countLock = '' or location.countLock is null)
|
||||
AND (location.inLock = '' or location.inLock is null)
|
||||
AND (location.outLock = '' or location.outLock is null)
|
||||
AND location.warehouse = #{SESSION_WAREHOUSE}
|
||||
AND location.code <> ${inventory.location.code}
|
||||
AND location.type in ('STORAGE','TRANSIT')]]></hql>
|
||||
</remote>
|
||||
|
|
|
|||
|
|
@ -1,60 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<pages>
|
||||
<editPage id="moveInventoryPage" title="moveInventoryPage" entityClass="com.dev.swms.server.model.inventory.Inventory" width="450" height="320">
|
||||
<inputUIs>
|
||||
<hidden id="inventory.id" reserve="false"/>
|
||||
<hidden id="inventory.itemKey.item.id" reserve="false"/>
|
||||
<text id="inventory.itemKey.item.code" title="item.code" row="1" col="1" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<text id="inventory.itemKey.item.name" title="item.name" row="1" col="2" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<text id="inventory.location.code" title="moveInventoryPage.origin.location.code" row="2" col="1" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<text id="inventory.LP.LP" title="moveInventoryPage.inventory.LP" row="2" col="2" span="1" readOnly="true" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<text id="inventory.itemKey.content" title="itemKey.content" row="3" col="1" span="2" width="300" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<text id="inventory.quantity" title="inventory.quantity" row="4" col="2" readOnly="true" required="false" reserve="false" forceOverride="false" inVisible="false" trimSpace="true" isPrecision="true"/>
|
||||
<separator id="s1" row="5"/>
|
||||
<remote id="destLocationId" title="moveInventoryPage.dest.location.code" row="10" col="1" readOnly="false" required="true" reserve="false" forceOverride="false" inVisible="false" editModel="normal" manualEditable="true" displayColumn="2" displayedTableHead="序号,库位编码,库位名称">
|
||||
<hql><![CDATA[SELECT location.id, location.code, location.name
|
||||
FROM Location location
|
||||
WHERE upper(location.code) LIKE upper(:param)
|
||||
AND location.disabled = false
|
||||
AND (location.countLock = '' or location.countLock is null)
|
||||
AND (location.inLock = '' or location.inLock is null)
|
||||
AND (location.outLock = '' or location.outLock is null)
|
||||
AND location.warehouse = #{SESSION_WAREHOUSE}
|
||||
AND location.code <> ${inventory.location.code}
|
||||
AND location.type in ('STORAGE','TRANSIT')]]></hql>
|
||||
</remote>
|
||||
<text id="destLP" title="moveInventoryPage.destLP" row="11" col="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="true" trimSpace="true" isPrecision="true">
|
||||
<!-- <visibleExpression><![CDATA[(${fullLPMove}=='false')]]></visibleExpression> -->
|
||||
</text>
|
||||
<text id="quantity" title="moveInventoryPage.move.quantity" row="12" col="1" readOnly="false" required="true" reserve="false" forceOverride="true" inVisible="false" validator="positiveNumber" trimSpace="true" isPrecision="true" defaultValue="0">
|
||||
<!-- <visibleExpression><![CDATA[(${fullLPMove}=='false')]]></visibleExpression> -->
|
||||
</text>
|
||||
<remote id="worker" title="moveInventoryPage.worker" row="13" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" manualEditable="true" displayColumn="3" percentSignPosition="both" displayedTableHead="序号,编码,名称">
|
||||
<hql><![CDATA[select w.id, w.code, w.name from Worker w
|
||||
where upper(w.code) like upper(:param) and w.disabled=false
|
||||
and w.warehouse.id = #{SESSION_WAREHOUSE_ID}
|
||||
]]></hql>
|
||||
</remote>
|
||||
</inputUIs>
|
||||
<buttons>
|
||||
<commit id="save" title="save" enableType="none" invisible="false" confirmMessage="moveInventoryPage.confirm.move">
|
||||
<mappings>
|
||||
<mapping id="inventory.id" className="long"/>
|
||||
<mapping id="destLocationId" className="long"/>
|
||||
<mapping id="fullLPMove" className="boolean"/>
|
||||
<mapping id="destLP" className="string"/>
|
||||
<mapping id="quantity" className="double"/>
|
||||
<mapping id="worker" className="long"/>
|
||||
</mappings>
|
||||
<actions>
|
||||
<action managerName="inventoryManager" methodName="manualMove" parameter="inventory.id,destLocationId,fullLPMove,destLP,quantity,worker"/>
|
||||
</actions>
|
||||
<forwards>
|
||||
<forward name="refreshParent" newEnabled="true" editEnabled="true"/>
|
||||
<forward name="closeWindow" newEnabled="true" editEnabled="true"/>
|
||||
</forwards>
|
||||
</commit>
|
||||
</buttons>
|
||||
</editPage>
|
||||
</pages>
|
||||
Loading…
Reference in New Issue