Parcourir la source

feat(goodsDetail): 更新状态显示逻辑,区分已发货、已收货和驳回状态

xieyong il y a 5 jours
Parent
commit
f80e802edb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/beEntrusted/components/goodsDetail.vue

+ 1 - 1
src/views/beEntrusted/components/goodsDetail.vue

@@ -45,7 +45,7 @@
       </template>
 
       <template v-slot:status="{ row }">
-        <span>{{ row.status == 1 ? "已发货" : "已收货" }}</span>
+        <span>{{ row.status == 1 ? "已发货" : row.status == 2 ? "已收货" : "驳回"}}</span>
       </template>
     </ele-pro-table>