fy36
2025-07-01 350eb5ec9163d3ea21416b1525bb80191e958071
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
--[[
    编码: WMS-19-10
    名称: 3036新增窗口初始化
    作者:HAN
    日期:2025-1-29
 
    级别:项目
    
    函数: AfterDelete
 
    功能:
        -- 在 3036 主子表功能点,删除CG_Detail后会引起Container中的明细数量减少,因此需要刷新一下
           3036 中的主表
 
    更改记录:
       
--]]
 
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require("oi_base_mobox")
 
function AfterDelete ( strLuaDEID ) 
    local nRet, strRetInfo
 
    local action = {}
 
    action.action_type = "refresh_master_obj"
    action.value = ""
    nRet, strRetInfo = mobox.setAction( strLuaDEID, '['..lua.table2str(action)..']'  )
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end 
end