Commit b1a98583 authored by XieZhiXiong's avatar XieZhiXiong

chore: 添加配送方式常量

parent 581007c5
......@@ -406,6 +406,18 @@ export const ORDER_TYPE = ['',
]
// 提货方式
/**
* 物流
*/
export const DELIVERY_TYPE_LOGISTICS = 1;
/**
* 自提
*/
export const DELIVERY_TYPE_SELF_PICKUP = 2;
/**
* 无须配送
*/
export const DELIVERY_TYPE_NO_DELIVERY = 3;
export const DELIVERY_TYPE = ['',
'物流',
'自提',
......@@ -413,9 +425,9 @@ export const DELIVERY_TYPE = ['',
]
export const DELIVERY_TYPE_ENUM = [
{ label: '物流', value: 1 },
{ label: '自提', value: 2 },
{ label: '无需配送', value: 3 },
{ label: '物流', value: DELIVERY_TYPE_LOGISTICS },
{ label: '自提', value: DELIVERY_TYPE_SELF_PICKUP },
{ label: '无需配送', value: DELIVERY_TYPE_NO_DELIVERY },
]
// 仓位状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment