| | |
| | | pickup: PropTypes.any, // 数据收起 |
| | | columns: PropTypes.array, // 表格列 |
| | | fields: PropTypes.array, // 组件字段集 |
| | | ContainerId: PropTypes.any, // 标签页外层Id |
| | | BData: PropTypes.any, // 主表数据 |
| | | data: PropTypes.any, // 表格数据 |
| | | total: PropTypes.any, // 总数 |
| | |
| | | BData={this.props.BData} |
| | | setting={this.props.setting} |
| | | columns={this.props.fields || this.props.columns} |
| | | ContainerId={this.props.ContainerId} |
| | | /> |
| | | ) |
| | | } else if (btn.OpenType === 'popview') { |
| | |
| | | btn={btn} |
| | | disabled={record.$disabled} |
| | | selectedData={[record]} |
| | | BID={record.$$BID} |
| | | BData={this.props.BData} |
| | | MenuID={this.props.MenuID} |
| | | /> |
| | |
| | | } |
| | | |
| | | changedata = (index) => { |
| | | const { data, setting, tableId, ContainerId } = this.props |
| | | const { data, setting, tableId } = this.props |
| | | |
| | | if (!tableId || !ContainerId) return |
| | | if (!tableId || !setting.ContainerId) return |
| | | |
| | | let _id = '' |
| | | let _data = '' |
| | |
| | | _data = data[index] || '' |
| | | } |
| | | |
| | | MKEmitter.emit('changeTableLine', ContainerId, tableId, _id, _data) |
| | | MKEmitter.emit('changeTableLine', setting.ContainerId, tableId, _id, _data) |
| | | } |
| | | |
| | | resetTable = (id, repage) => { |