[update] 到账开票bug修改;导出功能

This commit is contained in:
zhaoxiao
2021-09-13 16:12:17 +08:00
parent 72556eef28
commit 3ad8ebc039
3 changed files with 54 additions and 14 deletions
@@ -93,7 +93,11 @@
</div>
</a-card>
<!-- 来款阶段-->
<arrive-stage-module ref="arriveStage" @ok="modalFormOk" :project-id="selectProjectId"></arrive-stage-module>
<arrive-stage-module
ref="arriveStage"
@ok="modalFormOk"
:project-id="selectProjectId"
:visible.sync="arriveVisible"></arrive-stage-module>
<!-- 开票阶段-->
<invoicing-stage-module
ref="invoicingStage"
@@ -101,6 +105,7 @@
:project-id="selectProjectId"
:project-type="selectProjectType"
:project-name="selectProjectName"
:visible.sync="invoicingVisible"
:charge-company-name="selectProjectChargeCompanyName"></invoicing-stage-module>
<project-detail-modal ref="projectDetail"></project-detail-modal>
</div>
@@ -225,12 +230,14 @@ export default {
],
url: {
list: '/paymentRecord/payPaymentRecord/mainList',
exportXlsUrl: ''
exportXlsUrl: '/paymentRecord/payPaymentRecord/exportXls'
},
selectProjectId: null, // 选中项目id
selectProjectType: null, // 选中项目类型
selectProjectName: null, // 选中项目名称
selectProjectChargeCompanyName: null // 选中项目来款企业
selectProjectName: null, // 选中项目名称open
selectProjectChargeCompanyName: null, // 选中项目来款企业
invoicingVisible: false,
arriveVisible: false
}
},
methods: {
@@ -240,7 +247,7 @@ export default {
*/
incomePayment(id) {
this.selectProjectId = id
this.$refs.arriveStage.open()
this.arriveVisible = true
},
/**
* 开票
@@ -252,7 +259,7 @@ export default {
this.selectProjectType = record.projectType
this.selectProjectName = record.chargeProject
this.selectProjectChargeCompanyName = record.chargeCompanyTemporaryName
this.$refs.invoicingStage.open()
this.invoicingVisible = true
}
}
}