4641d0a5dd
Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
582 B
Vue
22 lines
582 B
Vue
<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>
|