| | |
| | | this.improveSelectOption(config.groups) |
| | | |
| | | if (config.setting.datatype === 'query' && config.setting.onload !== 'false') { |
| | | if (!this.props.param.primaryId) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: '未获取到主键ID!', |
| | | duration: 10 |
| | | }) |
| | | } else { |
| | | this.loadmaindata() |
| | | } |
| | | this.loadmaindata() |
| | | } else if (config.setting.datatype !== 'query' && (!this.props.param.primaryId || !this.props.param.data)) { |
| | | notification.warning({ |
| | | top: 92, |
| | |
| | | duration: 10 |
| | | }) |
| | | return null |
| | | } else if (!primaryId) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: '未获取到主键值!', |
| | | duration: 10 |
| | | }) |
| | | return null |
| | | } |
| | | |
| | | |
| | | let param = { |
| | | func: 'sPC_Get_TableData', |