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'; };