Commit 2c3dced0 authored by 邓春圆's avatar 邓春圆

付款单,佣金付款单,审核详情添加申请理由

parent 87da9eeb
......@@ -9,6 +9,7 @@
</template></el-descriptions-item>
<el-descriptions-item :label="$t('业务员')">{{ form.salesmanName }}</el-descriptions-item>
<el-descriptions-item :label="$t('付款金额')">{{paymentMoney}}{{$t('人民币')}}</el-descriptions-item>
<el-descriptions-item v-if="reason" :label="$t('申请理由')">{{reason}}</el-descriptions-item>
</el-descriptions>
<div class="btn">
<el-button
......@@ -37,7 +38,8 @@ export default {
form: {},
list:[],
paymentId:0,
paymentMoney:0
paymentMoney:0,
reason:''
}
},
watch:{
......@@ -58,7 +60,8 @@ export default {
getData(){
getPaymentApprove(this.id).then(res => {
if(res.data.paymentId){
this.paymentId = res.data.paymentId
this.paymentId = res.data.paymentId;
this.reason = res.data.reason;
this.getPayableInfo()
}
})
......
......@@ -6,7 +6,7 @@
<el-descriptions-item label="创建时间">{{parseTime(record.createTime)}}</el-descriptions-item>
<el-descriptions-item label="业务员">{{record.salesmanName}}</el-descriptions-item>
<el-descriptions-item label="付款金额">{{record.totalAmount}}rmb</el-descriptions-item>
<el-descriptions-item v-if="record.bmpStatus === 3" label="驳回原因">{{record.comment}}</el-descriptions-item>
<el-descriptions-item v-if="record.reason" label="申请理由">{{record.reason}}</el-descriptions-item>
</el-descriptions>
<router-link :to="{path:'/financial/commission-requestFunds',query:{lookId: this.record.id}}">
<el-button type="primary">查看详情</el-button>
......@@ -39,6 +39,7 @@ export default {
commissionPaymentGetPaymentApprove({id:newVal}).then(r => {
getCommissionPayment({id:r.data.paymentId}).then(res => {
this.record = res.data;
this.record.reason = r.data.reason //申请理由
})
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment