Explorar el Código

fix(create-order): 修复订单列表中购买主体显示错误

- 将个人和企业的显示逻辑反转,确保正确显示
- 优化代码可读性,提高维护效率

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe hace 1 mes
padre
commit
55806eeb83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/create-order/order-list.vue

+ 1 - 1
src/views/create-order/order-list.vue

@@ -472,7 +472,7 @@ export default {
           key: 'buy_subject',
           align: 'center',
           render: (h, {row}) => {
-            return h('span', row.buy_subject === 1 ? '个人' : '企业')
+            return h('span', row.buy_subject === 2 ? '企业' : '个人')
           }
         },
         {