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