来款方式修改

This commit is contained in:
fengachen
2021-09-14 18:34:25 +08:00
parent 5d0881b7e8
commit 50db160383
+24 -5
View File
@@ -28,8 +28,8 @@
<!-- 来款方式为合同的显示--> <!-- 来款方式为合同的显示-->
<a-row :gutter="24" v-if="!!basicInfo.contractNum"> <a-row :gutter="24" v-if="!!basicInfo.contractNum">
<a-col :span="12"> <a-col :span="12">
<label>来款方式:</label> <label>{{createIncomeType(basicInfo.projectType)}}:</label>
<span>合同</span> <span>{{ basicInfo.chargeWay_dictText }}</span>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<label>合同编号:</label> <label>合同编号:</label>
@@ -107,7 +107,9 @@
<section class="payment-info"> <section class="payment-info">
<h3 class="title">到账信息</h3> <h3 class="title">到账信息</h3>
<section class="payment-info-title">到账信息</section> <section class="payment-info-title">到账信息</section>
<div class="payment-info-content" v-for="item of paymentInfoList" :key="item.id">{{item.paymentDate}}到账{{item.amountReceived}}元</div> <div class="payment-info-content" v-for="item of paymentInfoList" :key="item.id">
{{ item.paymentDate }}到账{{ item.amountReceived }}元
</div>
</section> </section>
<!--到账信息end--> <!--到账信息end-->
<!--开票邮寄信息begin--> <!--开票邮寄信息begin-->
@@ -245,6 +247,7 @@ export default {
logisticsInfoList, logisticsInfoList,
} }
}, },
computed: {},
components: { components: {
JEllipsis JEllipsis
}, },
@@ -297,9 +300,23 @@ export default {
* 去合同详情 传入合同id * 去合同详情 传入合同id
* */ * */
toContractDetail() { toContractDetail() {
this.$router.push({path:'/contractManagement/RevenueContractDetail',query:{ this.$router.push({
path: '/contractManagement/RevenueContractDetail', query: {
revenueId: this.basicInfo.contractId revenueId: this.basicInfo.contractId
}}) }
})
},
/*
* 每一个项目的来款方式不同
* */
createIncomeType(val) {
if (val === 1 || val === 2 || val === 4) {
return '来款方式'
}else {
return '缴费方式'
}
} }
} }
} }
@@ -317,10 +334,12 @@ h3 {
label { label {
color: #666; color: #666;
} }
.contract-num { .contract-num {
color: #42b983; color: #42b983;
cursor: pointer; cursor: pointer;
} }
h3.title::before { h3.title::before {
position: absolute; position: absolute;
top: 4px; top: 4px;