update 表格必填项框前应该加*

This commit is contained in:
danshihao
2024-03-04 14:23:49 +08:00
parent 6c3486a3a1
commit 79c7510a68
2 changed files with 18 additions and 3 deletions
@@ -25,6 +25,10 @@
</template>
<!-- 实际稽查完成日期 -->
<span slot="customTitleActualInspectionCompletionDate">
<span class="table-header-required">*</span>
{{ this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate') }}
</span>
<template v-slot:actualInspectionCompletionDate="{text, record}">
<div class="table-form" v-if="isInputInspectionReport">
<a-date-picker :placeholder="$t('pleaseSelect')+$t('date')"
@@ -40,6 +44,10 @@
</template>
<!-- 实际稽查人 -->
<span slot="customTitleActualInspector">
<span class="table-header-required">*</span>
{{ this.$t('workCenter.esInspectionProcess.actualInspector') }}
</span>
<template v-slot:actualInspector="{text, record}">
<div class="table-form" v-if="isInputInspectionReport">
<user-selection :placeholder="$t('pleaseSelect')+$t('workCenter.esInspectionProcess.actualInspector')" :show-btn="false"
@@ -183,7 +191,7 @@ export default {
scopedSlots: { customRender: 'text' }
},
{ // 实际稽查完成日期
title: this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate'),
// title: this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate'),
align: 'center',
width: 200,
dataIndex: 'completeDate',
@@ -192,10 +200,11 @@ export default {
EsInspectionProcess.directorLeaderApprovalTwo.value,
EsInspectionProcess.relevantPersonnelCountersign.value
],
slots: { title: 'customTitleActualInspectionCompletionDate' },
scopedSlots: { customRender: 'actualInspectionCompletionDate' }
},
{ // 实际稽查人
title: this.$t('workCenter.esInspectionProcess.actualInspector'),
// title: this.$t('workCenter.esInspectionProcess.actualInspector'),
align: 'center',
width: 200,
dataIndex: 'actualInspectUser_dictText',
@@ -204,6 +213,7 @@ export default {
EsInspectionProcess.directorLeaderApprovalTwo.value,
EsInspectionProcess.relevantPersonnelCountersign.value
],
slots: { title: 'customTitleActualInspector' },
scopedSlots: { customRender: 'actualInspector' }
},
{