@feedmepos/mf-inventory-portal 0.0.22-dev.10 → 0.0.22-dev.12
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/{ApprovalView-FwJEAzkU.js → ApprovalView-Cjeqabxg.js} +26 -26
- package/dist/{BindingsDialog-DFLnNDpl.js → BindingsDialog-DYf9izzO.js} +1 -1
- package/dist/{BindingsPicker-Dsd2wQUR.js → BindingsPicker--GhOF5Zy.js} +7 -7
- package/dist/{BindingsTable-CTvUEEjT.js → BindingsTable-DFGX1bO_.js} +1 -1
- package/dist/{ClosingTemplateView-CPbDZmei.js → ClosingTemplateView-D0ZehXOT.js} +90 -89
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-MW-Ni07p.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CzXWOCCv.js} +8 -8
- package/dist/{IngredientsView-C07TvvCQ.js → IngredientsView-D-M4VjtX.js} +3 -3
- package/dist/{IntegrationView-BAnrTgio.js → IntegrationView-D29NyKuw.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-YAjDfJ_v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DMzUk8cN.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CvzA5XrI.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CrYQR5oS.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-FiOxyAL2.js → PurchaseOrderPrintPreview-BmzWBQYf.js} +1 -1
- package/dist/{ReceiveRequestView-BTZ_99LY.js → ReceiveRequestView-D5uhgByr.js} +20 -20
- package/dist/{RecipeView-BTRlXuIp.js → RecipeView-CREeE1nK.js} +3 -3
- package/dist/{StockView-B50nZjP-.js → StockView-jAGaTT7q.js} +586 -568
- package/dist/{SupplierView-CYEdoZ7g.js → SupplierView-BjkhByNr.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CMMMgbwA.js → TransferDetails.vue_vue_type_script_setup_true_lang-CInXmMf_.js} +4 -4
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-BKmp6Emq.js → TransferDialog.vue_vue_type_script_setup_true_lang-CLiLhIMS.js} +56 -56
- package/dist/{TransferTemplateView-DJYoQWDE.js → TransferTemplateView-CUqEsRJ6.js} +347 -362
- package/dist/{UnitView-Cg9lop9G.js → UnitView-BrlpQn3T.js} +4 -4
- package/dist/{WarehouseView-DQKq_W8l.js → WarehouseView-CbTTIdv9.js} +15 -15
- package/dist/{app-CRbOk4dN.js → app-BDzV3RNp.js} +1932 -1886
- package/dist/app.js +1 -1
- package/dist/{decimal-BrFW4i9P.js → decimal-CRTw2PGO.js} +1 -1
- package/dist/{defineDeepModel-Dihj57Tu.js → defineDeepModel-BoSSw2c6.js} +4 -4
- package/dist/{format-time-from-id-CAMmsTAi.js → format-time-from-id-CxoHtJa5.js} +1 -1
- package/dist/helper/rules.d.ts +1 -0
- package/dist/{id-to-date-CLOPCZAL.js → id-to-date-CJbxtIFh.js} +1 -1
- package/dist/{purchase-order-transaction-type-C6B_s24N.js → purchase-order-transaction-type-0nZnCUE7.js} +38 -38
- package/dist/{supplier-CQ57ob8j.js → supplier-BA6jJGNv.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-D5I1uMwS.js → use-template-enabled-locations-2-Di0NHn-g.js} +1 -1
- package/dist/{xlsx-WWSZpgZu.js → xlsx-BEDKASqP.js} +1 -1
- package/dist/{xlsx.util-DjCdSP8D.js → xlsx.util-MTUBPx67.js} +2 -2
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as C, watch as Q, computed as k, resolveComponent as le, openBlock as b, createBlock as q, unref as e, withCtx as w, createElementVNode as u, normalizeClass as ue, createVNode as c, normalizeStyle as me, toDisplayString as de, createElementBlock as pe, createCommentVNode as fe, Teleport as ve, mergeProps as G } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { u as xe } from "./purchase-order-transaction-type-
|
|
5
|
-
import { u as Re, _ as Ce, g as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { i as qe, e as we } from "./id-to-date-
|
|
2
|
+
import { $ as h, j as _e, p as W, a as X, H as ye, a0 as ge, b as De } from "./app-BDzV3RNp.js";
|
|
3
|
+
import { i as Z, u as be, _ as he, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CzXWOCCv.js";
|
|
4
|
+
import { u as xe } from "./purchase-order-transaction-type-0nZnCUE7.js";
|
|
5
|
+
import { u as Re, _ as Ce, g as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CInXmMf_.js";
|
|
6
|
+
import { i as qe, e as we } from "./id-to-date-CJbxtIFh.js";
|
|
7
7
|
import { useSnackbar as Te, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as Me } from "./TransferDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Me } from "./TransferDialog.vue_vue_type_script_setup_true_lang-CLiLhIMS.js";
|
|
9
9
|
import { _ as Oe, F as S } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
10
10
|
import { useI18n as $e } from "@feedmepos/mf-common";
|
|
11
|
-
const Ee = { class: "flex flex-col py-8" }, Pe = { 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" },
|
|
11
|
+
const Ee = { class: "flex flex-col py-8" }, Pe = { 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 = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
14
|
-
},
|
|
14
|
+
}, Ne = { class: "pt-8" }, B = "ReceiveRequestViewSearchCriteria", Ze = /* @__PURE__ */ ce({
|
|
15
15
|
__name: "ReceiveRequestView",
|
|
16
|
-
setup(
|
|
16
|
+
setup(je) {
|
|
17
17
|
const { t: m } = $e(), I = Te();
|
|
18
18
|
h.object({
|
|
19
19
|
name: h.string().optional().nullable(),
|
|
@@ -24,7 +24,7 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
24
24
|
function ee() {
|
|
25
25
|
const o = {
|
|
26
26
|
name: "",
|
|
27
|
-
...
|
|
27
|
+
...Z()
|
|
28
28
|
}, r = T.getItem(B);
|
|
29
29
|
if (!r)
|
|
30
30
|
return o;
|
|
@@ -39,11 +39,11 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
39
39
|
}
|
|
40
40
|
const i = C(ee()), a = xe("receive/request", i.value), { columnDefs: te } = Re("receive/request", a), O = _e();
|
|
41
41
|
async function ae() {
|
|
42
|
-
const o = `inventory-record_${
|
|
42
|
+
const o = `inventory-record_${W(i.value.startDate).format("DD-MM-YYYY_HH-mm")}-${W(i.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, r = a.purchaseOrders.value.flatMap(
|
|
43
43
|
(n) => n.items.map((t) => {
|
|
44
|
-
const s = new Date(qe(n._id) ?? ""), p = n.effectiveAt ? new Date(n.effectiveAt) : void 0, f =
|
|
44
|
+
const s = new Date(qe(n._id) ?? ""), p = n.effectiveAt ? new Date(n.effectiveAt) : void 0, f = X(
|
|
45
45
|
ke(t.sku, n.deliveryOrder || [])
|
|
46
|
-
), v =
|
|
46
|
+
), v = X(t.quantity);
|
|
47
47
|
return {
|
|
48
48
|
"SKU code": t.code,
|
|
49
49
|
"SKU name": t.name,
|
|
@@ -84,7 +84,7 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
84
84
|
type: "success"
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
const x = C(
|
|
87
|
+
const x = C(Z()), d = C("");
|
|
88
88
|
Q([() => x.value], ([o]) => {
|
|
89
89
|
!o.startDate || !o.endDate || (i.value.startDate = o.startDate, i.value.endDate = o.endDate, a.updateDateRange(
|
|
90
90
|
i.value.startDate,
|
|
@@ -158,7 +158,7 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
158
158
|
onRowClick: e(a).promptShowTransferDetails
|
|
159
159
|
}, {
|
|
160
160
|
default: w((s) => {
|
|
161
|
-
var p, f, v, _, E, P, U, Y, y, N, j, A,
|
|
161
|
+
var p, f, v, _, E, P, U, Y, y, H, N, j, A, g, V, z, K, L, D, J;
|
|
162
162
|
return [
|
|
163
163
|
u("div", Ee, [
|
|
164
164
|
u("div", Pe, [
|
|
@@ -170,17 +170,17 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
170
170
|
u("div", Ue, [
|
|
171
171
|
c(e(S), {
|
|
172
172
|
render: (Y = (U = (P = s.supplier_name) == null ? void 0 : P.column) == null ? void 0 : U.columnDef) == null ? void 0 : Y.cell,
|
|
173
|
-
props: (
|
|
173
|
+
props: (H = (y = s.supplier_name) == null ? void 0 : y.getContext) == null ? void 0 : H.call(y)
|
|
174
174
|
}, null, 8, ["render", "props"])
|
|
175
175
|
]),
|
|
176
176
|
u("div", Ye, de(t.original.items.map((ie) => `${ie.name}`).join(", ")), 1),
|
|
177
|
-
t.original.ref ? (b(), pe("div",
|
|
177
|
+
t.original.ref ? (b(), pe("div", He, [
|
|
178
178
|
c(e(S), {
|
|
179
|
-
render: (
|
|
179
|
+
render: (A = (j = (N = s.ref) == null ? void 0 : N.column) == null ? void 0 : j.columnDef) == null ? void 0 : A.cell,
|
|
180
180
|
props: (V = (g = s.ref) == null ? void 0 : g.getContext) == null ? void 0 : V.call(g)
|
|
181
181
|
}, null, 8, ["render", "props"])
|
|
182
182
|
])) : fe("", !0),
|
|
183
|
-
u("div",
|
|
183
|
+
u("div", Ne, [
|
|
184
184
|
c(e(S), {
|
|
185
185
|
render: (L = (K = (z = s.status) == null ? void 0 : z.column) == null ? void 0 : K.columnDef) == null ? void 0 : L.cell,
|
|
186
186
|
props: (J = (D = s.status) == null ? void 0 : D.getContext) == null ? void 0 : J.call(D)
|
|
@@ -211,5 +211,5 @@ const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-40
|
|
|
211
211
|
}
|
|
212
212
|
});
|
|
213
213
|
export {
|
|
214
|
-
|
|
214
|
+
Ze as default
|
|
215
215
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as N, ref as x, onMounted as le, resolveComponent as F, openBlock as h, createElementBlock as $, Fragment as re, createElementVNode as b, toDisplayString as ie, createVNode as y, createCommentVNode as H, computed as V, watch as ce, createBlock as M, withCtx as I, unref as v, isRef as Z, normalizeClass as ue, normalizeStyle as de, Teleport as me, normalizeProps as pe, guardReactiveProps as fe } from "vue";
|
|
2
|
-
import { u as P, c as G, S as ve, a as q, R as ye, U as ge, _ as be, A as _e, e as ee, f as we, j as Re } from "./app-
|
|
2
|
+
import { u as P, c as G, S as ve, a as q, R as ye, U as ge, _ as be, A as _e, e as ee, f as we, j as Re } from "./app-BDzV3RNp.js";
|
|
3
3
|
import { useDialog as he, useSnackbar as ae, useProxiedModel as te, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as xe, _ as Ee } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as R, D as ne, R as z } from "./row-action.enum-PMKMRrZR.js";
|
|
6
|
-
import { _ as se, t as Fe, d as ke } from "./xlsx.util-
|
|
6
|
+
import { _ as se, t as Fe, d as ke } from "./xlsx.util-MTUBPx67.js";
|
|
7
7
|
import { defineStore as Ve, storeToRefs as Se } from "pinia";
|
|
8
8
|
import { c as De, _ as Ae, F as oe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
9
|
import { useI18n as Y } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as $e, _ as Ie, a as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as $e, _ as Ie, a as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CzXWOCCv.js";
|
|
11
11
|
const Te = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex flex-col items-center w-full h-full gap-24"
|