diff --git a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue index ff64679..6176cf2 100644 --- a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue +++ b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue @@ -109,6 +109,7 @@ :project-type="selectProjectType" :project-name="selectProjectName" :visible.sync="invoicingVisible" + :mail-contacts-id="mailContactsId" :charge-company-name="selectProjectChargeCompanyName"> @@ -259,7 +260,8 @@ export default { arriveVisible: false, selectedProject: [], batchInvoicingVisible: false, - selectedCompany: {} // 选中项目的企业信息 + selectedCompany: {}, // 选中项目的企业信息 + mailContactsId: null, // 项目邮寄联系人id } }, methods: { @@ -278,6 +280,7 @@ export default { */ invoicing(record) { console.log(record) + this.mailContactsId = record.mailContactsId this.selectProjectId = record.id this.selectProjectType = record.projectType this.selectProjectName = record.chargeProject diff --git a/src/views/financialManagement/arriveAndInvoicing/modules/InvoicingModule.vue b/src/views/financialManagement/arriveAndInvoicing/modules/InvoicingModule.vue index dfa8d09..22ff3d8 100644 --- a/src/views/financialManagement/arriveAndInvoicing/modules/InvoicingModule.vue +++ b/src/views/financialManagement/arriveAndInvoicing/modules/InvoicingModule.vue @@ -83,6 +83,12 @@ export default { type: String, required: false, default: null + }, + // 项目邮寄联系人 + mailContactsId: { + type: String, + required: false, + default: null } }, data() { @@ -135,6 +141,7 @@ export default { if (!err) { // values.chargeCompanyName = this.chargeCompanyName values.projectName = this.projectName + values.contactId = this.mailContactsId const formData = Object.assign(this.model, values) console.log('表单提交数据', formData) let okHttpMethod