@feedmepos/mf-inventory-portal 1.7.0-dev.0 → 1.7.0-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-DaAOxELy.js → App-BJilVJ6h.js} +6 -6
- package/dist/{ApprovalView-CxJ79rW7.js → ApprovalView-BFIyc3SS.js} +15 -15
- package/dist/{BindingsDialog-CZhCQoLO.js → BindingsDialog-C1HM5tIJ.js} +3 -3
- package/dist/{BindingsPicker-BWRMxgYR.js → BindingsPicker-2mJvKG0k.js} +6 -6
- package/dist/{BindingsTable-fvBa1dHb.js → BindingsTable-D3au8Csm.js} +5 -5
- package/dist/{BulkReceiveRequestView-Bq7_r-qY.js → BulkReceiveRequestView-DGCRmzzH.js} +36 -36
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CKM48Ktp.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D937HMIP.js} +9 -9
- package/dist/{ClosingDraftView-DdMr571D.js → ClosingDraftView-ex1eBo9N.js} +31 -31
- package/dist/{ClosingHistoryView-BIpPvvzQ.js → ClosingHistoryView-v2bOWHYJ.js} +8 -8
- package/dist/{ClosingTemplateView-IlV4hRZ7.js → ClosingTemplateView-CHLcLd_s.js} +18 -18
- package/dist/{DefaultView-TKUUG9_5.js → DefaultView-DlF-ZqYm.js} +4 -4
- package/dist/{DeliveryOrderPrintPreview-DTjC7-Op.js → DeliveryOrderPrintPreview-DsEYc7I7.js} +19 -19
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DeFiuGtR.js → EmailDialog.vue_vue_type_script_setup_true_lang-3yiwiUFW.js} +9313 -9301
- package/dist/{FmAdminBadge-DjnBAgyv.js → FmAdminBadge-DlplQOHb.js} +6 -6
- package/dist/{FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js → FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js} +5 -5
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js} +6 -6
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-NtqJm53P.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D6KJIhNi.js} +3 -3
- package/dist/{FmDroppableField-J0xUsOTV.js → FmDroppableField-J0tG_U3w.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CzHFzHXg.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DVPdMDAf.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiMEAtPb.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js} +6 -6
- package/dist/{FmMultiselectDialog-D_4f9sXH.js → FmMultiselectDialog-BdWXuvmR.js} +1 -1
- package/dist/{FmMultiselectDialog-BdXOoS6z.js → FmMultiselectDialog-igkyqMtb.js} +4 -4
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D_MOm5kW.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BKZHxVbh.js} +9 -9
- package/dist/{ImportView-BnL6y68X.js → ImportView-BuWkEOOe.js} +11 -11
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-g-g6qaNU.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVRoTZJg.js} +5 -5
- package/dist/{IngredientGroupView-Du0iICme.js → IngredientGroupView-Cuy1-Poq.js} +9 -9
- package/dist/{IngredientsView-m2Rtn_F_.js → IngredientsView-Brp6bESK.js} +26 -26
- package/dist/{IntegrationExplorerView-J5BtpWN_.js → IntegrationExplorerView-_hzmZJ8r.js} +3897 -3898
- package/dist/{IntegrationView-BMQj8wg-.js → IntegrationView-CNg9vmQy.js} +18 -18
- package/dist/{InventoryBindingForm-D_KFXokV.js → InventoryBindingForm-C0idDplf.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7GjOoZh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Duka71_1.js} +6 -6
- package/dist/{InventoryBindingSummary-9TWMG5bm.js → InventoryBindingSummary-UeTZqaed.js} +3 -3
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYXtIoll.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CuPeixvo.js} +3 -3
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGJ_uWzF.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B2p6aGk3.js} +3 -3
- package/dist/{PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js → PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js} +2 -2
- package/dist/{ProductionView-CI07S6oW.js → ProductionView-DUBl0109.js} +9 -9
- package/dist/{PublishView-CWMdUnaY.js → PublishView-DCMY9XyK.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-B5XJcf8G.js → PurchaseOrderPrintPreview-CXGmmtS1.js} +17 -17
- package/dist/{ReceiveRequestView-st3jdG9W.js → ReceiveRequestView-iHlIjUjd.js} +19 -19
- package/dist/{RecipeView-D9ZVbmtm.js → RecipeView-fjgD8jQU.js} +23 -23
- package/dist/{SettingsView-CUS0aMbf.js → SettingsView-CL4-N_xx.js} +9 -9
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js} +2 -2
- package/dist/{StockView-Co4DOixF.js → StockView-gIhHMfMp.js} +27 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Dt6XECIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-1ZKwSPHJ.js} +8 -8
- package/dist/{SupplierView-DXw6V-uS.js → SupplierView-KxEVuBPZ.js} +201 -205
- package/dist/{SurchargeView-C-Bg7UsR.js → SurchargeView-Cd7pbFt9.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D6_M-pbk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-B-OuEWRl.js} +4 -4
- package/dist/{TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js → TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js} +7 -7
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D7NrX7HR.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B4-8JOtV.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang--gKHVU0B.js +4607 -0
- package/dist/{TransferTemplateView-CP7ia82t.js → TransferTemplateView-DfJ4A3hN.js} +24 -24
- package/dist/{UnitCostHistoryView-xe5q6105.js → UnitCostHistoryView-43d2wfCn.js} +8 -8
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-_Eax2wkO.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Du7-c6nt.js} +9 -9
- package/dist/{UnitView-1e6MQ-Vu.js → UnitView-BF33MXY_.js} +11 -11
- package/dist/{WarehouseView-DXB6Ygwb.js → WarehouseView-CDwyNo0S.js} +9 -9
- package/dist/{WastageTemplateView-CWGNtaZJ.js → WastageTemplateView-CMNT3MWM.js} +18 -18
- package/dist/{app-DXqwG4b3.js → app-BB7awVIO.js} +6920 -6786
- package/dist/{app-DiX-EfV6.js → app-C39bYJmq.js} +283 -283
- package/dist/app.js +1 -1
- package/dist/{closing-template-CCY6fg4v.js → closing-template-BjZWpNvD.js} +1 -1
- package/dist/{date2-BWfUJajP.js → date2-CEoGS9UZ.js} +1 -1
- package/dist/{dayjs.min-BqAOh_2L.js → dayjs.min-BVhDPC6x.js} +3 -3
- package/dist/{decimal-DmkQg2_J.js → decimal-DfbkUdYf.js} +2 -2
- package/dist/{defineDeepModel-D9smHIGg.js → defineDeepModel-DUgtruT9.js} +1 -1
- package/dist/{duplicate-template-Ebdaehmw.js → duplicate-template-CZJdIDFH.js} +1 -1
- package/dist/{feature-CD2ndvWN.js → feature-DBMkQQTb.js} +209 -206
- package/dist/{format-time-from-id-BtUh8UMO.js → format-time-from-id-DkU2ePWj.js} +1 -1
- package/dist/{format-unit-display-DLoTr1Hz.js → format-unit-display-BgQ-6M12.js} +24 -25
- package/dist/{import-export.helper-DYgr7Lvo.js → import-export.helper-BtWxCT6b.js} +6 -6
- package/dist/{index-CnuWmvgF.js → index-BAxOInk9.js} +1 -1
- package/dist/{index-z_cku6cd.js → index-BWQ8NB8N.js} +11 -15
- package/dist/{index-DmdqVO9N.js → index-Cloa6kzu.js} +3 -3
- package/dist/{inventory-core-dart.default-CEnDozvp.js → inventory-core-dart.default-DaFglZqk.js} +4049 -1741
- package/dist/{jszip.min-DKMvkIMM.js → jszip.min-Z2D3xvD5.js} +6 -6
- package/dist/{lz-string-BH6J5xxX.js → lz-string-DnBkKC8g.js} +33 -34
- package/dist/{menu-usage-module-D7cxkbEk.js → menu-usage-module-BdjYEk3s.js} +5 -5
- package/dist/{netsuite-kR1AFzO9.js → netsuite-D36Elkhq.js} +145 -145
- package/dist/{number-CRrcUtSg.js → number-BSIHQzsE.js} +3 -3
- package/dist/{predefined-templates-DbAHazbJ.js → predefined-templates-C-kyAGru.js} +4 -13
- package/dist/{purchase-order-template-DoEJEwqG.js → purchase-order-template-RYyeW23k.js} +1 -1
- package/dist/{recalculationUtils-hk2PE0q1.js → recalculationUtils-BjZoDT6Q.js} +1 -1
- package/dist/{rules-BPXgi6ZE.js → rules-DOAV9M_O.js} +2 -2
- package/dist/{stock-qAhTEKrH.js → stock-Benafybl.js} +1 -1
- package/dist/{stock-CJAv4fTu.js → stock-D0y6PGGf.js} +6 -6
- package/dist/stores/feature.d.ts +2 -0
- package/dist/{supplier-BvzIGpwW.js → supplier-DwlZEe13.js} +2 -2
- package/dist/{surcharge-BhLHJ3gK.js → surcharge-BtxMy1qW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-B1s74P9M.js → uom-rules-B_xfjjcG.js} +1 -1
- package/dist/{use-ingredient-select-dialog-aAPbd5cS.js → use-ingredient-select-dialog-DyHBqVJY.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CTjQzuV7.js → use-inventory-binding-dialog-B5yt-QSn.js} +2 -2
- package/dist/{use-template-enabled-locations-Brw80-tj.js → use-template-enabled-locations-iUZkCklL.js} +2 -2
- package/dist/{use-transfer-locations-BF7CKYpr.js → use-transfer-locations-ysstFC-U.js} +2 -2
- package/dist/{useHrmPermission-Csjov-cy.js → useHrmPermission-DGarJPGU.js} +1 -1
- package/dist/{useNavigationMenu-D8BERWXB.js → useNavigationMenu-59ksBzue.js} +4 -4
- package/dist/{useSseClient-Cen-cw5C.js → useSseClient-CfHMj54d.js} +1 -1
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditForm.vue.d.ts +19 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditor.vue.d.ts +18 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentList.vue.d.ts +33 -0
- package/dist/views/receive-request/components/price-adjustment/use-price-adjustment-form-controller.d.ts +9 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +10 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +20 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +120 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +140 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +100 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +20 -0
- package/dist/vue-i18n-1OYA26Pg.js +2351 -0
- package/dist/{xlsx.util-DxgWqaTd.js → xlsx.util-J9LqmOSi.js} +3712 -3722
- package/package.json +2 -2
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D9Fl_xAx.js +0 -4360
- package/dist/vue-i18n-lC_mdXT4.js +0 -2365
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, openBlock as m,
|
|
1
|
+
import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, createElementBlock as g, openBlock as m, createBlock as L, createCommentVNode as U, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as B } from "vue";
|
|
2
2
|
import { _ as K } from "./empty-placeholder-B0QU467o.js";
|
|
3
|
-
import { u as Q, a as J, R as S, b as W } from "./app-
|
|
3
|
+
import { u as Q, a as J, R as S, b as W } from "./app-BB7awVIO.js";
|
|
4
4
|
import { useCoreStore as C, useI18n as X } from "@feedmepos/mf-common";
|
|
5
5
|
import { useRouter as T, useRoute as Y } from "vue-router";
|
|
6
|
-
import { u as Z, a as ee, I as te } from "./feature-
|
|
7
|
-
import { u as oe } from "./netsuite-
|
|
8
|
-
import { u as D } from "./useNavigationMenu-
|
|
6
|
+
import { u as Z, a as ee, I as te } from "./feature-DBMkQQTb.js";
|
|
7
|
+
import { u as oe } from "./netsuite-D36Elkhq.js";
|
|
8
|
+
import { u as D } from "./useNavigationMenu-59ksBzue.js";
|
|
9
9
|
import { u as ne } from "./useTabStorage-BkIVScW_.js";
|
|
10
|
-
import { F as se } from "./FmAdminBadge-
|
|
10
|
+
import { F as se } from "./FmAdminBadge-DlplQOHb.js";
|
|
11
11
|
import { u as re } from "./googlemap-D9vA7GsS.js";
|
|
12
12
|
function ae() {
|
|
13
13
|
return {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe,
|
|
2
|
-
import { u as Oe, Q as b } from "./app-
|
|
3
|
-
import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as Pe, P as w, a as xe, _ as Te, b as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang
|
|
5
|
-
import { b as I } from "./date2-
|
|
6
|
-
import { u as ke, _ as qe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, createBlock as Z, openBlock as x, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, createElementBlock as _e, createCommentVNode as De, toDisplayString as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
|
|
2
|
+
import { u as Oe, Q as b } from "./app-BB7awVIO.js";
|
|
3
|
+
import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D6KJIhNi.js";
|
|
4
|
+
import { u as Pe, P as w, a as xe, _ as Te, b as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang--gKHVU0B.js";
|
|
5
|
+
import { b as I } from "./date2-CEoGS9UZ.js";
|
|
6
|
+
import { u as ke, _ as qe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
7
|
+
import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
8
8
|
import { useBreakpoints as Ne } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as Ve } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Ve } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
10
10
|
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
11
|
-
import { P as Me, J as Fe } from "./app-
|
|
12
|
-
import { u as Le } from "./netsuite-
|
|
13
|
-
import { f as $e } from "./predefined-templates-
|
|
14
|
-
import "./inventory-core-dart.default-
|
|
11
|
+
import { P as Me, J as Fe } from "./app-C39bYJmq.js";
|
|
12
|
+
import { u as Le } from "./netsuite-D36Elkhq.js";
|
|
13
|
+
import { f as $e } from "./predefined-templates-C-kyAGru.js";
|
|
14
|
+
import "./inventory-core-dart.default-DaFglZqk.js";
|
|
15
15
|
const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, He = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -190,13 +190,13 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
|
|
|
190
190
|
props: ($ = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : $.call(v)
|
|
191
191
|
}, null, 8, ["render", "props"])
|
|
192
192
|
]),
|
|
193
|
-
p("div", Ye,
|
|
194
|
-
(Y = t.original.purchaseOrder) != null && Y.ref ? (x(),
|
|
193
|
+
p("div", Ye, ge((U = (_ = (E = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (me) => `${me.name}`)) == null ? void 0 : _.join) == null ? void 0 : U.call(_, ", ")), 1),
|
|
194
|
+
(Y = t.original.purchaseOrder) != null && Y.ref ? (x(), _e("div", He, [
|
|
195
195
|
u(a(R), {
|
|
196
196
|
render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
|
|
197
197
|
props: (Q = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : Q.call(D)
|
|
198
198
|
}, null, 8, ["render", "props"])
|
|
199
|
-
])) :
|
|
199
|
+
])) : De("", !0),
|
|
200
200
|
p("div", je, [
|
|
201
201
|
u(a(R), {
|
|
202
202
|
render: (W = (K = (G = o.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : W.cell,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l,
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, a7 as S } from "./app-
|
|
1
|
+
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, createElementBlock as c, openBlock as i, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Duka71_1.js";
|
|
3
|
+
import { a as L, a7 as S } from "./app-BB7awVIO.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E,
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, a7 as z } from "./app-
|
|
1
|
+
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, createElementBlock as p, openBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-igkyqMtb.js";
|
|
3
|
+
import { a as x, a7 as z } from "./app-BB7awVIO.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -89,15 +89,15 @@ const F = {
|
|
|
89
89
|
(s = (e = _.value) == null ? void 0 : e.removeEventListener) == null || s.call(e);
|
|
90
90
|
}), (e, s) => {
|
|
91
91
|
const n = E("FmButton"), t = E("FmCircularProgress");
|
|
92
|
-
return
|
|
92
|
+
return f(), p("div", {
|
|
93
93
|
class: "bg-white",
|
|
94
94
|
ref_key: "resizeableRef",
|
|
95
95
|
ref: y
|
|
96
96
|
}, [
|
|
97
|
-
g.value ? (
|
|
97
|
+
g.value ? (f(), p("div", w, [
|
|
98
98
|
u(t, { size: "md" }),
|
|
99
99
|
s[1] || (s[1] = k("div", null, "Loading bindings dialog...", -1))
|
|
100
|
-
])) : (
|
|
100
|
+
])) : (f(), p("div", F, [
|
|
101
101
|
u(M, {
|
|
102
102
|
"model-value": b.value,
|
|
103
103
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h,
|
|
2
|
-
import { F as b, a as P, a7 as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
1
|
+
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, createElementBlock as u, openBlock as l, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
+
import { F as b, a as P, a7 as R } from "./app-BB7awVIO.js";
|
|
3
|
+
import "./dayjs.min-BVhDPC6x.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
|
-
import "./app-
|
|
8
|
-
import "./netsuite-
|
|
7
|
+
import "./app-C39bYJmq.js";
|
|
8
|
+
import "./netsuite-D36Elkhq.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as lt, ref as w, computed as R, watch as ze,
|
|
2
|
-
import { u as et, a as Nt, E as It, T as vt,
|
|
3
|
-
import { i as rt, _ as Vt } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as bt, d as Ut } from "./number-
|
|
5
|
-
import { c as jt, d as nt,
|
|
6
|
-
import { i as es } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as Te } from "./dayjs.min-
|
|
8
|
-
import { e as ts } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as lt, ref as w, computed as R, watch as ze, createElementBlock as g, openBlock as m, Fragment as _e, createBlock as ie, createVNode as F, Teleport as wt, Transition as Pt, withCtx as Fe, createCommentVNode as $, createElementVNode as e, toDisplayString as d, unref as t, normalizeClass as O, renderList as Qe, createTextVNode as Xe, mergeModels as qt, useModel as Tt, resolveComponent as De, reactive as Bt, h as ve, nextTick as tt, watchEffect as Ot, isRef as mt, normalizeStyle as pt, normalizeProps as ft, mergeProps as st, guardReactiveProps as At } from "vue";
|
|
2
|
+
import { u as et, a as Nt, E as It, T as vt, U as yt, s as $t, V as Ae, q as zt, c as Lt, Q as Ge, x as Mt } from "./app-BB7awVIO.js";
|
|
3
|
+
import { i as rt, _ as Vt } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D6KJIhNi.js";
|
|
4
|
+
import { a as bt, d as Ut } from "./number-BSIHQzsE.js";
|
|
5
|
+
import { c as jt, d as nt, e as Ht, f as Yt, h as Qt, i as Wt, P as it, j as Zt, a as Kt, _ as Jt, b as Xt, g as Gt } from "./TransferDetails.vue_vue_type_script_setup_true_lang--gKHVU0B.js";
|
|
6
|
+
import { i as es } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-B2p6aGk3.js";
|
|
7
|
+
import { d as Te } from "./dayjs.min-BVhDPC6x.js";
|
|
8
|
+
import { e as ts } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-Du7-c6nt.js";
|
|
9
9
|
import { u as ss } from "./useTabStorage-BkIVScW_.js";
|
|
10
|
-
import { u as ns, _ as os } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import {
|
|
12
|
-
import { c as is,
|
|
10
|
+
import { u as ns, _ as os } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
11
|
+
import { components as as, useSnackbar as ut, useDialog as rs, useBreakpoints as ls } from "@feedmepos/ui-library";
|
|
12
|
+
import { c as is, u as us, h as ht, _ as cs, a as ds, b as ms } from "./EmailDialog.vue_vue_type_script_setup_true_lang-3yiwiUFW.js";
|
|
13
13
|
import { useI18n as We, useCoreStore as kt } from "@feedmepos/mf-common";
|
|
14
|
-
import { u as Ct, a as ps } from "./supplier-
|
|
15
|
-
import { u as fs } from "./stock-
|
|
16
|
-
import { u as Ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { b as St, a as vs } from "./format-unit-display-
|
|
18
|
-
import { P as ys } from "./inventory-core-dart.default-
|
|
19
|
-
import { _ as bs, F as He } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
20
|
-
import { u as Rt } from "./feature-
|
|
21
|
-
import { P as hs, J as gs, D as xs } from "./app-
|
|
22
|
-
import { u as _s } from "./netsuite-
|
|
23
|
-
import { s as gt, f as ws } from "./predefined-templates-
|
|
24
|
-
import {
|
|
14
|
+
import { u as Ct, a as ps } from "./supplier-DwlZEe13.js";
|
|
15
|
+
import { u as fs } from "./stock-Benafybl.js";
|
|
16
|
+
import { u as Ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-B-OuEWRl.js";
|
|
17
|
+
import { b as St, a as vs } from "./format-unit-display-BgQ-6M12.js";
|
|
18
|
+
import { P as ys } from "./inventory-core-dart.default-DaFglZqk.js";
|
|
19
|
+
import { _ as bs, F as He } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
20
|
+
import { u as Rt } from "./feature-DBMkQQTb.js";
|
|
21
|
+
import { P as hs, J as gs, D as xs } from "./app-C39bYJmq.js";
|
|
22
|
+
import { u as _s } from "./netsuite-D36Elkhq.js";
|
|
23
|
+
import { s as gt, f as ws } from "./predefined-templates-C-kyAGru.js";
|
|
24
|
+
import { d as ks, t as Cs } from "./date2-CEoGS9UZ.js";
|
|
25
25
|
import { F as xt } from "./form-mode.enum-BKiNVH6A.js";
|
|
26
|
-
import { p as Fs } from "./format-time-from-id-
|
|
26
|
+
import { p as Fs } from "./format-time-from-id-DkU2ePWj.js";
|
|
27
27
|
const Ss = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "fixed inset-0 z-[200] bg-white flex flex-col overflow-hidden",
|
|
@@ -910,8 +910,8 @@ function lo(ne) {
|
|
|
910
910
|
), H = R(() => {
|
|
911
911
|
const p = new Date(ue.value.startDate), f = new Date(ue.value.endDate);
|
|
912
912
|
return {
|
|
913
|
-
start:
|
|
914
|
-
end:
|
|
913
|
+
start: Cs(p).toISOString(),
|
|
914
|
+
end: ks(f).toISOString()
|
|
915
915
|
};
|
|
916
916
|
}), te = It(), x = w(null), u = Bt({
|
|
917
917
|
visible: !1,
|
|
@@ -939,7 +939,7 @@ function lo(ne) {
|
|
|
939
939
|
if (q.value = [], T.value = [], we.value.length !== 0) {
|
|
940
940
|
i.value = !0;
|
|
941
941
|
try {
|
|
942
|
-
const f =
|
|
942
|
+
const f = yt(we.value, 5), C = [];
|
|
943
943
|
for (const y of f) {
|
|
944
944
|
const M = await Promise.allSettled(
|
|
945
945
|
y.map(async (A) => (await ee.getPurchaseOrders({
|
|
@@ -1010,7 +1010,7 @@ function lo(ne) {
|
|
|
1010
1010
|
me(p);
|
|
1011
1011
|
const f = {
|
|
1012
1012
|
mode: xt.UPDATE,
|
|
1013
|
-
modelValue:
|
|
1013
|
+
modelValue: Lt(p),
|
|
1014
1014
|
show: !0,
|
|
1015
1015
|
"onUpdate:show"(C) {
|
|
1016
1016
|
Ye.value.show = C;
|
|
@@ -1057,13 +1057,13 @@ function lo(ne) {
|
|
|
1057
1057
|
ye.value.show = r;
|
|
1058
1058
|
},
|
|
1059
1059
|
scope: it.RECEIVE_REQUEST,
|
|
1060
|
-
receivedMap:
|
|
1060
|
+
receivedMap: Wt(p) ?? {},
|
|
1061
1061
|
shipments: T.value
|
|
1062
1062
|
};
|
|
1063
1063
|
ye.value = l;
|
|
1064
1064
|
}
|
|
1065
1065
|
async function Se(p, f, C, E, l) {
|
|
1066
|
-
const r =
|
|
1066
|
+
const r = Zt();
|
|
1067
1067
|
i.value = !0;
|
|
1068
1068
|
try {
|
|
1069
1069
|
await r({
|
|
@@ -1092,11 +1092,11 @@ function lo(ne) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
async function ae(p, f, C) {
|
|
1094
1094
|
me(p);
|
|
1095
|
-
const E =
|
|
1095
|
+
const E = Ht[f];
|
|
1096
1096
|
if (!E) {
|
|
1097
1097
|
S.open({
|
|
1098
1098
|
title: "Something went wrong",
|
|
1099
|
-
message: `Cannot process order: ${
|
|
1099
|
+
message: `Cannot process order: ${$t(f)}`,
|
|
1100
1100
|
type: "error"
|
|
1101
1101
|
});
|
|
1102
1102
|
return;
|
|
@@ -1123,7 +1123,7 @@ function lo(ne) {
|
|
|
1123
1123
|
const c = [], h = Qt();
|
|
1124
1124
|
h.init(p), (f === Ae.enum.confirmDraft || f === Ae.enum.submitRequest) && c.push({
|
|
1125
1125
|
action: "confirmDraft",
|
|
1126
|
-
payload: h.controller.value.toConfirmDraftData(
|
|
1126
|
+
payload: h.controller.value.toConfirmDraftData(zt())
|
|
1127
1127
|
}), k.open({
|
|
1128
1128
|
title: r.title,
|
|
1129
1129
|
message: r.message,
|
|
@@ -1172,7 +1172,7 @@ function lo(ne) {
|
|
|
1172
1172
|
});
|
|
1173
1173
|
return;
|
|
1174
1174
|
}
|
|
1175
|
-
const E = (await import("./jszip.min-
|
|
1175
|
+
const E = (await import("./jszip.min-Z2D3xvD5.js").then((y) => y.j)).default, l = new E();
|
|
1176
1176
|
let r = 0;
|
|
1177
1177
|
u.title = a("inventory.transfer.receiveRequest.bulk.downloadProgress"), u.current = 0, u.total = p.length, u.done = !1, u.cancelled = !1, u.visible = !0, await tt(), await new Promise((y) => setTimeout(y, 150));
|
|
1178
1178
|
try {
|
|
@@ -1251,8 +1251,8 @@ function lo(ne) {
|
|
|
1251
1251
|
async function ke(p) {
|
|
1252
1252
|
var Ee;
|
|
1253
1253
|
const f = [
|
|
1254
|
-
|
|
1255
|
-
|
|
1254
|
+
vt.enum.RECEIVING,
|
|
1255
|
+
vt.enum.PROCESSING
|
|
1256
1256
|
// PARTIAL_RECEIVED display status maps from PROCESSING
|
|
1257
1257
|
], C = p.filter((_) => f.includes(_.status));
|
|
1258
1258
|
if (C.length === 0) {
|
|
@@ -1394,7 +1394,7 @@ function lo(ne) {
|
|
|
1394
1394
|
});
|
|
1395
1395
|
return;
|
|
1396
1396
|
}
|
|
1397
|
-
const Q =
|
|
1397
|
+
const Q = yt(A, 2);
|
|
1398
1398
|
let re = 0;
|
|
1399
1399
|
const xe = [];
|
|
1400
1400
|
u.title = a("inventory.transfer.receiveRequest.bulk.emailProgress"), u.current = 0, u.total = A.length, u.done = !1, u.cancelled = !1, u.visible = !0, await tt(), await new Promise((_) => setTimeout(_, 100));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as E, computed as v, ref as j, resolveComponent as f,
|
|
2
|
-
import { u as D } from "./app-
|
|
1
|
+
import { defineComponent as E, computed as v, ref as j, resolveComponent as f, createElementBlock as u, openBlock as l, createVNode as y, withCtx as x, createElementVNode as p, unref as t, createBlock as L, createCommentVNode as M, Fragment as b, renderList as S, createTextVNode as C, toDisplayString as k } from "vue";
|
|
2
|
+
import { u as D } from "./app-BB7awVIO.js";
|
|
3
3
|
import { useCoreStore as T, useI18n as U } from "@feedmepos/mf-common";
|
|
4
4
|
const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, A = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, G = { class: "relative" }, H = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, Q = /* @__PURE__ */ E({
|
|
5
5
|
__name: "ChangeLocationComponent",
|
|
@@ -49,11 +49,11 @@ const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-c
|
|
|
49
49
|
}, null, 8, ["name"]),
|
|
50
50
|
p("div", A, [
|
|
51
51
|
e.showBusiness && a.value ? (l(), u(b, { key: 0 }, [
|
|
52
|
-
C(
|
|
52
|
+
C(k(V.value), 1)
|
|
53
53
|
], 64)) : t(n)._currentLocation ? (l(), u(b, { key: 1 }, [
|
|
54
|
-
C(
|
|
54
|
+
C(k(t(n)._currentLocation.name) + " (" + k(t(n)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
|
|
55
55
|
], 64)) : (l(), u(b, { key: 2 }, [
|
|
56
|
-
C(
|
|
56
|
+
C(k(t(w)("inventory.common.noLocationSelected")), 1)
|
|
57
57
|
], 64))
|
|
58
58
|
]),
|
|
59
59
|
y(c, {
|
|
@@ -72,7 +72,7 @@ const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-c
|
|
|
72
72
|
}, null, 8, ["model-value", "placeholder"])
|
|
73
73
|
]),
|
|
74
74
|
p("div", null, [
|
|
75
|
-
e.showBusiness ? (l(),
|
|
75
|
+
e.showBusiness ? (l(), L(_, {
|
|
76
76
|
key: 0,
|
|
77
77
|
"model-value": a.value,
|
|
78
78
|
label: V.value,
|
|
@@ -81,7 +81,7 @@ const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-c
|
|
|
81
81
|
}, null, 8, ["model-value", "label"])) : M("", !0),
|
|
82
82
|
(l(!0), u(b, null, S(B.value, (o) => {
|
|
83
83
|
var i;
|
|
84
|
-
return l(),
|
|
84
|
+
return l(), L(_, {
|
|
85
85
|
key: o.value,
|
|
86
86
|
"model-value": !a.value && ((i = t(n)._currentLocation) == null ? void 0 : i.dbName) === o.value,
|
|
87
87
|
label: `${o.label} (${o.code})`,
|
|
@@ -95,7 +95,7 @@ const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-c
|
|
|
95
95
|
}), 128)),
|
|
96
96
|
(l(!0), u(b, null, S(N.value, (o) => {
|
|
97
97
|
var i;
|
|
98
|
-
return l(),
|
|
98
|
+
return l(), L(_, {
|
|
99
99
|
key: o.value,
|
|
100
100
|
"model-value": !a.value && ((i = t(n)._currentLocation) == null ? void 0 : i.dbName) === o.value,
|
|
101
101
|
label: o.label,
|
|
@@ -107,7 +107,7 @@ const W = { class: "inline-flex" }, q = { class: "inline-flex rounded-md items-c
|
|
|
107
107
|
}
|
|
108
108
|
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
109
109
|
}), 128)),
|
|
110
|
-
!e.showBusiness && !B.value.length && !N.value.length ? (l(),
|
|
110
|
+
!e.showBusiness && !B.value.length && !N.value.length ? (l(), L(_, {
|
|
111
111
|
key: 1,
|
|
112
112
|
disabled: "",
|
|
113
113
|
label: t(w)("inventory.common.noResultFound")
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as De, ref as Q, computed as S, onMounted as tn, resolveComponent as J,
|
|
2
|
-
import { u as zn, _ as On } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as De, ref as Q, computed as S, onMounted as tn, resolveComponent as J, createElementBlock as C, createBlock as ne, openBlock as p, Fragment as re, createTextVNode as fe, withCtx as te, createElementVNode as a, createCommentVNode as H, createVNode as D, toDisplayString as N, unref as f, h as _, watch as Be, renderList as ge, onUnmounted as Un, withModifiers as Nn, normalizeStyle as mt, normalizeClass as he, isRef as vt, reactive as Zt, createSlots as Vn, Teleport as En, mergeProps as Ln } from "vue";
|
|
2
|
+
import { u as zn, _ as On } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useCoreStore as nn, useI18n as Je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ze, useDialog as on, components as ye, useProxiedModel as St, useBreakpoints as Gn } from "@feedmepos/ui-library";
|
|
5
|
-
import { m as Hn, u as Oe, M as de, w as oe, q as an, s as Ae, O as _e, B as Re, c as Yn, a as Ft, j as Kn } from "./app-
|
|
5
|
+
import { m as Hn, u as Oe, M as de, w as oe, q as an, s as Ae, O as _e, B as Re, c as Yn, a as Ft, j as Kn } from "./app-BB7awVIO.js";
|
|
6
6
|
import { defineStore as sn, storeToRefs as Wn } from "pinia";
|
|
7
|
-
import { b as ft, e as rn, f as qn, a as $e } from "./date2-
|
|
8
|
-
import { R as ln } from "./rules-
|
|
9
|
-
import { e as yt,
|
|
10
|
-
import { b as Zn, d as Xn,
|
|
11
|
-
import { i as It, u as Bt } from "./uom-rules-
|
|
12
|
-
import { u as no } from "./stock-
|
|
13
|
-
import { u as gt } from "./stock-
|
|
7
|
+
import { b as ft, e as rn, f as qn, a as $e } from "./date2-CEoGS9UZ.js";
|
|
8
|
+
import { R as ln } from "./rules-DOAV9M_O.js";
|
|
9
|
+
import { e as yt, c as qe, j as Qe, l as cn, m as un, a as Qn, k as dn, o as ie, t as Jn } from "./number-BSIHQzsE.js";
|
|
10
|
+
import { b as Zn, d as Xn, u as dt, w as eo, c as to } from "./xlsx.util-J9LqmOSi.js";
|
|
11
|
+
import { i as It, u as Bt } from "./uom-rules-B_xfjjcG.js";
|
|
12
|
+
import { u as no } from "./stock-D0y6PGGf.js";
|
|
13
|
+
import { u as gt } from "./stock-Benafybl.js";
|
|
14
14
|
import { D as Xt, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
15
15
|
import { c as oo } from "./component-kqxARxvM.js";
|
|
16
|
-
import { f as ao } from "./format-time-from-id-
|
|
17
|
-
import { f as so } from "./recalculationUtils-
|
|
18
|
-
import { _ as ro } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { f as ao } from "./format-time-from-id-DkU2ePWj.js";
|
|
17
|
+
import { f as so } from "./recalculationUtils-BjZoDT6Q.js";
|
|
18
|
+
import { _ as ro } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
19
19
|
import { _ as mn } from "./empty-placeholder-B0QU467o.js";
|
|
20
|
-
import { F as $t } from "./FmAdminBadge-
|
|
21
|
-
import { u as lo } from "./vue-i18n-
|
|
22
|
-
import { F as io } from "./decimal-
|
|
23
|
-
import { u as co } from "./useSseClient-
|
|
24
|
-
import { d as uo } from "./dayjs.min-
|
|
25
|
-
import { F as mo } from "./FmDroppableField-
|
|
26
|
-
import { _ as fo } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-
|
|
27
|
-
import {
|
|
20
|
+
import { F as $t } from "./FmAdminBadge-DlplQOHb.js";
|
|
21
|
+
import { u as lo } from "./vue-i18n-1OYA26Pg.js";
|
|
22
|
+
import { F as io } from "./decimal-DfbkUdYf.js";
|
|
23
|
+
import { u as co } from "./useSseClient-CfHMj54d.js";
|
|
24
|
+
import { d as uo } from "./dayjs.min-BVhDPC6x.js";
|
|
25
|
+
import { F as mo } from "./FmDroppableField-J0tG_U3w.js";
|
|
26
|
+
import { _ as fo } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js";
|
|
27
|
+
import { _ as po, F as Ye } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
28
28
|
const Me = Hn((t, n) => {
|
|
29
29
|
function e() {
|
|
30
30
|
return Oe().currentLocation.dbName;
|
|
@@ -250,16 +250,16 @@ const Me = Hn((t, n) => {
|
|
|
250
250
|
], 64));
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
}), _o =
|
|
253
|
+
}), _o = qe(0);
|
|
254
254
|
function bt(t) {
|
|
255
255
|
const n = t.measurementsAmounts.groupBy((e) => e.measurement.id);
|
|
256
256
|
return t.sku.unit.measurements.reduce((e, o) => {
|
|
257
257
|
var r, u;
|
|
258
258
|
const i = ((u = (r = n.get(o.id)) == null ? void 0 : r[0]) == null ? void 0 : u.amount) ?? _o, s = yt(o.conversion, i);
|
|
259
|
-
return
|
|
259
|
+
return Qe(e, s);
|
|
260
260
|
}, t.baseAmount);
|
|
261
261
|
}
|
|
262
|
-
const ko =
|
|
262
|
+
const ko = qe(0), xo = qe(100);
|
|
263
263
|
function wo(t, n, e, o, i, s, r, u) {
|
|
264
264
|
var O, g, k, x, ee;
|
|
265
265
|
const c = bt(t), b = o ?? c, y = cn(b, n), I = n.amount === 0 ? null : un(y, {
|
|
@@ -274,7 +274,7 @@ function wo(t, n, e, o, i, s, r, u) {
|
|
|
274
274
|
return r && s && r.forEach((X) => {
|
|
275
275
|
const T = { amount: 0, precision: 0 }, G = s[X];
|
|
276
276
|
if (G) {
|
|
277
|
-
const $ =
|
|
277
|
+
const $ = Qe(T, G);
|
|
278
278
|
B[`adjustment_${X}`] = Qn($);
|
|
279
279
|
} else
|
|
280
280
|
B[`adjustment_${X}`] = "0";
|
|
@@ -1196,12 +1196,12 @@ function Uo(t) {
|
|
|
1196
1196
|
});
|
|
1197
1197
|
continue;
|
|
1198
1198
|
}
|
|
1199
|
-
i.baseAmount =
|
|
1199
|
+
i.baseAmount = Qe(i.baseAmount, o.baseAmount);
|
|
1200
1200
|
for (const s of o.measurementsAmounts) {
|
|
1201
1201
|
const r = i.measurementsAmounts.findIndex(
|
|
1202
1202
|
(u) => u.measurement.id === s.measurement.id
|
|
1203
1203
|
);
|
|
1204
|
-
r > -1 ? i.measurementsAmounts[r].amount =
|
|
1204
|
+
r > -1 ? i.measurementsAmounts[r].amount = Qe(
|
|
1205
1205
|
i.measurementsAmounts[r].amount,
|
|
1206
1206
|
s.amount
|
|
1207
1207
|
) : i.measurementsAmounts.push({ ...s, amount: { ...s.amount } });
|
|
@@ -2556,7 +2556,7 @@ const Ca = { class: "fm-typo-en-body-lg-400" }, Aa = { class: "fm-typo-en-body-l
|
|
|
2556
2556
|
},
|
|
2557
2557
|
{ immediate: !0 }
|
|
2558
2558
|
);
|
|
2559
|
-
const Xe = S(() => tt.value.reduce((m, l) => m + Number(l.stockTakeValue), 0)), et =
|
|
2559
|
+
const Xe = S(() => tt.value.reduce((m, l) => m + Number(l.stockTakeValue), 0)), et = qe(0), gn = qe(100);
|
|
2560
2560
|
async function bn() {
|
|
2561
2561
|
var m, l;
|
|
2562
2562
|
if (k._currentLocation) {
|
|
@@ -3058,7 +3058,7 @@ const Ca = { class: "fm-typo-en-body-lg-400" }, Aa = { class: "fm-typo-en-body-l
|
|
|
3058
3058
|
), st = wn.value.get(P._id), rt = st ? Number(oe.toFormatString({ value: st })) : 0, q = xn.value.get(P._id), ve = {};
|
|
3059
3059
|
if (B.value.forEach((ke) => {
|
|
3060
3060
|
const it = ve[ke] ?? { amount: 0, precision: 0 }, ct = q == null ? void 0 : q[ke];
|
|
3061
|
-
ct && (ve[ke] =
|
|
3061
|
+
ct && (ve[ke] = Qe(it, ct));
|
|
3062
3062
|
}), !Z) {
|
|
3063
3063
|
const ke = Number(oe.toFormatString({ value: le })), it = 0 - ke, ct = it * se / Ce, Rn = 0, Mn = ke * se / Ce;
|
|
3064
3064
|
return {
|
|
@@ -3617,7 +3617,7 @@ async function ar(t) {
|
|
|
3617
3617
|
o.onload = (i) => {
|
|
3618
3618
|
var s;
|
|
3619
3619
|
try {
|
|
3620
|
-
const r = (s = i.target) == null ? void 0 : s.result, u =
|
|
3620
|
+
const r = (s = i.target) == null ? void 0 : s.result, u = to(r, { type: "array" }), c = u.SheetNames[0], b = u.Sheets[c], y = dt.sheet_to_json(b, {
|
|
3621
3621
|
header: 1,
|
|
3622
3622
|
defval: ""
|
|
3623
3623
|
}), I = (j) => String(j).trim().toLowerCase().replace(/^\uFEFF/, ""), E = y.findIndex(
|
|
@@ -3679,7 +3679,7 @@ function lr(t, n) {
|
|
|
3679
3679
|
["Code", "Name", "Balance"],
|
|
3680
3680
|
...e.map((c) => [c.code, c.name, ""])
|
|
3681
3681
|
], r = dt.aoa_to_sheet(s), u = dt.book_new();
|
|
3682
|
-
dt.book_append_sheet(u, r, "Template"),
|
|
3682
|
+
dt.book_append_sheet(u, r, "Template"), eo(u, i, { bookType: "csv" });
|
|
3683
3683
|
}
|
|
3684
3684
|
function ir() {
|
|
3685
3685
|
const t = Q([]), n = Q([]), e = Q(!1), o = Ft(), i = Oe(), s = gt(), r = S(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as se, ref as g, computed as D, watch as ce, resolveComponent as w,
|
|
2
|
-
import { _ as ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as se, ref as g, computed as D, watch as ce, resolveComponent as w, createElementBlock as y, openBlock as n, createBlock as z, createCommentVNode as b, createVNode as _, withModifiers as me, withCtx as R, createElementVNode as o, toDisplayString as a, unref as s, Fragment as Q, createTextVNode as ee, renderList as ne, normalizeClass as fe, h as q, Teleport as pe } from "vue";
|
|
2
|
+
import { _ as ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useI18n as ie, useCoreStore as he } from "@feedmepos/mf-common";
|
|
4
|
-
import { E as re, B as N, a as _e, u as be } from "./app-
|
|
5
|
-
import { F as ue } from "./FmAdminBadge-
|
|
6
|
-
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { E as re, B as N, a as _e, u as be } from "./app-BB7awVIO.js";
|
|
5
|
+
import { F as ue } from "./FmAdminBadge-DlplQOHb.js";
|
|
6
|
+
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
7
7
|
import { useSnackbar as de, useDialog as xe } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as ve } from "./stock-
|
|
9
|
-
import { g as ye, f as De } from "./recalculationUtils-
|
|
10
|
-
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as ve } from "./stock-Benafybl.js";
|
|
9
|
+
import { g as ye, f as De } from "./recalculationUtils-BjZoDT6Q.js";
|
|
10
|
+
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-Du7-c6nt.js";
|
|
11
11
|
const Se = { class: "fm-typo-en-heading-lg-600" }, Ve = { class: "flex flex-col gap-16" }, $e = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "flex flex-col gap-8" }, Ae = { class: "fm-typo-en-body-md-600" }, Fe = { class: "flex flex-col gap-8" }, Re = { class: "fm-typo-en-body-md-600" }, Ie = { class: "flex items-center gap-8 mb-8" }, Te = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ref as N, h as $e, defineComponent as Q, resolveComponent as E,
|
|
2
|
-
import { u as Qe, _ as Ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { ref as N, h as $e, defineComponent as Q, resolveComponent as E, createElementBlock as D, openBlock as k, createElementVNode as i, createCommentVNode as G, normalizeClass as oe, createTextVNode as X, toDisplayString as A, unref as x, createVNode as R, withCtx as z, Fragment as O, renderList as J, computed as U, watch as Fe, createSlots as je, createBlock as K, createStaticVNode as Ye, normalizeStyle as Te, withModifiers as pe, isRef as Ke, Teleport as We, normalizeProps as qe, guardReactiveProps as Je, mergeProps as Xe } from "vue";
|
|
2
|
+
import { u as Qe, _ as Ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useI18n as ne, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as _e, useDialogChild as et, useSnackbar as xe, FmButtonVariant as fe, components as tt, useProxiedModel as ot, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Ne } from "pinia";
|
|
6
6
|
import { F as te } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as we } from "./closing-template-
|
|
8
|
-
import { u as Ie, c as Ue, a as De, l as st } from "./app-
|
|
9
|
-
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-
|
|
10
|
-
import { F as lt } from "./FmDroppableField-
|
|
11
|
-
import { f as Ve, a as ge } from "./date2-
|
|
7
|
+
import { a as we } from "./closing-template-BjZWpNvD.js";
|
|
8
|
+
import { u as Ie, c as Ue, a as De, l as st } from "./app-BB7awVIO.js";
|
|
9
|
+
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-J9LqmOSi.js";
|
|
10
|
+
import { F as lt } from "./FmDroppableField-J0tG_U3w.js";
|
|
11
|
+
import { f as Ve, a as ge } from "./date2-CEoGS9UZ.js";
|
|
12
12
|
import { D as ye, R as Y } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as rt } from "./component-kqxARxvM.js";
|
|
14
|
-
import { f as it } from "./format-time-from-id-
|
|
15
|
-
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as mt } from "./netsuite-
|
|
17
|
-
import { u as dt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as pt, A as ft } from "./rules-
|
|
20
|
-
import { u as ze } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as yt } from "./defineDeepModel-
|
|
22
|
-
import { u as vt } from "./use-template-enabled-locations-
|
|
23
|
-
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import { _ as bt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as it } from "./format-time-from-id-DkU2ePWj.js";
|
|
15
|
+
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B4-8JOtV.js";
|
|
16
|
+
import { u as mt } from "./netsuite-D36Elkhq.js";
|
|
17
|
+
import { u as dt } from "./duplicate-template-CZJdIDFH.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
19
|
+
import { R as pt, A as ft } from "./rules-DOAV9M_O.js";
|
|
20
|
+
import { u as ze } from "./use-ingredient-select-dialog-DyHBqVJY.js";
|
|
21
|
+
import { d as yt } from "./defineDeepModel-DUgtruT9.js";
|
|
22
|
+
import { u as vt } from "./use-template-enabled-locations-iUZkCklL.js";
|
|
23
|
+
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-B-OuEWRl.js";
|
|
24
|
+
import { _ as bt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
25
25
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ke = Be(
|
|
27
27
|
"closingTemplateTable",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n,
|
|
1
|
+
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, createElementBlock as _, openBlock as v, createVNode as o, createElementVNode as c } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { useCoreStore as x } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as S } from "./useNavigationMenu-
|
|
5
|
-
import { u as y } from "./feature-
|
|
4
|
+
import { u as S } from "./useNavigationMenu-59ksBzue.js";
|
|
5
|
+
import { u as y } from "./feature-DBMkQQTb.js";
|
|
6
6
|
const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @__PURE__ */ p({
|
|
7
7
|
__name: "DefaultView",
|
|
8
8
|
setup(F) {
|
|
@@ -15,7 +15,7 @@ const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @
|
|
|
15
15
|
e && u.replace({ name: e });
|
|
16
16
|
}), (e, r) => {
|
|
17
17
|
const s = n("FmSpacer"), i = n("FmCircularProgress");
|
|
18
|
-
return
|
|
18
|
+
return v(), _("div", C, [
|
|
19
19
|
o(s),
|
|
20
20
|
c("div", null, [
|
|
21
21
|
o(i, { size: "xl" })
|