[update] 修改企标流程点同意的时候没填备注的话带入‘同意’

This commit is contained in:
lideqin
2023-12-07 11:01:47 +08:00
parent b1f5f5b594
commit 206eb155b3
10 changed files with 28 additions and 1 deletions
@@ -414,6 +414,9 @@ export default {
handleAgree () {
if (this.loading) return
this.validatorRules.commitText.rules[0].required = false
if (!this.approvalInfoForm.getFieldValue('commitText')) {
this.approvalInfoForm.setFieldsValue({ commitText: '同意' })
}
this.approvalInfoForm.validateFields((err, values) => {
if (!err) {
this.loading = true
@@ -7,7 +7,7 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
:rowKey="(index) => {return index}"
:rowKey="(record, index) => {return index}"
:columns="columns"
:dataSource="dataSource"
:pagination="false"