Handy_Cao 1 год назад
Родитель
Сommit
96d425f35c

+ 2 - 1
src/packages/tss/views/order/delivery/components/online/Index.vue

@@ -11,7 +11,7 @@
                     </div>
                     <div class="right">
                         <b :class="!item.buyorsell ? 'g-price-up' : 'g-price-down'">
-                            {{ item.orderstatusdisplay }}
+                            {{ getDeliveryOrderStatusName(item.orderstatus) }}
                         </b>
                     </div>
                 </div>
@@ -75,6 +75,7 @@ import { queryMineTradeGoodsDeliveryOfflines } from '@/services/api/transfer'
 import { offlineDeliveryApplyCancelOrder } from '@/services/api/trade'
 import { i18n } from '@/stores'
 import AppPullRefresh from '@mobile/components/base/pull-refresh/index.vue'
+import { getDeliveryOrderStatusName } from '@/constants/order'
 
 const dataList = shallowRef<Model.MineTradeGoodsDeliveryOfflinesRsp[]>([])
 const error = shallowRef(false)

+ 2 - 1
src/packages/tss/views/order/delivery/components/spot/Index.vue

@@ -11,7 +11,7 @@
                     </div>
                     <div class="right">
                         <b :class="!item.buyorsell ? 'g-price-up' : 'g-price-down'">
-                            {{ item.orderstatusdisplay }}
+                            {{ getDeliveryOrderStatusName(item.orderstatus) }}
                         </b>
                     </div>
                 </div>
@@ -75,6 +75,7 @@ import { queryMineTradeGoodsDeliveryOfflines } from '@/services/api/transfer'
 import { offlineDeliveryApplyCancelOrder } from '@/services/api/trade'
 import { i18n } from '@/stores'
 import AppPullRefresh from '@mobile/components/base/pull-refresh/index.vue'
+import { getDeliveryOrderStatusName } from '@/constants/order'
 
 const dataList = shallowRef<Model.MineTradeGoodsDeliveryOfflinesRsp[]>([])
 const error = shallowRef(false)