forked from yoone/WEB
1
0
Fork 0

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

This commit is contained in:
zhuotianyuan 2026-01-28 16:43:49 +08:00 committed by longbot
parent 7db92c6771
commit b04e6954b5
1 changed files with 2 additions and 0 deletions

View File

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