@feedmepos/mf-inventory-portal 1.7.2 → 1.7.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-DohhNCXa.js → App-B5qnwEvd.js} +4 -4
- package/dist/{ApprovalView-To3lr_er.js → ApprovalView-C_bCdqCE.js} +8 -8
- package/dist/{BindingsDialog-DUMIiVoC.js → BindingsDialog-NoD35amZ.js} +2 -2
- package/dist/{BindingsPicker-DQNUl07K.js → BindingsPicker-CPjrsA7g.js} +2 -2
- package/dist/{BindingsTable-DR6tP4Vq.js → BindingsTable-lSM6Qvc1.js} +3 -3
- package/dist/BulkReceiveRequestView-H97Vm5RQ.js +2208 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B8d6WuAD.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Ysx4_aKb.js} +1 -1
- package/dist/{ClosingDraftView-0cVbpL_Y.js → ClosingDraftView-D1qzcxyc.js} +20 -20
- package/dist/{ClosingHistoryView-CgeySFOV.js → ClosingHistoryView-COVLEUJE.js} +6 -6
- package/dist/{ClosingTemplateView-0DND6wXY.js → ClosingTemplateView-CCjWKW4A.js} +17 -17
- package/dist/CursorPaginatedTable.vue_vue_type_script_setup_true_lang-BCUhtL_B.js +136 -0
- package/dist/{DefaultView-CJJPVYaP.js → DefaultView-8JanBwi1.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BYGrbUM7.js → DeliveryOrderPrintPreview-jmYbNNQS.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-y-pJP1Jp.js → EmailDialog.vue_vue_type_script_setup_true_lang-HSlddJKT.js} +1636 -1636
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DuCO2ruW.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D7i1SzCt.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MttAbvza.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-GZFKLCed.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-yAqRbXI7.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-A4ytBi.js} +2 -2
- package/dist/{FmMultiselectDialog-DYzEHEev.js → FmMultiselectDialog-DIm-TBkv.js} +1 -1
- package/dist/{FmMultiselectDialog-DFa8dpii.js → FmMultiselectDialog-DNqQOM8Z.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-5xj-8OQS.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CGpxstv1.js} +5 -5
- package/dist/{ImportView-gcy9rku3.js → ImportView-Czlfd6fQ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-sx6-tRnK.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CVq7-2qs.js} +1 -1
- package/dist/{IngredientGroupView-BAC3mW8X.js → IngredientGroupView-D5iO0K_A.js} +5 -5
- package/dist/{IngredientsView-DUwPOngs.js → IngredientsView-BLpExZxR.js} +15 -15
- package/dist/{IntegrationExplorerView-A-el5q_l.js → IntegrationExplorerView-Dc9GHMqa.js} +4 -4
- package/dist/{IntegrationView-CZNWvTcS.js → IntegrationView-FnMv7ETs.js} +797 -750
- package/dist/{InventoryBindingForm-D2QosIsu.js → InventoryBindingForm-Cyzr1Bst.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BITnywUj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C3AYygQH.js} +5 -5
- package/dist/{InventoryBindingSummary-D6HNweqs.js → InventoryBindingSummary-B5XtTUoM.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B6h1Gd2a.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0pmO2lT.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DcypxqiE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BfqfE-MH.js} +1 -1
- package/dist/{ProductionView-lhMrHKJn.js → ProductionView-vt5M7OFl.js} +7 -7
- package/dist/{PublishView-CQsNNeNS.js → PublishView-B93jBpMw.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-Cos7s-NS.js → PurchaseOrderPrintPreview-CHRnWgEH.js} +2 -2
- package/dist/{ReceiveRequestView-kkBYw4JQ.js → ReceiveRequestView-DsykNduj.js} +13 -13
- package/dist/{RecipeView-CjaZPxYm.js → RecipeView-C1KRJwD_.js} +17 -17
- package/dist/{SettingsView-BmQpMvRD.js → SettingsView-5uoZvtor.js} +226 -224
- package/dist/{StockView-3LQX-iUo.js → StockView-CFjw8sTV.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BWc-rqnP.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-EkuTLEsr.js} +1 -1
- package/dist/{SupplierView-JIgEU67D.js → SupplierView-Cz0RMHV1.js} +13 -13
- package/dist/{SurchargeView-CLxruSjz.js → SurchargeView-BXD2yfHT.js} +6 -6
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-CVyTmnnl.js +209 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DGnnOvqu.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-uaHJlzzd.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DShpMILM.js +4712 -0
- package/dist/{TransferTemplateView-BopBFYQK.js → TransferTemplateView-DzNLq8-A.js} +20 -20
- package/dist/{UnitCostHistoryView-Dn_riEm2.js → UnitCostHistoryView-AHCSzXg6.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BY6MtjNI.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CuLDwpz_.js} +4 -4
- package/dist/{UnitView-C14LJdh1.js → UnitView-CQuXzism.js} +7 -7
- package/dist/{WarehouseView-DSofhuRJ.js → WarehouseView-CwtDpf_J.js} +5 -5
- package/dist/{WastageTemplateView-CVNs59Q3.js → WastageTemplateView-CE28O1gZ.js} +14 -14
- package/dist/api/codemax.d.ts +1 -1
- package/dist/api/purchase-order.d.ts +39 -1
- package/dist/{app-D3Pk5TsF.js → app-BuoXiggC.js} +2540 -2506
- package/dist/app.js +1 -1
- package/dist/{closing-template-ChgHEg6X.js → closing-template-C1qVUaYB.js} +1 -1
- package/dist/components/{CursorPaginatedTable.vue.d.ts → cursor-paginated-table/CursorPaginatedTable.vue.d.ts} +1 -7
- package/dist/components/cursor-paginated-table/use-row-action.d.ts +17 -0
- package/dist/{date2-S8CzVzLb.js → date2-BQpsoOPQ.js} +1 -1
- package/dist/{dayjs.min-BTkKTXC_.js → dayjs.min-C-6FhQxs.js} +1 -1
- package/dist/{decimal-DbIrw0-W.js → decimal-bQrHKApj.js} +2 -2
- package/dist/{defineDeepModel-VV8-dLQB.js → defineDeepModel-nEhqHuqN.js} +1 -1
- package/dist/dinero-DMLEtkS9.js +1260 -0
- package/dist/{duplicate-template-CU7i2OYd.js → duplicate-template-E9mFjnug.js} +1 -1
- package/dist/{feature-PxsJCXfx.js → feature-B0AS1EQ6.js} +2 -2
- package/dist/{format-time-from-id-DzyQO052.js → format-time-from-id-DIMT-bqD.js} +1 -1
- package/dist/{format-unit-display-Ce_ihiZh.js → format-unit-display-B-mLM6e4.js} +12 -12
- package/dist/{import-export.helper-BMjR_wjj.js → import-export.helper-CbwYpiCV.js} +6 -6
- package/dist/{index-CVnjxAU0.js → index-B35IG4Yk.js} +3 -3
- package/dist/{index-ntOX0GTR.js → index-_tt7s1OE.js} +3807 -5062
- package/dist/{index-DVld56cO.js → index-dlW6ARAr.js} +1 -1
- package/dist/{inventory-core-dart.default-Crk5o9NC.js → inventory-core-dart.default-LjwypePL.js} +1 -1
- package/dist/{jszip.min-n1XNOZh7.js → jszip.min-D5T4A7Ll.js} +332 -332
- package/dist/{lz-string-BOPYfMhM.js → lz-string-BS_s7ZIl.js} +1 -1
- package/dist/modules/print-template/types/print-data.d.ts +1 -0
- package/dist/{netsuite-XygzV566.js → netsuite-CJCV-Xun.js} +2 -2
- package/dist/{number-C2ht-mjX.js → number-Dzy12OlH.js} +3 -3
- package/dist/{predefined-templates-BwKtONp8.js → predefined-templates-DHykkVzD.js} +572 -562
- package/dist/{purchase-order-template-B43-m0J3.js → purchase-order-template-BaSnDkW4.js} +1 -1
- package/dist/{recalculationUtils-DIVwhfP2.js → recalculationUtils-DzajZbBh.js} +1 -1
- package/dist/{rules-D_NC8Wh3.js → rules-CMwZOiOr.js} +2 -2
- package/dist/{stock-CnspYkq6.js → stock-CeOgNPCZ.js} +3 -3
- package/dist/{stock-yL5X9man.js → stock-CuO-Hg1Q.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-W7lS_7Ga.js → supplier-CNPExTUb.js} +2 -2
- package/dist/{surcharge-BNENHWoz.js → surcharge-JxVEnWL9.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-C4weCQ1J.js → uom-rules-71IIkmUk.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CoMShpCA.js → use-ingredient-select-dialog-DNcSzjv1.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DAiB6uuX.js → use-inventory-binding-dialog-BFeTdXTG.js} +2 -2
- package/dist/use-row-action-Cvq6VO38.js +31 -0
- package/dist/{use-template-enabled-locations-DAnSVWry.js → use-template-enabled-locations-BmRiYSuz.js} +2 -2
- package/dist/{use-transfer-locations-Bunxkf8T.js → use-transfer-locations-BlQTXhOJ.js} +2 -2
- package/dist/{useHrmPermission-8T4AE1Is.js → useHrmPermission-CgIdm6P7.js} +1 -1
- package/dist/{useNavigationMenu-BpMry1lp.js → useNavigationMenu-hX7eAxQm.js} +2 -2
- package/dist/{useSseClient-eneZ6wE5.js → useSseClient-D-5Wi7LQ.js} +1 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +7 -7
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +46 -8
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +504 -529
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +33 -2
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/helpers/resolve-po-print-context.d.ts +21 -0
- package/dist/{vue-i18n-L-ghmVMg.js → vue-i18n-D_0CiHw_.js} +396 -396
- package/dist/{xlsx.util-DjAJxws5.js → xlsx.util-DDV-UHBt.js} +2 -2
- package/package.json +3 -3
- package/dist/BulkReceiveRequestView-Dz1lQS-u.js +0 -2011
- package/dist/CursorPaginatedTable.vue_vue_type_script_setup_true_lang-4KT9rH9e.js +0 -152
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-IXZTVQ42.js +0 -178
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-UStf5-hI.js +0 -4682
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { defineComponent as pe, createBlock as te, openBlock as j, withCtx as M, createElementVNode as e, toDisplayString as m, unref as s, ref as Y, h as be, computed as T, watch as Fe, resolveComponent as D, isRef as Pe, createVNode as _, createElementBlock as q, Fragment as ue, renderList as ve, createCommentVNode as se, normalizeClass as He, reactive as _t, mergeModels as nt, useModel as jt, onMounted as qe, createTextVNode as me, normalizeStyle as kt, watchEffect as Vt, renderSlot as st, onUnmounted as Ct, Teleport as Bt, normalizeProps as at, mergeProps as ze } from "vue";
|
|
2
2
|
import { u as Dt, _ as Mt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
|
-
import { u as Se, c as Re, a as Ne, F as rt, t as It, E as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, L as ge, M as Be } from "./app-
|
|
4
|
-
import { u as Oe } from "./stock-
|
|
3
|
+
import { u as Se, c as Re, a as Ne, F as rt, t as It, E as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, L as ge, M as Be } from "./app-BuoXiggC.js";
|
|
4
|
+
import { u as Oe } from "./stock-CeOgNPCZ.js";
|
|
5
5
|
import { c as Ut } from "./component-kqxARxvM.js";
|
|
6
|
-
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Ke, S as Ge, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CuLDwpz_.js";
|
|
7
|
+
import { _ as Ke, S as Ge, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-EkuTLEsr.js";
|
|
8
8
|
import { _ as Nt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
9
9
|
import { useI18n as ye, useCoreStore as Xe } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-BfqfE-MH.js";
|
|
11
11
|
import { useSnackbar as we, useDialog as Le, useProxiedModel as Ye, useBreakpoints as Ot } from "@feedmepos/ui-library";
|
|
12
12
|
import { defineStore as Lt } from "pinia";
|
|
13
13
|
import { F as Je } from "./FmAdminBadge-DlplQOHb.js";
|
|
14
|
-
import { g as $e, a as he, e as Yt, t as Ee, c as xe, f as zt, h as ct, i as xt, j as Qe, d as Me, k as Gt } from "./number-
|
|
15
|
-
import { u as Ae } from "./stock-
|
|
16
|
-
import { c as Ue, A as Wt, M as Kt, R as qt } from "./rules-
|
|
17
|
-
import { u as Xt } from "./use-inventory-binding-dialog-
|
|
18
|
-
import { a as St } from "./FmMultiselectDialog-
|
|
19
|
-
import { d as ke } from "./dayjs.min-
|
|
20
|
-
import { _ as Jt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { g as Qt } from "./decimal-
|
|
22
|
-
import { a as Zt, c as eo, f as wt, t as dt, d as mt, p as to, n as oo, b as no } from "./date2-
|
|
23
|
-
import { i as so } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { g as $e, a as he, e as Yt, t as Ee, c as xe, f as zt, h as ct, i as xt, j as Qe, d as Me, k as Gt } from "./number-Dzy12OlH.js";
|
|
15
|
+
import { u as Ae } from "./stock-CuO-Hg1Q.js";
|
|
16
|
+
import { c as Ue, A as Wt, M as Kt, R as qt } from "./rules-CMwZOiOr.js";
|
|
17
|
+
import { u as Xt } from "./use-inventory-binding-dialog-BFeTdXTG.js";
|
|
18
|
+
import { a as St } from "./FmMultiselectDialog-DNqQOM8Z.js";
|
|
19
|
+
import { d as ke } from "./dayjs.min-C-6FhQxs.js";
|
|
20
|
+
import { _ as Jt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0pmO2lT.js";
|
|
21
|
+
import { g as Qt } from "./decimal-bQrHKApj.js";
|
|
22
|
+
import { a as Zt, c as eo, f as wt, t as dt, d as mt, p as to, n as oo, b as no } from "./date2-BQpsoOPQ.js";
|
|
23
|
+
import { i as so } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D7i1SzCt.js";
|
|
24
24
|
import { _ as ao } from "./empty-placeholder-B0QU467o.js";
|
|
25
|
-
import { F as _e } from "./inventory-core-dart.default-
|
|
26
|
-
import { u as ro } from "./feature-
|
|
27
|
-
import { u as At } from "./useHrmPermission-
|
|
25
|
+
import { F as _e } from "./inventory-core-dart.default-LjwypePL.js";
|
|
26
|
+
import { u as ro } from "./feature-B0AS1EQ6.js";
|
|
27
|
+
import { u as At } from "./useHrmPermission-CgIdm6P7.js";
|
|
28
28
|
import { _ as lo, F as ft } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
29
|
-
import { _ as io } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
30
|
-
import { u as uo } from "./useSseClient-
|
|
31
|
-
import { u as co } from "./netsuite-
|
|
29
|
+
import { _ as io } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-A4ytBi.js";
|
|
30
|
+
import { u as uo } from "./useSseClient-D-5Wi7LQ.js";
|
|
31
|
+
import { u as co } from "./netsuite-CJCV-Xun.js";
|
|
32
32
|
import { P as mo, J as fo } from "./app-C39bYJmq.js";
|
|
33
33
|
var Ie = /* @__PURE__ */ ((A) => (A.History = "History", A.Convert = "Convert", A.Adjust = "Adjust", A))(Ie || {});
|
|
34
34
|
const vo = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, computed as h, createElementBlock as l, openBlock as d, createElementVNode as r, normalizeClass as v, toDisplayString as m, unref as p, ref as V, resolveComponent as $, Fragment as k, createCommentVNode as G, createVNode as E, withCtx as S, renderList as P } from "vue";
|
|
2
2
|
import { useI18n as D, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as O } from "./netsuite-
|
|
3
|
+
import { u as O } from "./netsuite-CJCV-Xun.js";
|
|
4
4
|
function re(e, t = !1) {
|
|
5
5
|
var c;
|
|
6
6
|
return e ? [
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as D, createElementBlock as w, openBlock as S, createElementVNode as h, createVNode as C, withCtx as U, toDisplayString as A, unref as p, Fragment as oe, renderList as le, ref as k, createBlock as z, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as ae, watch as Td, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
-
import { u as ce } from "./supplier-
|
|
2
|
+
import { u as ce } from "./supplier-CNPExTUb.js";
|
|
3
3
|
import { D as td, R as ye } from "./row-action.enum-DQ9bJ_uv.js";
|
|
4
4
|
import { c as Yd } from "./component-kqxARxvM.js";
|
|
5
|
-
import { c as we, a as ke, f as rd, h as nd, g as Xd, l as Ad, u as Pe } from "./app-
|
|
5
|
+
import { c as we, a as ke, f as rd, h as nd, g as Xd, l as Ad, u as Pe } from "./app-BuoXiggC.js";
|
|
6
6
|
import { useI18n as ee, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
7
|
-
import { u as Ve } from "./netsuite-
|
|
7
|
+
import { u as Ve } from "./netsuite-CJCV-Xun.js";
|
|
8
8
|
import { useDialog as Ne, useSnackbar as Se, useProxiedModel as od, useDialogChild as Zd, useBreakpoints as qd } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as zd, _ as Jd } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
10
10
|
import { F as B } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
|
-
import { R as Z } from "./rules-
|
|
12
|
-
import { a as Qd } from "./FmMultiselectDialog-
|
|
11
|
+
import { R as Z } from "./rules-CMwZOiOr.js";
|
|
12
|
+
import { a as Qd } from "./FmMultiselectDialog-DNqQOM8Z.js";
|
|
13
13
|
import { _ as et } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
14
|
-
import { _ as dt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as xe } from "./feature-
|
|
16
|
-
import { u as tt } from "./purchase-order-template-
|
|
17
|
-
import { g as rt } from "./number-
|
|
14
|
+
import { _ as dt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CGpxstv1.js";
|
|
15
|
+
import { u as xe } from "./feature-B0AS1EQ6.js";
|
|
16
|
+
import { u as tt } from "./purchase-order-template-BaSnDkW4.js";
|
|
17
|
+
import { g as rt } from "./number-Dzy12OlH.js";
|
|
18
18
|
import { _ as nt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
19
|
-
import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-A4ytBi.js";
|
|
20
20
|
import { defineStore as at } from "pinia";
|
|
21
|
-
import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-
|
|
22
|
-
import { f as lt } from "./date2-
|
|
21
|
+
import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-DDV-UHBt.js";
|
|
22
|
+
import { f as lt } from "./date2-BQpsoOPQ.js";
|
|
23
23
|
import { F as st } from "./FmDroppableField-J0tG_U3w.js";
|
|
24
24
|
function ut(e, d) {
|
|
25
25
|
const { t } = ee(), r = Ve();
|
|
@@ -38,7 +38,7 @@ function ut(e, d) {
|
|
|
38
38
|
accessorKey: "name",
|
|
39
39
|
header: () => t("inventory.supplier.table.supplier"),
|
|
40
40
|
enableSorting: !0,
|
|
41
|
-
size:
|
|
41
|
+
size: 500
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
accessorKey: "netsuiteIdSubsidiary",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as pe, ref as v, computed as c, watch as R, onMounted as fe, resolveComponent as p, createElementBlock as ye, openBlock as j, Fragment as ge, createVNode as n, unref as s, withCtx as f, createElementVNode as u, normalizeClass as G, normalizeStyle as he, toDisplayString as E, withDirectives as be, vModelText as _e, createBlock as Se, createCommentVNode as xe, withModifiers as Fe } from "vue";
|
|
2
2
|
import { u as ke, _ as we } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
|
-
import { a as Ie, u as Ce, q as V, i as Le, w as Ve } from "./app-
|
|
4
|
-
import { u as Ae } from "./surcharge-
|
|
3
|
+
import { a as Ie, u as Ce, q as V, i as Le, w as Ve } from "./app-BuoXiggC.js";
|
|
4
|
+
import { u as Ae } from "./surcharge-JxVEnWL9.js";
|
|
5
5
|
import { useSnackbar as De, useDialog as Me, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { a as Te } from "./FmMultiselectDialog-
|
|
6
|
+
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-A4ytBi.js";
|
|
7
|
+
import { a as Te } from "./FmMultiselectDialog-DNqQOM8Z.js";
|
|
8
8
|
import { useI18n as Be } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as ze } from "./supplier-
|
|
10
|
-
import { u as Ee } from "./feature-
|
|
9
|
+
import { u as ze } from "./supplier-CNPExTUb.js";
|
|
10
|
+
import { u as Ee } from "./feature-B0AS1EQ6.js";
|
|
11
11
|
import { D as Ne, P as $e, L as qe } from "./app-C39bYJmq.js";
|
|
12
12
|
import { D as H, R as A } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as Ue } from "./component-kqxARxvM.js";
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { defineComponent as I, ref as B, resolveComponent as $, createBlock as O, openBlock as m, withCtx as p, createElementVNode as _, createVNode as w, h as N, createElementBlock as b, toDisplayString as f } from "vue";
|
|
2
|
+
import { F as T } from "./FmAdminBadge-DlplQOHb.js";
|
|
3
|
+
import { m as U, u as L } from "./app-BuoXiggC.js";
|
|
4
|
+
import { useCoreStore as A } from "@feedmepos/mf-common";
|
|
5
|
+
import { useDialog as C, components as V } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as F, a as P } from "./closing-template-C1qVUaYB.js";
|
|
7
|
+
const j = U((s, t) => {
|
|
8
|
+
const c = L(), i = A();
|
|
9
|
+
return {
|
|
10
|
+
async readRequests(a, e, r) {
|
|
11
|
+
const n = a ?? c.currentLocationDBName, d = `${s.inventoryBackendUrl}/${n}/purchase-request`;
|
|
12
|
+
return e && r ? await t.get(`${d}?startDate=${e}&endDate=${r}`) : await t.get(d);
|
|
13
|
+
},
|
|
14
|
+
async readRequestById(a, e) {
|
|
15
|
+
const r = e ?? c.currentLocationDBName, n = `${s.inventoryBackendUrl}/${r}/purchase-request/${a}`;
|
|
16
|
+
return await t.get(n);
|
|
17
|
+
},
|
|
18
|
+
async readRequestByIds(a, e) {
|
|
19
|
+
const r = e ?? c.currentLocationDBName, n = `${s.inventoryBackendUrl}/${r}/purchase-request/find`;
|
|
20
|
+
return await t.post(n, { requestIds: a });
|
|
21
|
+
},
|
|
22
|
+
async getPurchaseOrders({
|
|
23
|
+
start: a,
|
|
24
|
+
end: e,
|
|
25
|
+
dbName: r
|
|
26
|
+
}) {
|
|
27
|
+
const n = r ?? c.currentLocationDBName, d = `${s.inventoryBackendUrl}/${n}/purchase-order`;
|
|
28
|
+
return await t.get(`${d}?start=${a}&end=${e}`);
|
|
29
|
+
},
|
|
30
|
+
async getLatestPurchaseOrderRequest(a) {
|
|
31
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/purchase-request/find-by-purchase-order-id`;
|
|
32
|
+
return await t.get(`${r}/${a}`);
|
|
33
|
+
},
|
|
34
|
+
async getPurchaseOrderById(a, e, r) {
|
|
35
|
+
const n = e ?? c.currentLocationDBName, d = `${s.inventoryBackendUrl}/${n}/purchase-order`;
|
|
36
|
+
return await t.get(`${d}/${a}`, r);
|
|
37
|
+
},
|
|
38
|
+
/** One request fetches a page of PO summaries across many locations
|
|
39
|
+
* (business-scoped). Standard cursor pagination: pass the returned cursor
|
|
40
|
+
* back until hasNext is false — the server owns the multi-db crawl and
|
|
41
|
+
* returns early when its per-request doc/time budget is reached. */
|
|
42
|
+
async getBulkPaginatedPurchaseOrders({
|
|
43
|
+
locations: a,
|
|
44
|
+
start: e,
|
|
45
|
+
end: r,
|
|
46
|
+
pageSize: n = 100,
|
|
47
|
+
status: d,
|
|
48
|
+
supplierId: y,
|
|
49
|
+
cursor: v,
|
|
50
|
+
retryFailed: g
|
|
51
|
+
}, o) {
|
|
52
|
+
var l;
|
|
53
|
+
const u = ((l = i.currentBusiness.value) == null ? void 0 : l._id) ?? "", h = `${s.inventoryBackendUrl}/business_${u}/purchase-order/browse-paginated`;
|
|
54
|
+
return await t.post(
|
|
55
|
+
h,
|
|
56
|
+
{
|
|
57
|
+
locations: a,
|
|
58
|
+
start: e,
|
|
59
|
+
end: r,
|
|
60
|
+
pageSize: n,
|
|
61
|
+
status: d,
|
|
62
|
+
supplierId: y,
|
|
63
|
+
cursor: v,
|
|
64
|
+
retryFailed: g
|
|
65
|
+
},
|
|
66
|
+
o
|
|
67
|
+
);
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated Use `processPurchaseOrderV2` instead.
|
|
71
|
+
*/
|
|
72
|
+
async processPurchaseOrder(a, e) {
|
|
73
|
+
const r = c.currentLocationDBName, n = e || r, d = `${s.inventoryBackendUrl}/${n}/purchase-order/run-operation`;
|
|
74
|
+
return await t.put(d, a);
|
|
75
|
+
},
|
|
76
|
+
async createPurchaseOrder(a) {
|
|
77
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/purchase-order`;
|
|
78
|
+
return await t.post(r, a);
|
|
79
|
+
},
|
|
80
|
+
async updatePurchaseOrder(a) {
|
|
81
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/purchase-order`;
|
|
82
|
+
return await t.put(r, a);
|
|
83
|
+
},
|
|
84
|
+
async importFromXilnex(a) {
|
|
85
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/purchase-order/import-from-xilnex`;
|
|
86
|
+
return await t.post(r, a);
|
|
87
|
+
},
|
|
88
|
+
async processPurchaseOrderV2(a, e) {
|
|
89
|
+
const r = c.currentLocationDBName, n = e || r, d = `${s.inventoryBackendUrl}/${n}/v2/purchase-order/run-operation`;
|
|
90
|
+
return await t.put(d, a);
|
|
91
|
+
},
|
|
92
|
+
async getWorkflowConfig() {
|
|
93
|
+
var n;
|
|
94
|
+
const e = `business_${(n = i.currentBusiness.value) == null ? void 0 : n._id}`, r = `${s.inventoryBackendUrl}/${e}/v2/purchase-order/workflow-config`;
|
|
95
|
+
return await t.get(r);
|
|
96
|
+
},
|
|
97
|
+
async updateDeliveryOrder(a) {
|
|
98
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/delivery-order`;
|
|
99
|
+
return await t.put(r, a);
|
|
100
|
+
},
|
|
101
|
+
async createDeliveryOrder(a) {
|
|
102
|
+
const e = c.currentLocationDBName, r = `${s.inventoryBackendUrl}/${e}/delivery-order`;
|
|
103
|
+
return await t.post(r, a);
|
|
104
|
+
},
|
|
105
|
+
async getDeliveryOrderTrails(a, e) {
|
|
106
|
+
const r = c.currentLocationDBName, n = `${s.inventoryBackendUrl}/${r}/delivery-order/audit-trails`;
|
|
107
|
+
return await t.post(n, { purchaseOrderId: a, deliveryOrderId: e });
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}), q = { key: 0 }, S = { key: 1 }, K = { key: 2 }, W = /* @__PURE__ */ I({
|
|
111
|
+
__name: "SystemTrailDialog",
|
|
112
|
+
props: {
|
|
113
|
+
purchaseOrderId: {},
|
|
114
|
+
deliveryOrderId: {},
|
|
115
|
+
adjustmentId: {},
|
|
116
|
+
closingId: {}
|
|
117
|
+
},
|
|
118
|
+
setup(s) {
|
|
119
|
+
const t = s, c = j(), i = F(), a = P(), e = B(!1), r = C(), n = B([]), d = B("");
|
|
120
|
+
async function y() {
|
|
121
|
+
t.adjustmentId ? await i.getAuditTrails(t.adjustmentId).then((o) => {
|
|
122
|
+
n.value = o;
|
|
123
|
+
}) : t.closingId ? await a.getAuditTrails(t.closingId).then((o) => {
|
|
124
|
+
n.value = o;
|
|
125
|
+
}) : t.purchaseOrderId && t.deliveryOrderId && await c.getDeliveryOrderTrails(t.purchaseOrderId, t.deliveryOrderId).then((o) => {
|
|
126
|
+
n.value = o;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function v(o) {
|
|
130
|
+
r.open({
|
|
131
|
+
title: "Metadata",
|
|
132
|
+
contentComponent: N(
|
|
133
|
+
"pre",
|
|
134
|
+
{ class: "bg-gray-100 p-4 rounded whitespace-pre-wrap" },
|
|
135
|
+
JSON.stringify(o, null, 2)
|
|
136
|
+
)
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
const g = [
|
|
140
|
+
{
|
|
141
|
+
accessorKey: "createdAt",
|
|
142
|
+
header: () => "Created At"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
accessorKey: "createdBy",
|
|
146
|
+
header: () => "Created By",
|
|
147
|
+
cell: (o) => o.getValue().name
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
accessorKey: "message",
|
|
151
|
+
header: () => "Message"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
accessorKey: "metadata",
|
|
155
|
+
header: () => "Metadata",
|
|
156
|
+
cell: (o) => N(V.FmButton, {
|
|
157
|
+
label: "View",
|
|
158
|
+
onClick: () => v(o.getValue())
|
|
159
|
+
}),
|
|
160
|
+
meta: {
|
|
161
|
+
cellSpanClass: ""
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
];
|
|
165
|
+
return (o, u) => {
|
|
166
|
+
const h = $("FmButton"), l = $("FmTable"), k = $("FmDialog");
|
|
167
|
+
return m(), O(k, {
|
|
168
|
+
modelValue: e.value,
|
|
169
|
+
"onUpdate:modelValue": u[0] || (u[0] = (D) => e.value = D),
|
|
170
|
+
overlay: !0,
|
|
171
|
+
dismissAway: "",
|
|
172
|
+
"max-width": "800px"
|
|
173
|
+
}, {
|
|
174
|
+
"dialog-button": p(() => [
|
|
175
|
+
w(T, null, {
|
|
176
|
+
default: p(() => [
|
|
177
|
+
w(h, {
|
|
178
|
+
variant: "plain",
|
|
179
|
+
label: "Trails",
|
|
180
|
+
size: "md",
|
|
181
|
+
"prepend-icon": "overview",
|
|
182
|
+
onClick: y
|
|
183
|
+
})
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
})
|
|
187
|
+
]),
|
|
188
|
+
"dialog-header": p(() => [
|
|
189
|
+
o.adjustmentId ? (m(), b("div", q, 'Adjustment Template "' + f(o.adjustmentId) + '" Trails', 1)) : o.closingId ? (m(), b("div", S, 'Closing Template "' + f(o.closingId) + '" Trails', 1)) : (m(), b("div", K, 'Delivery Order "' + f(o.deliveryOrderId) + '" Trails', 1))
|
|
190
|
+
]),
|
|
191
|
+
default: p(() => [
|
|
192
|
+
_("div", null, [
|
|
193
|
+
w(l, {
|
|
194
|
+
"row-data": n.value,
|
|
195
|
+
"column-defs": g,
|
|
196
|
+
"search-value": d.value,
|
|
197
|
+
"shrink-at": !1
|
|
198
|
+
}, null, 8, ["row-data", "search-value"])
|
|
199
|
+
])
|
|
200
|
+
]),
|
|
201
|
+
_: 1
|
|
202
|
+
}, 8, ["modelValue"]);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
export {
|
|
207
|
+
W as _,
|
|
208
|
+
j as u
|
|
209
|
+
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as q, ref as f, computed as r, watch as G, h as i, reso
|
|
|
2
2
|
import { useCoreStore as W, useI18n as X } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as A } from "@feedmepos/ui-library";
|
|
4
4
|
import { K as Z, D as ee } from "./app-C39bYJmq.js";
|
|
5
|
-
import { u as le } from "./app-
|
|
5
|
+
import { u as le } from "./app-BuoXiggC.js";
|
|
6
6
|
import { F as te } from "./FmAdminBadge-DlplQOHb.js";
|
|
7
7
|
const ae = {
|
|
8
8
|
class: "flex flex-col gap-24 h-full",
|