开票调整

This commit is contained in:
zhaoxiao
2021-09-22 16:18:06 +08:00
parent 53b79dba68
commit d60c587f71
2 changed files with 11 additions and 1 deletions
@@ -109,6 +109,7 @@
:project-type="selectProjectType" :project-type="selectProjectType"
:project-name="selectProjectName" :project-name="selectProjectName"
:visible.sync="invoicingVisible" :visible.sync="invoicingVisible"
:mail-contacts-id="mailContactsId"
:charge-company-name="selectProjectChargeCompanyName"></invoicing-stage-module> :charge-company-name="selectProjectChargeCompanyName"></invoicing-stage-module>
<!-- 批量开票--> <!-- 批量开票-->
@@ -259,7 +260,8 @@ export default {
arriveVisible: false, arriveVisible: false,
selectedProject: [], selectedProject: [],
batchInvoicingVisible: false, batchInvoicingVisible: false,
selectedCompany: {} // 选中项目的企业信息 selectedCompany: {}, // 选中项目的企业信息
mailContactsId: null, // 项目邮寄联系人id
} }
}, },
methods: { methods: {
@@ -278,6 +280,7 @@ export default {
*/ */
invoicing(record) { invoicing(record) {
console.log(record) console.log(record)
this.mailContactsId = record.mailContactsId
this.selectProjectId = record.id this.selectProjectId = record.id
this.selectProjectType = record.projectType this.selectProjectType = record.projectType
this.selectProjectName = record.chargeProject this.selectProjectName = record.chargeProject
@@ -83,6 +83,12 @@ export default {
type: String, type: String,
required: false, required: false,
default: null default: null
},
// 项目邮寄联系人
mailContactsId: {
type: String,
required: false,
default: null
} }
}, },
data() { data() {
@@ -135,6 +141,7 @@ export default {
if (!err) { if (!err) {
// values.chargeCompanyName = this.chargeCompanyName // values.chargeCompanyName = this.chargeCompanyName
values.projectName = this.projectName values.projectName = this.projectName
values.contactId = this.mailContactsId
const formData = Object.assign(this.model, values) const formData = Object.assign(this.model, values)
console.log('表单提交数据', formData) console.log('表单提交数据', formData)
let okHttpMethod let okHttpMethod