| | |
| | | return |
| | | } |
| | | |
| | | if (type === 'submit' && config.subtype === 'dualdatacard' && setting.subdata === 'sub_data_string' && !columns.find(col => col.field === 'sub_data_string')) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: '主表字段集中需添加 sub_data_string 字段!', |
| | | duration: 5 |
| | | }) |
| | | reject() |
| | | return |
| | | } |
| | | |
| | | if (type === 'change' && columns.length === 0) { |
| | | reject() |
| | | return |
| | |
| | | |
| | | if ((setting.interType === 'system' && setting.execute !== 'false') || _scripts.length > 0) { |
| | | let _columns = columns |
| | | if (config.subtype === 'dualdatacard') { |
| | | if (config.subtype === 'dualdatacard' && setting.subdata !== 'sub_data_string') { |
| | | _columns = [...columns, ...subColumns] |
| | | } |
| | | |
| | |
| | | |
| | | drop table #${setting.tableName || 'tb'}${extend} |
| | | |
| | | select top 99999 @mk_total as mk_total * from #${setting.tableName || 'tb'} order by sort_id` |
| | | select top 99999 @mk_total as mk_total, * from #${setting.tableName || 'tb'} order by sort_id` |
| | | |
| | | document.body.appendChild(oInput) |
| | | oInput.select() |