diff --git a/src/common/dicts/goods.js b/src/common/dicts/goods.js new file mode 100644 index 0000000..6009067 --- /dev/null +++ b/src/common/dicts/goods.js @@ -0,0 +1,19 @@ +/* + * @Author: ch + * @Date: 2022-05-26 15:39:52 + * @LastEditors: ch + * @LastEditTime: 2022-05-26 15:47:28 + * @Description: file content + */ + +// 商品类型 +const GOODS_TYPE = { + // 虚拟 + VIRTUAL: 2, + // 实物 + ENTITY : 1 +} + +export { + GOODS_TYPE +} \ No newline at end of file diff --git a/src/common/dicts/order.js b/src/common/dicts/order.js index a412175..f9adb0b 100644 --- a/src/common/dicts/order.js +++ b/src/common/dicts/order.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-05-26 11:49:16 * @LastEditors: ch - * @LastEditTime: 2022-05-26 14:16:49 + * @LastEditTime: 2022-05-26 17:00:06 * @Description: file content */ @@ -11,6 +11,13 @@ export const ORDER_STATUS = { // 待支付 AWAIT_PAY: 1 } -export const ORDER_SOURCE = { - +export const ORDER_TYPE = { + //(1, "普通订单"), + NORMAL: 1, + //(2, "免费订单"), + FREE: 2, + //(3, "秒杀订单"), + SECKILL: 3, + //(4, "虚拟商品订单"), + VIRTUAL : 4 } \ No newline at end of file diff --git a/src/pages/goods/detail/components/SkuPopup.vue b/src/pages/goods/detail/components/SkuPopup.vue index 9c9b229..6486b24 100644 --- a/src/pages/goods/detail/components/SkuPopup.vue +++ b/src/pages/goods/detail/components/SkuPopup.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-24 11:30:55 * @LastEditors: ch - * @LastEditTime: 2022-05-25 15:55:43 + * @LastEditTime: 2022-05-26 15:43:55 * @Description: file content -->