@freedom_sky/feige-lib 4.59.1 → 4.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/const/const.d.ts +6 -0
- package/dist/const/const.js +1005 -813
- package/dist/index.js +1 -3
- package/dist/interfaces/user/user.interface.d.ts +1 -0
- package/josn-hub/orders//350/207/252/345/212/251/351/244/220/347/232/204/346/203/205/345/206/265.ts +665 -0
- package/josn-hub/orders//351/203/250/345/210/206/351/200/200/350/217/234/347/232/204/346/203/205/345/206/265.ts +73 -0
- package/package.json +1 -1
- package/src/const/const.ts +1008 -814
- package/src/index.spec.ts +8 -0
- package/src/index.ts +1 -4
- package/src/interfaces/user/user.interface.ts +1 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// 总价应该是23.2
|
|
2
|
+
export const order: any = {
|
|
3
|
+
_id: '658e5ff5fca6bd001ad1f284',
|
|
4
|
+
buffet: {
|
|
5
|
+
taxes: [],
|
|
6
|
+
},
|
|
7
|
+
checkoutFirst: false,
|
|
8
|
+
printed: [],
|
|
9
|
+
printerPrinted: [],
|
|
10
|
+
kdsPrinted: [],
|
|
11
|
+
printStatus: 'NotPrinted',
|
|
12
|
+
operatorId: null,
|
|
13
|
+
salesmanId: null,
|
|
14
|
+
status: 'processing',
|
|
15
|
+
payed: false,
|
|
16
|
+
noTax: false,
|
|
17
|
+
reserveTime: null,
|
|
18
|
+
selfPickUp: false,
|
|
19
|
+
pack: false,
|
|
20
|
+
storeId: '5fdf7149f973ec00135fa626',
|
|
21
|
+
tableNum: '20AAA',
|
|
22
|
+
content: [
|
|
23
|
+
{
|
|
24
|
+
delivering: 3,
|
|
25
|
+
finished: 0,
|
|
26
|
+
retreated: 1,
|
|
27
|
+
_id: '658e5ff5fca6bd001ad1f285',
|
|
28
|
+
dishSnapshot: {
|
|
29
|
+
names: {
|
|
30
|
+
vi: '可乐Coca',
|
|
31
|
+
},
|
|
32
|
+
descriptions: {
|
|
33
|
+
vi: '',
|
|
34
|
+
},
|
|
35
|
+
units: {
|
|
36
|
+
vi: null,
|
|
37
|
+
},
|
|
38
|
+
type: 'Normal',
|
|
39
|
+
description: '',
|
|
40
|
+
soldOut: false,
|
|
41
|
+
required: false,
|
|
42
|
+
specifications: [],
|
|
43
|
+
salesType: ['dine', 'takeout'],
|
|
44
|
+
takeoutPrice: null,
|
|
45
|
+
__v: 1,
|
|
46
|
+
date: '2022-04-22T00:02:00.894Z',
|
|
47
|
+
_id: '6261f078a108d8001a088f36',
|
|
48
|
+
name: '可乐Coca',
|
|
49
|
+
price: 20000,
|
|
50
|
+
img: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/898393196/1650585714021-eabHK2a3aA.jpg',
|
|
51
|
+
chef: null,
|
|
52
|
+
selectedSpecifications: [],
|
|
53
|
+
noFullOrderDiscount: false,
|
|
54
|
+
taxes: [],
|
|
55
|
+
},
|
|
56
|
+
count: 3,
|
|
57
|
+
date: '2023-12-29T05:58:13.238Z',
|
|
58
|
+
retreatReason: null,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
clientId: '432427e0-a60e-11ee-b732-cf7d64356d46',
|
|
62
|
+
type: 'table',
|
|
63
|
+
tasks: [],
|
|
64
|
+
priceHaveTaxBindOrderTaxes: [],
|
|
65
|
+
serialOrderId: '20231229-12',
|
|
66
|
+
checkout: [],
|
|
67
|
+
process: [],
|
|
68
|
+
taxes: [],
|
|
69
|
+
date: '2023-12-29T05:58:13.240Z',
|
|
70
|
+
__v: 9,
|
|
71
|
+
autoCleanTime: '2023-12-29T05:58:13.264Z',
|
|
72
|
+
};
|
|
73
|
+
export const expectPrice = 60000;
|