//关联信息子表变化事件
        that.D002033FunctionSupervisionProblemList.BindChange( 'D002033FunctionSupervisionProblemList', function( res ) {
            var currentRowId = res[ 0 ].ObjectId;
            var field = res[ 0 ].DataField;
            //设置子表列默认工程
            if( field != undefined && field == "D002033FunctionSupervisionProblemList.exectuor" ) {
                var exectuor = this.GetCellManager( currentRowId, "D002033FunctionSupervisionProblemList.exectuor" ).GetValue();
                if( exectuor == undefined || exectuor == "" ) {
                    that.D002033FunctionSupervisionProblemList.UpdateRow( currentRowId, {
                        "D002033FunctionSupervisionProblemList.exectuor": that.exectuor.GetValue(),
                    });
                }
            }
        });

 

posted on 2022-06-07 20:28  天涯何  阅读(48)  评论(0编辑  收藏  举报