forked from yoone/WEB
feat(订单列表): 添加最优物流作为默认快递公司选项
This commit is contained in:
parent
7db92c6771
commit
b04e6954b5
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue