@feedmepos/mf-inventory-portal 0.0.17-dev.1 → 0.0.17-dev.10
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-NJ4FogNu.js → ApprovalView-C72rFK1R.js} +9 -9
- package/dist/{BindingsDialog-B-j1k1SE.js → BindingsDialog-gL9pxfYy.js} +5 -5
- package/dist/{BindingsPicker-CEi3jyh0.js → BindingsPicker-5mFctYt_.js} +6 -6
- package/dist/{BindingsTable-DHYJ2Eqm.js → BindingsTable-C6x9dxpe.js} +26 -26
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-1XPAzm5R.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CYZ5Ecsh.js} +1 -1
- package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-DL98UqsQ.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-blApBVkg.js} +9 -9
- package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-Db_M7Cx1.js +236 -0
- package/dist/IngredientsView-P0zlf89O.js +1771 -0
- package/dist/{IntegrationView-DxqyRxVR.js → IntegrationView-C1SXz981.js} +4 -4
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang--KLpvU2e.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfBvA1g5.js} +6 -6
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HpuL5QhV.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSuO9X2f.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-BGbCA7Al.js → PurchaseOrderPrintPreview-DGZafWSJ.js} +4 -4
- package/dist/ReceiveRequestView-C8yrU5NY.js +1435 -0
- package/dist/RecipeView-DJy1k_j1.js +581 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-Dov3Uq2z.js +64 -0
- package/dist/{StockView-Pyk4MBIQ.js → StockView-CEmw7w_F.js} +13 -13
- package/dist/SupplierView-D0y-ASGR.js +804 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Ctqjw3f1.js → TransferDetails.vue_vue_type_script_setup_true_lang-DzK7B6nw.js} +5 -5
- package/dist/{UnitView-DVauPXKw.js → UnitView-PnHtBAGc.js} +7 -7
- package/dist/{WarehouseView-BYivsQgQ.js → WarehouseView-DXhn95Vl.js} +4 -4
- package/dist/api/inventory.d.ts +105 -0
- package/dist/{app-DXqS7qYg.js → app-CjkBFVBh.js} +2693 -2664
- package/dist/app.js +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +75 -0
- package/dist/components/FmUnitInputProps.d.ts +1 -0
- package/dist/components/FmUnitInputRules.d.ts +3 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -0
- package/dist/{date2-B96h4mWb.js → date2-D-5KX0_X.js} +55 -46
- package/dist/{dayjs.min-CQkpEWlm.js → dayjs.min-BKYgFjeY.js} +526 -514
- package/dist/{decimal-DQOX97fs.js → decimal-CNnMmnJA.js} +1 -1
- package/dist/{fuzzy-Dr-kBYFA.js → fuzzy-BPDipSKr.js} +1 -1
- package/dist/helper/number.d.ts +8 -0
- package/dist/helper/random.d.ts +2 -0
- package/dist/helper/xlsx.util.d.ts +1 -0
- package/dist/{init-date-range-6CJBD0GL.js → init-date-range-58-0kupV.js} +1 -1
- package/dist/{layout-CVjYEZxq.js → layout-D2Kwl_3f.js} +12 -12
- package/dist/{rules-B_-yQn9M.js → rules-D0MrF_UU.js} +1 -1
- package/dist/{stock-estimate-DoU-A7bG.js → stock-estimate-CwklebfL.js} +2 -2
- package/dist/stores/inventory.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-D2Wuv0oV.js → supplier-D4woY4Fa.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-Bc0Yx1fK.js → use-inventory-binding-dialog-C6CEI0CS.js} +2 -2
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +12 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItemProps.d.ts +6 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +2 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientsProps.d.ts +5 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +47 -0
- package/dist/views/ingredients/helper/sku-id.helper.d.ts +1 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +4 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/xlsx-BfH_6O8P.js +24004 -0
- package/dist/xlsx.util-BpHfmZp6.js +107 -0
- package/package.json +7 -6
- package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-DqD-jNxc.js +0 -229
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-BYi6BUwT.js +0 -49
- package/dist/IngredientsView-DNbppADe.js +0 -973
- package/dist/ReceiveRequestView-C1ae5dRi.js +0 -1434
- package/dist/RecipeView-BwP8jlG0.js +0 -596
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +0 -53
- package/dist/SupplierView-CVZ7bOgA.js +0 -803
- package/dist/xlsx-Vw9D2Jo4.js +0 -15510
package/dist/{use-inventory-binding-dialog-Bc0Yx1fK.js → use-inventory-binding-dialog-C6CEI0CS.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as y } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as v } from "./app-
|
|
1
|
+
import { _ as y } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-blApBVkg.js";
|
|
2
|
+
import { u as v } from "./app-CjkBFVBh.js";
|
|
3
3
|
import { useDialog as g } from "@feedmepos/ui-library";
|
|
4
4
|
function E() {
|
|
5
5
|
const d = v(), f = g();
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ImportIngredientItemProps } from './ImportIngredientItemProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ImportIngredientItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ImportIngredientItemProps>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -47,6 +47,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
47
47
|
low: number;
|
|
48
48
|
mid: number;
|
|
49
49
|
} | null | undefined;
|
|
50
|
+
operationalGroup?: string | null | undefined;
|
|
50
51
|
unit: {
|
|
51
52
|
_id: string;
|
|
52
53
|
name: string;
|
|
@@ -111,6 +112,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
111
112
|
low: number;
|
|
112
113
|
mid: number;
|
|
113
114
|
} | null | undefined;
|
|
115
|
+
operationalGroup?: string | null | undefined;
|
|
114
116
|
unit: {
|
|
115
117
|
_id: string;
|
|
116
118
|
name: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { WorkSheet } from 'xlsx';
|
|
2
|
+
export interface IngredientSkuRow {
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
unit: string;
|
|
6
|
+
baseUnit: string;
|
|
7
|
+
valuationMethod: string;
|
|
8
|
+
pricePerUnit: number;
|
|
9
|
+
thresholdLow: number;
|
|
10
|
+
thresholdMid: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ImportCreateResult {
|
|
13
|
+
type: 'create';
|
|
14
|
+
sku: FdoInventorySku;
|
|
15
|
+
excelRowNumber: number;
|
|
16
|
+
errors: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface ImportUpdateResult {
|
|
19
|
+
type: 'update';
|
|
20
|
+
original: FdoInventorySku;
|
|
21
|
+
sku: FdoInventorySku;
|
|
22
|
+
excelRowNumber: number;
|
|
23
|
+
errors: string[];
|
|
24
|
+
}
|
|
25
|
+
export type ImportResult = {
|
|
26
|
+
invalidExcel: boolean;
|
|
27
|
+
invalidExcelMessage?: string;
|
|
28
|
+
importCreateResult: ImportCreateResult[];
|
|
29
|
+
importUpdateResult: ImportUpdateResult[];
|
|
30
|
+
};
|
|
31
|
+
export type ObjectWithIndex<T> = {
|
|
32
|
+
index: number;
|
|
33
|
+
data: T;
|
|
34
|
+
};
|
|
35
|
+
export declare const FakeUnit: FdoInventoryUnit;
|
|
36
|
+
export declare function skuToExcelRow(sku: FdoInventorySku): IngredientSkuRow;
|
|
37
|
+
export type ColIdHeader<T> = {
|
|
38
|
+
id: keyof T;
|
|
39
|
+
name: string;
|
|
40
|
+
};
|
|
41
|
+
export declare function getExcelHeaders(): ColIdHeader<IngredientSkuRow>[];
|
|
42
|
+
export declare function exportIngredients(): string;
|
|
43
|
+
export declare function exportIngredientsTemplate(): string;
|
|
44
|
+
export declare function worksheetToSkuRow(sheet: WorkSheet): ObjectWithIndex<IngredientSkuRow>[];
|
|
45
|
+
export declare function importSkuToCreateSku(row: IngredientSkuRow, index: number, parsedContent: ObjectWithIndex<IngredientSkuRow>[]): ImportCreateResult;
|
|
46
|
+
export declare function getSkuToCreateUpdate(sheet: WorkSheet): ImportResult;
|
|
47
|
+
export declare function getSkuToDelete(sheet: WorkSheet): FdoInventorySku[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function newSkuId(): string;
|
package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type ComparePriceSkuBySupplierInfo = {
|
|
|
5
5
|
totalCost?: FdoDinero;
|
|
6
6
|
unit: FdoInventoryUnit;
|
|
7
7
|
seqNumber: number;
|
|
8
|
+
measurement?: FdoUnitMeasurement | null;
|
|
8
9
|
};
|
|
9
10
|
export type ComparePriceSkuBySupplier = Record<string, ComparePriceSkuBySupplierInfo[]>;
|
|
10
11
|
export type ComparePriceBySku = Record<string, ComparePriceSkuBySupplier>;
|
|
@@ -66,6 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
low: number;
|
|
67
67
|
mid: number;
|
|
68
68
|
} | null | undefined;
|
|
69
|
+
operationalGroup?: string | null | undefined;
|
|
69
70
|
unit: {
|
|
70
71
|
_id: string;
|
|
71
72
|
name: string;
|
|
@@ -214,6 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
214
215
|
low: number;
|
|
215
216
|
mid: number;
|
|
216
217
|
} | null | undefined;
|
|
218
|
+
operationalGroup?: string | null | undefined;
|
|
217
219
|
unit: {
|
|
218
220
|
_id: string;
|
|
219
221
|
name: string;
|
|
@@ -355,6 +357,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
355
357
|
low: number;
|
|
356
358
|
mid: number;
|
|
357
359
|
} | null | undefined;
|
|
360
|
+
operationalGroup?: string | null | undefined;
|
|
358
361
|
unit: {
|
|
359
362
|
_id: string;
|
|
360
363
|
name: string;
|
|
@@ -503,6 +506,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
503
506
|
low: number;
|
|
504
507
|
mid: number;
|
|
505
508
|
} | null | undefined;
|
|
509
|
+
operationalGroup?: string | null | undefined;
|
|
506
510
|
unit: {
|
|
507
511
|
_id: string;
|
|
508
512
|
name: string;
|
|
@@ -616,6 +620,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
616
620
|
low: number;
|
|
617
621
|
mid: number;
|
|
618
622
|
} | null | undefined;
|
|
623
|
+
operationalGroup?: string | null | undefined;
|
|
619
624
|
unit: {
|
|
620
625
|
_id: string;
|
|
621
626
|
name: string;
|
|
@@ -74,6 +74,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
74
74
|
low: number;
|
|
75
75
|
mid: number;
|
|
76
76
|
} | null | undefined;
|
|
77
|
+
operationalGroup?: string | null | undefined;
|
|
77
78
|
unit: {
|
|
78
79
|
_id: string;
|
|
79
80
|
name: string;
|
|
@@ -198,6 +199,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
198
199
|
low: number;
|
|
199
200
|
mid: number;
|
|
200
201
|
} | null | undefined;
|
|
202
|
+
operationalGroup?: string | null | undefined;
|
|
201
203
|
unit: {
|
|
202
204
|
_id: string;
|
|
203
205
|
name: string;
|
|
@@ -302,6 +304,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
302
304
|
low: number;
|
|
303
305
|
mid: number;
|
|
304
306
|
} | null | undefined;
|
|
307
|
+
operationalGroup?: string | null | undefined;
|
|
305
308
|
unit: {
|
|
306
309
|
_id: string;
|
|
307
310
|
name: string;
|
|
@@ -426,6 +429,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
426
429
|
low: number;
|
|
427
430
|
mid: number;
|
|
428
431
|
} | null | undefined;
|
|
432
|
+
operationalGroup?: string | null | undefined;
|
|
429
433
|
unit: {
|
|
430
434
|
_id: string;
|
|
431
435
|
name: string;
|
|
@@ -83,6 +83,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
83
83
|
low: number;
|
|
84
84
|
mid: number;
|
|
85
85
|
} | null | undefined;
|
|
86
|
+
operationalGroup?: string | null | undefined;
|
|
86
87
|
unit: {
|
|
87
88
|
_id: string;
|
|
88
89
|
name: string;
|
|
@@ -207,6 +208,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
207
208
|
low: number;
|
|
208
209
|
mid: number;
|
|
209
210
|
} | null | undefined;
|
|
211
|
+
operationalGroup?: string | null | undefined;
|
|
210
212
|
unit: {
|
|
211
213
|
_id: string;
|
|
212
214
|
name: string;
|
|
@@ -349,6 +351,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
349
351
|
low: number;
|
|
350
352
|
mid: number;
|
|
351
353
|
} | null | undefined;
|
|
354
|
+
operationalGroup?: string | null | undefined;
|
|
352
355
|
unit: {
|
|
353
356
|
_id: string;
|
|
354
357
|
name: string;
|
|
@@ -473,6 +476,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
473
476
|
low: number;
|
|
474
477
|
mid: number;
|
|
475
478
|
} | null | undefined;
|
|
479
|
+
operationalGroup?: string | null | undefined;
|
|
476
480
|
unit: {
|
|
477
481
|
_id: string;
|
|
478
482
|
name: string;
|
|
@@ -585,6 +589,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
585
589
|
low: number;
|
|
586
590
|
mid: number;
|
|
587
591
|
} | null | undefined;
|
|
592
|
+
operationalGroup?: string | null | undefined;
|
|
588
593
|
unit: {
|
|
589
594
|
_id: string;
|
|
590
595
|
name: string;
|
|
@@ -709,6 +714,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
709
714
|
low: number;
|
|
710
715
|
mid: number;
|
|
711
716
|
} | null | undefined;
|
|
717
|
+
operationalGroup?: string | null | undefined;
|
|
712
718
|
unit: {
|
|
713
719
|
_id: string;
|
|
714
720
|
name: string;
|
|
@@ -837,6 +843,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
837
843
|
low: number;
|
|
838
844
|
mid: number;
|
|
839
845
|
} | null | undefined;
|
|
846
|
+
operationalGroup?: string | null | undefined;
|
|
840
847
|
unit: {
|
|
841
848
|
_id: string;
|
|
842
849
|
name: string;
|
|
@@ -961,6 +968,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
961
968
|
low: number;
|
|
962
969
|
mid: number;
|
|
963
970
|
} | null | undefined;
|
|
971
|
+
operationalGroup?: string | null | undefined;
|
|
964
972
|
unit: {
|
|
965
973
|
_id: string;
|
|
966
974
|
name: string;
|
|
@@ -1114,6 +1122,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1114
1122
|
low: number;
|
|
1115
1123
|
mid: number;
|
|
1116
1124
|
} | null | undefined;
|
|
1125
|
+
operationalGroup?: string | null | undefined;
|
|
1117
1126
|
unit: {
|
|
1118
1127
|
_id: string;
|
|
1119
1128
|
name: string;
|
|
@@ -1238,6 +1247,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1238
1247
|
low: number;
|
|
1239
1248
|
mid: number;
|
|
1240
1249
|
} | null | undefined;
|
|
1250
|
+
operationalGroup?: string | null | undefined;
|
|
1241
1251
|
unit: {
|
|
1242
1252
|
_id: string;
|
|
1243
1253
|
name: string;
|
|
@@ -1365,6 +1375,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1365
1375
|
low: number;
|
|
1366
1376
|
mid: number;
|
|
1367
1377
|
} | null | undefined;
|
|
1378
|
+
operationalGroup?: string | null | undefined;
|
|
1368
1379
|
unit: {
|
|
1369
1380
|
_id: string;
|
|
1370
1381
|
name: string;
|
|
@@ -1489,6 +1500,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1489
1500
|
low: number;
|
|
1490
1501
|
mid: number;
|
|
1491
1502
|
} | null | undefined;
|
|
1503
|
+
operationalGroup?: string | null | undefined;
|
|
1492
1504
|
unit: {
|
|
1493
1505
|
_id: string;
|
|
1494
1506
|
name: string;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
25
25
|
}[] | null | undefined;
|
|
26
26
|
deltaKey?: string | null | undefined;
|
|
27
27
|
parentKey?: string | null | undefined;
|
|
28
|
-
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
28
|
+
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE";
|
|
29
29
|
amount: {
|
|
30
30
|
amount: number;
|
|
31
31
|
precision: number;
|
|
@@ -74,6 +74,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
74
74
|
low: number;
|
|
75
75
|
mid: number;
|
|
76
76
|
} | null | undefined;
|
|
77
|
+
operationalGroup?: string | null | undefined;
|
|
77
78
|
unit: {
|
|
78
79
|
_id: string;
|
|
79
80
|
name: string;
|
|
@@ -121,7 +122,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
121
122
|
}[] | null | undefined;
|
|
122
123
|
deltaKey?: string | null | undefined;
|
|
123
124
|
parentKey?: string | null | undefined;
|
|
124
|
-
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING";
|
|
125
|
+
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE";
|
|
125
126
|
amount: {
|
|
126
127
|
amount: number;
|
|
127
128
|
precision: number;
|
|
@@ -170,6 +171,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
170
171
|
low: number;
|
|
171
172
|
mid: number;
|
|
172
173
|
} | null | undefined;
|
|
174
|
+
operationalGroup?: string | null | undefined;
|
|
173
175
|
unit: {
|
|
174
176
|
_id: string;
|
|
175
177
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function computeSummaryTotal(history: FdoInventoryAdjustment[], sku?: FdoInventorySku): Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING", {
|
|
1
|
+
export declare function computeSummaryTotal(history: FdoInventoryAdjustment[], sku?: FdoInventorySku): Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE", {
|
|
2
2
|
amount: number;
|
|
3
3
|
precision: number;
|
|
4
|
-
}> | Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING", string>;
|
|
4
|
+
}> | Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE", string>;
|
|
5
5
|
export declare function totalSalesHistory(history: FdoInventoryAdjustment[], sku?: FdoInventorySku): string | null;
|