forked from yoone/WEB
1
0
Fork 0

feat(订单列表): 添加最优物流作为默认快递公司选项

This commit is contained in:
zhuotianyuan 2026-01-28 16:43:49 +08:00
parent 021a444a5c
commit 52491cdbe4
1 changed files with 2 additions and 0 deletions

View File

@ -1202,6 +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: 'UNIUNI', value: 'UNIUNI' }, { label: 'UNIUNI', value: 'UNIUNI' },
{ label: 'PuroYYZ', value: 'PuroYYZ' }, { label: 'PuroYYZ', value: 'PuroYYZ' },
{ label: 'CPYYZ', value: 'CPYYZ' }, { label: 'CPYYZ', value: 'CPYYZ' },
@ -1258,6 +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: '最优物流',
...data, ...data,
// payment_method_id: shipmentInfo?.payment_method_id, // payment_method_id: shipmentInfo?.payment_method_id,
stockPointId: shipmentInfo?.stockPointId, stockPointId: shipmentInfo?.stockPointId,