+ Compatible with the IPD project phase creation page.

This commit is contained in:
hufangzhou
2024-03-26 15:26:27 +08:00
parent 8f10e7d9a2
commit f40d2b8428
3 changed files with 15 additions and 0 deletions
+9
View File
@@ -3,6 +3,15 @@ window.onRenderRow = function(row, rowIdx, data)
if(row.children('[data-name=milestone]').find('input[type=radio]:checked').length == 0) row.children('[data-name=milestone]').find('input[type=radio]').eq(1).prop('checked', true);
row.children('[data-name=type]').find('[name^=type]').picker({disabled: true});
if(project.model == 'ipd')
{
row.find('[data-name="attribute"]').find('.picker-box').on('inited', function(e, info)
{
let $attributePicker = info[0];
$attributePicker.render({disabled: true});
});
}
if(data != undefined)
{
if(data.hasOwnProperty('type'))