@feedmepos/mf-inventory-portal 1.7.0-dev.4 → 1.7.0-dev.5
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-DeC2navf.js → App-Dy8S0KRt.js} +4 -4
- package/dist/{ApprovalView-Ll3yriHn.js → ApprovalView-DjJI93rS.js} +8 -8
- package/dist/{BindingsDialog-Cv4Zu2F0.js → BindingsDialog-D--FhGpZ.js} +2 -2
- package/dist/{BindingsPicker-DKFERJrm.js → BindingsPicker-XsEHl2xi.js} +2 -2
- package/dist/{BindingsTable-DYDYjCUR.js → BindingsTable-BklChwvo.js} +3 -3
- package/dist/{BulkReceiveRequestView-CKfleSRf.js → BulkReceiveRequestView-Czz40o9P.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DxWi3ZtP.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-WtLADzmS.js} +1 -1
- package/dist/{ClosingDraftView-BYZqPzZs.js → ClosingDraftView-4UP_hqXM.js} +15 -15
- package/dist/{ClosingHistoryView-BcR4b3Kj.js → ClosingHistoryView-BxPiqt9O.js} +5 -5
- package/dist/{ClosingTemplateView-g31G_LG5.js → ClosingTemplateView-BlRJQaNt.js} +14 -14
- package/dist/{DefaultView-DBkHvTP8.js → DefaultView-CsSsO8eT.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-ucBFXY9y.js → DeliveryOrderPrintPreview-RXp9AXeV.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CpVW3gmZ.js → EmailDialog.vue_vue_type_script_setup_true_lang-C6wahz4p.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BIz6_9Xp.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BoIkrjeO.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-NSY8nxCB.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C0526zpI.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B1_hJbXI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DzmXMjXi.js} +2 -2
- package/dist/{FmMultiselectDialog-Bx9ge3I3.js → FmMultiselectDialog-BKOope7A.js} +1 -1
- package/dist/{FmMultiselectDialog-ygX4I3P5.js → FmMultiselectDialog-CxGDMX78.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C9H3UdZI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CEpk3BEP.js} +5 -5
- package/dist/{ImportView-DScz2ZpL.js → ImportView-BHxX1hqT.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DTge-l1N.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ_oSSOb.js} +1 -1
- package/dist/{IngredientGroupView-CvacPz_b.js → IngredientGroupView-DByeVT7v.js} +5 -5
- package/dist/{IngredientsView-Cxy6Y5CE.js → IngredientsView-CPgE5eqn.js} +15 -15
- package/dist/{IntegrationExplorerView-DbbXB3cI.js → IntegrationExplorerView-CrXHD7rd.js} +4 -4
- package/dist/{IntegrationView-Bnm4WJtL.js → IntegrationView-DzFBFmzL.js} +13 -13
- package/dist/{InventoryBindingForm-CDrRxrjd.js → InventoryBindingForm-B58ZezqT.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BumG-qV9.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-09qFxTZJ.js} +5 -5
- package/dist/{InventoryBindingSummary-DhxePtL1.js → InventoryBindingSummary-WjQDrDji.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BzRKEF5I.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DoUxZyJS.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B0sZMJqU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CaohrG8R.js} +1 -1
- package/dist/ProductionView-9s0UPdgF.js +1441 -0
- package/dist/{PublishView-BfG3HqBC.js → PublishView-CZ-sgofx.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DVZk61SY.js → PurchaseOrderPrintPreview-BRfOlr1A.js} +2 -2
- package/dist/{ReceiveRequestView-Ox94M7qd.js → ReceiveRequestView-DOpcBlPk.js} +13 -13
- package/dist/{RecipeView-B1IWEZEL.js → RecipeView-CqqtIJv3.js} +17 -17
- package/dist/{SettingsView-CZz5gesU.js → SettingsView-CPqrpICj.js} +4 -4
- package/dist/{StockView-CwTYN5n8.js → StockView-DL16QIzP.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BhFbyg9o.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CRLRbY8r.js} +1 -1
- package/dist/{SupplierView-BrSr4RQo.js → SupplierView-BKYDTRly.js} +12 -12
- package/dist/{SurchargeView-DE1yKmfx.js → SurchargeView-BXHVfmHS.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BzFbPVRq.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DZgTmzRk.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dirb3Jjy.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D0JkImSa.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CzwBPxiw.js → TransferDetails.vue_vue_type_script_setup_true_lang-dBmVI2CQ.js} +20 -20
- package/dist/{TransferTemplateView-CrMMfGjb.js → TransferTemplateView-CI9TVc67.js} +20 -20
- package/dist/{UnitCostHistoryView-TBYo9W_v.js → UnitCostHistoryView-D3TUepMk.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CEU07ccr.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-C518diLn.js} +4 -4
- package/dist/{UnitView-CkUH58Re.js → UnitView-BHNkFYA8.js} +7 -7
- package/dist/{WarehouseView-TQs1zSrZ.js → WarehouseView-Bh391caS.js} +5 -5
- package/dist/{WastageTemplateView-DepTfy2-.js → WastageTemplateView-Dgi21iCN.js} +14 -14
- package/dist/api/production.d.ts +1 -0
- package/dist/{app-BADmO-Lf.js → app-CMeYC_Q8.js} +24 -20
- package/dist/app.js +1 -1
- package/dist/{closing-template-BpijH2dK.js → closing-template-CA09sApB.js} +1 -1
- package/dist/{date2-BevjhMmS.js → date2-CzejXWLl.js} +1 -1
- package/dist/{dayjs.min-DU3Yr_Sk.js → dayjs.min-Bt3TyY_o.js} +1 -1
- package/dist/{decimal-CJ70-7L1.js → decimal-5fD_ux1d.js} +2 -2
- package/dist/{defineDeepModel-Un9Q04-U.js → defineDeepModel-Dm7rseSW.js} +1 -1
- package/dist/{duplicate-template-Cd_YEZjZ.js → duplicate-template-BufbAoPU.js} +1 -1
- package/dist/{feature-CbwWizJX.js → feature-eNVOuvir.js} +2 -2
- package/dist/{format-time-from-id-B5bym9BQ.js → format-time-from-id-W3Y0GVAS.js} +1 -1
- package/dist/{format-unit-display-C9TPOE_p.js → format-unit-display-Bl9U8EY8.js} +12 -12
- package/dist/{import-export.helper-CiByfBED.js → import-export.helper-DoKOvdUD.js} +6 -6
- package/dist/{index-Tf7nxkN3.js → index-CDkRQHsH.js} +1 -1
- package/dist/{index-CpcQJ8GC.js → index-CkYWKMMm.js} +1 -1
- package/dist/{index-CaMknkKB.js → index-O88uLh8G.js} +3 -3
- package/dist/{inventory-core-dart.default-Xq6qVKEI.js → inventory-core-dart.default-w9TD2218.js} +387 -358
- package/dist/{jszip.min-CNl-bp9D.js → jszip.min-B_IXYK70.js} +2 -2
- package/dist/{lz-string-ChW-PBkH.js → lz-string-B1yTzLvw.js} +1 -1
- package/dist/{netsuite-BxdcBZoa.js → netsuite-044jD35H.js} +2 -2
- package/dist/{number-CRlNzH0c.js → number-BRWq97Cn.js} +3 -3
- package/dist/{predefined-templates-BhaRlTSB.js → predefined-templates-Bux2_3lt.js} +1 -1
- package/dist/{purchase-order-template-pM5d7gKu.js → purchase-order-template-Caf8z-jM.js} +1 -1
- package/dist/{recalculationUtils-BJfI7ElS.js → recalculationUtils-CfRcpX6e.js} +1 -1
- package/dist/{rules-DG7U9LrL.js → rules-BZ4IEShU.js} +2 -2
- package/dist/{stock-zJ7efxNX.js → stock-CPjd7Xin.js} +1 -1
- package/dist/{stock-wVR-PVvS.js → stock-Csd8P79g.js} +3 -3
- package/dist/{supplier-CQyPFktd.js → supplier-EkV-Jm3U.js} +2 -2
- package/dist/{surcharge-DX0uxjvH.js → surcharge-DbTgB3SV.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DzR-BIq3.js → uom-rules-DjZk24TE.js} +1 -1
- package/dist/{use-ingredient-select-dialog-D4ZjczeJ.js → use-ingredient-select-dialog-UyT2i0Xd.js} +2 -2
- package/dist/{use-inventory-binding-dialog-PifwZwan.js → use-inventory-binding-dialog-DqiIIjP-.js} +2 -2
- package/dist/{use-template-enabled-locations-CpCyaYsy.js → use-template-enabled-locations-DCS26PkR.js} +2 -2
- package/dist/{use-transfer-locations-LFsALgy0.js → use-transfer-locations-ASNqbq4F.js} +2 -2
- package/dist/{useHrmPermission-7RZnNkv0.js → useHrmPermission-CJghd6jy.js} +1 -1
- package/dist/{useNavigationMenu-i3flgXzG.js → useNavigationMenu-BmYGiYHz.js} +2 -2
- package/dist/{useSseClient-CuDr35_b.js → useSseClient-CjdMXh9s.js} +1 -1
- package/dist/views/production/ProductionCompletionDialog.vue.d.ts +4 -0
- package/dist/views/production/ProductionDetailSheet.vue.d.ts +4 -0
- package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +6 -4
- package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +278 -2
- package/dist/{vue-i18n-B3Ixo0mN.js → vue-i18n-DGE7TahE.js} +304 -304
- package/dist/{xlsx.util-7bNNr06Q.js → xlsx.util-DTNSgR0e.js} +2 -2
- package/package.json +2 -2
- package/dist/ProductionView-CrS63atf.js +0 -1330
package/dist/{use-ingredient-select-dialog-D4ZjczeJ.js → use-ingredient-select-dialog-UyT2i0Xd.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as S } from "pinia";
|
|
2
|
-
import { a as b } from "./app-
|
|
3
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as b } from "./app-CMeYC_Q8.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-CxGDMX78.js";
|
|
4
4
|
import { useDialog as I } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
6
6
|
const w = S(
|
package/dist/{use-inventory-binding-dialog-PifwZwan.js → use-inventory-binding-dialog-DqiIIjP-.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as P } from "./app-
|
|
1
|
+
import { a as g } from "./FmMultiselectDialog-CxGDMX78.js";
|
|
2
|
+
import { a as P } from "./app-CMeYC_Q8.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function A() {
|
|
5
5
|
const u = P(), _ = E();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
-
import { u as S } from "./app-
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-CxGDMX78.js";
|
|
2
|
+
import { u as S } from "./app-CMeYC_Q8.js";
|
|
3
3
|
import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as C, components as p } from "@feedmepos/ui-library";
|
|
5
5
|
import { computed as r, h as c } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as g, r as l, W as w, Z as R } from "./app-
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, W as w, Z as R } from "./app-CMeYC_Q8.js";
|
|
2
|
+
import { u as E } from "./supplier-EkV-Jm3U.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as T } from "vue";
|
|
2
|
-
import { b as P, R as e, a5 as O, a6 as b, a4 as A } from "./app-
|
|
2
|
+
import { b as P, R as e, a5 as O, a6 as b, a4 as A } from "./app-CMeYC_Q8.js";
|
|
3
3
|
import { useCoreStore as C, useI18n as U } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as _ } from "./feature-
|
|
4
|
+
import { u as _ } from "./feature-eNVOuvir.js";
|
|
5
5
|
const L = b.reduce(
|
|
6
6
|
(s, E) => {
|
|
7
7
|
var i;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { WithRev } from '@/api/type';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
batch: WithRev<FdoProductionBatch>;
|
|
4
|
+
open?: boolean | undefined;
|
|
4
5
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
6
|
submitted: (items: {
|
|
6
7
|
skuId: string;
|
|
@@ -9,8 +10,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
10
|
precision: number;
|
|
10
11
|
};
|
|
11
12
|
}[]) => void;
|
|
13
|
+
"update:open": (value: boolean) => void;
|
|
12
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
15
|
batch: WithRev<FdoProductionBatch>;
|
|
16
|
+
open?: boolean | undefined;
|
|
14
17
|
}>>> & Readonly<{
|
|
15
18
|
onSubmitted?: ((items: {
|
|
16
19
|
skuId: string;
|
|
@@ -19,6 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
22
|
precision: number;
|
|
20
23
|
};
|
|
21
24
|
}[]) => any) | undefined;
|
|
25
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
22
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
27
|
export default _default;
|
|
24
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -12,11 +12,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
}[] | undefined) => void;
|
|
13
13
|
cancel: (reason: string) => void;
|
|
14
14
|
close: () => void;
|
|
15
|
+
"close-production": () => void;
|
|
16
|
+
edit: () => void;
|
|
15
17
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
18
|
batch: WithRev<FdoProductionBatch>;
|
|
17
19
|
}>>> & Readonly<{
|
|
18
20
|
onCancel?: ((reason: string) => any) | undefined;
|
|
19
21
|
onClose?: (() => any) | undefined;
|
|
22
|
+
onEdit?: (() => any) | undefined;
|
|
20
23
|
onRequest?: (() => any) | undefined;
|
|
21
24
|
onComplete?: ((items?: {
|
|
22
25
|
skuId: string;
|
|
@@ -25,6 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
28
|
precision: number;
|
|
26
29
|
};
|
|
27
30
|
}[] | undefined) => any) | undefined;
|
|
31
|
+
"onClose-production"?: (() => any) | undefined;
|
|
28
32
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
33
|
export default _default;
|
|
30
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
} | null | undefined;
|
|
14
14
|
activityLogs?: {
|
|
15
15
|
remark?: string | null | undefined;
|
|
16
|
-
action: "cancel" | "create" | "update" | "request" | "complete";
|
|
16
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete";
|
|
17
17
|
performedAt: string;
|
|
18
18
|
performedBy: {
|
|
19
19
|
name: string;
|
|
@@ -40,7 +40,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
}[] | null | undefined;
|
|
41
41
|
cancelledAt?: string | null | undefined;
|
|
42
42
|
cancelReason?: string | null | undefined;
|
|
43
|
-
|
|
43
|
+
closedAt?: string | null | undefined;
|
|
44
|
+
status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
44
45
|
_id: string;
|
|
45
46
|
createdAt: string;
|
|
46
47
|
items: {
|
|
@@ -147,7 +148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
148
|
} | null | undefined;
|
|
148
149
|
activityLogs?: {
|
|
149
150
|
remark?: string | null | undefined;
|
|
150
|
-
action: "cancel" | "create" | "update" | "request" | "complete";
|
|
151
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete";
|
|
151
152
|
performedAt: string;
|
|
152
153
|
performedBy: {
|
|
153
154
|
name: string;
|
|
@@ -174,7 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
175
|
}[] | null | undefined;
|
|
175
176
|
cancelledAt?: string | null | undefined;
|
|
176
177
|
cancelReason?: string | null | undefined;
|
|
177
|
-
|
|
178
|
+
closedAt?: string | null | undefined;
|
|
179
|
+
status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
178
180
|
_id: string;
|
|
179
181
|
createdAt: string;
|
|
180
182
|
items: {
|
|
@@ -1,6 +1,282 @@
|
|
|
1
|
-
|
|
1
|
+
import type { WithRev } from '@/api/type';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
batch?: WithRev<{
|
|
4
|
+
name?: string | null | undefined;
|
|
5
|
+
_rev?: string | null | undefined;
|
|
6
|
+
completedAt?: string | null | undefined;
|
|
7
|
+
remark?: string | null | undefined;
|
|
8
|
+
createdBy?: {
|
|
9
|
+
name: string;
|
|
10
|
+
id: string;
|
|
11
|
+
} | null | undefined;
|
|
12
|
+
activityLogs?: {
|
|
13
|
+
remark?: string | null | undefined;
|
|
14
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete";
|
|
15
|
+
performedAt: string;
|
|
16
|
+
performedBy: {
|
|
17
|
+
name: string;
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
}[] | null | undefined;
|
|
21
|
+
batchNo?: string | null | undefined;
|
|
22
|
+
completions?: {
|
|
23
|
+
remark?: string | null | undefined;
|
|
24
|
+
adjustmentId: string;
|
|
25
|
+
id: string;
|
|
26
|
+
completedAt: string;
|
|
27
|
+
items: {
|
|
28
|
+
skuId: string;
|
|
29
|
+
amount: {
|
|
30
|
+
amount: number;
|
|
31
|
+
precision: number;
|
|
32
|
+
};
|
|
33
|
+
}[];
|
|
34
|
+
completedBy: {
|
|
35
|
+
name: string;
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
38
|
+
}[] | null | undefined;
|
|
39
|
+
cancelledAt?: string | null | undefined;
|
|
40
|
+
cancelReason?: string | null | undefined;
|
|
41
|
+
closedAt?: string | null | undefined;
|
|
42
|
+
status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
43
|
+
_id: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
items: {
|
|
46
|
+
measurement?: {
|
|
47
|
+
name: string;
|
|
48
|
+
id: string;
|
|
49
|
+
abbrev: string;
|
|
50
|
+
conversion: {
|
|
51
|
+
amount: number;
|
|
52
|
+
precision: number;
|
|
53
|
+
};
|
|
54
|
+
} | null | undefined;
|
|
55
|
+
sku: {
|
|
56
|
+
trackingMeasurement?: string | null | undefined;
|
|
57
|
+
isInactive?: boolean | null | undefined;
|
|
58
|
+
convert?: {
|
|
59
|
+
measurement?: string | null | undefined;
|
|
60
|
+
inventoryBindings?: {
|
|
61
|
+
measurement?: {
|
|
62
|
+
name: string;
|
|
63
|
+
id: string;
|
|
64
|
+
abbrev: string;
|
|
65
|
+
conversion: {
|
|
66
|
+
amount: number;
|
|
67
|
+
precision: number;
|
|
68
|
+
};
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
rules?: Record<string, any> | null | undefined;
|
|
71
|
+
alternatives?: {
|
|
72
|
+
default?: boolean | null | undefined;
|
|
73
|
+
trackingMeasurement?: string | null | undefined;
|
|
74
|
+
priority?: number | null | undefined;
|
|
75
|
+
_id: string;
|
|
76
|
+
}[] | null | undefined;
|
|
77
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
78
|
+
amount: {
|
|
79
|
+
amount: number;
|
|
80
|
+
precision: number;
|
|
81
|
+
};
|
|
82
|
+
id: string;
|
|
83
|
+
}[] | null | undefined;
|
|
84
|
+
} | null | undefined;
|
|
85
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
86
|
+
defaultCost?: {
|
|
87
|
+
measurement?: {
|
|
88
|
+
name: string;
|
|
89
|
+
id: string;
|
|
90
|
+
abbrev: string;
|
|
91
|
+
conversion: {
|
|
92
|
+
amount: number;
|
|
93
|
+
precision: number;
|
|
94
|
+
};
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
costPerUnit: {
|
|
97
|
+
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";
|
|
98
|
+
amount: number;
|
|
99
|
+
precision: number;
|
|
100
|
+
};
|
|
101
|
+
} | null | undefined;
|
|
102
|
+
operationalGroup?: string | null | undefined;
|
|
103
|
+
thresholds?: {
|
|
104
|
+
low: number;
|
|
105
|
+
mid: number;
|
|
106
|
+
} | null | undefined;
|
|
107
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
108
|
+
unit: {
|
|
109
|
+
_id: string;
|
|
110
|
+
name: string;
|
|
111
|
+
abbrev: string;
|
|
112
|
+
precision: number;
|
|
113
|
+
measurements: {
|
|
114
|
+
name: string;
|
|
115
|
+
id: string;
|
|
116
|
+
abbrev: string;
|
|
117
|
+
conversion: {
|
|
118
|
+
amount: number;
|
|
119
|
+
precision: number;
|
|
120
|
+
};
|
|
121
|
+
}[];
|
|
122
|
+
};
|
|
123
|
+
code: string;
|
|
124
|
+
_id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
};
|
|
127
|
+
skuId: string;
|
|
128
|
+
amount: {
|
|
129
|
+
amount: number;
|
|
130
|
+
precision: number;
|
|
131
|
+
};
|
|
132
|
+
id: string;
|
|
133
|
+
}[];
|
|
134
|
+
}> | undefined;
|
|
135
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
136
|
created: () => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
137
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
138
|
+
batch?: WithRev<{
|
|
139
|
+
name?: string | null | undefined;
|
|
140
|
+
_rev?: string | null | undefined;
|
|
141
|
+
completedAt?: string | null | undefined;
|
|
142
|
+
remark?: string | null | undefined;
|
|
143
|
+
createdBy?: {
|
|
144
|
+
name: string;
|
|
145
|
+
id: string;
|
|
146
|
+
} | null | undefined;
|
|
147
|
+
activityLogs?: {
|
|
148
|
+
remark?: string | null | undefined;
|
|
149
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete";
|
|
150
|
+
performedAt: string;
|
|
151
|
+
performedBy: {
|
|
152
|
+
name: string;
|
|
153
|
+
id: string;
|
|
154
|
+
};
|
|
155
|
+
}[] | null | undefined;
|
|
156
|
+
batchNo?: string | null | undefined;
|
|
157
|
+
completions?: {
|
|
158
|
+
remark?: string | null | undefined;
|
|
159
|
+
adjustmentId: string;
|
|
160
|
+
id: string;
|
|
161
|
+
completedAt: string;
|
|
162
|
+
items: {
|
|
163
|
+
skuId: string;
|
|
164
|
+
amount: {
|
|
165
|
+
amount: number;
|
|
166
|
+
precision: number;
|
|
167
|
+
};
|
|
168
|
+
}[];
|
|
169
|
+
completedBy: {
|
|
170
|
+
name: string;
|
|
171
|
+
id: string;
|
|
172
|
+
};
|
|
173
|
+
}[] | null | undefined;
|
|
174
|
+
cancelledAt?: string | null | undefined;
|
|
175
|
+
cancelReason?: string | null | undefined;
|
|
176
|
+
closedAt?: string | null | undefined;
|
|
177
|
+
status: "DRAFT" | "REQUESTING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
178
|
+
_id: string;
|
|
179
|
+
createdAt: string;
|
|
180
|
+
items: {
|
|
181
|
+
measurement?: {
|
|
182
|
+
name: string;
|
|
183
|
+
id: string;
|
|
184
|
+
abbrev: string;
|
|
185
|
+
conversion: {
|
|
186
|
+
amount: number;
|
|
187
|
+
precision: number;
|
|
188
|
+
};
|
|
189
|
+
} | null | undefined;
|
|
190
|
+
sku: {
|
|
191
|
+
trackingMeasurement?: string | null | undefined;
|
|
192
|
+
isInactive?: boolean | null | undefined;
|
|
193
|
+
convert?: {
|
|
194
|
+
measurement?: string | null | undefined;
|
|
195
|
+
inventoryBindings?: {
|
|
196
|
+
measurement?: {
|
|
197
|
+
name: string;
|
|
198
|
+
id: string;
|
|
199
|
+
abbrev: string;
|
|
200
|
+
conversion: {
|
|
201
|
+
amount: number;
|
|
202
|
+
precision: number;
|
|
203
|
+
};
|
|
204
|
+
} | null | undefined;
|
|
205
|
+
rules?: Record<string, any> | null | undefined;
|
|
206
|
+
alternatives?: {
|
|
207
|
+
default?: boolean | null | undefined;
|
|
208
|
+
trackingMeasurement?: string | null | undefined;
|
|
209
|
+
priority?: number | null | undefined;
|
|
210
|
+
_id: string;
|
|
211
|
+
}[] | null | undefined;
|
|
212
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
213
|
+
amount: {
|
|
214
|
+
amount: number;
|
|
215
|
+
precision: number;
|
|
216
|
+
};
|
|
217
|
+
id: string;
|
|
218
|
+
}[] | null | undefined;
|
|
219
|
+
} | null | undefined;
|
|
220
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
221
|
+
defaultCost?: {
|
|
222
|
+
measurement?: {
|
|
223
|
+
name: string;
|
|
224
|
+
id: string;
|
|
225
|
+
abbrev: string;
|
|
226
|
+
conversion: {
|
|
227
|
+
amount: number;
|
|
228
|
+
precision: number;
|
|
229
|
+
};
|
|
230
|
+
} | null | undefined;
|
|
231
|
+
costPerUnit: {
|
|
232
|
+
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";
|
|
233
|
+
amount: number;
|
|
234
|
+
precision: number;
|
|
235
|
+
};
|
|
236
|
+
} | null | undefined;
|
|
237
|
+
operationalGroup?: string | null | undefined;
|
|
238
|
+
thresholds?: {
|
|
239
|
+
low: number;
|
|
240
|
+
mid: number;
|
|
241
|
+
} | null | undefined;
|
|
242
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
243
|
+
unit: {
|
|
244
|
+
_id: string;
|
|
245
|
+
name: string;
|
|
246
|
+
abbrev: string;
|
|
247
|
+
precision: number;
|
|
248
|
+
measurements: {
|
|
249
|
+
name: string;
|
|
250
|
+
id: string;
|
|
251
|
+
abbrev: string;
|
|
252
|
+
conversion: {
|
|
253
|
+
amount: number;
|
|
254
|
+
precision: number;
|
|
255
|
+
};
|
|
256
|
+
}[];
|
|
257
|
+
};
|
|
258
|
+
code: string;
|
|
259
|
+
_id: string;
|
|
260
|
+
name: string;
|
|
261
|
+
};
|
|
262
|
+
skuId: string;
|
|
263
|
+
amount: {
|
|
264
|
+
amount: number;
|
|
265
|
+
precision: number;
|
|
266
|
+
};
|
|
267
|
+
id: string;
|
|
268
|
+
}[];
|
|
269
|
+
}> | undefined;
|
|
270
|
+
}>>> & Readonly<{
|
|
4
271
|
onCreated?: (() => any) | undefined;
|
|
5
272
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
273
|
export default _default;
|
|
274
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
275
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
276
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
277
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
278
|
+
} : {
|
|
279
|
+
type: import('vue').PropType<T[K]>;
|
|
280
|
+
required: true;
|
|
281
|
+
};
|
|
282
|
+
};
|