@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-dev.1
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/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
- package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
- package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
- package/dist/BindingsTable-DypE3NR_.js +145 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
- package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
- package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
- package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
- package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
- package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
- package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
- package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
- package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
- package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
- package/dist/api/inventory.d.ts +104 -5
- package/dist/api/stock.d.ts +8 -0
- package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
- package/dist/app.d.ts +6 -0
- package/dist/app.js +3 -3
- package/dist/components/FmUnitInputProps.d.ts +1 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
- package/dist/{decimal-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
- package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
- package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
- package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
- package/dist/stores/inventory.d.ts +4 -4
- package/dist/stores/location.d.ts +308 -1612
- package/dist/style.css +1 -1
- package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
- package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
- package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
- package/package.json +3 -3
- package/dist/BindingsTable-DEftAnTN.js +0 -120
- package/dist/IngredientsView-Au6oRwF2.js +0 -1663
- package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
- package/dist/format-unit-display-DJpElzu_.js +0 -707
|
@@ -2,11 +2,149 @@ import { type ColumnDef } from '@feedmepos/ui-library';
|
|
|
2
2
|
export declare function useTransferTemplateTable(): {
|
|
3
3
|
columnDefs: ColumnDef<{
|
|
4
4
|
_rev?: string | null | undefined;
|
|
5
|
+
locations?: ({
|
|
6
|
+
doc?: any;
|
|
7
|
+
type: "restaurant";
|
|
8
|
+
name: string;
|
|
9
|
+
acceptRequest: boolean;
|
|
10
|
+
dbName: string;
|
|
11
|
+
} | {
|
|
12
|
+
type: "warehouse";
|
|
13
|
+
name: string;
|
|
14
|
+
acceptRequest: boolean;
|
|
15
|
+
dbName: string;
|
|
16
|
+
doc: {
|
|
17
|
+
pf_business?: {
|
|
18
|
+
internal?: boolean | null | undefined;
|
|
19
|
+
url?: string | null | undefined;
|
|
20
|
+
expiredAt?: string | null | undefined;
|
|
21
|
+
agentId?: string | null | undefined;
|
|
22
|
+
restaurantTagGroups?: {
|
|
23
|
+
name: string;
|
|
24
|
+
id: string;
|
|
25
|
+
tags: {
|
|
26
|
+
name: string;
|
|
27
|
+
id: string;
|
|
28
|
+
}[];
|
|
29
|
+
}[] | null | undefined;
|
|
30
|
+
pf_agent?: {
|
|
31
|
+
clickupId?: string | null | undefined;
|
|
32
|
+
members?: {
|
|
33
|
+
pf_user?: {
|
|
34
|
+
email?: string | null | undefined;
|
|
35
|
+
phoneNumber?: string | null | undefined;
|
|
36
|
+
birthday?: string | null | undefined;
|
|
37
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
38
|
+
addresses?: {
|
|
39
|
+
name: string;
|
|
40
|
+
address: string;
|
|
41
|
+
coordinates: number[];
|
|
42
|
+
}[] | null | undefined;
|
|
43
|
+
photoURL?: string | null | undefined;
|
|
44
|
+
displayName?: string | null | undefined;
|
|
45
|
+
imported?: {
|
|
46
|
+
raw: Record<string, any>;
|
|
47
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
48
|
+
} | null | undefined;
|
|
49
|
+
_id: string;
|
|
50
|
+
} | null | undefined;
|
|
51
|
+
role: "ADMIN";
|
|
52
|
+
userId: string;
|
|
53
|
+
}[] | null | undefined;
|
|
54
|
+
code: string;
|
|
55
|
+
name: string;
|
|
56
|
+
_id: string;
|
|
57
|
+
isReseller: boolean;
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
thumbnail?: string | null | undefined;
|
|
60
|
+
billingInfos?: {
|
|
61
|
+
_id?: string | null | undefined;
|
|
62
|
+
name: string;
|
|
63
|
+
address: {
|
|
64
|
+
coordinates?: number[] | null | undefined;
|
|
65
|
+
line2?: string | null | undefined;
|
|
66
|
+
state: string;
|
|
67
|
+
country: string;
|
|
68
|
+
line1: string;
|
|
69
|
+
city: string;
|
|
70
|
+
postcode: string;
|
|
71
|
+
};
|
|
72
|
+
email: string;
|
|
73
|
+
companyName: string;
|
|
74
|
+
contact: string;
|
|
75
|
+
}[] | null | undefined;
|
|
76
|
+
customerDisplayImages?: {
|
|
77
|
+
url: string;
|
|
78
|
+
restaurantIds: string[];
|
|
79
|
+
}[] | null | undefined;
|
|
80
|
+
name: string;
|
|
81
|
+
_id: string;
|
|
82
|
+
ownerId: string;
|
|
83
|
+
restaurantQuota: number;
|
|
84
|
+
warehouseQuota: number;
|
|
85
|
+
menuVersion: string;
|
|
86
|
+
} | null | undefined;
|
|
87
|
+
_id: string;
|
|
88
|
+
businessId: string;
|
|
89
|
+
profile: {
|
|
90
|
+
email?: string | null | undefined;
|
|
91
|
+
phoneNo?: string | null | undefined;
|
|
92
|
+
name: string;
|
|
93
|
+
address: {
|
|
94
|
+
coordinates?: number[] | null | undefined;
|
|
95
|
+
line2?: string | null | undefined;
|
|
96
|
+
state: string;
|
|
97
|
+
country: string;
|
|
98
|
+
line1: string;
|
|
99
|
+
city: string;
|
|
100
|
+
postcode: string;
|
|
101
|
+
};
|
|
102
|
+
regNo: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
})[] | null | undefined;
|
|
5
106
|
_id: string;
|
|
6
107
|
name: string;
|
|
7
108
|
purchaseOrder: {
|
|
8
109
|
remark?: string | null | undefined;
|
|
9
110
|
ref?: string | null | undefined;
|
|
111
|
+
supplier?: {
|
|
112
|
+
phoneNumber?: string | null | undefined;
|
|
113
|
+
email?: string | null | undefined;
|
|
114
|
+
_rev?: string | null | undefined;
|
|
115
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
116
|
+
contactName?: string | null | undefined;
|
|
117
|
+
registrationNumber?: string | undefined;
|
|
118
|
+
supplyItems?: {
|
|
119
|
+
defaultCost: {
|
|
120
|
+
measurement?: {
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
abbrev: string;
|
|
124
|
+
conversion: {
|
|
125
|
+
amount: number;
|
|
126
|
+
precision: number;
|
|
127
|
+
};
|
|
128
|
+
} | null | undefined;
|
|
129
|
+
costPerUnit: {
|
|
130
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
131
|
+
amount: number;
|
|
132
|
+
precision: number;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
skuId: string;
|
|
136
|
+
}[] | null | undefined;
|
|
137
|
+
_id: string;
|
|
138
|
+
name: string;
|
|
139
|
+
address: {
|
|
140
|
+
line2?: string | null | undefined;
|
|
141
|
+
line1: string;
|
|
142
|
+
state: string;
|
|
143
|
+
city: string;
|
|
144
|
+
postcode: string;
|
|
145
|
+
country: string;
|
|
146
|
+
};
|
|
147
|
+
} | undefined;
|
|
10
148
|
template?: string | null | undefined;
|
|
11
149
|
stockSnapshotId?: string | null | undefined;
|
|
12
150
|
effectiveAt?: string | null | undefined;
|
|
@@ -64,11 +202,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
64
202
|
precision: number;
|
|
65
203
|
};
|
|
66
204
|
} | null | undefined;
|
|
67
|
-
operationalGroup?: string | null | undefined;
|
|
68
205
|
thresholds?: {
|
|
69
206
|
low: number;
|
|
70
207
|
mid: number;
|
|
71
208
|
} | null | undefined;
|
|
209
|
+
operationalGroup?: string | null | undefined;
|
|
72
210
|
unit: {
|
|
73
211
|
_id: string;
|
|
74
212
|
name: string;
|
|
@@ -107,7 +245,117 @@ export declare function useTransferTemplateTable(): {
|
|
|
107
245
|
precision: number;
|
|
108
246
|
};
|
|
109
247
|
}[];
|
|
110
|
-
|
|
248
|
+
};
|
|
249
|
+
}>[];
|
|
250
|
+
locationTemplates: import("vue").Ref<{
|
|
251
|
+
_rev?: string | null | undefined;
|
|
252
|
+
locations?: ({
|
|
253
|
+
doc?: any;
|
|
254
|
+
type: "restaurant";
|
|
255
|
+
name: string;
|
|
256
|
+
acceptRequest: boolean;
|
|
257
|
+
dbName: string;
|
|
258
|
+
} | {
|
|
259
|
+
type: "warehouse";
|
|
260
|
+
name: string;
|
|
261
|
+
acceptRequest: boolean;
|
|
262
|
+
dbName: string;
|
|
263
|
+
doc: {
|
|
264
|
+
pf_business?: {
|
|
265
|
+
internal?: boolean | null | undefined;
|
|
266
|
+
url?: string | null | undefined;
|
|
267
|
+
expiredAt?: string | null | undefined;
|
|
268
|
+
agentId?: string | null | undefined;
|
|
269
|
+
restaurantTagGroups?: {
|
|
270
|
+
name: string;
|
|
271
|
+
id: string;
|
|
272
|
+
tags: {
|
|
273
|
+
name: string;
|
|
274
|
+
id: string;
|
|
275
|
+
}[];
|
|
276
|
+
}[] | null | undefined;
|
|
277
|
+
pf_agent?: {
|
|
278
|
+
clickupId?: string | null | undefined;
|
|
279
|
+
members?: {
|
|
280
|
+
pf_user?: {
|
|
281
|
+
email?: string | null | undefined;
|
|
282
|
+
phoneNumber?: string | null | undefined;
|
|
283
|
+
birthday?: string | null | undefined;
|
|
284
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
285
|
+
addresses?: {
|
|
286
|
+
name: string;
|
|
287
|
+
address: string;
|
|
288
|
+
coordinates: number[];
|
|
289
|
+
}[] | null | undefined;
|
|
290
|
+
photoURL?: string | null | undefined;
|
|
291
|
+
displayName?: string | null | undefined;
|
|
292
|
+
imported?: {
|
|
293
|
+
raw: Record<string, any>;
|
|
294
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
295
|
+
} | null | undefined;
|
|
296
|
+
_id: string;
|
|
297
|
+
} | null | undefined;
|
|
298
|
+
role: "ADMIN";
|
|
299
|
+
userId: string;
|
|
300
|
+
}[] | null | undefined;
|
|
301
|
+
code: string;
|
|
302
|
+
name: string;
|
|
303
|
+
_id: string;
|
|
304
|
+
isReseller: boolean;
|
|
305
|
+
} | null | undefined;
|
|
306
|
+
thumbnail?: string | null | undefined;
|
|
307
|
+
billingInfos?: {
|
|
308
|
+
_id?: string | null | undefined;
|
|
309
|
+
name: string;
|
|
310
|
+
address: {
|
|
311
|
+
coordinates?: number[] | null | undefined;
|
|
312
|
+
line2?: string | null | undefined;
|
|
313
|
+
state: string;
|
|
314
|
+
country: string;
|
|
315
|
+
line1: string;
|
|
316
|
+
city: string;
|
|
317
|
+
postcode: string;
|
|
318
|
+
};
|
|
319
|
+
email: string;
|
|
320
|
+
companyName: string;
|
|
321
|
+
contact: string;
|
|
322
|
+
}[] | null | undefined;
|
|
323
|
+
customerDisplayImages?: {
|
|
324
|
+
url: string;
|
|
325
|
+
restaurantIds: string[];
|
|
326
|
+
}[] | null | undefined;
|
|
327
|
+
name: string;
|
|
328
|
+
_id: string;
|
|
329
|
+
ownerId: string;
|
|
330
|
+
restaurantQuota: number;
|
|
331
|
+
warehouseQuota: number;
|
|
332
|
+
menuVersion: string;
|
|
333
|
+
} | null | undefined;
|
|
334
|
+
_id: string;
|
|
335
|
+
businessId: string;
|
|
336
|
+
profile: {
|
|
337
|
+
email?: string | null | undefined;
|
|
338
|
+
phoneNo?: string | null | undefined;
|
|
339
|
+
name: string;
|
|
340
|
+
address: {
|
|
341
|
+
coordinates?: number[] | null | undefined;
|
|
342
|
+
line2?: string | null | undefined;
|
|
343
|
+
state: string;
|
|
344
|
+
country: string;
|
|
345
|
+
line1: string;
|
|
346
|
+
city: string;
|
|
347
|
+
postcode: string;
|
|
348
|
+
};
|
|
349
|
+
regNo: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
})[] | null | undefined;
|
|
353
|
+
_id: string;
|
|
354
|
+
name: string;
|
|
355
|
+
purchaseOrder: {
|
|
356
|
+
remark?: string | null | undefined;
|
|
357
|
+
ref?: string | null | undefined;
|
|
358
|
+
supplier?: {
|
|
111
359
|
phoneNumber?: string | null | undefined;
|
|
112
360
|
email?: string | null | undefined;
|
|
113
361
|
_rev?: string | null | undefined;
|
|
@@ -143,16 +391,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
143
391
|
postcode: string;
|
|
144
392
|
country: string;
|
|
145
393
|
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
}>[];
|
|
149
|
-
locationTemplates: import("vue").Ref<{
|
|
150
|
-
_rev?: string | null | undefined;
|
|
151
|
-
_id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
purchaseOrder: {
|
|
154
|
-
remark?: string | null | undefined;
|
|
155
|
-
ref?: string | null | undefined;
|
|
394
|
+
} | undefined;
|
|
156
395
|
template?: string | null | undefined;
|
|
157
396
|
stockSnapshotId?: string | null | undefined;
|
|
158
397
|
effectiveAt?: string | null | undefined;
|
|
@@ -210,11 +449,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
210
449
|
precision: number;
|
|
211
450
|
};
|
|
212
451
|
} | null | undefined;
|
|
213
|
-
operationalGroup?: string | null | undefined;
|
|
214
452
|
thresholds?: {
|
|
215
453
|
low: number;
|
|
216
454
|
mid: number;
|
|
217
455
|
} | null | undefined;
|
|
456
|
+
operationalGroup?: string | null | undefined;
|
|
218
457
|
unit: {
|
|
219
458
|
_id: string;
|
|
220
459
|
name: string;
|
|
@@ -253,7 +492,116 @@ export declare function useTransferTemplateTable(): {
|
|
|
253
492
|
precision: number;
|
|
254
493
|
};
|
|
255
494
|
}[];
|
|
256
|
-
|
|
495
|
+
};
|
|
496
|
+
}[], {
|
|
497
|
+
_rev?: string | null | undefined;
|
|
498
|
+
locations?: ({
|
|
499
|
+
doc?: any;
|
|
500
|
+
type: "restaurant";
|
|
501
|
+
name: string;
|
|
502
|
+
acceptRequest: boolean;
|
|
503
|
+
dbName: string;
|
|
504
|
+
} | {
|
|
505
|
+
type: "warehouse";
|
|
506
|
+
name: string;
|
|
507
|
+
acceptRequest: boolean;
|
|
508
|
+
dbName: string;
|
|
509
|
+
doc: {
|
|
510
|
+
pf_business?: {
|
|
511
|
+
internal?: boolean | null | undefined;
|
|
512
|
+
url?: string | null | undefined;
|
|
513
|
+
expiredAt?: string | null | undefined;
|
|
514
|
+
agentId?: string | null | undefined;
|
|
515
|
+
restaurantTagGroups?: {
|
|
516
|
+
name: string;
|
|
517
|
+
id: string;
|
|
518
|
+
tags: {
|
|
519
|
+
name: string;
|
|
520
|
+
id: string;
|
|
521
|
+
}[];
|
|
522
|
+
}[] | null | undefined;
|
|
523
|
+
pf_agent?: {
|
|
524
|
+
clickupId?: string | null | undefined;
|
|
525
|
+
members?: {
|
|
526
|
+
pf_user?: {
|
|
527
|
+
email?: string | null | undefined;
|
|
528
|
+
phoneNumber?: string | null | undefined;
|
|
529
|
+
birthday?: string | null | undefined;
|
|
530
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
531
|
+
addresses?: {
|
|
532
|
+
name: string;
|
|
533
|
+
address: string;
|
|
534
|
+
coordinates: number[];
|
|
535
|
+
}[] | null | undefined;
|
|
536
|
+
photoURL?: string | null | undefined;
|
|
537
|
+
displayName?: string | null | undefined;
|
|
538
|
+
imported?: {
|
|
539
|
+
raw: Record<string, any>;
|
|
540
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
541
|
+
} | null | undefined;
|
|
542
|
+
_id: string;
|
|
543
|
+
} | null | undefined;
|
|
544
|
+
role: "ADMIN";
|
|
545
|
+
userId: string;
|
|
546
|
+
}[] | null | undefined;
|
|
547
|
+
code: string;
|
|
548
|
+
name: string;
|
|
549
|
+
_id: string;
|
|
550
|
+
isReseller: boolean;
|
|
551
|
+
} | null | undefined;
|
|
552
|
+
thumbnail?: string | null | undefined;
|
|
553
|
+
billingInfos?: {
|
|
554
|
+
_id?: string | null | undefined;
|
|
555
|
+
name: string;
|
|
556
|
+
address: {
|
|
557
|
+
coordinates?: number[] | null | undefined;
|
|
558
|
+
line2?: string | null | undefined;
|
|
559
|
+
state: string;
|
|
560
|
+
country: string;
|
|
561
|
+
line1: string;
|
|
562
|
+
city: string;
|
|
563
|
+
postcode: string;
|
|
564
|
+
};
|
|
565
|
+
email: string;
|
|
566
|
+
companyName: string;
|
|
567
|
+
contact: string;
|
|
568
|
+
}[] | null | undefined;
|
|
569
|
+
customerDisplayImages?: {
|
|
570
|
+
url: string;
|
|
571
|
+
restaurantIds: string[];
|
|
572
|
+
}[] | null | undefined;
|
|
573
|
+
name: string;
|
|
574
|
+
_id: string;
|
|
575
|
+
ownerId: string;
|
|
576
|
+
restaurantQuota: number;
|
|
577
|
+
warehouseQuota: number;
|
|
578
|
+
menuVersion: string;
|
|
579
|
+
} | null | undefined;
|
|
580
|
+
_id: string;
|
|
581
|
+
businessId: string;
|
|
582
|
+
profile: {
|
|
583
|
+
email?: string | null | undefined;
|
|
584
|
+
phoneNo?: string | null | undefined;
|
|
585
|
+
name: string;
|
|
586
|
+
address: {
|
|
587
|
+
coordinates?: number[] | null | undefined;
|
|
588
|
+
line2?: string | null | undefined;
|
|
589
|
+
state: string;
|
|
590
|
+
country: string;
|
|
591
|
+
line1: string;
|
|
592
|
+
city: string;
|
|
593
|
+
postcode: string;
|
|
594
|
+
};
|
|
595
|
+
regNo: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
})[] | null | undefined;
|
|
599
|
+
_id: string;
|
|
600
|
+
name: string;
|
|
601
|
+
purchaseOrder: {
|
|
602
|
+
remark?: string | null | undefined;
|
|
603
|
+
ref?: string | null | undefined;
|
|
604
|
+
supplier?: {
|
|
257
605
|
phoneNumber?: string | null | undefined;
|
|
258
606
|
email?: string | null | undefined;
|
|
259
607
|
_rev?: string | null | undefined;
|
|
@@ -289,15 +637,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
289
637
|
postcode: string;
|
|
290
638
|
country: string;
|
|
291
639
|
};
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
}[], {
|
|
295
|
-
_rev?: string | null | undefined;
|
|
296
|
-
_id: string;
|
|
297
|
-
name: string;
|
|
298
|
-
purchaseOrder: {
|
|
299
|
-
remark?: string | null | undefined;
|
|
300
|
-
ref?: string | null | undefined;
|
|
640
|
+
} | undefined;
|
|
301
641
|
template?: string | null | undefined;
|
|
302
642
|
stockSnapshotId?: string | null | undefined;
|
|
303
643
|
effectiveAt?: string | null | undefined;
|
|
@@ -355,11 +695,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
355
695
|
precision: number;
|
|
356
696
|
};
|
|
357
697
|
} | null | undefined;
|
|
358
|
-
operationalGroup?: string | null | undefined;
|
|
359
698
|
thresholds?: {
|
|
360
699
|
low: number;
|
|
361
700
|
mid: number;
|
|
362
701
|
} | null | undefined;
|
|
702
|
+
operationalGroup?: string | null | undefined;
|
|
363
703
|
unit: {
|
|
364
704
|
_id: string;
|
|
365
705
|
name: string;
|
|
@@ -398,7 +738,116 @@ export declare function useTransferTemplateTable(): {
|
|
|
398
738
|
precision: number;
|
|
399
739
|
};
|
|
400
740
|
}[];
|
|
401
|
-
|
|
741
|
+
};
|
|
742
|
+
}[] | {
|
|
743
|
+
_rev?: string | null | undefined;
|
|
744
|
+
locations?: ({
|
|
745
|
+
doc?: any;
|
|
746
|
+
type: "restaurant";
|
|
747
|
+
name: string;
|
|
748
|
+
acceptRequest: boolean;
|
|
749
|
+
dbName: string;
|
|
750
|
+
} | {
|
|
751
|
+
type: "warehouse";
|
|
752
|
+
name: string;
|
|
753
|
+
acceptRequest: boolean;
|
|
754
|
+
dbName: string;
|
|
755
|
+
doc: {
|
|
756
|
+
pf_business?: {
|
|
757
|
+
internal?: boolean | null | undefined;
|
|
758
|
+
url?: string | null | undefined;
|
|
759
|
+
expiredAt?: string | null | undefined;
|
|
760
|
+
agentId?: string | null | undefined;
|
|
761
|
+
restaurantTagGroups?: {
|
|
762
|
+
name: string;
|
|
763
|
+
id: string;
|
|
764
|
+
tags: {
|
|
765
|
+
name: string;
|
|
766
|
+
id: string;
|
|
767
|
+
}[];
|
|
768
|
+
}[] | null | undefined;
|
|
769
|
+
pf_agent?: {
|
|
770
|
+
clickupId?: string | null | undefined;
|
|
771
|
+
members?: {
|
|
772
|
+
pf_user?: {
|
|
773
|
+
email?: string | null | undefined;
|
|
774
|
+
phoneNumber?: string | null | undefined;
|
|
775
|
+
birthday?: string | null | undefined;
|
|
776
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
777
|
+
addresses?: {
|
|
778
|
+
name: string;
|
|
779
|
+
address: string;
|
|
780
|
+
coordinates: number[];
|
|
781
|
+
}[] | null | undefined;
|
|
782
|
+
photoURL?: string | null | undefined;
|
|
783
|
+
displayName?: string | null | undefined;
|
|
784
|
+
imported?: {
|
|
785
|
+
raw: Record<string, any>;
|
|
786
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
787
|
+
} | null | undefined;
|
|
788
|
+
_id: string;
|
|
789
|
+
} | null | undefined;
|
|
790
|
+
role: "ADMIN";
|
|
791
|
+
userId: string;
|
|
792
|
+
}[] | null | undefined;
|
|
793
|
+
code: string;
|
|
794
|
+
name: string;
|
|
795
|
+
_id: string;
|
|
796
|
+
isReseller: boolean;
|
|
797
|
+
} | null | undefined;
|
|
798
|
+
thumbnail?: string | null | undefined;
|
|
799
|
+
billingInfos?: {
|
|
800
|
+
_id?: string | null | undefined;
|
|
801
|
+
name: string;
|
|
802
|
+
address: {
|
|
803
|
+
coordinates?: number[] | null | undefined;
|
|
804
|
+
line2?: string | null | undefined;
|
|
805
|
+
state: string;
|
|
806
|
+
country: string;
|
|
807
|
+
line1: string;
|
|
808
|
+
city: string;
|
|
809
|
+
postcode: string;
|
|
810
|
+
};
|
|
811
|
+
email: string;
|
|
812
|
+
companyName: string;
|
|
813
|
+
contact: string;
|
|
814
|
+
}[] | null | undefined;
|
|
815
|
+
customerDisplayImages?: {
|
|
816
|
+
url: string;
|
|
817
|
+
restaurantIds: string[];
|
|
818
|
+
}[] | null | undefined;
|
|
819
|
+
name: string;
|
|
820
|
+
_id: string;
|
|
821
|
+
ownerId: string;
|
|
822
|
+
restaurantQuota: number;
|
|
823
|
+
warehouseQuota: number;
|
|
824
|
+
menuVersion: string;
|
|
825
|
+
} | null | undefined;
|
|
826
|
+
_id: string;
|
|
827
|
+
businessId: string;
|
|
828
|
+
profile: {
|
|
829
|
+
email?: string | null | undefined;
|
|
830
|
+
phoneNo?: string | null | undefined;
|
|
831
|
+
name: string;
|
|
832
|
+
address: {
|
|
833
|
+
coordinates?: number[] | null | undefined;
|
|
834
|
+
line2?: string | null | undefined;
|
|
835
|
+
state: string;
|
|
836
|
+
country: string;
|
|
837
|
+
line1: string;
|
|
838
|
+
city: string;
|
|
839
|
+
postcode: string;
|
|
840
|
+
};
|
|
841
|
+
regNo: string;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
})[] | null | undefined;
|
|
845
|
+
_id: string;
|
|
846
|
+
name: string;
|
|
847
|
+
purchaseOrder: {
|
|
848
|
+
remark?: string | null | undefined;
|
|
849
|
+
ref?: string | null | undefined;
|
|
850
|
+
supplier?: {
|
|
402
851
|
phoneNumber?: string | null | undefined;
|
|
403
852
|
email?: string | null | undefined;
|
|
404
853
|
_rev?: string | null | undefined;
|
|
@@ -434,15 +883,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
434
883
|
postcode: string;
|
|
435
884
|
country: string;
|
|
436
885
|
};
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
}[] | {
|
|
440
|
-
_rev?: string | null | undefined;
|
|
441
|
-
_id: string;
|
|
442
|
-
name: string;
|
|
443
|
-
purchaseOrder: {
|
|
444
|
-
remark?: string | null | undefined;
|
|
445
|
-
ref?: string | null | undefined;
|
|
886
|
+
} | undefined;
|
|
446
887
|
template?: string | null | undefined;
|
|
447
888
|
stockSnapshotId?: string | null | undefined;
|
|
448
889
|
effectiveAt?: string | null | undefined;
|
|
@@ -500,11 +941,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
500
941
|
precision: number;
|
|
501
942
|
};
|
|
502
943
|
} | null | undefined;
|
|
503
|
-
operationalGroup?: string | null | undefined;
|
|
504
944
|
thresholds?: {
|
|
505
945
|
low: number;
|
|
506
946
|
mid: number;
|
|
507
947
|
} | null | undefined;
|
|
948
|
+
operationalGroup?: string | null | undefined;
|
|
508
949
|
unit: {
|
|
509
950
|
_id: string;
|
|
510
951
|
name: string;
|
|
@@ -543,7 +984,117 @@ export declare function useTransferTemplateTable(): {
|
|
|
543
984
|
precision: number;
|
|
544
985
|
};
|
|
545
986
|
}[];
|
|
546
|
-
|
|
987
|
+
};
|
|
988
|
+
}[]>;
|
|
989
|
+
businessTemplates: import("vue").Ref<{
|
|
990
|
+
_rev?: string | null | undefined;
|
|
991
|
+
locations?: ({
|
|
992
|
+
doc?: any;
|
|
993
|
+
type: "restaurant";
|
|
994
|
+
name: string;
|
|
995
|
+
acceptRequest: boolean;
|
|
996
|
+
dbName: string;
|
|
997
|
+
} | {
|
|
998
|
+
type: "warehouse";
|
|
999
|
+
name: string;
|
|
1000
|
+
acceptRequest: boolean;
|
|
1001
|
+
dbName: string;
|
|
1002
|
+
doc: {
|
|
1003
|
+
pf_business?: {
|
|
1004
|
+
internal?: boolean | null | undefined;
|
|
1005
|
+
url?: string | null | undefined;
|
|
1006
|
+
expiredAt?: string | null | undefined;
|
|
1007
|
+
agentId?: string | null | undefined;
|
|
1008
|
+
restaurantTagGroups?: {
|
|
1009
|
+
name: string;
|
|
1010
|
+
id: string;
|
|
1011
|
+
tags: {
|
|
1012
|
+
name: string;
|
|
1013
|
+
id: string;
|
|
1014
|
+
}[];
|
|
1015
|
+
}[] | null | undefined;
|
|
1016
|
+
pf_agent?: {
|
|
1017
|
+
clickupId?: string | null | undefined;
|
|
1018
|
+
members?: {
|
|
1019
|
+
pf_user?: {
|
|
1020
|
+
email?: string | null | undefined;
|
|
1021
|
+
phoneNumber?: string | null | undefined;
|
|
1022
|
+
birthday?: string | null | undefined;
|
|
1023
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1024
|
+
addresses?: {
|
|
1025
|
+
name: string;
|
|
1026
|
+
address: string;
|
|
1027
|
+
coordinates: number[];
|
|
1028
|
+
}[] | null | undefined;
|
|
1029
|
+
photoURL?: string | null | undefined;
|
|
1030
|
+
displayName?: string | null | undefined;
|
|
1031
|
+
imported?: {
|
|
1032
|
+
raw: Record<string, any>;
|
|
1033
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1034
|
+
} | null | undefined;
|
|
1035
|
+
_id: string;
|
|
1036
|
+
} | null | undefined;
|
|
1037
|
+
role: "ADMIN";
|
|
1038
|
+
userId: string;
|
|
1039
|
+
}[] | null | undefined;
|
|
1040
|
+
code: string;
|
|
1041
|
+
name: string;
|
|
1042
|
+
_id: string;
|
|
1043
|
+
isReseller: boolean;
|
|
1044
|
+
} | null | undefined;
|
|
1045
|
+
thumbnail?: string | null | undefined;
|
|
1046
|
+
billingInfos?: {
|
|
1047
|
+
_id?: string | null | undefined;
|
|
1048
|
+
name: string;
|
|
1049
|
+
address: {
|
|
1050
|
+
coordinates?: number[] | null | undefined;
|
|
1051
|
+
line2?: string | null | undefined;
|
|
1052
|
+
state: string;
|
|
1053
|
+
country: string;
|
|
1054
|
+
line1: string;
|
|
1055
|
+
city: string;
|
|
1056
|
+
postcode: string;
|
|
1057
|
+
};
|
|
1058
|
+
email: string;
|
|
1059
|
+
companyName: string;
|
|
1060
|
+
contact: string;
|
|
1061
|
+
}[] | null | undefined;
|
|
1062
|
+
customerDisplayImages?: {
|
|
1063
|
+
url: string;
|
|
1064
|
+
restaurantIds: string[];
|
|
1065
|
+
}[] | null | undefined;
|
|
1066
|
+
name: string;
|
|
1067
|
+
_id: string;
|
|
1068
|
+
ownerId: string;
|
|
1069
|
+
restaurantQuota: number;
|
|
1070
|
+
warehouseQuota: number;
|
|
1071
|
+
menuVersion: string;
|
|
1072
|
+
} | null | undefined;
|
|
1073
|
+
_id: string;
|
|
1074
|
+
businessId: string;
|
|
1075
|
+
profile: {
|
|
1076
|
+
email?: string | null | undefined;
|
|
1077
|
+
phoneNo?: string | null | undefined;
|
|
1078
|
+
name: string;
|
|
1079
|
+
address: {
|
|
1080
|
+
coordinates?: number[] | null | undefined;
|
|
1081
|
+
line2?: string | null | undefined;
|
|
1082
|
+
state: string;
|
|
1083
|
+
country: string;
|
|
1084
|
+
line1: string;
|
|
1085
|
+
city: string;
|
|
1086
|
+
postcode: string;
|
|
1087
|
+
};
|
|
1088
|
+
regNo: string;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
})[] | null | undefined;
|
|
1092
|
+
_id: string;
|
|
1093
|
+
name: string;
|
|
1094
|
+
purchaseOrder: {
|
|
1095
|
+
remark?: string | null | undefined;
|
|
1096
|
+
ref?: string | null | undefined;
|
|
1097
|
+
supplier?: {
|
|
547
1098
|
phoneNumber?: string | null | undefined;
|
|
548
1099
|
email?: string | null | undefined;
|
|
549
1100
|
_rev?: string | null | undefined;
|
|
@@ -579,16 +1130,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
579
1130
|
postcode: string;
|
|
580
1131
|
country: string;
|
|
581
1132
|
};
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
}[]>;
|
|
585
|
-
businessTemplates: import("vue").Ref<{
|
|
586
|
-
_rev?: string | null | undefined;
|
|
587
|
-
_id: string;
|
|
588
|
-
name: string;
|
|
589
|
-
purchaseOrder: {
|
|
590
|
-
remark?: string | null | undefined;
|
|
591
|
-
ref?: string | null | undefined;
|
|
1133
|
+
} | undefined;
|
|
592
1134
|
template?: string | null | undefined;
|
|
593
1135
|
stockSnapshotId?: string | null | undefined;
|
|
594
1136
|
effectiveAt?: string | null | undefined;
|
|
@@ -646,11 +1188,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
646
1188
|
precision: number;
|
|
647
1189
|
};
|
|
648
1190
|
} | null | undefined;
|
|
649
|
-
operationalGroup?: string | null | undefined;
|
|
650
1191
|
thresholds?: {
|
|
651
1192
|
low: number;
|
|
652
1193
|
mid: number;
|
|
653
1194
|
} | null | undefined;
|
|
1195
|
+
operationalGroup?: string | null | undefined;
|
|
654
1196
|
unit: {
|
|
655
1197
|
_id: string;
|
|
656
1198
|
name: string;
|
|
@@ -689,7 +1231,116 @@ export declare function useTransferTemplateTable(): {
|
|
|
689
1231
|
precision: number;
|
|
690
1232
|
};
|
|
691
1233
|
}[];
|
|
692
|
-
|
|
1234
|
+
};
|
|
1235
|
+
}[], {
|
|
1236
|
+
_rev?: string | null | undefined;
|
|
1237
|
+
locations?: ({
|
|
1238
|
+
doc?: any;
|
|
1239
|
+
type: "restaurant";
|
|
1240
|
+
name: string;
|
|
1241
|
+
acceptRequest: boolean;
|
|
1242
|
+
dbName: string;
|
|
1243
|
+
} | {
|
|
1244
|
+
type: "warehouse";
|
|
1245
|
+
name: string;
|
|
1246
|
+
acceptRequest: boolean;
|
|
1247
|
+
dbName: string;
|
|
1248
|
+
doc: {
|
|
1249
|
+
pf_business?: {
|
|
1250
|
+
internal?: boolean | null | undefined;
|
|
1251
|
+
url?: string | null | undefined;
|
|
1252
|
+
expiredAt?: string | null | undefined;
|
|
1253
|
+
agentId?: string | null | undefined;
|
|
1254
|
+
restaurantTagGroups?: {
|
|
1255
|
+
name: string;
|
|
1256
|
+
id: string;
|
|
1257
|
+
tags: {
|
|
1258
|
+
name: string;
|
|
1259
|
+
id: string;
|
|
1260
|
+
}[];
|
|
1261
|
+
}[] | null | undefined;
|
|
1262
|
+
pf_agent?: {
|
|
1263
|
+
clickupId?: string | null | undefined;
|
|
1264
|
+
members?: {
|
|
1265
|
+
pf_user?: {
|
|
1266
|
+
email?: string | null | undefined;
|
|
1267
|
+
phoneNumber?: string | null | undefined;
|
|
1268
|
+
birthday?: string | null | undefined;
|
|
1269
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1270
|
+
addresses?: {
|
|
1271
|
+
name: string;
|
|
1272
|
+
address: string;
|
|
1273
|
+
coordinates: number[];
|
|
1274
|
+
}[] | null | undefined;
|
|
1275
|
+
photoURL?: string | null | undefined;
|
|
1276
|
+
displayName?: string | null | undefined;
|
|
1277
|
+
imported?: {
|
|
1278
|
+
raw: Record<string, any>;
|
|
1279
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1280
|
+
} | null | undefined;
|
|
1281
|
+
_id: string;
|
|
1282
|
+
} | null | undefined;
|
|
1283
|
+
role: "ADMIN";
|
|
1284
|
+
userId: string;
|
|
1285
|
+
}[] | null | undefined;
|
|
1286
|
+
code: string;
|
|
1287
|
+
name: string;
|
|
1288
|
+
_id: string;
|
|
1289
|
+
isReseller: boolean;
|
|
1290
|
+
} | null | undefined;
|
|
1291
|
+
thumbnail?: string | null | undefined;
|
|
1292
|
+
billingInfos?: {
|
|
1293
|
+
_id?: string | null | undefined;
|
|
1294
|
+
name: string;
|
|
1295
|
+
address: {
|
|
1296
|
+
coordinates?: number[] | null | undefined;
|
|
1297
|
+
line2?: string | null | undefined;
|
|
1298
|
+
state: string;
|
|
1299
|
+
country: string;
|
|
1300
|
+
line1: string;
|
|
1301
|
+
city: string;
|
|
1302
|
+
postcode: string;
|
|
1303
|
+
};
|
|
1304
|
+
email: string;
|
|
1305
|
+
companyName: string;
|
|
1306
|
+
contact: string;
|
|
1307
|
+
}[] | null | undefined;
|
|
1308
|
+
customerDisplayImages?: {
|
|
1309
|
+
url: string;
|
|
1310
|
+
restaurantIds: string[];
|
|
1311
|
+
}[] | null | undefined;
|
|
1312
|
+
name: string;
|
|
1313
|
+
_id: string;
|
|
1314
|
+
ownerId: string;
|
|
1315
|
+
restaurantQuota: number;
|
|
1316
|
+
warehouseQuota: number;
|
|
1317
|
+
menuVersion: string;
|
|
1318
|
+
} | null | undefined;
|
|
1319
|
+
_id: string;
|
|
1320
|
+
businessId: string;
|
|
1321
|
+
profile: {
|
|
1322
|
+
email?: string | null | undefined;
|
|
1323
|
+
phoneNo?: string | null | undefined;
|
|
1324
|
+
name: string;
|
|
1325
|
+
address: {
|
|
1326
|
+
coordinates?: number[] | null | undefined;
|
|
1327
|
+
line2?: string | null | undefined;
|
|
1328
|
+
state: string;
|
|
1329
|
+
country: string;
|
|
1330
|
+
line1: string;
|
|
1331
|
+
city: string;
|
|
1332
|
+
postcode: string;
|
|
1333
|
+
};
|
|
1334
|
+
regNo: string;
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
})[] | null | undefined;
|
|
1338
|
+
_id: string;
|
|
1339
|
+
name: string;
|
|
1340
|
+
purchaseOrder: {
|
|
1341
|
+
remark?: string | null | undefined;
|
|
1342
|
+
ref?: string | null | undefined;
|
|
1343
|
+
supplier?: {
|
|
693
1344
|
phoneNumber?: string | null | undefined;
|
|
694
1345
|
email?: string | null | undefined;
|
|
695
1346
|
_rev?: string | null | undefined;
|
|
@@ -725,15 +1376,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
725
1376
|
postcode: string;
|
|
726
1377
|
country: string;
|
|
727
1378
|
};
|
|
728
|
-
};
|
|
729
|
-
};
|
|
730
|
-
}[], {
|
|
731
|
-
_rev?: string | null | undefined;
|
|
732
|
-
_id: string;
|
|
733
|
-
name: string;
|
|
734
|
-
purchaseOrder: {
|
|
735
|
-
remark?: string | null | undefined;
|
|
736
|
-
ref?: string | null | undefined;
|
|
1379
|
+
} | undefined;
|
|
737
1380
|
template?: string | null | undefined;
|
|
738
1381
|
stockSnapshotId?: string | null | undefined;
|
|
739
1382
|
effectiveAt?: string | null | undefined;
|
|
@@ -791,11 +1434,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
791
1434
|
precision: number;
|
|
792
1435
|
};
|
|
793
1436
|
} | null | undefined;
|
|
794
|
-
operationalGroup?: string | null | undefined;
|
|
795
1437
|
thresholds?: {
|
|
796
1438
|
low: number;
|
|
797
1439
|
mid: number;
|
|
798
1440
|
} | null | undefined;
|
|
1441
|
+
operationalGroup?: string | null | undefined;
|
|
799
1442
|
unit: {
|
|
800
1443
|
_id: string;
|
|
801
1444
|
name: string;
|
|
@@ -834,7 +1477,116 @@ export declare function useTransferTemplateTable(): {
|
|
|
834
1477
|
precision: number;
|
|
835
1478
|
};
|
|
836
1479
|
}[];
|
|
837
|
-
|
|
1480
|
+
};
|
|
1481
|
+
}[] | {
|
|
1482
|
+
_rev?: string | null | undefined;
|
|
1483
|
+
locations?: ({
|
|
1484
|
+
doc?: any;
|
|
1485
|
+
type: "restaurant";
|
|
1486
|
+
name: string;
|
|
1487
|
+
acceptRequest: boolean;
|
|
1488
|
+
dbName: string;
|
|
1489
|
+
} | {
|
|
1490
|
+
type: "warehouse";
|
|
1491
|
+
name: string;
|
|
1492
|
+
acceptRequest: boolean;
|
|
1493
|
+
dbName: string;
|
|
1494
|
+
doc: {
|
|
1495
|
+
pf_business?: {
|
|
1496
|
+
internal?: boolean | null | undefined;
|
|
1497
|
+
url?: string | null | undefined;
|
|
1498
|
+
expiredAt?: string | null | undefined;
|
|
1499
|
+
agentId?: string | null | undefined;
|
|
1500
|
+
restaurantTagGroups?: {
|
|
1501
|
+
name: string;
|
|
1502
|
+
id: string;
|
|
1503
|
+
tags: {
|
|
1504
|
+
name: string;
|
|
1505
|
+
id: string;
|
|
1506
|
+
}[];
|
|
1507
|
+
}[] | null | undefined;
|
|
1508
|
+
pf_agent?: {
|
|
1509
|
+
clickupId?: string | null | undefined;
|
|
1510
|
+
members?: {
|
|
1511
|
+
pf_user?: {
|
|
1512
|
+
email?: string | null | undefined;
|
|
1513
|
+
phoneNumber?: string | null | undefined;
|
|
1514
|
+
birthday?: string | null | undefined;
|
|
1515
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1516
|
+
addresses?: {
|
|
1517
|
+
name: string;
|
|
1518
|
+
address: string;
|
|
1519
|
+
coordinates: number[];
|
|
1520
|
+
}[] | null | undefined;
|
|
1521
|
+
photoURL?: string | null | undefined;
|
|
1522
|
+
displayName?: string | null | undefined;
|
|
1523
|
+
imported?: {
|
|
1524
|
+
raw: Record<string, any>;
|
|
1525
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1526
|
+
} | null | undefined;
|
|
1527
|
+
_id: string;
|
|
1528
|
+
} | null | undefined;
|
|
1529
|
+
role: "ADMIN";
|
|
1530
|
+
userId: string;
|
|
1531
|
+
}[] | null | undefined;
|
|
1532
|
+
code: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
_id: string;
|
|
1535
|
+
isReseller: boolean;
|
|
1536
|
+
} | null | undefined;
|
|
1537
|
+
thumbnail?: string | null | undefined;
|
|
1538
|
+
billingInfos?: {
|
|
1539
|
+
_id?: string | null | undefined;
|
|
1540
|
+
name: string;
|
|
1541
|
+
address: {
|
|
1542
|
+
coordinates?: number[] | null | undefined;
|
|
1543
|
+
line2?: string | null | undefined;
|
|
1544
|
+
state: string;
|
|
1545
|
+
country: string;
|
|
1546
|
+
line1: string;
|
|
1547
|
+
city: string;
|
|
1548
|
+
postcode: string;
|
|
1549
|
+
};
|
|
1550
|
+
email: string;
|
|
1551
|
+
companyName: string;
|
|
1552
|
+
contact: string;
|
|
1553
|
+
}[] | null | undefined;
|
|
1554
|
+
customerDisplayImages?: {
|
|
1555
|
+
url: string;
|
|
1556
|
+
restaurantIds: string[];
|
|
1557
|
+
}[] | null | undefined;
|
|
1558
|
+
name: string;
|
|
1559
|
+
_id: string;
|
|
1560
|
+
ownerId: string;
|
|
1561
|
+
restaurantQuota: number;
|
|
1562
|
+
warehouseQuota: number;
|
|
1563
|
+
menuVersion: string;
|
|
1564
|
+
} | null | undefined;
|
|
1565
|
+
_id: string;
|
|
1566
|
+
businessId: string;
|
|
1567
|
+
profile: {
|
|
1568
|
+
email?: string | null | undefined;
|
|
1569
|
+
phoneNo?: string | null | undefined;
|
|
1570
|
+
name: string;
|
|
1571
|
+
address: {
|
|
1572
|
+
coordinates?: number[] | null | undefined;
|
|
1573
|
+
line2?: string | null | undefined;
|
|
1574
|
+
state: string;
|
|
1575
|
+
country: string;
|
|
1576
|
+
line1: string;
|
|
1577
|
+
city: string;
|
|
1578
|
+
postcode: string;
|
|
1579
|
+
};
|
|
1580
|
+
regNo: string;
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1583
|
+
})[] | null | undefined;
|
|
1584
|
+
_id: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
purchaseOrder: {
|
|
1587
|
+
remark?: string | null | undefined;
|
|
1588
|
+
ref?: string | null | undefined;
|
|
1589
|
+
supplier?: {
|
|
838
1590
|
phoneNumber?: string | null | undefined;
|
|
839
1591
|
email?: string | null | undefined;
|
|
840
1592
|
_rev?: string | null | undefined;
|
|
@@ -870,15 +1622,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
870
1622
|
postcode: string;
|
|
871
1623
|
country: string;
|
|
872
1624
|
};
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
}[] | {
|
|
876
|
-
_rev?: string | null | undefined;
|
|
877
|
-
_id: string;
|
|
878
|
-
name: string;
|
|
879
|
-
purchaseOrder: {
|
|
880
|
-
remark?: string | null | undefined;
|
|
881
|
-
ref?: string | null | undefined;
|
|
1625
|
+
} | undefined;
|
|
882
1626
|
template?: string | null | undefined;
|
|
883
1627
|
stockSnapshotId?: string | null | undefined;
|
|
884
1628
|
effectiveAt?: string | null | undefined;
|
|
@@ -936,11 +1680,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
936
1680
|
precision: number;
|
|
937
1681
|
};
|
|
938
1682
|
} | null | undefined;
|
|
939
|
-
operationalGroup?: string | null | undefined;
|
|
940
1683
|
thresholds?: {
|
|
941
1684
|
low: number;
|
|
942
1685
|
mid: number;
|
|
943
1686
|
} | null | undefined;
|
|
1687
|
+
operationalGroup?: string | null | undefined;
|
|
944
1688
|
unit: {
|
|
945
1689
|
_id: string;
|
|
946
1690
|
name: string;
|
|
@@ -979,7 +1723,117 @@ export declare function useTransferTemplateTable(): {
|
|
|
979
1723
|
precision: number;
|
|
980
1724
|
};
|
|
981
1725
|
}[];
|
|
982
|
-
|
|
1726
|
+
};
|
|
1727
|
+
}[]>;
|
|
1728
|
+
templates: import("vue").ComputedRef<{
|
|
1729
|
+
_rev?: string | null | undefined;
|
|
1730
|
+
locations?: ({
|
|
1731
|
+
doc?: any;
|
|
1732
|
+
type: "restaurant";
|
|
1733
|
+
name: string;
|
|
1734
|
+
acceptRequest: boolean;
|
|
1735
|
+
dbName: string;
|
|
1736
|
+
} | {
|
|
1737
|
+
type: "warehouse";
|
|
1738
|
+
name: string;
|
|
1739
|
+
acceptRequest: boolean;
|
|
1740
|
+
dbName: string;
|
|
1741
|
+
doc: {
|
|
1742
|
+
pf_business?: {
|
|
1743
|
+
internal?: boolean | null | undefined;
|
|
1744
|
+
url?: string | null | undefined;
|
|
1745
|
+
expiredAt?: string | null | undefined;
|
|
1746
|
+
agentId?: string | null | undefined;
|
|
1747
|
+
restaurantTagGroups?: {
|
|
1748
|
+
name: string;
|
|
1749
|
+
id: string;
|
|
1750
|
+
tags: {
|
|
1751
|
+
name: string;
|
|
1752
|
+
id: string;
|
|
1753
|
+
}[];
|
|
1754
|
+
}[] | null | undefined;
|
|
1755
|
+
pf_agent?: {
|
|
1756
|
+
clickupId?: string | null | undefined;
|
|
1757
|
+
members?: {
|
|
1758
|
+
pf_user?: {
|
|
1759
|
+
email?: string | null | undefined;
|
|
1760
|
+
phoneNumber?: string | null | undefined;
|
|
1761
|
+
birthday?: string | null | undefined;
|
|
1762
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1763
|
+
addresses?: {
|
|
1764
|
+
name: string;
|
|
1765
|
+
address: string;
|
|
1766
|
+
coordinates: number[];
|
|
1767
|
+
}[] | null | undefined;
|
|
1768
|
+
photoURL?: string | null | undefined;
|
|
1769
|
+
displayName?: string | null | undefined;
|
|
1770
|
+
imported?: {
|
|
1771
|
+
raw: Record<string, any>;
|
|
1772
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1773
|
+
} | null | undefined;
|
|
1774
|
+
_id: string;
|
|
1775
|
+
} | null | undefined;
|
|
1776
|
+
role: "ADMIN";
|
|
1777
|
+
userId: string;
|
|
1778
|
+
}[] | null | undefined;
|
|
1779
|
+
code: string;
|
|
1780
|
+
name: string;
|
|
1781
|
+
_id: string;
|
|
1782
|
+
isReseller: boolean;
|
|
1783
|
+
} | null | undefined;
|
|
1784
|
+
thumbnail?: string | null | undefined;
|
|
1785
|
+
billingInfos?: {
|
|
1786
|
+
_id?: string | null | undefined;
|
|
1787
|
+
name: string;
|
|
1788
|
+
address: {
|
|
1789
|
+
coordinates?: number[] | null | undefined;
|
|
1790
|
+
line2?: string | null | undefined;
|
|
1791
|
+
state: string;
|
|
1792
|
+
country: string;
|
|
1793
|
+
line1: string;
|
|
1794
|
+
city: string;
|
|
1795
|
+
postcode: string;
|
|
1796
|
+
};
|
|
1797
|
+
email: string;
|
|
1798
|
+
companyName: string;
|
|
1799
|
+
contact: string;
|
|
1800
|
+
}[] | null | undefined;
|
|
1801
|
+
customerDisplayImages?: {
|
|
1802
|
+
url: string;
|
|
1803
|
+
restaurantIds: string[];
|
|
1804
|
+
}[] | null | undefined;
|
|
1805
|
+
name: string;
|
|
1806
|
+
_id: string;
|
|
1807
|
+
ownerId: string;
|
|
1808
|
+
restaurantQuota: number;
|
|
1809
|
+
warehouseQuota: number;
|
|
1810
|
+
menuVersion: string;
|
|
1811
|
+
} | null | undefined;
|
|
1812
|
+
_id: string;
|
|
1813
|
+
businessId: string;
|
|
1814
|
+
profile: {
|
|
1815
|
+
email?: string | null | undefined;
|
|
1816
|
+
phoneNo?: string | null | undefined;
|
|
1817
|
+
name: string;
|
|
1818
|
+
address: {
|
|
1819
|
+
coordinates?: number[] | null | undefined;
|
|
1820
|
+
line2?: string | null | undefined;
|
|
1821
|
+
state: string;
|
|
1822
|
+
country: string;
|
|
1823
|
+
line1: string;
|
|
1824
|
+
city: string;
|
|
1825
|
+
postcode: string;
|
|
1826
|
+
};
|
|
1827
|
+
regNo: string;
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
})[] | null | undefined;
|
|
1831
|
+
_id: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
purchaseOrder: {
|
|
1834
|
+
remark?: string | null | undefined;
|
|
1835
|
+
ref?: string | null | undefined;
|
|
1836
|
+
supplier?: {
|
|
983
1837
|
phoneNumber?: string | null | undefined;
|
|
984
1838
|
email?: string | null | undefined;
|
|
985
1839
|
_rev?: string | null | undefined;
|
|
@@ -1015,16 +1869,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
1015
1869
|
postcode: string;
|
|
1016
1870
|
country: string;
|
|
1017
1871
|
};
|
|
1018
|
-
};
|
|
1019
|
-
};
|
|
1020
|
-
}[]>;
|
|
1021
|
-
templates: import("vue").ComputedRef<{
|
|
1022
|
-
_rev?: string | null | undefined;
|
|
1023
|
-
_id: string;
|
|
1024
|
-
name: string;
|
|
1025
|
-
purchaseOrder: {
|
|
1026
|
-
remark?: string | null | undefined;
|
|
1027
|
-
ref?: string | null | undefined;
|
|
1872
|
+
} | undefined;
|
|
1028
1873
|
template?: string | null | undefined;
|
|
1029
1874
|
stockSnapshotId?: string | null | undefined;
|
|
1030
1875
|
effectiveAt?: string | null | undefined;
|
|
@@ -1082,11 +1927,11 @@ export declare function useTransferTemplateTable(): {
|
|
|
1082
1927
|
precision: number;
|
|
1083
1928
|
};
|
|
1084
1929
|
} | null | undefined;
|
|
1085
|
-
operationalGroup?: string | null | undefined;
|
|
1086
1930
|
thresholds?: {
|
|
1087
1931
|
low: number;
|
|
1088
1932
|
mid: number;
|
|
1089
1933
|
} | null | undefined;
|
|
1934
|
+
operationalGroup?: string | null | undefined;
|
|
1090
1935
|
unit: {
|
|
1091
1936
|
_id: string;
|
|
1092
1937
|
name: string;
|
|
@@ -1125,43 +1970,6 @@ export declare function useTransferTemplateTable(): {
|
|
|
1125
1970
|
precision: number;
|
|
1126
1971
|
};
|
|
1127
1972
|
}[];
|
|
1128
|
-
supplier: {
|
|
1129
|
-
phoneNumber?: string | null | undefined;
|
|
1130
|
-
email?: string | null | undefined;
|
|
1131
|
-
_rev?: string | null | undefined;
|
|
1132
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1133
|
-
contactName?: string | null | undefined;
|
|
1134
|
-
registrationNumber?: string | undefined;
|
|
1135
|
-
supplyItems?: {
|
|
1136
|
-
defaultCost: {
|
|
1137
|
-
measurement?: {
|
|
1138
|
-
id: string;
|
|
1139
|
-
name: string;
|
|
1140
|
-
abbrev: string;
|
|
1141
|
-
conversion: {
|
|
1142
|
-
amount: number;
|
|
1143
|
-
precision: number;
|
|
1144
|
-
};
|
|
1145
|
-
} | null | undefined;
|
|
1146
|
-
costPerUnit: {
|
|
1147
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1148
|
-
amount: number;
|
|
1149
|
-
precision: number;
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1152
|
-
skuId: string;
|
|
1153
|
-
}[] | null | undefined;
|
|
1154
|
-
_id: string;
|
|
1155
|
-
name: string;
|
|
1156
|
-
address: {
|
|
1157
|
-
line2?: string | null | undefined;
|
|
1158
|
-
line1: string;
|
|
1159
|
-
state: string;
|
|
1160
|
-
city: string;
|
|
1161
|
-
postcode: string;
|
|
1162
|
-
country: string;
|
|
1163
|
-
};
|
|
1164
|
-
};
|
|
1165
1973
|
};
|
|
1166
1974
|
}[]>;
|
|
1167
1975
|
loading: import("vue").Ref<boolean, boolean>;
|