From d60c587f71a4f6c324b488418db52904317118a4 Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Wed, 22 Sep 2021 16:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E7=A5=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arriveAndInvoicing/ArriveAndInvoivingList.vue | 5 ++++- .../arriveAndInvoicing/modules/InvoicingModule.vue | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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