Jianw
2025-05-14 29f8b36ebb718d2051bf0e7e701973ec4419ee80
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
--[[
    编码: WMS-16-06
    名称: 盘点单-查询窗口初始化
    作者:HAN  
    日期:2025-1-29
    级别:固定 (说明本段代码在项目中不太会变化)
    
    函数: InitialQueryPanel
 
    功能:
        1)设置 select_area_grid
    更改记录:
 
--]]
 
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require("oi_base_mobox")
 
function InitialQueryPanel ( strLuaDEID ) 
    local nRet, strRetInfo 
    -- 设置窗口中的 仓库 列表
    local strAction = ''
    strAction = '[{"action_type":"set_query_panel","value":{"cls_id":"WH_Inventory"}}]'
    nRet, strRetInfo = mobox.setAction( strLuaDEID, strAction  )
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end 
end