浏览代码

订单详情:核销状qrcodeStatus改成status

gcz 1 年之前
父节点
当前提交
3cedaaa517

+ 4 - 3
src/views/order/groupBuyingMr/dialog/details.vue

@@ -3,7 +3,7 @@
  * @Author: Sugar.
  * @Date: 2023-11-24 13:55:00
  * @LastEditors: gcz
- * @LastEditTime: 2024-03-14 16:56:05
+ * @LastEditTime: 2024-03-15 15:13:27
  * @FilePath: \great_webui\src\views\order\groupBuyingMr\dialog\details.vue
  * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
 -->
@@ -112,9 +112,10 @@
             <el-table-column label="身份证号码" align="center" prop="idCard" />
             <el-table-column label="核销状态" align="center">
               <template slot-scope="scope">
-                <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
+                <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
+                <!-- <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
                 <el-tag v-if="scope.row.qrcodeStatus == 1" type="success">已使用</el-tag>
-                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag>
+                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag> -->
               </template>
             </el-table-column>
             <el-table-column label="核销时间" align="center" prop="useTime" />

+ 4 - 3
src/views/order/orderMr/dialog/details.vue

@@ -3,7 +3,7 @@
  * @Author: Sugar.
  * @Date: 2023-11-24 13:55:00
  * @LastEditors: gcz
- * @LastEditTime: 2024-03-13 15:22:56
+ * @LastEditTime: 2024-03-15 15:12:30
  * @FilePath: \great_webui\src\views\order\orderMr\dialog\details.vue
  * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
 -->
@@ -99,9 +99,10 @@
             <el-table-column label="身份证号码" align="center" prop="idcard" />
             <el-table-column label="核销状态" align="center">
               <template slot-scope="scope">
-                <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
+                <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
+                <!-- <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
                 <el-tag v-if="scope.row.qrcodeStatus == 1" type="success">已使用</el-tag>
-                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag>
+                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag> -->
               </template>
             </el-table-column>
             <el-table-column label="核销时间" align="center" prop="qrcodeUseTime" />

+ 4 - 3
src/views/order/viewers/dialog/details.vue

@@ -3,7 +3,7 @@
  * @Author: Sugar.
  * @Date: 2023-11-24 13:55:00
  * @LastEditors: gcz
- * @LastEditTime: 2024-03-13 15:13:43
+ * @LastEditTime: 2024-03-15 15:13:43
  * @FilePath: \great_webui\src\views\order\viewers\dialog\details.vue
  * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
 -->
@@ -97,9 +97,10 @@
             <el-table-column label="取票码" align="center" prop="qrcodeNo" />
             <el-table-column label="核销状态" align="center">
               <template slot-scope="scope">
-                <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
+                <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
+                <!-- <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
                 <el-tag v-if="scope.row.qrcodeStatus == 1" type="success">已使用</el-tag>
-                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag>
+                <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag> -->
               </template>
             </el-table-column>
             <el-table-column label="核销时间" align="center" prop="qrcodeUseTime" />