1
Jianw
9 天以前 70f29da38121b9a467841253e3268feb5df02902
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
37
--[[
    编码: WMS-51-20
    名称: 配盘-  点击删除按钮后
    作者:HAN  
    日期:2025-1-29
 
    级别:固定 (说明本段代码在项目中不太会变化)
    
    函数: AfterClickDeleteButton
 
    功能:
        刷新 3053 相关页面
 
    更改记录:
 
--]]
 
wms_base = require( "wms_base" )
 
function AfterClickDeleteButton ( strLuaDEID ) 
    local nRet, strRetInfo
 
    local action_array = {}
 
    -- 刷新主数据对象页面
    action_array[1] = {
        action_type = "refresh_master_panel",
        value = {}
    }             
    -- 刷新[容器货品明细]
    action_array[2] = {
        action_type = "refresh_related_panel",
        value = {"容器货品明细"}
    }
    nRet, strRetInfo = mobox.setAction( strLuaDEID, lua.table2str(action_array)  )
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end      
end