修改提交

This commit is contained in:
2026-09-22 08:47:43 +08:00
parent 6e0144d7cd
commit 2e2f3ed2d2
9 changed files with 166 additions and 9 deletions
@@ -51,7 +51,16 @@ async function submit() {
} catch (cause) { ElMessage.error(getApiErrorDetails(cause, '审核提交失败,请重试').message) }
finally { saving.value = false }
}
watch(() => props.modelValue, (value) => { if (value) { form.decision = 'APPROVE'; form.remark = ''; void load() } })
watch(
() => [props.modelValue, props.customerId, props.transferNo] as const,
([value]) => {
if (!value) return
form.decision = 'APPROVE'
form.remark = ''
void load()
},
{ immediate: true },
)
</script>
<template>