fix(订单列表): 修正物流公司默认值为空字符串

将"最佳物流"对应的值从"最优物流"改为空字符串,以保持数据一致性
This commit is contained in:
zhuotianyuan 2026-01-30 14:57:23 +08:00
parent 9429df1db7
commit 8190dc92eb
1 changed files with 2 additions and 2 deletions

View File

@ -1386,7 +1386,7 @@ const Shipping: React.FC<{
{ label: 'tms.freightwaves', value: 'freightwaves' }, { label: 'tms.freightwaves', value: 'freightwaves' },
]); ]);
const [courierCompany, setCourierCompany] = useState([ const [courierCompany, setCourierCompany] = useState([
{ label: '最佳物流', value: '最优物流' }, { label: '最佳物流', value: '' },
{ label: 'UNIUNI', value: 'UNIUNI' }, { label: 'UNIUNI', value: 'UNIUNI' },
{ label: 'PuroYYZ', value: 'PuroYYZ' }, { label: 'PuroYYZ', value: 'PuroYYZ' },
{ label: 'CPYYZ', value: 'CPYYZ' }, { label: 'CPYYZ', value: 'CPYYZ' },
@ -1445,7 +1445,7 @@ const Shipping: React.FC<{
if (shipmentInfo) shipmentInfo = JSON.parse(shipmentInfo); if (shipmentInfo) shipmentInfo = JSON.parse(shipmentInfo);
const a = { const a = {
shipmentPlatform: 'uniuni', shipmentPlatform: 'uniuni',
courierCompany: '最优物流', courierCompany: '',
...data, ...data,
// payment_method_id: shipmentInfo?.payment_method_id, // payment_method_id: shipmentInfo?.payment_method_id,
stockPointId: shipmentInfo?.stockPointId, stockPointId: shipmentInfo?.stockPointId,