Przeglądaj źródła

FIX: 直播退款订单

xdd 2 tygodni temu
rodzic
commit
2194595e0d
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/views/live/liveAfteraSales/index.vue

+ 4 - 4
src/views/live/liveAfteraSales/index.vue

@@ -140,24 +140,24 @@
       <el-table-column label="退款金额" align="center" prop="refundAmount" />
       <el-table-column label="退款类型" align="center" prop="serviceType" >
         <template slot-scope="scope">
-          <div prop="serviceType" v-for="(item, index) in serviceTypeOptions"    v-if="scope.row.serviceType==item.dictValue">{{item.dictLabel}}</div>
+          <dict-tag :options="serviceTypeOptions" :value="scope.row.serviceType"/>
         </template>
       </el-table-column>
       <el-table-column label="申请原因" align="center" prop="reasons" />
       <el-table-column label="说明" align="center" prop="explains" />
       <el-table-column label="状态" align="center" prop="status" >
         <template slot-scope="scope">
-          <div prop="status" v-for="(item, index) in statusOptions"    v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</div>
+          <dict-tag :options="statusOptions" :value="scope.row.status"/>
         </template>
       </el-table-column>
       <el-table-column label="售后状态" align="center" prop="salesStatus" >
         <template slot-scope="scope">
-          <div prop="status" v-for="(item, index) in salesStatusOptions"    v-if="scope.row.salesStatus==item.dictValue">{{item.dictLabel}}</div>
+          <dict-tag :options="salesStatusOptions" :value="scope.row.salesStatus"/>
         </template>
       </el-table-column>
       <el-table-column label="订单状态" align="center" prop="orderStatus" >
         <template slot-scope="scope">
-          <div prop="status" v-for="(item, index) in orderStatusOptions"    v-if="scope.row.orderStatus==item.dictValue">{{item.dictLabel}}</div>
+          <dict-tag :options="orderStatusOptions" :value="scope.row.orderStatus"/>
         </template>
       </el-table-column>
       <el-table-column label="物流状态" align="center" prop="deliveryStatus" >