Authored by hongyong.zhao

未支付跳到订单详情页

... ... @@ -340,7 +340,7 @@ export default {
}
}),
onCloseAction() {
// vm.onClose(orderResult.data.orderCode);
vm.onClose(get(vm.publishresult, 'orderCode', ''));
}
}).show();
},
... ... @@ -361,6 +361,18 @@ export default {
}).show();
},
onClose(orderCode) {
if (orderCode) {
this.$router.replace({
name: 'buyOrderDetail',
params: {
owner: 'buy',
code: orderCode
}
});
}
}
}
};
</script>
... ... @@ -619,4 +631,13 @@ export default {
padding: 0 40px 40px;
background-color: white;
}
.cube-picker-panel {
height: 273px;
text-align: center;
font-size: 14px;
background: #fff;
border-top-left-radius: 15px !important;
border-top-right-radius: 15px !important;
}
</style>
... ...
... ... @@ -183,7 +183,7 @@ export default {
},
payOrder() {
let vm = this;
this.$createOrderPayType({
price: get(this.computeTip, 'earnestMoney', 0),
desc: '保证金',
... ... @@ -204,7 +204,7 @@ export default {
}
}),
onCloseAction() {
// vm.onClose(orderResult.data.orderCode);
vm.onClose(get(this.publishinfo, 'orderCode', ''));
}
}).show();
},
... ... @@ -216,6 +216,19 @@ export default {
type: 'txt',
txt: this.toastMessage
}).show();
},
onClose(orderCode) {
if (orderCode) {
this.$router.replace({
name: 'sellOrderDetail',
params: {
owner: 'sell',
code: orderCode
}
});
}
}
}
... ...