@feedmepos/mf-inventory-portal 0.0.23-dev.23 → 0.0.23-dev.25
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/{App-BvEB-iR6.js → App-CNgj7enS.js} +49 -45
- package/dist/{ApprovalView-BmPYoGNQ.js → ApprovalView-CaVxfwVZ.js} +15 -15
- package/dist/{BindingsDialog-BqKMRdvl.js → BindingsDialog-jRZXoJFn.js} +9 -9
- package/dist/{BindingsPicker-BaEdafvS.js → BindingsPicker-B1HSa3PR.js} +5 -5
- package/dist/{BindingsTable--d-nM2Gv.js → BindingsTable-OF56C-md.js} +8 -8
- package/dist/ClosingDraftView-B6okKype.js +1134 -0
- package/dist/{ClosingTemplateView-BdUGSMOi.js → ClosingTemplateView-iX4shLcv.js} +251 -255
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIk6CwoD.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bj2M9OAD.js} +13 -13
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bt1hyXul.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CnPZaNTp.js} +46 -46
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-wYnVSXtH.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGpmbbpm.js} +7 -7
- package/dist/{IngredientGroupView-0-nzZJcl.js → IngredientGroupView-BeW-0hWb.js} +40 -40
- package/dist/{IngredientsView-ClRyZ-cb.js → IngredientsView-CuVBlnOu.js} +207 -210
- package/dist/{IntegrationView-CgmsV7oX.js → IntegrationView-lDfeScNo.js} +89 -90
- package/dist/{InventoryBindingForm-DnnGejy0.js → InventoryBindingForm-D6EuWIkE.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CapSS-KQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CUpKKG4l.js} +27 -27
- package/dist/{InventoryBindingSummary-Dz-F2ofe.js → InventoryBindingSummary-CD60iCr_.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-glXw963h.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-7jkFhj27.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DpIyyZL-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DDXsfGVf.js} +17 -18
- package/dist/{PurchaseOrderPrintPreview--hGI0aFU.js → PurchaseOrderPrintPreview-eJxn76Ir.js} +1 -1
- package/dist/{ReceiveRequestView-cPIOC0rj.js → ReceiveRequestView-D6Cdkd36.js} +26 -27
- package/dist/{RecipeView-BK74973y.js → RecipeView-BWy56DhW.js} +47 -48
- package/dist/{StockView-D6TYfv5x.js → StockView-BEXAvBjP.js} +7 -7
- package/dist/{SupplierView-BFwzHw7l.js → SupplierView-C4vwkzdX.js} +203 -206
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-ChwtBdsS.js → TransferDetails.vue_vue_type_script_setup_true_lang-CIcj9NWg.js} +61 -62
- package/dist/{TransferTemplateView-De5sG12Q.js → TransferTemplateView-27Ng_EgG.js} +144 -145
- package/dist/{UnitView-CQoB6Uq_.js → UnitView-CXvkO_fh.js} +3 -3
- package/dist/{WarehouseView-Di4mLjoS.js → WarehouseView-Cl6HN1EW.js} +52 -52
- package/dist/app-Dt6Yd1pM.js +84133 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-D2WMzK1d.js → decimal-D1M8NkLV.js} +1 -1
- package/dist/{feature-SYqA_m5m.js → feature-CqDcAtUy.js} +1 -1
- package/dist/{format-unit-display-D0G-LaQY.js → format-unit-display-BI9EVHb3.js} +50 -53
- package/dist/{index-Bj8PDCww.js → index-7V6E004u.js} +1 -1
- package/dist/{stock-CEexJdO3.js → stock-wjdjOqbM.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-BdB47EjI.js → supplier-D3-7dgm5.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-n3khDS2D.js → use-inventory-binding-dialog-BLHffZgi.js} +1 -1
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
- package/dist/views/adjustment-template/import/export.d.ts +60 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +178 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1498 -478
- package/package.json +3 -3
- package/dist/ClosingDraftView-Clh7bujC.js +0 -1116
- package/dist/FmDroppableField-DHhcKcJf.js +0 -154
- package/dist/app-DpJictvi.js +0 -58871
- package/dist/netsuite-TWj-9PDj.js +0 -251
- package/dist/xlsx-Cbd5szA2.js +0 -24004
- package/dist/xlsx.util-hCH_XTAD.js +0 -78
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AdjustmentTemplateImportItemProps {
|
|
2
|
+
type: 'create' | 'update';
|
|
3
|
+
name: string;
|
|
4
|
+
locations?: FdoInventoryLocation[] | null | undefined;
|
|
5
|
+
items?: FdoAdjustmentTemplateItem[] | null | undefined;
|
|
6
|
+
errors: string[];
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { WorkBook, WorkSheet } from 'xlsx';
|
|
2
|
+
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
3
|
+
import type { FdoMenuV4 } from '@feedmepos/menu/entity';
|
|
4
|
+
export declare enum ReservedSheetNames {
|
|
5
|
+
Ingredients = "Ingredients"
|
|
6
|
+
}
|
|
7
|
+
export interface AdjustmentItemRow {
|
|
8
|
+
type?: string;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
name?: string;
|
|
11
|
+
/** abbrev for base unit or measurement unit */
|
|
12
|
+
unit?: string;
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface TemplateInfo {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
reference: string;
|
|
19
|
+
locations: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface ImportCreateResult {
|
|
22
|
+
type: 'create';
|
|
23
|
+
template: Omit<FdoAdjustmentTemplate, '_id'>;
|
|
24
|
+
excelSheetName: string;
|
|
25
|
+
errors: string[];
|
|
26
|
+
}
|
|
27
|
+
export interface ImportUpdateResult {
|
|
28
|
+
type: 'update';
|
|
29
|
+
original: FdoAdjustmentTemplate;
|
|
30
|
+
template: FdoAdjustmentTemplate & RevisionIdMeta;
|
|
31
|
+
excelSheetName: string;
|
|
32
|
+
errors: string[];
|
|
33
|
+
}
|
|
34
|
+
export type ImportResult = {
|
|
35
|
+
invalidExcel: boolean;
|
|
36
|
+
invalidExcelMessage?: string;
|
|
37
|
+
importCreateResult: ImportCreateResult[];
|
|
38
|
+
importUpdateResult: ImportUpdateResult[];
|
|
39
|
+
};
|
|
40
|
+
export type ObjectWithIndex<T> = {
|
|
41
|
+
index: number;
|
|
42
|
+
data: T;
|
|
43
|
+
};
|
|
44
|
+
export declare const FakeUnit: FdoInventoryUnit;
|
|
45
|
+
export declare function templateItemToExcelRow(item: FdoAdjustmentTemplateItem, inventory: FdoInventory, menu?: FdoMenuV4 | null): AdjustmentItemRow[];
|
|
46
|
+
export type ColIdHeader<T> = {
|
|
47
|
+
id: keyof T;
|
|
48
|
+
name: string;
|
|
49
|
+
};
|
|
50
|
+
export declare function getExcelHeaders(): ColIdHeader<AdjustmentItemRow>[];
|
|
51
|
+
export declare function exportTemplates(templates: FdoAdjustmentTemplate[]): string;
|
|
52
|
+
export declare function exportImportTemplate(): string;
|
|
53
|
+
/** @returns empty array if for all locations */
|
|
54
|
+
export declare function extractLocations(locationRow: string[]): {
|
|
55
|
+
location?: FdoInventoryLocation;
|
|
56
|
+
errors: string[];
|
|
57
|
+
}[];
|
|
58
|
+
export declare function worksheetToTemplateMeta(sheet: WorkSheet): TemplateInfo;
|
|
59
|
+
export declare function worksheetToItemRow(sheet: WorkSheet): ObjectWithIndex<AdjustmentItemRow>[];
|
|
60
|
+
export declare function getItemToCreateUpdate(workbook: WorkBook): ImportResult;
|
package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts
CHANGED
|
@@ -20,6 +20,91 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
}[] | null | undefined;
|
|
21
21
|
closingAdjustmentId?: string | null | undefined;
|
|
22
22
|
closingId?: string | null | undefined;
|
|
23
|
+
negativeStockItems?: {
|
|
24
|
+
remark?: string | null | undefined;
|
|
25
|
+
sku: {
|
|
26
|
+
trackingMeasurement?: string | null | undefined;
|
|
27
|
+
convert?: {
|
|
28
|
+
measurement?: string | null | undefined;
|
|
29
|
+
inventoryBindings?: {
|
|
30
|
+
measurement?: {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
abbrev: string;
|
|
34
|
+
conversion: {
|
|
35
|
+
amount: number;
|
|
36
|
+
precision: number;
|
|
37
|
+
};
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
40
|
+
amount: {
|
|
41
|
+
amount: number;
|
|
42
|
+
precision: number;
|
|
43
|
+
};
|
|
44
|
+
id: string;
|
|
45
|
+
}[] | null | undefined;
|
|
46
|
+
} | null | undefined;
|
|
47
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
48
|
+
defaultCost?: {
|
|
49
|
+
measurement?: {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
abbrev: string;
|
|
53
|
+
conversion: {
|
|
54
|
+
amount: number;
|
|
55
|
+
precision: number;
|
|
56
|
+
};
|
|
57
|
+
} | null | undefined;
|
|
58
|
+
costPerUnit: {
|
|
59
|
+
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";
|
|
60
|
+
amount: number;
|
|
61
|
+
precision: number;
|
|
62
|
+
};
|
|
63
|
+
} | null | undefined;
|
|
64
|
+
thresholds?: {
|
|
65
|
+
low: number;
|
|
66
|
+
mid: number;
|
|
67
|
+
} | null | undefined;
|
|
68
|
+
operationalGroup?: string | null | undefined;
|
|
69
|
+
unit: {
|
|
70
|
+
_id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
abbrev: string;
|
|
73
|
+
precision: number;
|
|
74
|
+
measurements: {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
abbrev: string;
|
|
78
|
+
conversion: {
|
|
79
|
+
amount: number;
|
|
80
|
+
precision: number;
|
|
81
|
+
};
|
|
82
|
+
}[];
|
|
83
|
+
};
|
|
84
|
+
code: string;
|
|
85
|
+
_id: string;
|
|
86
|
+
name: string;
|
|
87
|
+
};
|
|
88
|
+
baseAmount: {
|
|
89
|
+
amount: number;
|
|
90
|
+
precision: number;
|
|
91
|
+
};
|
|
92
|
+
measurementsAmounts: {
|
|
93
|
+
amount: {
|
|
94
|
+
amount: number;
|
|
95
|
+
precision: number;
|
|
96
|
+
};
|
|
97
|
+
measurement: {
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
abbrev: string;
|
|
101
|
+
conversion: {
|
|
102
|
+
amount: number;
|
|
103
|
+
precision: number;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}[];
|
|
107
|
+
}[] | null | undefined;
|
|
23
108
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
24
109
|
_id: string;
|
|
25
110
|
items: {
|
|
@@ -113,10 +198,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
113
198
|
};
|
|
114
199
|
createdAt: string;
|
|
115
200
|
updatedAt: string;
|
|
116
|
-
updatedBy: {
|
|
117
|
-
name: string;
|
|
118
|
-
id: string;
|
|
119
|
-
};
|
|
120
201
|
usingTemplates: {
|
|
121
202
|
ref?: string | null | undefined;
|
|
122
203
|
_rev?: string | null | undefined;
|
|
@@ -215,6 +296,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
215
296
|
_id: string;
|
|
216
297
|
name: string;
|
|
217
298
|
}[];
|
|
299
|
+
updatedBy: {
|
|
300
|
+
name: string;
|
|
301
|
+
id: string;
|
|
302
|
+
};
|
|
218
303
|
} | undefined;
|
|
219
304
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
220
305
|
submitted: () => void;
|
|
@@ -240,6 +325,91 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
240
325
|
}[] | null | undefined;
|
|
241
326
|
closingAdjustmentId?: string | null | undefined;
|
|
242
327
|
closingId?: string | null | undefined;
|
|
328
|
+
negativeStockItems?: {
|
|
329
|
+
remark?: string | null | undefined;
|
|
330
|
+
sku: {
|
|
331
|
+
trackingMeasurement?: string | null | undefined;
|
|
332
|
+
convert?: {
|
|
333
|
+
measurement?: string | null | undefined;
|
|
334
|
+
inventoryBindings?: {
|
|
335
|
+
measurement?: {
|
|
336
|
+
id: string;
|
|
337
|
+
name: string;
|
|
338
|
+
abbrev: string;
|
|
339
|
+
conversion: {
|
|
340
|
+
amount: number;
|
|
341
|
+
precision: number;
|
|
342
|
+
};
|
|
343
|
+
} | null | undefined;
|
|
344
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
345
|
+
amount: {
|
|
346
|
+
amount: number;
|
|
347
|
+
precision: number;
|
|
348
|
+
};
|
|
349
|
+
id: string;
|
|
350
|
+
}[] | null | undefined;
|
|
351
|
+
} | null | undefined;
|
|
352
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
353
|
+
defaultCost?: {
|
|
354
|
+
measurement?: {
|
|
355
|
+
id: string;
|
|
356
|
+
name: string;
|
|
357
|
+
abbrev: string;
|
|
358
|
+
conversion: {
|
|
359
|
+
amount: number;
|
|
360
|
+
precision: number;
|
|
361
|
+
};
|
|
362
|
+
} | null | undefined;
|
|
363
|
+
costPerUnit: {
|
|
364
|
+
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";
|
|
365
|
+
amount: number;
|
|
366
|
+
precision: number;
|
|
367
|
+
};
|
|
368
|
+
} | null | undefined;
|
|
369
|
+
thresholds?: {
|
|
370
|
+
low: number;
|
|
371
|
+
mid: number;
|
|
372
|
+
} | null | undefined;
|
|
373
|
+
operationalGroup?: string | null | undefined;
|
|
374
|
+
unit: {
|
|
375
|
+
_id: string;
|
|
376
|
+
name: string;
|
|
377
|
+
abbrev: string;
|
|
378
|
+
precision: number;
|
|
379
|
+
measurements: {
|
|
380
|
+
id: string;
|
|
381
|
+
name: string;
|
|
382
|
+
abbrev: string;
|
|
383
|
+
conversion: {
|
|
384
|
+
amount: number;
|
|
385
|
+
precision: number;
|
|
386
|
+
};
|
|
387
|
+
}[];
|
|
388
|
+
};
|
|
389
|
+
code: string;
|
|
390
|
+
_id: string;
|
|
391
|
+
name: string;
|
|
392
|
+
};
|
|
393
|
+
baseAmount: {
|
|
394
|
+
amount: number;
|
|
395
|
+
precision: number;
|
|
396
|
+
};
|
|
397
|
+
measurementsAmounts: {
|
|
398
|
+
amount: {
|
|
399
|
+
amount: number;
|
|
400
|
+
precision: number;
|
|
401
|
+
};
|
|
402
|
+
measurement: {
|
|
403
|
+
id: string;
|
|
404
|
+
name: string;
|
|
405
|
+
abbrev: string;
|
|
406
|
+
conversion: {
|
|
407
|
+
amount: number;
|
|
408
|
+
precision: number;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
}[];
|
|
412
|
+
}[] | null | undefined;
|
|
243
413
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
244
414
|
_id: string;
|
|
245
415
|
items: {
|
|
@@ -333,10 +503,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
333
503
|
};
|
|
334
504
|
createdAt: string;
|
|
335
505
|
updatedAt: string;
|
|
336
|
-
updatedBy: {
|
|
337
|
-
name: string;
|
|
338
|
-
id: string;
|
|
339
|
-
};
|
|
340
506
|
usingTemplates: {
|
|
341
507
|
ref?: string | null | undefined;
|
|
342
508
|
_rev?: string | null | undefined;
|
|
@@ -435,6 +601,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
435
601
|
_id: string;
|
|
436
602
|
name: string;
|
|
437
603
|
}[];
|
|
604
|
+
updatedBy: {
|
|
605
|
+
name: string;
|
|
606
|
+
id: string;
|
|
607
|
+
};
|
|
438
608
|
} | undefined;
|
|
439
609
|
}>>> & Readonly<{
|
|
440
610
|
onSubmitted?: (() => any) | undefined;
|