[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
@@ -90,8 +90,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="(disabled) ? '' : ($t('pleaseEnter') + $t('remarks'))"
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('handlingSuggestions')" :colon="formItemColon">
<a-textarea :placeholder="(disabled) ? '' : ($t('pleaseEnter') + $t('handlingSuggestions'))"
:maxLength="500"
:rows="4"
:disabled="disabled"
@@ -231,7 +231,7 @@ export default {
validateTrigger: 'blur'
},
commitText: {
rules: [{ required: false, message: this.$t('pleaseEnter') + this.$t('remarks') }],
rules: [{ required: false, message: this.$t('pleaseEnter') + this.$t('handlingSuggestions') }],
validateTrigger: 'blur'
}
},
@@ -740,7 +740,7 @@ export default {
})
// 驳回需要填写备注
if (!this.approvalInfoForm.getFieldValue('commitText')) {
this.$message.warn(this.$t('pleaseEnterRemarks'))
this.$message.warn(this.$t('pleaseHandlingSuggestions'))
return
}
this.loading = true