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
| --[[
| 编码: WMS-50-05
| 名称: 出入库测试-小窗口-功能区类型变化后
| 作者:HAN
| 日期:2025-1-29
|
| 级别:固定 (说明本段代码在项目中不太会变化)
|
| 函数: AfterFATypeChg
|
| 功能:
| 如果功能区类型变化后,需要把功能区编码输入框清空
|
| 更改记录:
|
| --]]
|
| json = require ("json")
| mobox = require ("OILua_JavelinExt")
| m3 = require("oi_base_mobox")
|
| function AfterFATypeChg ( strLuaDEID )
| local nRet, strRetInfo
|
| local strAction = '[{"action_type":"set_dlg_attr","value":[{"attr":"S_FA_CODE","value":""}]}]'
| nRet, strRetInfo = mobox.setAction( strLuaDEID, strAction )
| if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end
|
| end
|
|