src/tabviews/subtable/index.jsx
@@ -356,14 +356,8 @@ } if (requireFields.length > 0) { let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : '' let labels = requireFields.map(item => item.label) labels = Array.from(new Set(labels)) notification.warning({ top: 92, message: prex + this.state.dict['form.required.input'] + labels.join('、') + ' !', duration: 3 this.setState({ loading: false }) return } else if (this.props.Tab.supMenu && !BID) { // 主表ID不存在时,不查询子表