fix: 修改订单列表查询支付方式列表数据
This commit is contained in:
parent
4570a543ed
commit
3b7927503d
|
|
@ -10,32 +10,62 @@ export const statusOptions: statusOptions[] = [
|
||||||
{ label: "部分退单", value: "part-refund" },
|
{ label: "部分退单", value: "part-refund" },
|
||||||
{ label: "取消订单", value: "cancelled" },
|
{ label: "取消订单", value: "cancelled" },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 主扫
|
||||||
|
// */
|
||||||
|
// MAIN_SCAN("main_scan", "主扫"),
|
||||||
|
// /**
|
||||||
|
// * 被扫
|
||||||
|
// */
|
||||||
|
// BACK_SCAN("back_scan", "被扫"),
|
||||||
|
// /**
|
||||||
|
// * 微信小程序
|
||||||
|
// */
|
||||||
|
// WECHAT_MINI("wechat_mini", "微信小程序"),
|
||||||
|
// /**
|
||||||
|
// * 支付宝小程序
|
||||||
|
// */
|
||||||
|
// ALIPAY_MINI("alipay_mini", "支付宝小程序"),
|
||||||
|
// /**
|
||||||
|
// * 会员支付
|
||||||
|
// */
|
||||||
|
// VIP_PAY("vip_pay", "会员支付"),
|
||||||
|
// /**
|
||||||
|
// * 现金支付
|
||||||
|
// */
|
||||||
|
// CASH_PAY("cash_pay", "现金支付"),
|
||||||
|
// /**
|
||||||
|
// * 挂账支付
|
||||||
|
// */
|
||||||
|
// CREDIT_PAY("credit_pay", "挂账支付"),
|
||||||
|
// /**
|
||||||
|
// * h5支付
|
||||||
|
// */
|
||||||
|
// H5_PAY("h5_pay", "H5支付");
|
||||||
export const payTypeOptions: payTypeOptions[] = [
|
export const payTypeOptions: payTypeOptions[] = [
|
||||||
{ label: "全部", value: "" },
|
{ label: "全部", value: "" },
|
||||||
{
|
{
|
||||||
label: "现金",
|
label: "主扫",
|
||||||
value: "cash",
|
value: "main_scan",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "银行卡",
|
label: "被扫",
|
||||||
value: "bank",
|
value: "back_scan",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "扫码支付",
|
label: "微信小程序",
|
||||||
value: "scanCode",
|
value: "wechat_mini",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "储值卡",
|
label: "支付宝小程序",
|
||||||
value: "deposit",
|
value: "alipay_mini",
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "会员支付",
|
|
||||||
value: "vipPay",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "挂账",
|
|
||||||
value: "arrears",
|
|
||||||
},
|
},
|
||||||
|
{ label: "会员支付", value: "vip_pay" },
|
||||||
|
{ label: "现金支付", value: "cash_pay" },
|
||||||
|
{ label: "挂账支付", value: "credit_pay" },
|
||||||
|
{ label: "H5支付", value: "h5_pay" },
|
||||||
|
|
||||||
];
|
];
|
||||||
export const options: { [key in optionsType]: options[] } = {
|
export const options: { [key in optionsType]: options[] } = {
|
||||||
status: statusOptions,
|
status: statusOptions,
|
||||||
|
|
@ -82,16 +112,7 @@ export interface statusOptions extends options {
|
||||||
value: statusType;
|
value: statusType;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type payTypeValue =
|
export type payTypeValue = string
|
||||||
| ""
|
|
||||||
| "cash"
|
|
||||||
| "bank"
|
|
||||||
| "scanCode"
|
|
||||||
| "deposit"
|
|
||||||
| "vipPay"
|
|
||||||
| "arrears"
|
|
||||||
| "virtual"
|
|
||||||
| "arrears";
|
|
||||||
|
|
||||||
export interface payTypeOptions extends options {
|
export interface payTypeOptions extends options {
|
||||||
value: payTypeValue;
|
value: payTypeValue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue