feat:饭卡激活
This commit is contained in:
1 parent
72443f7abf
commit
9a98ac8e1c
20 files changed
+665
-154
No files matched your search
@@ -56,22 +56,28 @@ enum OrderPayType implements BaseEnum {
|
||||
/// 订单状态
|
||||
enum OrderStatus implements BaseEnum {
|
||||
// 查询使用
|
||||
TOTAL("-1", "全部"),
|
||||
TOTAL("-1", "全部", true),
|
||||
|
||||
CREATE("1", "未付款"),
|
||||
OFFLINE_CREATE("2", "离线创建订单(未支付)"),
|
||||
PAY("5", "已付款"),
|
||||
OFFLINE_PAY("6", "本地支付"),
|
||||
REFUND("10", "退款"),
|
||||
CANCEL("20", "已核销"),
|
||||
CREATE("1", "未付款", true),
|
||||
OFFLINE_CREATE("2", "离线创建订单(未支付)", false),
|
||||
PAY("5", "已付款", true),
|
||||
OFFLINE_PAY("6", "本地支付", true),
|
||||
REFUND("10", "退款", true),
|
||||
CANCEL("20", "已核销", false),
|
||||
;
|
||||
|
||||
@override
|
||||
final String code;
|
||||
@override
|
||||
final String title;
|
||||
@override
|
||||
final bool visible;
|
||||
|
||||
const OrderStatus(this.code, this.title);
|
||||
const OrderStatus(this.code, this.title, this.visible);
|
||||
|
||||
static List<OrderStatus> visibleList() {
|
||||
return OrderStatus.values.where((e) => e.visible).toList();
|
||||
}
|
||||
}
|
||||
|
||||
// 打印状态
|
||||
|
||||
Reference in new issue
Block a user