Files

78 lines
1.4 KiB
JavaScript
Raw Normal View History

2023-11-14 17:21:03 +08:00
/**
* @name: index.data
* @author: kahu4
* @date: 2023-11-07 18:16
* @descriptionindex.data
* @update: 2023-11-07 18:16
* */
import { aliIcon, balanceIcon, wechatIcon } from "@/utils/images";
2023-11-14 17:21:03 +08:00
import { PayType } from "@/utils/paymentUtils";
export const addressTabs = [
{
label: '配送到家',
value: 1
2023-11-14 17:21:03 +08:00
},
{
label: '门店自取',
value: 2
2023-11-14 17:21:03 +08:00
}
]
export const discountsPriceRows = [
{
label: '优惠',
field: 'couponPrice',
prefix: '-¥'
},
{
label: '运费',
field: 'storePostage',
prefix: '+¥'
}
]
export const payRows = [
{
label: '微信支付',
eLabel: 'Wechat Pay',
icon: wechatIcon,
type: PayType["0"],
disabled: false
},
{
label: '余额支付',
eLabel: 'Balance Pay',
icon: balanceIcon,
type: PayType["1"],
disabled: false
},
2023-11-14 17:21:03 +08:00
{
label: '支付宝支付',
eLabel: 'ALi Pay',
icon: aliIcon,
type: PayType["2"],
disabled: true
},
2023-11-14 17:21:03 +08:00
]
export const priceRows = [
{
label: '商品总价',
field: 'costPrice',
prefix: '¥'
},
{
label: '优惠',
field: 'couponPrice',
prefix: '-¥'
},
{
label: '运费',
field: 'storePostage',
prefix: '¥'
}
]