[update] 收入合同项目关联接口联调;支出合同页面
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
<div class="part-title">
|
||||
<div class="part-title-text">关联项目</div>
|
||||
</div>
|
||||
<associated-project ref="associatedProject" :contract-id="$route.query.revenueId" :can-operate="false"></associated-project>
|
||||
</div>
|
||||
<a-divider></a-divider>
|
||||
|
||||
@@ -146,10 +147,11 @@
|
||||
import IconImg from '@/assets/imgs/icon/icon_revenue_contract.png'
|
||||
import PageHeaderTitle from '@/components/layouts/PageHeaderTitle'
|
||||
import { getRevenueContractById } from '../../../../api/incomePaymentsApi'
|
||||
import AssociatedProject from './AssociatedProject'
|
||||
|
||||
export default {
|
||||
name: 'RevenueContractDetail',
|
||||
components: { PageHeaderTitle },
|
||||
components: { PageHeaderTitle, AssociatedProject },
|
||||
data() {
|
||||
return {
|
||||
IconImg,
|
||||
@@ -252,8 +254,9 @@ export default {
|
||||
return this.otherInfoList.filter(item => this.detailData[item.fieldName] && this.detailData[item.fieldName] !== '') || []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
mounted() {
|
||||
this.initDetailData(this.$route.query.revenueId)
|
||||
this.$refs.associatedProject.loadAssociatedProject()
|
||||
},
|
||||
methods: {
|
||||
initDetailData(id) {
|
||||
|
||||
Reference in New Issue
Block a user