批量开票添加选择邮寄联系人功能
This commit is contained in:
@@ -99,6 +99,7 @@
|
||||
@ok="modalFormOk"
|
||||
:project-id="selectProjectId"
|
||||
:visible.sync="arriveVisible"></arrive-stage-module>
|
||||
|
||||
<!-- 开票阶段-->
|
||||
<invoicing-stage-module
|
||||
ref="invoicingStage"
|
||||
@@ -108,12 +109,17 @@
|
||||
:project-name="selectProjectName"
|
||||
:visible.sync="invoicingVisible"
|
||||
:charge-company-name="selectProjectChargeCompanyName"></invoicing-stage-module>
|
||||
<project-detail-modal ref="projectDetail"></project-detail-modal>
|
||||
|
||||
<!-- 批量开票-->
|
||||
<batch-invoicing-module
|
||||
:selected-data="selectedProject"
|
||||
:selected-company="selectedCompany"
|
||||
is-financial
|
||||
:visible.sync="batchInvoicingVisible">
|
||||
</batch-invoicing-module>
|
||||
|
||||
<project-detail-modal ref="projectDetail"></project-detail-modal>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -248,7 +254,8 @@ export default {
|
||||
invoicingVisible: false,
|
||||
arriveVisible: false,
|
||||
selectedProject: [],
|
||||
batchInvoicingVisible: false
|
||||
batchInvoicingVisible: false,
|
||||
selectedCompany: {} // 选中项目的企业信息
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -316,6 +323,11 @@ export default {
|
||||
if (!isAllEqual(companyArr)) {
|
||||
reject('请选择来款单位为同一企业的项目合并开票')
|
||||
}
|
||||
this.selectedCompany = {
|
||||
id: arr[0].chargeCompanyId,
|
||||
companyName: arr[0].chargeCompanyTemporaryName
|
||||
}
|
||||
console.log(this.selectedCompany)
|
||||
}
|
||||
// 来款
|
||||
if (operateType === 'incomePayment') {
|
||||
|
||||
Reference in New Issue
Block a user