|
|
@ -4,9 +4,14 @@ |
|
|
<el-steps :active="step" align-center class="step_bar"> |
|
|
<el-steps :active="step" align-center class="step_bar"> |
|
|
<el-step title="确认订单" :description="confirmTime.confirm_order_time | formatDate" ></el-step> |
|
|
<el-step title="确认订单" :description="confirmTime.confirm_order_time | formatDate" ></el-step> |
|
|
<el-step title="订单付款" :description="confirmTime.pay_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
<el-step title="订单付款" :description="confirmTime.pay_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
<el-step title="线下签约" :description="confirmTime.confirm_contract_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
<template v-if="orderType==0"> |
|
|
<el-step title="确认交付" :description="confirmTime.confirm_delivery_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
<el-step title="线下签约" :description="confirmTime.confirm_contract_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
<el-step title="订单结算" :description="confirmTime.settlement_time | formatDate" v-if="type==1"></el-step> |
|
|
<el-step title="确认交付" :description="confirmTime.confirm_delivery_time | formatDate" v-if="type==0 || type==1"></el-step> |
|
|
|
|
|
<el-step title="订单结算" :description="confirmTime.settlement_time | formatDate" v-if="type==1"></el-step> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-else> |
|
|
|
|
|
<el-step title="订单完成" :description="confirmTime.close_time | formatDate"></el-step> |
|
|
|
|
|
</template> |
|
|
<el-step title="订单关闭" :description="confirmTime.close_time | formatDate" v-if="type==2"></el-step> |
|
|
<el-step title="订单关闭" :description="confirmTime.close_time | formatDate" v-if="type==2"></el-step> |
|
|
</el-steps> |
|
|
</el-steps> |
|
|
<router-view @confirm="confirm" ></router-view> |
|
|
<router-view @confirm="confirm" ></router-view> |
|
|
@ -19,13 +24,16 @@ export default{ |
|
|
step:0, |
|
|
step:0, |
|
|
title:['确认订单','订单付款','线下签约','确认交付'], |
|
|
title:['确认订单','订单付款','线下签约','确认交付'], |
|
|
confirmTime:'', |
|
|
confirmTime:'', |
|
|
type:0 |
|
|
type:0, |
|
|
|
|
|
//0是资产购买,1是资产评估购买 |
|
|
|
|
|
orderType:0 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created(){ |
|
|
created(){ |
|
|
this.step= parseInt(this.$route.query.step) |
|
|
this.step= parseInt(this.$route.query.step) |
|
|
console.info(this.$route) |
|
|
console.info(this.$route) |
|
|
this.type=this.$route.query.type |
|
|
this.type=this.$route.query.type |
|
|
|
|
|
this.orderType=this.$route.query.orderType |
|
|
}, |
|
|
}, |
|
|
methods:{ |
|
|
methods:{ |
|
|
confirm(val){ |
|
|
confirm(val){ |
|
|
|