| | |
| | | } else { |
| | | item.setting.supModule = '' |
| | | } |
| | | } else if (item.type === 'search') { |
| | | if (item.wrap.supModule) { |
| | | item.wrap.supModule = item.wrap.supModule.pop() |
| | | } |
| | | } |
| | | |
| | | // 搜索条件初始化 |
| | |
| | | Utils.initSearchVal(item) |
| | | |
| | | item.$searches = Utils.initMainSearch(item.search) |
| | | |
| | | if (item.type === 'search' && item.wrap.supModule) { |
| | | if (!item.checkBid) { |
| | | item.wrap.supModule = '' |
| | | } else { |
| | | window.GLOB.SearchBox.set(item.$searchId + 'checkBid', true) |
| | | } |
| | | } |
| | | } |
| | | |
| | | let pass = skip |
| | |
| | | if (component.setting.useMSearch) { |
| | | if (!window.GLOB.SearchBox.has(component.$searchId)) { |
| | | component.setting.useMSearch = false |
| | | } else if (window.GLOB.SearchBox.has(component.$searchId + 'required')) { |
| | | } else { |
| | | if (window.GLOB.SearchBox.has(component.$searchId + 'required')) { |
| | | component.$s_req = true |
| | | } |
| | | if (window.GLOB.SearchBox.has(component.$searchId + 'checkBid')) { |
| | | component.checkBid = true |
| | | component.setting.checkBid = true |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (component.wrap && component.wrap.goback === 'true') { |