[update 流程审批信息] 备注调整为处理意见
This commit is contained in:
@@ -130,8 +130,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"
|
||||
@@ -342,7 +342,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'
|
||||
}
|
||||
@@ -659,7 +659,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(() => {
|
||||
|
||||
+4
-4
@@ -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(() => {
|
||||
|
||||
+4
-4
@@ -106,8 +106,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"
|
||||
@@ -391,7 +391,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'
|
||||
}
|
||||
@@ -748,7 +748,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(() => {
|
||||
|
||||
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user