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
| --[[
| 编码: WMS-86-10
| 名称:
| 作者:
| 日期:2025-07-07
|
| 函数: BeforeDataObjCreate
| 功能:
|
| 更改记录:
|
| --]]
|
| json = require ("json")
| mobox = require ("OILua_JavelinExt")
| m3 = require ("oi_base_mobox")
|
| function BeforeDataObjCreate( strLuaDEID )
| local nRet, strRetInfo
| nRet, strRetInfo = mobox.getCurEditDataObjAttr( strLuaDEID )
| if ( nRet ~= 0 ) then
| lua.Error( strLuaDEID, debug.getinfo(1), "获取当前编辑属性失败! "..strRetInfo )
| end
| lua.Debug( strLuaDEID, debug.getinfo(1), "仓库量创建前属性对象————>", strRetInfo )
|
| end
|
|