✨ 多业务接入MK审核流,提交改传bizId并由后端生成表单实例
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<mk-public-shell biz-type="invoice-receipt" :get-form="getForm">
|
||||
<invoice-receipt-form ref="page" />
|
||||
</mk-public-shell>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MkPublicShell from '@/views/mk/mk-public-shell.vue';
|
||||
import InvoiceReceiptForm from '@/views/payment/invoice-receipt-form.vue';
|
||||
|
||||
export default {
|
||||
name: 'InvoiceReceiptPublicView',
|
||||
components: { MkPublicShell, InvoiceReceiptForm },
|
||||
methods: {
|
||||
getForm() {
|
||||
const form = this.$refs.page?.form || {};
|
||||
return { ...form, subject: form.invoiceNo || form.projectName || '' };
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user