lzh
2025-06-24 13c4a636539584ab977fddacfae884b3ec250aee
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
ÿþ--[[
    x: GT-03-04
     Tðy: Åˆ±{å]US- Rd–MR
    \O€ÿLZH 
    åegÿ2024-6-5
  
    ýQpeÿ BeforeDataObjDelete
 
    ŸRý€:
       -- /T(u¶r`„vň±{å]USàeÕl Rd–
    ôf9e°‹U_:
 
--]]
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require( "oi_base_mobox" )
function BeforeDataObjDelete ( strLuaDEID ) 
    local nRet, strRetInfo
    local packing_order
 
    nRet, packing_order = m3.GetSysCurEditDataObj( strLuaDEID, "GT_Packing_Order" )
    if ( nRet ~= 0 )  then lua.Error( strLuaDEID, debug.getinfo(1), "·ƒÖSS_MR‘^\'`1Y%! " ) end 
    if ( packing_order.state == '/T(u' ) then
        lua.Error( strLuaDEID, debug.getinfo(1), "/T(u¶r`àeÕl Rd–ÿ" )
    end
end