`

支持回车键-四型

 
阅读更多

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>

 

分享到:
评论

相关推荐

    js回车事件判断

    在探讨“js回车事件判断”这一主题时,我们首先需要理解JavaScript中如何捕捉和响应键盘事件,尤其是回车键的触发。JavaScript提供了强大的事件处理机制,使得开发者能够精细地控制用户与网页的交互方式。当涉及到...

    易语言程序免安装版下载

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

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

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

    C++程序设计数据类型

    - `\r`: 回车键 - `\f`: 进纸键 - `\a`: 响铃符 - `\\`: 反斜杠 - `\'`: 单引号 - `\"`: 双引号 #### 六、符号变量与对象 除了基本数据类型之外,C++还支持通过符号变量(即变量名)来引用数据。这些变量...

    94.092.JAVA基础教程_Java基本语法-使用Scannner从键盘获取int型数(94).rar

    这里,`nextInt()`会阻塞程序的执行,直到用户在控制台输入一个整数并按下回车键。输入的值会被赋值给变量`inputNumber`。 注意,使用Scanner类时,需要注意以下几点: 1. 错误处理:如果用户输入的不是整数,`...

    大型主机的实验

    2. **进入主机操作系统**:键入“TSO”后按回车键,进入主机操作系统环境。 3. **登录认证**:输入用户名和密码完成登录。 ##### 5.2 创建顺序数据集 1. **选择创建数据集选项**:在ISPF主菜单中选择“3.2 DataSet...

    js虚拟、模拟键盘

    可以使用CSS类来区分不同类型的键(如字母、数字、特殊字符),以及活动键的样式。 5. **键盘逻辑**:每个按键应绑定一个点击事件处理器,模拟键盘输入。这可以通过修改目标输入框的值,或者模拟键盘事件(如`...

    硕正轻量级富Web应用套件–硕正报表主要指标及功能清单.docx

    - 回车键行为自定义,最大行数可调整 - 支持多种导航方式,如向下、向右跳转 6. **样式和格式**: - 多种内置皮肤,支持自定义工具条和右键菜单 - 字体效果,如抗锯齿、阴影、字间距 - 数据类型支持,包括字符...

    DOS工具箱使用方法

    - 不选择“鼠标支持”,直接按回车键。 - 选择“4 加载NTFS分区支持”,按空格键勾选。 - 按“↓”方向键选择“确定”,回车确认。 5. **操作DOS命令行**: - 在DOS命令行中可以执行各种命令,例如使用`dir`...

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

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

    速达式 DBGrid

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

    完整版表格在编辑状态时不需要按回车即可直接用光标键退出编辑并移动光标.e.rar

    标题“完整版表格在编辑状态时不需要按回车即可直接用光标键退出编辑并移动光标.e.rar”揭示了一个重要的功能优化,即在编辑单元格时,用户可以通过光标键直接退出编辑并跳转到下一个单元格,而无需按下回车键。...

    萤石路由器W1【CS-W1-FE300F(EM)路由器】说明书

    4. 打开浏览器:打开计算机上的浏览器,输入192.168.7.1,按回车键,进入设备的参数设置界面。 5. 添加设备至“萤石云”:用手机扫描包装上的“萤石云视频”客户端二维码,下载并安装后根据提示完成用户注册。登录...

    量表数据线协议说明.docx

    - 同样支持ASCII和AA协议,操作方式与211型类似,但连接时需要先按住按键再插入USB口。 3. **协议切换方法** - 211型:按住按键打开串口或数据采集软件,直到灯亮,然后根据LED指示灯的闪动次数判断协议。 - 221...

    QLDBGrid for D6,D7

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

    前端项目-react-autosuggest.zip

    - **键盘导航**:支持键盘操作,如使用上下箭头键选择建议项,回车键确认选择,Esc键关闭提示框。 - **焦点管理**:遵循WAI-ARIA,自动管理焦点,确保无障碍操作。 - **多语言支持**:可以轻松适应不同语言环境。...

    JavaScript阻止回车提交表单的方法

    然而,在某些情况下,如文本输入框之外的地方按下回车键时,可能会导致意外的表单提交,这并不是开发者或用户所期望的行为。因此,了解如何使用JavaScript阻止回车键提交表单是十分必要的。 阻止回车键提交表单的...

    IBM虚拟大型主机操作系统ADCD1.9.Install.指导

    - 直接按回车键跳过,登录后修改`SYS1.IPLPARM(LOAD99)`,在第二行后加入`SYSPARM00`。 通过以上步骤,您可以在PC上成功安装并配置IBM z/OS v1.9操作系统,从而模拟IBM大型主机环境进行开发、测试等相关工作。

Global site tag (gtag.js) - Google Analytics