| | |
| | | BID = BData.$BID || '' |
| | | } |
| | | |
| | | if (setting.controlField) { |
| | | if (setting.controlVal) { |
| | | setting.controlVal = setting.controlVal.split(',') |
| | | } else { |
| | | setting.controlVal = [''] |
| | | } |
| | | } |
| | | |
| | | _config.submit.style = _config.submit.style || {} |
| | | _config.submit.wrapStyle = {} |
| | | setting.hasAction = _config.action.length > 0 |
| | |
| | | }) |
| | | } |
| | | |
| | | if (setting.controlField) { |
| | | if (setting.controlVal.includes(item[setting.controlField] + '')) { |
| | | item.$disabled = true |
| | | } |
| | | } |
| | | |
| | | return item |
| | | }) |
| | | |
| | |
| | | }) |
| | | } |
| | | |
| | | if (setting.controlField) { |
| | | if (setting.controlVal.includes(_data[setting.controlField] + '')) { |
| | | _data.$disabled = true |
| | | } |
| | | } |
| | | |
| | | data = data.map(item => { |
| | | if (item.$$uuid === _data.$$uuid) { |
| | | _data.key = item.key |