...
|
...
|
@@ -200,18 +200,31 @@ export default { |
|
|
if (!this.changePrice) {
|
|
|
return;
|
|
|
}
|
|
|
const { isOk, errMsg = '' } = await this.confirmChangePrice({
|
|
|
const { isOk, errMsg = '', bidData} = await this.confirmChangePrice({
|
|
|
price: this.changePrice,
|
|
|
orderCode,
|
|
|
});
|
|
|
|
|
|
if (isOk) {
|
|
|
if (isDetail) {
|
|
|
this.fetchOrderDetail(this.$route.params);
|
|
|
} else {
|
|
|
this.resetData();
|
|
|
this.fetchData(this.$route.params);
|
|
|
}
|
|
|
// 重新支付保证金
|
|
|
this.$createOrderPayType({
|
|
|
orderCode: bidData.orderCode,
|
|
|
price: parseFloat(bidData.depositAmount),
|
|
|
desc: '支付定金',
|
|
|
extra: JSON.stringify({
|
|
|
forward: {
|
|
|
name: isDetail ? 'buyOrderDetail' : 'OrderList',
|
|
|
params: this.$route.params,
|
|
|
},
|
|
|
}),
|
|
|
}).show();
|
|
|
|
|
|
// if (isDetail) {
|
|
|
// this.fetchOrderDetail(this.$route.params);
|
|
|
// } else {
|
|
|
// this.resetData();
|
|
|
// this.fetchData(this.$route.params);
|
|
|
// }
|
|
|
} else {
|
|
|
if (errMsg) {
|
|
|
this.$createToast({
|
...
|
...
|
|