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-30-10
| 名称: 货位组-数据校验
| 作者:HAN
| 日期:2025-1-29
|
| 级别:固定 (说明本段代码在项目中不太会变化)
|
| 函数: DataCheck
|
| 功能:
|
| --]]
| wms_check = require ("wms_datacheck")
|
| function DataCheck ( strLuaDEID )
| local nRet, strRetInfo
| local strClsID, strObjID
|
| nRet, strClsID, strObjID = mobox.getCurEditDataObjID( strLuaDEID )
| if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "getCurEditDataObjID失败! " ) end
|
| nRet, strRetInfo = wms_check.Loaction_Group( strLuaDEID, strObjID )
| if ( nRet ~= 0 ) then
| lua.Error( strLuaDEID, debug.getinfo(1), "wms_check.Loaction_Group 失败!"..strRetInfo )
| end
| end
|
|