@feedmepos/mf-inventory-portal 1.1.2 → 1.1.3-dev.2
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-BhEtjLqO.js → App-Y70p19Gp.js} +1 -1
- package/dist/ApprovalView-BVyt_mNb.js +219 -0
- package/dist/{BindingsDialog-CX3Hu_r6.js → BindingsDialog-BULs3OTl.js} +4 -4
- package/dist/{BindingsPicker-BbinQ8Hl.js → BindingsPicker-DpAk5M6U.js} +1 -1
- package/dist/{BindingsTable-DxlSz6Ev.js → BindingsTable-DzQzbNFw.js} +4 -4
- package/dist/ClosingDraftView-BpRIs-2B.js +1676 -0
- package/dist/{ClosingTemplateView-CB9_JOl4.js → ClosingTemplateView-B-kRLpTZ.js} +487 -473
- package/dist/{DeliveryOrderPrintPreview-BlE3fIAT.js → DeliveryOrderPrintPreview-CSZndykZ.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DxKFFyWs.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDvzOUsD.js} +3 -3
- package/dist/{FmMultiselectDialog-DcviKwNR.js → FmMultiselectDialog-DSJ2MFmR.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CepHeClt.js → FmUnitInput.vue_vue_type_script_setup_true_lang-XUPKPUMs.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Dg8VdQzg.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-c0_HwN-t.js} +1 -1
- package/dist/{IngredientGroupView-EE8lN8JL.js → IngredientGroupView-DQ-EBjd-.js} +2 -2
- package/dist/{IngredientsView-BkDpHVvn.js → IngredientsView-CQgltl5_.js} +4 -4
- package/dist/{IntegrationView-Bj7sb1gO.js → IntegrationView-CNcVeIFO.js} +1170 -1141
- package/dist/{InventoryBindingForm-BkazprFH.js → InventoryBindingForm-BuKXc_Sa.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BbQqYyzL.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQaufX7H.js} +3 -3
- package/dist/{InventoryBindingSummary-D0XiOdR4.js → InventoryBindingSummary-D68_zXou.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Pf8BPDZw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-d2nPZ3lt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2Tx3xSj.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DkRWn5u5.js} +1 -1
- package/dist/{PublishView-BUIcrw8m.js → PublishView-CpQ71JIU.js} +18 -18
- package/dist/{PurchaseOrderPrintPreview-lO7Bilm5.js → PurchaseOrderPrintPreview-DZo7aY7C.js} +1 -1
- package/dist/{ReceiveRequestView-BZV-8Ib3.js → ReceiveRequestView-C4546P-_.js} +697 -694
- package/dist/{RecipeView-2Tm12Zuk.js → RecipeView-BRwqCYV9.js} +3 -3
- package/dist/{StockView-DaWS_HQl.js → StockView-cvnJr_oX.js} +6 -6
- package/dist/{SupplierView-nfxqynuY.js → SupplierView-DwS-SiXQ.js} +648 -646
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B2NLmIxb.js +2280 -0
- package/dist/{TransferTemplateView-CGjfCELA.js → TransferTemplateView-CGKjXln1.js} +6 -6
- package/dist/{UnitView-Cm5WuuEN.js → UnitView-BabatKhp.js} +3 -3
- package/dist/{WarehouseView-BSLX0g3B.js → WarehouseView-BtEuG-Iw.js} +1 -1
- package/dist/api/duplicate-template.d.ts +3 -3
- package/dist/api/netsuite.d.ts +1 -0
- package/dist/{app-CnDLBWW7.js → app-cN81pzZd.js} +23769 -23459
- package/dist/app.d.ts +9 -0
- package/dist/app.js +5 -5
- package/dist/{decimal-DmezA5YT.js → decimal-CC3JyA3f.js} +1 -1
- package/dist/{format-unit-display-Bcq6wldv.js → format-unit-display-B7SHcLn9.js} +216 -202
- package/dist/{index-C476dvi7.js → index-D-5LSVee.js} +2686 -2650
- package/dist/{index-R97nRHsF.js → index-DldWujwI.js} +1 -1
- package/dist/{stock-Dd0YSjSF.js → stock-DBkA5bTB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-C4s3SHui.js → supplier-C_xP9tgW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DaXBOLhz.js → use-ingredient-select-dialog-mXti22kH.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CsFwoUbg.js → use-inventory-binding-dialog-0b-ngROc.js} +1 -1
- package/dist/views/closing-draft/components/closing-draft-action/RefreshBalanceAction.vue.d.ts +19 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +8 -0
- package/dist/views/receive-request/composables/fn.d.ts +32 -0
- package/dist/{vue-i18n-CdkMdZ30.js → vue-i18n-DB3u4gQS.js} +492 -492
- package/package.json +4 -4
- package/dist/ApprovalView-BHIVSsbz.js +0 -213
- package/dist/ClosingDraftView-B5gQ2k-T.js +0 -1520
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-g74nRiM0.js +0 -2213
package/dist/{use-ingredient-select-dialog-DaXBOLhz.js → use-ingredient-select-dialog-mXti22kH.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as y } from "pinia";
|
|
2
|
-
import { a as S, a2 as b } from "./app-
|
|
2
|
+
import { a as S, a2 as b } from "./app-cN81pzZd.js";
|
|
3
3
|
import { useDialog as A } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
5
5
|
const h = y(
|
package/dist/views/closing-draft/components/closing-draft-action/RefreshBalanceAction.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
draft: FdoClosingDraft;
|
|
3
|
+
onCancel: () => void;
|
|
4
|
+
onFinished: (date: string) => void;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
draft: FdoClosingDraft;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
onFinished: (date: string) => void;
|
|
9
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -6,6 +6,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
6
6
|
markAsFailed: (draft: FdoClosingDraft, onFinished?: Function) => void;
|
|
7
7
|
syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
8
8
|
exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
|
|
9
|
+
refreshBalance: (draft: FdoClosingDraft, onCancel?: Function, onFinished?: Function) => Promise<void>;
|
|
9
10
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
10
11
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
11
12
|
}, "viewClosingDraftShow" | "viewClosingDraftProps">>, Pick<{
|
|
@@ -16,6 +17,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
16
17
|
markAsFailed: (draft: FdoClosingDraft, onFinished?: Function) => void;
|
|
17
18
|
syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
18
19
|
exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
|
|
20
|
+
refreshBalance: (draft: FdoClosingDraft, onCancel?: Function, onFinished?: Function) => Promise<void>;
|
|
19
21
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
20
22
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
21
23
|
}, never>, Pick<{
|
|
@@ -26,6 +28,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
26
28
|
markAsFailed: (draft: FdoClosingDraft, onFinished?: Function) => void;
|
|
27
29
|
syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
28
30
|
exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
|
|
31
|
+
refreshBalance: (draft: FdoClosingDraft, onCancel?: Function, onFinished?: Function) => Promise<void>;
|
|
29
32
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
30
33
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
31
|
-
}, "approveDraft" | "rejectDraft" | "markAsFailed" | "viewDraft" | "closeDraftDialog" | "syncDraft" | "exportDraft">>;
|
|
34
|
+
}, "approveDraft" | "rejectDraft" | "markAsFailed" | "viewDraft" | "closeDraftDialog" | "syncDraft" | "exportDraft" | "refreshBalance">>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
2
2
|
import type { PO_SCOPE } from '../../composables/use-receive-request-form';
|
|
3
|
+
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
4
|
+
export interface ReceivedDto {
|
|
5
|
+
key: string;
|
|
6
|
+
received: FdoDecimal;
|
|
7
|
+
total: FdoDecimal;
|
|
8
|
+
remaining: FdoDecimal;
|
|
9
|
+
}
|
|
3
10
|
export interface TransferDetailsProps {
|
|
4
11
|
poRequest?: FdoPurchaseOrderRequest;
|
|
5
12
|
purchaseOrder?: FdoPurchaseOrder & RevisionIdMeta;
|
|
@@ -9,6 +16,7 @@ export interface TransferDetailsProps {
|
|
|
9
16
|
canResubmit?: boolean;
|
|
10
17
|
canApprove?: boolean;
|
|
11
18
|
scope: PO_SCOPE;
|
|
19
|
+
receivedMap: Record<string, ReceivedDto>;
|
|
12
20
|
}
|
|
13
21
|
export interface TransferDetailsEvents {
|
|
14
22
|
(event: 'update:show', show: boolean): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ReceivedDto } from '../components/transfer-details/TransferDetailsProps';
|
|
2
|
+
export declare function generatedPOReceivedMap(po: FdoPurchaseOrder): Record<string, ReceivedDto>;
|
|
3
|
+
export declare function validateReceivedStatus(dto: ReceivedDto): {
|
|
4
|
+
isPartialReceive?: boolean;
|
|
5
|
+
isFullReceive?: boolean;
|
|
6
|
+
isNoReceive?: boolean;
|
|
7
|
+
isOverReceive?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Combination of order statuses based on partial/over-receive flags:
|
|
11
|
+
*
|
|
12
|
+
* Processing:
|
|
13
|
+
* - Partial: Partial fulfilled
|
|
14
|
+
* - Over: Processing
|
|
15
|
+
* - Partial + Over: Partial fulfilled
|
|
16
|
+
*
|
|
17
|
+
* Receiving:
|
|
18
|
+
* - Partial: Partial received
|
|
19
|
+
* - Over: Receiving
|
|
20
|
+
* - Partial + Over: Partial received
|
|
21
|
+
*
|
|
22
|
+
* Completed:
|
|
23
|
+
* - Partial: Completed
|
|
24
|
+
* - Over: Completed
|
|
25
|
+
* - Partial + Over: Completed
|
|
26
|
+
*
|
|
27
|
+
* Closed:
|
|
28
|
+
* - Partial: Closed
|
|
29
|
+
* - Over: Closed
|
|
30
|
+
* - Partial + Over: Closed
|
|
31
|
+
*/
|
|
32
|
+
export declare function orderStatusCombination(status: string, isPOPartialReceive: boolean, isPOOverReceive: boolean): string;
|