liding
2026-04-15 a4057a4ccd9d0da5f7dc7b5f75b552a06ce8bb30
fix:发货分批发货
已修改2个文件
18 ■■■■ 文件已修改
src/views/customerService/feedbackRegistration/components/formDia.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/salesManagement/salesLedger/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/customerService/feedbackRegistration/components/formDia.vue
@@ -318,6 +318,9 @@
  if (row.shippingDate || row.shippingCarNumber) {
    return '已发货'
  }
  if (row.shippingStatus === '发货中') {
    return '发货中'
  }
  const status = row.shippingStatus
  if (status === null || status === undefined || status === '') {
    return '待发货'
@@ -328,7 +331,8 @@
    '审核中': '审核中',
    '审核拒绝': '审核拒绝',
    '审核通过': '审核通过',
    '已发货': '已发货'
    '已发货': '已发货',
    '发货中': '发货中'
  }
  return map[String(status).trim()] || '待发货'
}
@@ -348,7 +352,8 @@
    '审核中': 'warning',
    '审核拒绝': 'danger',
    '审核通过': 'success',
    '已发货': 'success'
    '已发货': 'success',
    '发货中': 'success'
  }
  return map[String(status).trim()] || 'info'
}
src/views/salesManagement/salesLedger/index.vue
@@ -2202,6 +2202,9 @@
 */
const getShippingStatusText = (row) => {
  // 如果已发货(有发货日期或车牌号),显示"已发货"
  if(row.shippingStatus === '发货中') {
    return '发货中';
  }
  if (row.shippingDate || row.shippingCarNumber) {
    return '已发货';
  }
@@ -2222,7 +2225,8 @@
    '审核中': '审核中',
    '审核拒绝': '审核拒绝',
    '审核通过': '审核通过',
    '已发货': '已发货'
    '已发货': '已发货',
    '发货中': '发货中'
  };
  return statusTextMap[statusStr] || '待发货';
};
@@ -2253,7 +2257,8 @@
    '审核中': 'warning',
    '审核拒绝': 'danger',
    '审核通过': 'success',
    '已发货': 'success'
    '已发货': 'success',
    '发货中': 'success',
  };
  return typeTextMap[statusStr] || 'info';
};