This commit is contained in:
hufangzhou
2024-04-11 10:20:44 +08:00
parent e33a1dccd5
commit 1c90308c30
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ 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')
if(project.model == 'ipd' && !planID)
{
const $attribute = data.attribute;
const $point = row.find('[data-name="point"]');
@@ -26,7 +26,7 @@ window.onRenderRow = function(row, rowIdx, data)
hint = reviewedPointTip;
}
items.push({text: $value, value: $value, disabled: disabled, hint: hint});
items.push({text: $value, value: $value, disabled: disabled, hint: hint});
}
options.items = items;