[update 流程审批信息] 备注调整为处理意见

This commit is contained in:
danshihao
2024-09-06 09:50:59 +08:00
parent 6c70244e85
commit 03e5a7ce82
6 changed files with 20 additions and 16 deletions
@@ -75,8 +75,8 @@
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm">
<!--备注-->
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('remarks')" :colon="formItemColon">
<a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('remarks')"
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="isLook ? '' : $t('pleaseEnter') + $t('handlingSuggestions')"
:maxLength="500"
:rows="4"
:disabled="isLook"
@@ -281,7 +281,7 @@ export default {
},
handleText: {
rules: [
{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') }
{ required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }
],
validateTrigger: 'blur'
}
@@ -559,7 +559,7 @@ export default {
if (this.loading) return
this.validatorRules.handleText.rules[0].required = true
if (!this.approvalInfoForm.getFieldValue('handleText')) {
this.$message.warning(this.$t('pleaseEnterRemarks'))
this.$message.warning(this.$t('pleaseHandlingSuggestions'))
this.switchValue = 'base'
}
this.$nextTick(() => {