diff --git a/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue b/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue index 7584a04..4599028 100644 --- a/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue +++ b/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue @@ -4,22 +4,30 @@ @@ -29,6 +29,7 @@ const bgvisible = ref(false); const disableSubmit = ref(false); const registerForm = ref(); + const bgregisterForm = ref(); const emit = defineEmits(['register', 'success']); /** @@ -50,6 +51,8 @@ title.value = disableSubmit.value ? '详情' : '新供应商审核'; visible.value = true; nextTick(() => { + record.status = null; + record.applyContent = null; registerForm.value.edit(record); }); } @@ -57,7 +60,9 @@ title.value = '信息变更审核'; bgvisible.value = true; nextTick(() => { - registerForm.value.show(record); + record.status = null; + record.applyContent = null; + bgregisterForm.value.show(record); }); } @@ -67,6 +72,12 @@ function handleOk() { registerForm.value.submitForm(); } + /** + * 确定按钮点击事件 + */ + function handleBgOk() { + bgregisterForm.value.submitForm(); + } /** * form保存回调事件