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

将"最佳物流"对应的value值从"最优物流"改为空字符串,以保持数据一致性
This commit is contained in:
zhuotianyuan 2026-01-29 11:03:50 +08:00
parent ce88a73361
commit 9495895ff1
1 changed files with 2 additions and 2 deletions

View File

@ -1202,7 +1202,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' },
@ -1259,7 +1259,7 @@ const Shipping: React.FC<{
if (shipmentInfo) shipmentInfo = JSON.parse(shipmentInfo); if (shipmentInfo) shipmentInfo = JSON.parse(shipmentInfo);
return { return {
shipmentPlatform: 'freightwaves', shipmentPlatform: 'freightwaves',
courierCompany: '最优物流', courierCompany: '',
...data, ...data,
// payment_method_id: shipmentInfo?.payment_method_id, // payment_method_id: shipmentInfo?.payment_method_id,
stockPointId: shipmentInfo?.stockPointId, stockPointId: shipmentInfo?.stockPointId,