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