在process组件的onBeforeAdvanceQuery事件中中调用data提供的校验方法去强制校验

如下:

    Model.prototype.processBeforeAdvanceQuery = function(event) {
                var data = this.comp("mainData");
                var isValid = data.isValid(true);
                if (!isValid) {
                    event.cancel = true;
                        throw new Error(data.getInvalidInfo(true));
                }
        };