|
@@ -4,7 +4,7 @@
|
|
|
<text class="iconfont icondianpu"></text>
|
|
|
<text class="shop-name">{{orderData.supplierName}}</text>
|
|
|
<text class="iconfont iconfangxiang"></text>
|
|
|
- <text class="order-type">{{getOrderType(orderData.orderStatus)}}</text>
|
|
|
+ <text class="order-type">{{orderData.auctionStatus == null ? getOrderType(orderData.orderStatus) : getAuctionType(orderData.auctionStatus)}}</text>
|
|
|
</view>
|
|
|
<view class="goods-list" v-if="orderData">
|
|
|
<view class="goods-row" v-for="(site, index) in orderData.products" :key="index">
|
|
@@ -126,6 +126,20 @@
|
|
|
return '已取消'
|
|
|
}
|
|
|
},
|
|
|
+ // 获取拍卖状态
|
|
|
+ getAuctionType(type) {
|
|
|
+ switch (type) {
|
|
|
+ case 1:
|
|
|
+ return '竞拍中'
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ return '竞拍成功'
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ return '竞拍失败'
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ },
|
|
|
// 操作区分
|
|
|
handleOrder(type) {
|
|
|
if (type == 1 || type == 2 || type == 5) {
|