1
Jianw
2025-07-09 f6f5e6b632d6649386a380558d84003f3de7ec6c
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
--[[
   编码: AMS-106-13
   名称: 
   作者:
   日期:2025-05-23
 
   函数: ClickOK
   功能:
 
   更改记录:
 
--]]
 
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require ("oi_base_mobox")
 
function ClickOK( strLuaDEID )
        local runtime_parameter
    nRet, runtime_parameter = m3.GetRuntimeParam(strLuaDEID)
 
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "GetRuntimeParam失败! "..runtime_parameter ) end
    
    if(runtime_parameter.master == "") then
        lua.Stop(strLuaDEID , "无法获取对应的表头参数!!")
        return
    end
    if(runtime_parameter.master.objAttr == "") then
        lua.Stop(strLuaDEID , "无法获取对应的数据!!")
        return
    end
    lua.Debug( strLuaDEID, debug.getinfo(1), "runtime_parameter --> ", runtime_parameter )    
 
end