`

支持回车键-四型

 
阅读更多

editConfirmSerialNoPage.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<pages>
    <editPage id="editConfirmSerialNoPage" title="editConfirmSerialNoPage" 
		entityClass="com.vtradex.wms.server.model.move.WmsTask" 
		width="250" height="300">
        <workflow/>
        <initListeners>
            <initListener id="quantityBU" managerName="wmsWorkDocManager" 
			methodName="getUnWorkQuantityByPageMap" newEnabled="true" 
			editEnabled="true"/>
        </initListeners>
        <inputUIs>
            <hidden id="task.id" title="task.id" reserve="true"/>
            <hidden id="task.itemKey.id" title="task.itemKey.id" 
				reserve="true"/>
            <text id="task.itemKey.item.code" title="item.code" 
				row="1" col="1" span="1" 
				readOnly="true" required="false" reserve="true" 
				forceOverride="true" 
				focusUI="false" inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="task.itemKey.item.name" title="wsn.item.name" 
				row="2" col="1" 
				span="1" readOnly="true" required="false" reserve="true" 
				forceOverride="true" 
				focusUI="false" inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="task.fromLocationCode" title="task.oldFromLocationCode" 
				row="3" col="1" 
				defaultValue="${task.fromLocationCode}" span="1" 
				readOnly="true" required="false" 
				reserve="true" forceOverride="true" focusUI="false" 
				inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="task.toLocationCode" title="task.oldToLocationCode" 
				row="4" col="1" 
				defaultValue="${task.toLocationCode}" span="1" 
				readOnly="true" required="false" 
				reserve="true" forceOverride="true" focusUI="false" 
				inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="quantityBU" title="wsn.quantityBU" row="5" col="1" 
				span="1" readOnly="true" 
				required="false" reserve="false" forceOverride="true" 
				focusUI="false" inVisible="false" 
				validator="positiveNumberRequired" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="pallet" title="wsn.pallet" row="6" col="1" span="1" 
				readOnly="false" required="false" 
				reserve="false" forceOverride="true" focusUI="false" 
				inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <text id="carton" title="wsn.carton" row="7" col="1" span="1" 
				readOnly="false" required="false" 
				reserve="false" forceOverride="true" focusUI="false" 
				inVisible="false" trimSpace="true">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </text>
            <textArea id="serialNo" title="wsn.serialNo" row="8" col="1" 
				span="1" readOnly="false" 
				required="true" reserve="false" forceOverride="true" 
				focusUI="false" 
				inVisible="false" rows="5" cols="20">
                <visibleExpression/>
                <hql/>
                <eventListeners/>
            </textArea>
            <remote id="fromLocationId" title="task.fromLocation.id" row="9" 
				col="1" span="1" 
				readOnly="false" required="false" reserve="false" 
				forceOverride="true" focusUI="false" 
				inVisible="false" multiple="false" manualEditable="true" 
				displayColumn="2" 
				percentSignPosition="both" displayedTableHead="序号,编码">
                <visibleExpression><![CDATA[ (${task.type} != 'MV_PUTAWAY') 
					&& (${task.type} != 'MV_MOVE') ]]></visibleExpression>
                <hql><![CDATA[SELECT location.id,location.code
 FROM WmsLocation location 
 WHERE 1 = 1
 AND location.warehouse = #{SESSION_WAREHOUSE} 
 AND location.status = 'ENABLED'
 AND location.type = 'STORAGE'
 AND location.code LIKE :param 
]]></hql>
                <eventListeners/>
            </remote>
            <remote id="toLocationId" title="task.toLocation.id" row="10" 
				col="1" span="1" 
				readOnly="false" required="false" reserve="false" 
				forceOverride="true" focusUI="false" 
				inVisible="false" multiple="false" manualEditable="true" 
				displayColumn="2" 
				percentSignPosition="both" displayedTableHead="序号,编码">
                <visibleExpression/>
                <hql><![CDATA[SELECT location.id,location.code
 FROM WmsLocation location 
 WHERE 1 = 1
 AND location.warehouse = #{SESSION_WAREHOUSE} 
 AND location.status = 'ENABLED'
 AND (((location.type = 'STORAGE') AND EXISTS (SELECT task.id 
 FROM WmsTask task 
 WHERE (task.type = 'MV_PUTAWAY' OR task.type = 'MV_MOVE') 
 AND task.id = ${task.id}))
 OR ((location.type = 'SHIP') AND EXISTS (SELECT task.id 
 FROM WmsTask task 
 WHERE (task.type <> 'MV_PUTAWAY' AND task.type <> 'MV_MOVE') 
 AND task.id = ${task.id})))
 AND location.code LIKE :param 
]]></hql>
                <eventListeners/>
            </remote>
            <remote id="workerId" title="workerId" row="11" col="1" 
				span="1" readOnly="false" 
				required="false" reserve="false" forceOverride="false" 
				focusUI="false" inVisible="false" 
				multiple="false" manualEditable="true" 
				displayColumn="3" percentSignPosition="both" 
				displayedTableHead="序号,编码,名称">
                <visibleExpression/>
                <hql><![CDATA[select
 worker.id, 
 worker.code,  
 worker.name
 from WmsWorker worker 
 where worker.code like :param
 and worker.status='ENABLED'
 and worker.warehouse = #{SESSION_WAREHOUSE} 
 ]]></hql>
                <eventListeners/>
            </remote>
        </inputUIs>
    </editPage>
</pages>

 editConfirmSerialNoPage.wf.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<page id="editConfirmSerialNoPage">
    <main>
        <process id="taskProcess">
            <formCommit id="singleConfirm" title="singleConfirm" 
				process="taskProcess.singleConfirm" accelerateKey="enter" 
				enableType="single" multiMapping="false" download="false" 
				closeTransactional="false" visibleType="none">
                <enableExpression/>
                <mappings>
                	<mapping id="task.id" className="long">
                        <entries/>
                    </mapping>
                    <mapping id="toLocationId" className="long">
                        <entries/>
                    </mapping>
                    <mapping id="fromLocationId" className="long">
                        <entries/>
                    </mapping>
                    <mapping id="pallet" className="string">
                        <entries/>
                    </mapping>
                    <mapping id="carton" className="string">
                        <entries/>
                    </mapping>
                    <mapping id="serialNo" className="string">
                        <entries/>
                    </mapping>
                    <mapping id="workerId" className="long">
                        <entries/>
                    </mapping>
                </mappings>
                <actions>
                    <action managerName="wmsWorkDocManager" 
						methodName="confirmSerialNo" 
						parameter="task.id,toLocationId,fromLocationId,
						pallet,carton,serialNo,workerId"/>
                </actions>
                <forwards>
                    <forward name="refreshParent" newEnabled="true" editEnabled="true"/>
                    <forward name="resetWindow" newEnabled="true" editEnabled="true"/>
                </forwards>
            </formCommit>
        </process>
    </main>
    <detail/>
</page>

 

分享到:
评论

相关推荐

    易语言程序免安装版下载

    修改BUG:矢量动画支持库中的“矢量编辑框”组件在光标位于组件左上角时按左光标键进入前一行可能会导致显示错误或内存申请失败。 11. 修改BUG:网络传送支持库在使用代理下载时可能会导致程序崩溃。 12. 修改BUG...

    易语言IDE扩展插件支持库源码-易语言

    回车键,回车键,回车键,多强调一下。 关于通用型: 本插件支持库虽然支持选择通用型,但是如果对通用型没把握的易友请勿轻易尝试,如果程序崩溃我一概不负责。 1.尽量不要作为变量,因为你无法赋值和读取。所以...

    grub4dos-V0.4.6a-2017-02-04更新

    读多扇区失败时,会给出提示:拔出 u 盘然后再插入,按任意键继续。此时会重新初始化 u 盘, 并采用每次读 1 扇区方式从失败处继续。 7.增强文件名识别,便于重命名。 7.1 文件名可以任意大小写,但是在 grldr....

    速达式 DBGrid

    可将回车键当作制表键来处理,使用户敲回车键时自动转入下一列或行,输入数据更快速方便 7、结合 TQLQRDBGridBuilder 自动生成 QuickReport 报表,省去手工制作报表的麻烦!!! 8、结合 TDBLookupComboBox 实现...

    QLDBGrid for D6,D7

    可将回车键当作制表键来处理,使用户敲回车键时自动转入下一列或行,输入数据更快速方便 * 结合 TQLQRDBGridBuilder 自动生成 QuickReport 报表,省去手工制作报表的麻烦!!! * 结合 TQLDBLookupComboBox 实现输入...

    易语言自动喊话

    模拟按键 (#Ctrl键, #回车键, ) .子程序 __启动窗口_创建完毕 标签3.标题 = 到文本 (取现行时间 ()) f1 = 注册热键 (_启动窗口.取窗口句柄 (), 标签2.取窗口句柄 (), 0, #F1键) f2 = 注册热键 (_启动窗口.取...

    powerbuilder

    功能定义打印作业使用的字体,对每个打印作业PowerBuilder支持八种字体。 语法PrintDefineFont(printjobnumber,fontnumber,facename,height,weight,fontpitch,fontfamily, italic,underline) 参数printjobnumber:用...

    DOS 软盘+光盘+U盘+硬盘+NTFS 想拥有更强大的DOS功能??

    设定好后按ESC一下,退回BIOS主界面,选择Save and Exit(保存并退出BIOS设置,直接按F10也可以,但不是所有的BIOS都支持)回车确认退出BIOS设置。 3、系统重启后会自动从软驱引导DOS系统,出现的引导菜单选项如下...

    易语言匿名管道类

    易语言匿名管道 .版本 2 .支持库 spec ' 通过类创建回显线程 调试输出 (匿名管道.... ' 单独运行读管道里自己启动线程 ...如果真 (键代码 = #回车键) 匿名管道.写 (编辑框2.内容) 编辑框2.内容 = “”

    通讯调试工具,支持:串口通讯、串口代理、TCP、UDP、Telnet、Ping、TFtp等通讯测试

    在终端窗口可以通过鼠标滚轮上下滚动,可以通过“Ctrl+箭头”、“Ctrl+翻页键”上下翻页操作; 4、工具支持ZModem协议进行文件下载、上传,方便与Linux终端间交换数据; 5、支持用Lua脚本对接收到的数据进行解析,...

    极品五笔 2015 Win10兼容版.zip

    建议用户能够习惯使用回车键,清洁屏幕。  如不习惯词语联想、光标跟随,可在设置中关闭该项功能。 极品五笔 2015 Win10兼容版系统兼容  极品五笔输入法在64位操作系统中,采用的是“双轨制”,就输入法程序而...

    十四位数仿真科学计算器(语音型)2.11

    ) 增加了表达式计算的功能,从此可以进行复杂的公式计算,如输入以下公式“2+(18-10)/7^2+sin(1)+sqrt(sqrt(5),3)*2”,按下计算按钮或回车会自动得出最终结果。另外增加了一个“单步求解”的选项,可以一步 一步...

    QLDBGrid

    可将回车键当作制表键来处理,使用户敲回车键时自动转入下一列或行,输入数据更快速方便 7. 结合 TQLQRDBGridBuilder 自动生成 QuickReport 报表,省去手工制作报表的麻烦!!! 8. 结合 TQLDBLookupComboBox ...

    程序员二进制计算器 v1.36

    按回车键保存该次输入、清空输入框,并显示详细结果,包括可能有的错误信息。 在底部框中按键盘上、下箭头,可以调出历史输入。 当光标在结果框内时,按回车或TAB键可使光标跳至输入框。 二 特点 即时计算。 ...

    2-1程序与程序文件.doc

    但不能不输入 任何内容直接按回车键输入字符串时必须加定界符,输入逻辑型常量时要用圆点定界(如 .T. ,.F.),则输入日期时间型常量时要用大括号(如{^2001-03-01})。 2 ACCEPT命令 格式:ACCEPT[&lt;字符表达式&gt;]TO...

    网蜂工具-坐标标注/ZBBZ 2.54

    4、自动加载方法:打开CAD,输入命令ap或appload按回车键将会弹出一个对话框,点击"启动组(Startup Suite)"下面的公文包图标(或"内容"(Contents…)); 6、弹出启动组一对话框,点"添加(Add…)"找到你刚才...

    VFP 6.0 教程2

    内容不满时,用Tab键或回车键将光标移到下一字段。 7、当编辑备注型(memo)字段时,将光标条移到memo上,双击它或按Ctrl+Home键就可进入memo字段的输入窗口进行输入、修改。完成后,单击窗口上的关闭按钮“X”或...

    制作U盘启动盘

    设定好后 按ESC一下,退回BIOS主界面,选择Save and Exit(保存并退出BIOS设置,直接按F10也可以,但不是所有的BIOS都支持)回车确认退出BIOS设置。 二、UltraISO制作: 1.下载UltraISO,exe 2. 镜像文件文件选择:...

Global site tag (gtag.js) - Google Analytics