Commit 431e7288 authored by 邓春圆's avatar 邓春圆

审核组件调用接口修改

parent 9c82e980
......@@ -7,7 +7,7 @@
<el-descriptions-item label="业务员">{{record.salesmanName}}</el-descriptions-item>
<el-descriptions-item label="付款金额">{{record.totalAmount}}rmb</el-descriptions-item>
</el-descriptions>
<router-link :to="{path:'/financial/commission-requestFunds',query:{lookId: this.id}}">
<router-link :to="{path:'/financial/commission-requestFunds',query:{lookId: this.record.id}}">
<el-button>查看详情</el-button>
</router-link>
</div>
......@@ -15,7 +15,7 @@
<script>
import {getCommissionPayment} from "@/api/ecw/financial";
import {commissionPaymentGetPaymentApprove, getCommissionPayment} from "@/api/ecw/financial";
import {parseTime} from "../../../../utils/ruoyi";
export default {
......@@ -35,9 +35,10 @@ export default {
watch:{
id:{
handler:function (newVal){
getCommissionPayment({id:newVal}).then(r => {
console.log(r.data, '审批')
this.record = r.data;
commissionPaymentGetPaymentApprove({id:newVal}).then(r => {
getCommissionPayment({id:r.data.paymentId}).then(res => {
this.record = res.data;
})
})
},
immediate:true,
......
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