src/views/salesManagement/salesLedger/index.vue
@@ -1964,26 +1964,23 @@
   // 状态是字符串
   const statusStr = String(status).trim();
   
   // 如果状态是"已撤销",直接返回
   if (statusStr === '已撤销') {
      return '已撤销';
   }
   // 如果已发货(有发货日期或车牌号),显示"已发货"
   if (row.shippingDate || row.shippingCarNumber) {
      return '已发货';
   }
   const statusTextMap = {
      '待发货': '待发货',
      '待审核': '待审核',
      '审核中': '审核中',
      '发货中': '发货中',
      '审核拒绝': '审核拒绝',
      '审核通过': '审核通过',
      '已发货': '已发货',
      '已撤销': '已撤销'
   };
   return statusTextMap[statusStr] || '待发货';
   // 如果状态在映射表中,直接返回对应文本
   if (statusTextMap[statusStr]) {
      return statusTextMap[statusStr];
   }
   return '待发货';
};
/**
@@ -2002,16 +1999,6 @@
   // 状态是字符串
   const statusStr = String(status).trim();
   
   // 如果状态是"已撤销",显示橙色
   if (statusStr === '已撤销') {
      return 'warning';
   }
   // 如果已发货(有发货日期或车牌号),显示绿色
   if (row.shippingDate || row.shippingCarNumber) {
      return 'success';
   }
   const typeTextMap = {
      '待发货': 'info',
      '待审核': 'info',
@@ -2019,9 +2006,16 @@
      '审核拒绝': 'danger',
      '已撤销': 'warning',
      '审核通过': 'success',
      '已发货': 'success'
      '已发货': 'success',
      '发货中': 'warning'
   };
   return typeTextMap[statusStr] || 'info';
   // 如果状态在映射表中,直接返回对应类型
   if (typeTextMap[statusStr]) {
      return typeTextMap[statusStr];
   }
   return 'info';
};
/**