1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| --[[
| 编码: WMS-20-14
| 名称: 弹出空料箱呼出弹框
| 作者:HAN
| 日期:2025-1-29
|
| 级别:固定 (说明本段代码在项目中不太会变化)
|
| 函数: JumpHtmlDlg
|
| 功能:
| 调用空料箱呼出算法计算呼出结果后显示
|
| 更改记录:
|
| --]]
|
| json = require ("json")
| mobox = require ("OILua_JavelinExt")
| m3 = require("oi_base_mobox")
|
| function JumpHtmlDlg ( strLuaDEID )
| local nRet, strRetInfo
|
| local action = {
| {
| action_type = "open_html_dlg",
| value = {
| dlg_name = "空料箱呼出确认",
| data_json = {}
| }
| }
| }
| nRet, strRetInfo = mobox.setAction( strLuaDEID, lua.table2str(action) )
| if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end
| end
|
|