修改时间范围未带出
Showing
1 changed file
with
8 additions
and
8 deletions
| ... | @@ -682,14 +682,14 @@ const handleSelectChange = (val, row, info) => { | ... | @@ -682,14 +682,14 @@ const handleSelectChange = (val, row, info) => { |
| 682 | item.default = info[item.field]; | 682 | item.default = info[item.field]; |
| 683 | if (item.field == 'evaluationFile') { | 683 | if (item.field == 'evaluationFile') { |
| 684 | item.default = item.default || []; | 684 | item.default = item.default || []; |
| 685 | } else if (item.field == 'evaluationRange') { | ||
| 686 | item.disabled = !!selectDam?.dataStartDate; | ||
| 687 | item.default = selectDam?.dataStartDate ? [selectDam.dataStartDate, selectDam.dataEndDate] : null; | ||
| 685 | } | 688 | } |
| 686 | }) | 689 | }) |
| 687 | passFormItems.value.forEach(item => { | 690 | passFormItems.value.forEach(item => { |
| 688 | item.default = info[item.field]; | 691 | item.default = info[item.field]; |
| 689 | if (item.field == 'evaluationRange') { | 692 | if (item.field == 'assessmentFile') { |
| 690 | item.disabled = !!selectDam?.dataStartDate; | ||
| 691 | item.default = selectDam?.dataStartDate ? [selectDam.dataStartDate, selectDam.dataEndDate] : null; | ||
| 692 | } else if (item.field == 'assessmentFile') { | ||
| 693 | item.default = item.default || []; | 693 | item.default = item.default || []; |
| 694 | } | 694 | } |
| 695 | }) | 695 | }) |
| ... | @@ -705,14 +705,14 @@ const handleSelectChange = (val, row, info) => { | ... | @@ -705,14 +705,14 @@ const handleSelectChange = (val, row, info) => { |
| 705 | item.default = info[item.field]; | 705 | item.default = info[item.field]; |
| 706 | if (item.field == 'evaluationFile') { | 706 | if (item.field == 'evaluationFile') { |
| 707 | item.default = []; | 707 | item.default = []; |
| 708 | } else if (item.field == 'evaluationRange') { | ||
| 709 | item.disabled = !!selectDam?.dataStartDate; | ||
| 710 | item.default = selectDam?.dataStartDate ? [selectDam.dataStartDate, selectDam.dataEndDate] : null; | ||
| 708 | } | 711 | } |
| 709 | }) | 712 | }) |
| 710 | passFormItems.value.forEach(item => { | 713 | passFormItems.value.forEach(item => { |
| 711 | item.default = info[item.field]; | 714 | item.default = info[item.field]; |
| 712 | if (item.field == 'evaluationRange') { | 715 | if (item.field == 'assessmentFile') { |
| 713 | item.disabled = !!selectDam?.dataStartDate; | ||
| 714 | item.default = selectDam?.dataStartDate ? [selectDam.dataStartDate, selectDam.dataEndDate] : null; | ||
| 715 | } else if (item.field == 'assessmentFile') { | ||
| 716 | item.default = item.default || []; | 716 | item.default = item.default || []; |
| 717 | } | 717 | } |
| 718 | }) | 718 | }) | ... | ... |
-
Please register or sign in to post a comment