Commit 8caefb2f by yancanhua

fix: 车辆佣金开发

1 parent 67bc49f3
...@@ -285,10 +285,11 @@ export default class roundBidBottom extends Vue { ...@@ -285,10 +285,11 @@ export default class roundBidBottom extends Vue {
if (!data.checkResult) { if (!data.checkResult) {
this.pageState = 'NOTOPUP'; this.pageState = 'NOTOPUP';
} else { } else {
if ((this.auctionVehicle.vehicle.vehicleState || this.auctionVehicle.auctionState) == 'PREVIEW') { //预展中 const vehicleStateData = this.auctionVehicle.vehicle.vehicleState || this.auctionVehicle.auctionState;
if (vehicleStateData == 'PREVIEW' || vehicleStateData == 'WAIT_AUCTION') { //预展中
this.pageState = 'PREVIEW'; this.pageState = 'PREVIEW';
this.getAuctionVehicleDetail(); this.getAuctionVehicleDetail();
} else if ((this.auctionVehicle.vehicle.vehicleState || this.auctionVehicle.auctionState) == 'AUCTIONING') { //竞拍中 } else if (vehicleStateData == 'AUCTIONING') { //竞拍中
this.pageState = 'AUCTIONING'; this.pageState = 'AUCTIONING';
this.getBidRemainSecData(); this.getBidRemainSecData();
} else { //竞拍已结束SOLD } else { //竞拍已结束SOLD
...@@ -304,7 +305,7 @@ export default class roundBidBottom extends Vue { ...@@ -304,7 +305,7 @@ export default class roundBidBottom extends Vue {
const that = this; const that = this;
AuctionController.getAuctionVehicleDetailById(this.axios, this.auctionVehicle.aucvehId).then(res => { AuctionController.getAuctionVehicleDetailById(this.axios, this.auctionVehicle.aucvehId).then(res => {
const data = res.data || {}; const data = res.data || {};
if (data.auctionState == 'PREVIEW') { //预展中 if (data.auctionState == 'PREVIEW' || data.auctionState == 'WAIT_AUCTION') { //预展中
this.pageState = 'PREVIEW'; this.pageState = 'PREVIEW';
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!