ソースを参照

报告复审详情禁用

sangwenwei 1 年間 前
コミット
8be568fa57

+ 5 - 5
src/views/cw/reportManagement/reportReview/ReportReviewForm.vue

@@ -488,8 +488,8 @@
 								   :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}"
 								   align="left">
 							<template #header>
-								<div style="float: right;width: 94%">
-									<vxe-select v-model="inputForm.reviewComments0" placeholder="一键添加"  transfer @change="changeValue">
+								<div style="float: right;width: 94%" >
+									<vxe-select v-model="inputForm.reviewComments0" placeholder="一键添加"  transfer @change="changeValue" :disabled="inputForm.taskName === '二级复核' || inputForm.taskName === '三级复核'|| status === 'taskFormDetail'">
 										<vxe-option
 											v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
 											:key="item.value"
@@ -553,7 +553,7 @@
                 <vxe-table-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}" align="left">
 					<template #header>
 						<div style="float: right;width: 94%">
-						<vxe-select v-model="inputForm.reviewComments1" placeholder="一键添加"  transfer @change="changeValue1">
+						<vxe-select v-model="inputForm.reviewComments1" placeholder="一键添加"  transfer @change="changeValue1" :disabled="inputForm.reviewStatus === '4' || inputForm.taskName === '三级复核'|| status === 'taskFormDetail'">
 							<vxe-option
 								v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
 								:key="item.value"
@@ -564,7 +564,7 @@
 						</div>
 					</template>
 					<template v-slot:edit="scope">
-                    <vxe-select :disabled="inputForm.reviewStatus === '4' || inputForm.taskName === '三级复核'" v-model="scope.row.reviewComments" transfer>
+                    <vxe-select :disabled="inputForm.reviewStatus === '4' || inputForm.taskName === '三级复核'|| status === 'taskFormDetail'" v-model="scope.row.reviewComments" transfer>
                       <vxe-option
                         v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
                         :key="item.value"
@@ -617,7 +617,7 @@
                 <vxe-table-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}" align="left">
 					<template #header>
 						<div style="float: right;width: 94%">
-						<vxe-select v-model="inputForm.reviewComments2" placeholder="一键添加"  transfer @change="changeValue2">
+						<vxe-select v-model="inputForm.reviewComments2" placeholder="一键添加"  transfer @change="changeValue2" :disabled="inputForm.taskName === '一级复核' || inputForm.reviewStatus === '4'|| status === 'taskFormDetail'">
 							<vxe-option
 								v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
 								:key="item.value"