@feedmepos/mf-inventory-portal 1.7.5-dev.1 → 1.7.5-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-Cajcbi7C.js → App-D4pfsscT.js} +4 -4
- package/dist/{ApprovalView-pn-qHYIX.js → ApprovalView-CYnp3Gv5.js} +25 -24
- package/dist/{BindingsDialog-zcBevwFb.js → BindingsDialog-Dm0kKlg-.js} +2 -2
- package/dist/{BindingsPicker-DRWl6zQ4.js → BindingsPicker-CdGHTlqD.js} +2 -2
- package/dist/{BindingsTable-8m6QfTWo.js → BindingsTable-DEZHwIgw.js} +3 -3
- package/dist/BulkReceiveRequestView-ClvGD9vp.js +2584 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CJlb8KSr.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DVFOpysl.js} +1 -1
- package/dist/{ClosingDraftView-DSB7J84e.js → ClosingDraftView-CXTf30OO.js} +21 -21
- package/dist/{ClosingHistoryView-BmVm5PZ0.js → ClosingHistoryView-3yfjab3s.js} +5 -5
- package/dist/{ClosingTemplateView-D8epJry0.js → ClosingTemplateView-DhDRDJfg.js} +18 -18
- package/dist/CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C0DjydRr.js +145 -0
- package/dist/{DefaultView-5NqNxkyj.js → DefaultView-BQyve9e7.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-hUWHCkIg.js → DeliveryOrderPrintPreview-Cx85J915.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-D2Am8ZDJ.js → EmailDialog.vue_vue_type_script_setup_true_lang-BjSzg-to.js} +3612 -3575
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DB2tvpP6.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DOY0FHF8.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-KCBmg5AJ.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DRLRTNJn.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_0D62ne.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CnQPXIkP.js} +2 -2
- package/dist/{FmMultiselectDialog-DU7IzWG_.js → FmMultiselectDialog-DK737zIz.js} +1 -1
- package/dist/{FmMultiselectDialog-Ds_f8gua.js → FmMultiselectDialog-IIFXWxUT.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DSDqCW3P.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bonb9Hnk.js} +5 -5
- package/dist/{ImportView-0gnR-m1B.js → ImportView-D4xpncdw.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BXsS60iO.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CYjvjRhH.js} +1 -1
- package/dist/{IngredientGroupView-D3M3aA_H.js → IngredientGroupView-Bh7ShplN.js} +7 -7
- package/dist/{IngredientsView-BoJUcVQE.js → IngredientsView-B03s_wbT.js} +17 -17
- package/dist/{IntegrationExplorerView-CANrFCne.js → IntegrationExplorerView-DgsllLAF.js} +4 -4
- package/dist/{IntegrationView-CNA-8zrj.js → IntegrationView-9BCyzPdb.js} +14 -14
- package/dist/{InventoryBindingForm-DT-YXt4c.js → InventoryBindingForm-C8LY1sc4.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CxNSflJ8.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang--mFdjT9b.js} +5 -5
- package/dist/{InventoryBindingSummary-BCnTxQhc.js → InventoryBindingSummary-BEvw0lWr.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DyRx5MmF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CxgaZqAW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CJf9wT6o.js → PremiumBadge.vue_vue_type_script_setup_true_lang--sxV3FYV.js} +1 -1
- package/dist/{ProductionView-09wAcGA-.js → ProductionView-B86EyiCZ.js} +7 -7
- package/dist/{PublishView-glA2ipo1.js → PublishView-DlETEaGs.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DpLO-1KW.js → PurchaseOrderPrintPreview-Be0U7Ler.js} +2 -2
- package/dist/{ReceiveRequestView-CzAVket3.js → ReceiveRequestView-DucbkxwJ.js} +80 -79
- package/dist/{RecipeView-LT5XJ6kA.js → RecipeView-BIlGYL8-.js} +19 -19
- package/dist/{SettingsView-BZfh4JMs.js → SettingsView-CUAHre50.js} +4 -4
- package/dist/{StockView-DFY1LgMH.js → StockView-kf_zhpO5.js} +22 -22
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CK6SIQza.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bpr7q8r9.js} +1 -1
- package/dist/{SupplierView-CL2IuwVZ.js → SupplierView-caFI7Yd6.js} +14 -14
- package/dist/{SurchargeView-BhfGyNu5.js → SurchargeView-DyO0ZOGa.js} +8 -8
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang--QyVwKtB.js +263 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bw8cubwk.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-2JCHCRHp.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dhll972g.js +4717 -0
- package/dist/{TransferTemplateView-DLOjb7km.js → TransferTemplateView-DUlH8K4Y.js} +21 -21
- package/dist/{UnitCostHistoryView-BtPucyKW.js → UnitCostHistoryView-OXv6kJgE.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DJ6kRWhP.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-1ekj_uc6.js} +4 -4
- package/dist/{UnitView-BvfkCvbb.js → UnitView-iwIzfipw.js} +9 -9
- package/dist/{WarehouseView-DqQY_NXe.js → WarehouseView-C9rSeAaV.js} +7 -7
- package/dist/{WastageTemplateView--Wrq7ge5.js → WastageTemplateView-OvD51JSq.js} +16 -16
- package/dist/api/purchase-order.d.ts +46 -0
- package/dist/{app-D_hKuHEq.js → app-D-nwdsYm.js} +19305 -19130
- package/dist/app.d.ts +64 -36
- package/dist/app.js +1 -1
- package/dist/{closing-template-mf0Hz0sS.js → closing-template-jWeRa4dz.js} +1 -1
- package/dist/component-BmLAdDiY.js +79 -0
- package/dist/components/job-progress/BulkJobProgressPanel.vue.d.ts +2 -0
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/{date2-C3dcj9fz.js → date2-B_xDuM7M.js} +1 -1
- package/dist/{dayjs.min-BI88EzTz.js → dayjs.min-B-AZ8_mI.js} +5 -5
- package/dist/{decimal-BxOL6Gld.js → decimal-0ev5Hr6J.js} +2 -2
- package/dist/{defineDeepModel-Cvl7eN3k.js → defineDeepModel-DvI75jvB.js} +1 -1
- package/dist/{duplicate-template-DgS5Tm9P.js → duplicate-template-CVOoyyS0.js} +1 -1
- package/dist/{feature-Dd8HiMBk.js → feature-Cb-HS1Qb.js} +2 -2
- package/dist/{format-time-from-id-Cp2E5196.js → format-time-from-id-BCqZq29n.js} +1 -1
- package/dist/{format-unit-display-MACP_q07.js → format-unit-display-kSYRHsdn.js} +16 -16
- package/dist/{import-export.helper-DWMCTOY0.js → import-export.helper-B3bnD5gf.js} +6 -6
- package/dist/{index-D3jWqvZX.js → index-BmjXNcEU.js} +1 -1
- package/dist/{index-B2RsNEfe.js → index-CDiyP2Ua.js} +3 -3
- package/dist/{index-DFK8bQ6j.js → index-G6SYSs1V.js} +1 -1
- package/dist/{inventory-core-dart.default-D942GWzb.js → inventory-core-dart.default-B0kHPJ3I.js} +1 -1
- package/dist/{lz-string-CBjMP9eH.js → lz-string-CUfkGubt.js} +1 -1
- package/dist/{netsuite-D2953JgL.js → netsuite-CYNhS6XV.js} +2 -2
- package/dist/{number-DPVL24ED.js → number-BZuHTNem.js} +3 -3
- package/dist/{predefined-templates-C-1kU49_.js → predefined-templates-D--Y4747.js} +1 -1
- package/dist/{purchase-order-template-Dr2otb_Q.js → purchase-order-template-DGzn629O.js} +1 -1
- package/dist/{recalculationUtils-DOLRXWIr.js → recalculationUtils-B2mxdDHX.js} +1 -1
- package/dist/{row-action.enum-DQ9bJ_uv.js → row-action.enum-ncgDYAjP.js} +7 -1
- package/dist/{rules-CgbPIL_A.js → rules-C9dDCNg3.js} +2 -2
- package/dist/{stock-Bqj8CPcA.js → stock-Bys68KZZ.js} +3 -3
- package/dist/{stock-No7BQLB4.js → stock-DL4oech9.js} +1 -1
- package/dist/stores/bulk-job.d.ts +192 -0
- package/dist/stores/bulk-job.spec.d.ts +1 -0
- package/dist/{supplier-DNlISdQo.js → supplier-DPVpEG2w.js} +2 -2
- package/dist/{surcharge-BGZGoC81.js → surcharge-SHYN1X8A.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-B6ZB1FSB.js → uom-rules-nPqfI8Yz.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CU5OTWPl.js → use-ingredient-select-dialog-BMvWiKB6.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DhxC5qLq.js → use-inventory-binding-dialog-CNOe57bY.js} +2 -2
- package/dist/{use-template-enabled-locations-Bv5HpHAV.js → use-template-enabled-locations-B7JBvvZ4.js} +2 -2
- package/dist/{use-transfer-locations-CRR5I64l.js → use-transfer-locations-BCu9xHNr.js} +2 -2
- package/dist/{useHrmPermission-bZrxydnr.js → useHrmPermission-WM9TCd_D.js} +1 -1
- package/dist/{useNavigationMenu-CazRNUsz.js → useNavigationMenu-6DdsN1jP.js} +2 -2
- package/dist/{useSseClient-l9O1iPny.js → useSseClient-B9Z0kGeF.js} +1 -1
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +11 -0
- package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +13 -1
- package/dist/views/receive-request/helper/extra-items.d.ts +12 -2
- package/dist/views/receive-request/helper/format-unit-display.d.ts +1 -1
- package/dist/views/receive-request-bulk/components/PdfPreviewDialog.vue.d.ts +23 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +6 -18
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +3 -4
- package/dist/{vue-i18n-eAaLOca6.js → vue-i18n-DWcHQ0rm.js} +51 -51
- package/dist/{xlsx.util-Dp7SqdrI.js → xlsx.util-DC2xGyFF.js} +2 -2
- package/package.json +4 -5
- package/dist/BulkReceiveRequestView-MxPx0Gio.js +0 -2208
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-Du8ygQNn.js +0 -209
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dy79I2YB.js +0 -4712
- package/dist/component-kqxARxvM.js +0 -91
- package/dist/jszip.min-Pl_JnG-H.js +0 -2322
package/dist/{use-ingredient-select-dialog-CU5OTWPl.js → use-ingredient-select-dialog-BMvWiKB6.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-D-nwdsYm.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-IIFXWxUT.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-DhxC5qLq.js → use-inventory-binding-dialog-CNOe57bY.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-IIFXWxUT.js";
|
|
2
|
+
import { a as P } from "./app-D-nwdsYm.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-IIFXWxUT.js";
|
|
2
|
+
import { u as S } from "./app-D-nwdsYm.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,
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, V as w, Y as R } from "./app-D-nwdsYm.js";
|
|
2
|
+
import { u as E } from "./supplier-DPVpEG2w.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 v, R as e, a6 as b, a7 as O, a5 as A } from "./app-
|
|
2
|
+
import { b as v, R as e, a6 as b, a7 as O, a5 as A } from "./app-D-nwdsYm.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-Cb-HS1Qb.js";
|
|
5
5
|
const L = O.reduce(
|
|
6
6
|
(o, r) => {
|
|
7
7
|
var i;
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import type { FmpBusiness } from "node_modules/@feedmepos/mf-common/dist/store";
|
|
2
2
|
export interface EmailDialogProps {
|
|
3
3
|
show?: boolean;
|
|
4
|
+
/** HTML content for the iframe preview (legacy / ReceiveRequestView path). */
|
|
4
5
|
modelValue?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Blob URL of the Lambda-generated PDF (bulk view path).
|
|
8
|
+
* When set the dialog shows the PDF instead of the rendered HTML.
|
|
9
|
+
* Caller is responsible for revoking via URL.revokeObjectURL when done.
|
|
10
|
+
*/
|
|
11
|
+
pdfBlobUrl?: string;
|
|
12
|
+
/** True while the PDF is being generated — shows a spinner instead of the preview. */
|
|
13
|
+
pdfLoading?: boolean;
|
|
5
14
|
email?: string;
|
|
6
15
|
business?: FmpBusiness;
|
|
7
16
|
senderName?: string;
|
|
8
17
|
senderEmail?: string;
|
|
9
18
|
recipientName?: string;
|
|
19
|
+
/** Called when the dialog requests a visibility change (e.g. user closes it). */
|
|
20
|
+
'onUpdate:show'?: (show: boolean) => void;
|
|
10
21
|
}
|
|
11
22
|
export interface EmailDialogEvents {
|
|
12
23
|
(e: 'update:show', value: boolean): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4983,6 +4983,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
|
|
|
4983
4983
|
promptUpdateTransferDialog: (po: FdoPurchaseOrder) => void;
|
|
4984
4984
|
transferDetailsProps: import("vue").Ref<TransferDetailsProps | undefined, TransferDetailsProps | undefined>;
|
|
4985
4985
|
promptShowTransferDetails: (purchaseOrder: FdoPurchaseOrder & RevisionIdMeta, poRequest?: FdoPurchaseOrderRequest) => Promise<void>;
|
|
4986
|
+
resolvePO: (purchaseOrder: FdoPurchaseOrder & RevisionIdMeta) => Promise<FdoPurchaseOrder & RevisionIdMeta>;
|
|
4986
4987
|
submitAction: (po: FdoPurchaseOrder, operation: F_PURCHASE_ORDER_ACTION, transferToDbName?: string) => Promise<void>;
|
|
4987
4988
|
xilnexImportDialogProps: import("vue").Ref<XilnexImportDialogProps | undefined, XilnexImportDialogProps | undefined>;
|
|
4988
4989
|
promptUploadTransferDialog: () => Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import { RowActionEnum } from '@/components/row-action.enum';
|
|
2
|
+
import { RowActionEnum, type RowActionProps } from '@/components/row-action.enum';
|
|
3
3
|
import { type InventoryLocation } from '@/stores/location';
|
|
4
4
|
import type { PO_SCOPE, ReceiveRequestFormComposable } from './use-receive-request-form';
|
|
5
5
|
import type { WithToInventoryLocation } from '@/api/purchase-order';
|
|
@@ -29,6 +29,18 @@ export interface ReceiveRequestTableOptions {
|
|
|
29
29
|
* per-row location/template resolution is correct there.
|
|
30
30
|
*/
|
|
31
31
|
excludeRowActions?: RowActionEnum[];
|
|
32
|
+
/**
|
|
33
|
+
* Extra actions to append to the context menu for each PO row.
|
|
34
|
+
* Used by the bulk view to inject the Lambda PDF print action without
|
|
35
|
+
* re-implementing the full status-based action matrix.
|
|
36
|
+
*/
|
|
37
|
+
appendRowActions?: (po: FdoPurchaseOrder) => RowActionProps[];
|
|
38
|
+
/**
|
|
39
|
+
* Intercept row actions before the default handler. Return true to signal
|
|
40
|
+
* that the action was handled and prevent the default from running.
|
|
41
|
+
* Called after the full PO is resolved (after fetchFullPo / resolvePO).
|
|
42
|
+
*/
|
|
43
|
+
onCustomAction?: (action: string, po: FdoPurchaseOrder) => boolean | Promise<boolean>;
|
|
32
44
|
}
|
|
33
45
|
export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFormComposable: ReceiveRequestFormComposable, shipments: Ref<FdoInventoryShipment[]>, options?: ReceiveRequestTableOptions): {
|
|
34
46
|
columnDefs: import("vue").ComputedRef<({
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import type { ReceivedDto } from '../components/transfer-details/TransferDetailsProps';
|
|
2
2
|
/**
|
|
3
|
-
* Extra items are those present in `items` but NOT in
|
|
4
|
-
* (i.e.
|
|
3
|
+
* Extra items are those present in `items` but whose SKU does NOT appear in
|
|
4
|
+
* `itemsAtSubmission` (i.e. a completely new SKU added during delivery).
|
|
5
|
+
*
|
|
6
|
+
* For V2 POs the backend appends new item records (with new UUIDs) to
|
|
7
|
+
* `po.items` for each delivery — even for SKUs that were in the original order.
|
|
8
|
+
* Those are NOT extra items. We always match by `sku._id` so only genuinely
|
|
9
|
+
* new SKUs (not present in the original order at all) are treated as extras.
|
|
10
|
+
*
|
|
11
|
+
* Deduplicates by sku._id: a genuinely extra SKU that was received across
|
|
12
|
+
* multiple deliveries appears multiple times in po.items, but we only need
|
|
13
|
+
* one representative entry (the first occurrence) to render the extras section.
|
|
5
14
|
*/
|
|
6
15
|
export declare function computeExtraItems(po: FdoPurchaseOrder | undefined): FdoPurchaseOrderItem[];
|
|
7
16
|
/**
|
|
8
17
|
* Build a received map for extra items by aggregating amounts from delivery order history.
|
|
18
|
+
* Always keys by sku._id (consistent with computeExtraItems).
|
|
9
19
|
*/
|
|
10
20
|
export declare function buildExtrasReceivedMap(po: FdoPurchaseOrder | undefined, extraItems: FdoPurchaseOrderItem[]): Record<string, ReceivedDto>;
|
|
@@ -3,4 +3,4 @@ import type { FdoInventoryUnitMeasurement } from '@/views/unit/type';
|
|
|
3
3
|
/**
|
|
4
4
|
* Simply converts amount into number form and using abbreviation in unit or measurement
|
|
5
5
|
*/
|
|
6
|
-
export declare function formatUnitDisplay(amount: AdjustmentAmount, unit: FdoInventoryUnit, measurement?: FdoInventoryUnitMeasurement | null): string;
|
|
6
|
+
export declare function formatUnitDisplay(amount: AdjustmentAmount, unit: FdoInventoryUnit | null | undefined, measurement?: FdoInventoryUnitMeasurement | null): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
loading: boolean;
|
|
4
|
+
blobUrl: string | null;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: boolean) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
modelValue: boolean;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
blobUrl: string | null;
|
|
11
|
+
}>>> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -10,16 +10,11 @@ import type { EmailDialogProps } from '../../receive-request/components/email-di
|
|
|
10
10
|
* (exactly the table's fields + server-computed itemCount / receive flags);
|
|
11
11
|
* full fields (items, deliveryOrder) are fetched lazily for detail/edit/print
|
|
12
12
|
* views. supplier stays the trimmed DTO shape — never read supplier.address
|
|
13
|
-
* etc. off a listing row.
|
|
13
|
+
* etc. off a listing row (email flows use supplier.email, which the DTO
|
|
14
|
+
* carries as a snapshot fallback specifically for this). */
|
|
14
15
|
export type BulkPoWithLocation = Omit<FdtoPurchaseOrderListItem, 'locationDbName'> & Partial<Omit<FdoPurchaseOrder, 'supplier'>> & RevisionIdMeta & {
|
|
15
16
|
_locationDbName: string;
|
|
16
17
|
};
|
|
17
|
-
export interface BulkProgress {
|
|
18
|
-
title: string;
|
|
19
|
-
current: number;
|
|
20
|
-
total: number;
|
|
21
|
-
done: boolean;
|
|
22
|
-
}
|
|
23
18
|
export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<DateRange>): {
|
|
24
19
|
selectedLocationDbNames: import("vue").Ref<string[], string[]>;
|
|
25
20
|
purchaseOrders: import("vue").Ref<{
|
|
@@ -4184,23 +4179,16 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
4184
4179
|
total: number;
|
|
4185
4180
|
} | null>;
|
|
4186
4181
|
abortOngoingBrowse: () => void;
|
|
4187
|
-
fetchFullPurchaseOrders: () => Promise<
|
|
4182
|
+
fetchFullPurchaseOrders: () => Promise<(FdoPurchaseOrder & {
|
|
4188
4183
|
_locationDbName: string;
|
|
4189
|
-
}
|
|
4184
|
+
})[]>;
|
|
4190
4185
|
loading: import("vue").Ref<boolean, boolean>;
|
|
4191
|
-
bulkProgress: {
|
|
4192
|
-
visible: boolean;
|
|
4193
|
-
title: string;
|
|
4194
|
-
current: number;
|
|
4195
|
-
total: number;
|
|
4196
|
-
done: boolean;
|
|
4197
|
-
cancelled: boolean;
|
|
4198
|
-
};
|
|
4199
4186
|
transferDialogProps: import("vue").Ref<TransferDialogProps | undefined, TransferDialogProps | undefined>;
|
|
4200
4187
|
promptCreateTransferDialog: (init?: Partial<FdoPurchaseOrder>) => Promise<void>;
|
|
4201
4188
|
promptUpdateTransferDialog: (po: FdoPurchaseOrder) => Promise<void>;
|
|
4202
4189
|
transferDetailsProps: import("vue").Ref<TransferDetailsProps | undefined, TransferDetailsProps | undefined>;
|
|
4203
|
-
promptShowTransferDetails: (purchaseOrder:
|
|
4190
|
+
promptShowTransferDetails: (purchaseOrder: BulkPoWithLocation, poRequest?: FdoPurchaseOrderRequest) => Promise<void>;
|
|
4191
|
+
resolvePO: (purchaseOrder: BulkPoWithLocation) => Promise<BulkPoWithLocation>;
|
|
4204
4192
|
submitAction: (po: FdoPurchaseOrder, operation: F_PURCHASE_ORDER_ACTION, transferToDbName?: string) => Promise<void>;
|
|
4205
4193
|
xilnexImportDialogProps: import("vue").Ref<XilnexImportDialogProps | undefined, XilnexImportDialogProps | undefined>;
|
|
4206
4194
|
promptUploadTransferDialog: () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -815,8 +815,7 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
|
|
|
815
815
|
}, "supplier">> & RevisionIdMeta & {
|
|
816
816
|
_locationDbName: string;
|
|
817
817
|
}>[]>;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
customPrintIsDefault: Ref<boolean, boolean>;
|
|
818
|
+
showPdfDialog: Ref<boolean, boolean>;
|
|
819
|
+
pdfPreviewLoading: Ref<boolean, boolean>;
|
|
820
|
+
pdfPreviewBlobUrl: Ref<string | null, string | null>;
|
|
822
821
|
};
|