@feedmepos/mf-inventory-portal 1.2.13 → 1.2.14
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-BKUu2y4m.js +286 -0
- package/dist/{ApprovalView-BWX6xBQs.js → ApprovalView-BXIr-aOO.js} +26 -26
- package/dist/{BindingsDialog-CuwkcDKX.js → BindingsDialog-BDxyU1ai.js} +2 -2
- package/dist/{BindingsPicker-BibFsY0g.js → BindingsPicker-CtlglFHZ.js} +10 -10
- package/dist/{BindingsTable-AdjKwSPH.js → BindingsTable-CAkqyxwU.js} +1 -1
- package/dist/{ClosingDraftView-DWFHP9nE.js → ClosingDraftView-uqekYW8F.js} +44 -44
- package/dist/{ClosingTemplateView-DOCF5f_u.js → ClosingTemplateView-T75Sz9_T.js} +26 -26
- package/dist/{DeliveryOrderPrintPreview-DNDtL_Vo.js → DeliveryOrderPrintPreview-DHhQSQ2B.js} +10 -10
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BWhINOE8.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dcof4mm-.js} +15 -15
- package/dist/{FmMultiselectDialog-Dfo04ak5.js → FmMultiselectDialog-WIXHw0Uk.js} +4 -4
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DGVs4zLl.js → FmUnitInput.vue_vue_type_script_setup_true_lang-V7qRyodl.js} +54 -54
- package/dist/ImportView-D6K4u2to.js +1303 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BESx2u4Y.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DXSaHlBC.js} +1 -1
- package/dist/{IngredientGroupView-M9sXlnE0.js → IngredientGroupView-337gZxja.js} +19 -20
- package/dist/IngredientsView-BFB5W9wU.js +2240 -0
- package/dist/{IntegrationView-BlUNz1yc.js → IntegrationView-DBZir_ru.js} +3 -3
- package/dist/{InventoryBindingForm-CvQ5zh6v.js → InventoryBindingForm-D4T5aJjL.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BEAEmPsU.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CxeoVbtU.js} +12 -12
- package/dist/{InventoryBindingSummary-CsJ-6G2P.js → InventoryBindingSummary-Cb0OLH16.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjN_ktl1.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BBayB4R3.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BN_e7k7U.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C9en2Mi_.js} +1 -1
- package/dist/{PublishView-DZgCyLK2.js → PublishView-BM5b29AM.js} +25 -25
- package/dist/{PurchaseOrderPrintPreview-CB2xvQ33.js → PurchaseOrderPrintPreview-Dml3m5ao.js} +12 -12
- package/dist/{ReceiveRequestView-DgDHOS-Y.js → ReceiveRequestView-Ceya3bOZ.js} +131 -132
- package/dist/RecipeView-Bw3qnkmy.js +636 -0
- package/dist/{StockView-eJOngk08.js → StockView-Dum7wayi.js} +165 -166
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMFfegsk.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BCMz3BUb.js} +1 -1
- package/dist/{SupplierView-BS8rBAKC.js → SupplierView-BRePnXQP.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-4Kll7qk7.js +3385 -0
- package/dist/{TransferTemplateView-By5Ci4Yg.js → TransferTemplateView-DzcNysRM.js} +166 -166
- package/dist/UnitView-Dd9vLRU0.js +674 -0
- package/dist/{WarehouseView-4ZLSJXYc.js → WarehouseView-C1T2VVo_.js} +32 -32
- package/dist/api/inventory.d.ts +306 -0
- package/dist/api/purchase-order.d.ts +1 -0
- package/dist/{app-D2lun71R.js → app-DU_GXTW3.js} +11730 -11115
- package/dist/app.d.ts +421 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Cm1TtVzm.js → closing-template-DhM1Taa8.js} +1 -1
- package/dist/{decimal-eeicE4jp.js → decimal-CB27myvl.js} +1 -1
- package/dist/{format-unit-display-vHKazw0l.js → format-unit-display-Bou8fmKm.js} +24 -24
- package/dist/helper/number.d.ts +1 -0
- package/dist/import-export.helper-Bstm4Lwa.js +243 -0
- package/dist/{index-C5s-1g7c.js → index-B14XCvps.js} +1 -1
- package/dist/{index-DvX9cMJV.js → index-B9_waZl0.js} +1 -1
- package/dist/{purchase-order-template-uTs7bR89.js → purchase-order-template-DKQSKCx3.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-CL2LNdXp.js → stock-CWx63kov.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/inventory.d.ts +26 -199
- package/dist/{supplier-CuzoW2k4.js → supplier-BMV0Wr8s.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cpg4lHHC.js → use-ingredient-select-dialog-B6k49FYb.js} +4 -4
- package/dist/{use-inventory-binding-dialog-h4M4ICQK.js → use-inventory-binding-dialog-D_ai3vrG.js} +1 -1
- package/dist/views/import/ImportView.vue.d.ts +3 -0
- package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
- package/dist/views/import/helper/import-export.helper.d.ts +4 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +3 -1
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +17 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteTransactionChangeLog.vue.d.ts +15 -0
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
- package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
- package/dist/views/unit/UnitView.vue.d.ts +1 -0
- package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
- package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
- package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
- package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
- package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
- package/package.json +2 -2
- package/dist/App-ZoXow3DD.js +0 -276
- package/dist/IngredientsView-DUwhH3j1.js +0 -2475
- package/dist/RecipeView-DQDfwCJd.js +0 -621
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-w98ibfql.js +0 -3060
- package/dist/UnitView-DmuWMFlA.js +0 -667
- package/dist/array-Ca8T3f_G.js +0 -44
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as Te, ref as H, computed as L, onMounted as Le, resolveComponent as P, openBlock as w, createElementBlock as U, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import { useCoreStore as kt, useI18n as
|
|
1
|
+
import { defineComponent as Te, ref as H, computed as L, onMounted as Le, resolveComponent as P, openBlock as w, createElementBlock as U, Fragment as J, createTextVNode as Z, createBlock as Q, withCtx as O, createElementVNode as o, toDisplayString as W, unref as F, createVNode as k, createCommentVNode as ee, h as T, reactive as nt, watch as ot, isRef as Ye, normalizeClass as be, renderList as _e, normalizeStyle as Ke, Teleport as st, mergeProps as rt } from "vue";
|
|
2
|
+
import { a7 as lt, u as Ie, av as E, al as Ge, aw as qe, q as ct, Y as Ee, l as N, t as it, $ as he, V as ut, X as dt, W as mt, ax as We, ay as Ze, ag as Je, az as re, am as ft, a9 as Me, a8 as le, a5 as Ue, D as Oe, j as Se, i as pt, f as vt, a as yt, Z as Fe, E as gt, G as bt, I as At, J as Dt, K as je } from "./app-DU_GXTW3.js";
|
|
3
|
+
import { useCoreStore as kt, useI18n as Xe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ve, useDialog as _t, useProxiedModel as ht, components as ge, useBreakpoints as xt } from "@feedmepos/ui-library";
|
|
5
|
-
import { defineStore as
|
|
6
|
-
import { a as He, u as et } from "./stock-
|
|
5
|
+
import { defineStore as Qe, storeToRefs as wt } from "pinia";
|
|
6
|
+
import { a as He, u as et } from "./stock-CWx63kov.js";
|
|
7
7
|
import { E as Ct } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Re = lt((l, s) => {
|
|
9
9
|
function e() {
|
|
@@ -120,7 +120,7 @@ const Re = lt((l, s) => {
|
|
|
120
120
|
}
|
|
121
121
|
return (n, a) => {
|
|
122
122
|
const j = P("FmLabel"), M = P("FmDatePicker"), f = P("FmTimePicker"), g = P("FmTextField"), b = P("FmButton"), $ = P("FmForm");
|
|
123
|
-
return R.value ? (w(),
|
|
123
|
+
return R.value ? (w(), Q($, {
|
|
124
124
|
key: 1,
|
|
125
125
|
onValidationSuccess: Y,
|
|
126
126
|
class: "flex flex-col gap-32",
|
|
@@ -176,7 +176,7 @@ const Re = lt((l, s) => {
|
|
|
176
176
|
])
|
|
177
177
|
]),
|
|
178
178
|
_: 1
|
|
179
|
-
}, 8, ["disabled"])) : (w(), U(
|
|
179
|
+
}, 8, ["disabled"])) : (w(), U(J, { key: 0 }, [
|
|
180
180
|
Z("Loading")
|
|
181
181
|
], 64));
|
|
182
182
|
};
|
|
@@ -210,7 +210,7 @@ function Rt(l, s, e, u) {
|
|
|
210
210
|
systemBalance: +N(s),
|
|
211
211
|
physicalBalance: +N(_),
|
|
212
212
|
adjustedAmount: +N(m),
|
|
213
|
-
adjustedDiffPercentage: C ? +N(
|
|
213
|
+
adjustedDiffPercentage: C ? +N(Je(C, 2)) : null
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
function Pt(l) {
|
|
@@ -288,10 +288,10 @@ function Lt(l, s, e) {
|
|
|
288
288
|
(B) => B.balance
|
|
289
289
|
), _ = [...l.items, ...l.negativeStockItems ?? []], m = at(_), R = _.map((B) => {
|
|
290
290
|
var ie, ue, de;
|
|
291
|
-
const
|
|
291
|
+
const X = ((ie = u.get(B.sku._id)) == null ? void 0 : ie[0]) ?? Tt, ce = ((ue = m == null ? void 0 : m.get(B.sku._id)) == null ? void 0 : ue[0]) ?? [];
|
|
292
292
|
return Rt(
|
|
293
293
|
B,
|
|
294
|
-
|
|
294
|
+
X,
|
|
295
295
|
ce,
|
|
296
296
|
(de = p.get(B.sku._id)) == null ? void 0 : de[0]
|
|
297
297
|
);
|
|
@@ -318,7 +318,7 @@ function Lt(l, s, e) {
|
|
|
318
318
|
],
|
|
319
319
|
[],
|
|
320
320
|
I.map((B) => B.name),
|
|
321
|
-
...R.map((B) => I.map((
|
|
321
|
+
...R.map((B) => I.map((X) => B[X.id]))
|
|
322
322
|
], n = I.map((B) => `system:${B.id}`), a = ut(Y, n), j = `[${v == null ? void 0 : v.name}] closing draft (${dt(new Date(l.updatedAt))}).xlsx`;
|
|
323
323
|
return mt(a, j), j;
|
|
324
324
|
}
|
|
@@ -370,7 +370,7 @@ const Et = { class: "flex flex-col" }, Vt = { class: "flex gap-12 py-8 justify-e
|
|
|
370
370
|
}
|
|
371
371
|
return (C, x) => {
|
|
372
372
|
const v = P("FmLabel"), I = P("FmDatePicker"), Y = P("FmTimePicker"), n = P("FmButton"), a = P("FmForm");
|
|
373
|
-
return p.value ? (w(),
|
|
373
|
+
return p.value ? (w(), Q(a, {
|
|
374
374
|
key: 1,
|
|
375
375
|
onValidationSuccess: R,
|
|
376
376
|
class: "flex flex-col gap-32",
|
|
@@ -426,12 +426,12 @@ const Et = { class: "flex flex-col" }, Vt = { class: "flex gap-12 py-8 justify-e
|
|
|
426
426
|
])
|
|
427
427
|
]),
|
|
428
428
|
_: 1
|
|
429
|
-
}, 8, ["disabled"])) : (w(), U(
|
|
429
|
+
}, 8, ["disabled"])) : (w(), U(J, { key: 0 }, [
|
|
430
430
|
Z("Loading")
|
|
431
431
|
], 64));
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
}), $e =
|
|
434
|
+
}), $e = Qe(
|
|
435
435
|
"closingDraftActions",
|
|
436
436
|
function() {
|
|
437
437
|
const s = _t(), e = Ve(), u = He(), p = Re(), _ = et(), m = H(!1), R = H();
|
|
@@ -568,10 +568,10 @@ function Be(l) {
|
|
|
568
568
|
return "fm-status-badge-complete";
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
const Nt =
|
|
571
|
+
const Nt = Qe(
|
|
572
572
|
"closingDraftTable",
|
|
573
573
|
function() {
|
|
574
|
-
const { t: s } =
|
|
574
|
+
const { t: s } = Xe(), e = $e(), u = H(new Array()), p = H(!1), _ = Ie(), m = Re();
|
|
575
575
|
async function R() {
|
|
576
576
|
if (u.value = [], !!_._currentLocation) {
|
|
577
577
|
p.value = !0;
|
|
@@ -774,10 +774,10 @@ const Nt = Xe(
|
|
|
774
774
|
updateDraftRef: x
|
|
775
775
|
};
|
|
776
776
|
}
|
|
777
|
-
), zt = { class: "w-full flex flex-col gap-32" }, Ot = { class: "flex justify-between" }, Yt = { class: "flex" }, Kt = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qt = { class: "flex gap-1" }, Wt = { class: "fm-typo-en-body-lg-600" }, Zt = { class: "flex flex-col gap-16" },
|
|
777
|
+
), zt = { class: "w-full flex flex-col gap-32" }, Ot = { class: "flex justify-between" }, Yt = { class: "flex" }, Kt = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qt = { class: "flex gap-1" }, Wt = { class: "fm-typo-en-body-lg-600" }, Zt = { class: "flex flex-col gap-16" }, Jt = { class: "flex items-center" }, Xt = {
|
|
778
778
|
key: 0,
|
|
779
779
|
class: "flex gap-8"
|
|
780
|
-
},
|
|
780
|
+
}, Qt = {
|
|
781
781
|
key: 0,
|
|
782
782
|
class: "w-full flex flex-col items-center"
|
|
783
783
|
}, ea = { class: "flex items-center gap-8" }, ta = { class: "flex flex-col gap-8" }, aa = { class: "flex gap-8" }, na = {
|
|
@@ -840,7 +840,7 @@ const Nt = Xe(
|
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
);
|
|
843
|
-
const B = he(0),
|
|
843
|
+
const B = he(0), X = he(100);
|
|
844
844
|
async function ce() {
|
|
845
845
|
var t, y, d;
|
|
846
846
|
if (!j._currentLocation) return;
|
|
@@ -1183,7 +1183,7 @@ const Nt = Xe(
|
|
|
1183
1183
|
), we = A.amount === 0 ? null : Ze(q, {
|
|
1184
1184
|
...A,
|
|
1185
1185
|
amount: Math.abs(A.amount)
|
|
1186
|
-
}), ye = we ? Ee(we,
|
|
1186
|
+
}), ye = we ? Ee(we, X) : null;
|
|
1187
1187
|
return {
|
|
1188
1188
|
id: i._id,
|
|
1189
1189
|
code: i.code,
|
|
@@ -1197,7 +1197,7 @@ const Nt = Xe(
|
|
|
1197
1197
|
systemBalance: +N(A),
|
|
1198
1198
|
physicalBalance: +N(h),
|
|
1199
1199
|
adjustedAmount: +N(q),
|
|
1200
|
-
adjustedDiffPercentage: ye ? +N(
|
|
1200
|
+
adjustedDiffPercentage: ye ? +N(Je(ye, 2)) : null,
|
|
1201
1201
|
isTemplateItem: !r[i._id]
|
|
1202
1202
|
};
|
|
1203
1203
|
}).filter((i) => !!(i.isTemplateItem && b.value.templateItem || !i.isTemplateItem && b.value.nonTemplateItem));
|
|
@@ -1316,7 +1316,7 @@ const Nt = Xe(
|
|
|
1316
1316
|
});
|
|
1317
1317
|
return (r, t) => {
|
|
1318
1318
|
const y = P("FmButtonGroup"), d = P("FmMenuDivider"), i = P("FmCard"), c = P("FmButton"), A = P("FmCircularProgress"), h = P("FmChip"), D = P("FmTextField"), q = P("FmIcon"), we = P("FmTable"), ye = P("FmSpacer"), Ne = P("FmTooltip"), Ce = P("FmSideSheet");
|
|
1319
|
-
return w(),
|
|
1319
|
+
return w(), Q(Ce, {
|
|
1320
1320
|
"dismiss-away": "",
|
|
1321
1321
|
"max-width": 9999,
|
|
1322
1322
|
"model-value": F(_),
|
|
@@ -1327,8 +1327,8 @@ const Nt = Xe(
|
|
|
1327
1327
|
var S, z, K, G;
|
|
1328
1328
|
return [
|
|
1329
1329
|
o("div", ha, [
|
|
1330
|
-
((S = e.draft) == null ? void 0 : S.status) === F(re).enum.DRAFT ? (w(), U(
|
|
1331
|
-
ke.value ? (w(),
|
|
1330
|
+
((S = e.draft) == null ? void 0 : S.status) === F(re).enum.DRAFT ? (w(), U(J, { key: 0 }, [
|
|
1331
|
+
ke.value ? (w(), Q(Ne, {
|
|
1332
1332
|
key: 0,
|
|
1333
1333
|
"z-index": 51
|
|
1334
1334
|
}, {
|
|
@@ -1344,19 +1344,19 @@ const Nt = Xe(
|
|
|
1344
1344
|
})
|
|
1345
1345
|
]),
|
|
1346
1346
|
_: 1
|
|
1347
|
-
})) : (w(),
|
|
1347
|
+
})) : (w(), Q(c, {
|
|
1348
1348
|
key: "approve key",
|
|
1349
1349
|
label: "Approve",
|
|
1350
1350
|
onClick: t[6] || (t[6] = () => e.draft && F(p).approveDraft(e.draft, () => g("submitted")))
|
|
1351
1351
|
}))
|
|
1352
1352
|
], 64)) : ee("", !0),
|
|
1353
|
-
((z = e.draft) == null ? void 0 : z.status) === F(re).enum.DRAFT ? (w(),
|
|
1353
|
+
((z = e.draft) == null ? void 0 : z.status) === F(re).enum.DRAFT ? (w(), Q(c, {
|
|
1354
1354
|
key: 1,
|
|
1355
1355
|
label: "Reject",
|
|
1356
1356
|
variant: "destructive",
|
|
1357
1357
|
onClick: t[7] || (t[7] = () => e.draft && F(p).rejectDraft(e.draft, () => g("submitted")))
|
|
1358
1358
|
})) : ee("", !0),
|
|
1359
|
-
(K = e.draft) != null && K.approvedAt && ((G = e.draft) == null ? void 0 : G.status) !== F(re).enum.COMPLETED ? (w(),
|
|
1359
|
+
(K = e.draft) != null && K.approvedAt && ((G = e.draft) == null ? void 0 : G.status) !== F(re).enum.COMPLETED ? (w(), Q(c, {
|
|
1360
1360
|
key: 2,
|
|
1361
1361
|
label: "Sync",
|
|
1362
1362
|
loading: C.value,
|
|
@@ -1383,7 +1383,7 @@ const Nt = Xe(
|
|
|
1383
1383
|
"onUpdate:modelValue": t[0] || (t[0] = (S) => se.value = S)
|
|
1384
1384
|
}, null, 8, ["modelValue"])
|
|
1385
1385
|
]),
|
|
1386
|
-
se.value.value === "overview" ? (w(), U(
|
|
1386
|
+
se.value.value === "overview" ? (w(), U(J, { key: 0 }, [
|
|
1387
1387
|
k(i, {
|
|
1388
1388
|
variant: "outlined",
|
|
1389
1389
|
class: "flex flex-col gap-8 px-12 py-16"
|
|
@@ -1401,7 +1401,7 @@ const Nt = Xe(
|
|
|
1401
1401
|
]),
|
|
1402
1402
|
k(d),
|
|
1403
1403
|
o("div", Kt, [
|
|
1404
|
-
(w(!0), U(
|
|
1404
|
+
(w(!0), U(J, null, _e(pe.value, (K, G) => (w(), U("div", {
|
|
1405
1405
|
class: "flex flex-col gap-4",
|
|
1406
1406
|
key: G
|
|
1407
1407
|
}, [
|
|
@@ -1416,10 +1416,10 @@ const Nt = Xe(
|
|
|
1416
1416
|
_: 1
|
|
1417
1417
|
}),
|
|
1418
1418
|
o("div", Zt, [
|
|
1419
|
-
o("div",
|
|
1419
|
+
o("div", Jt, [
|
|
1420
1420
|
t[12] || (t[12] = o("div", { class: "flex-1 fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Closing items ", -1)),
|
|
1421
|
-
m.value ? ee("", !0) : (w(), U("div",
|
|
1422
|
-
r.draft && r.draft.status !== F(re).enum.COMPLETED ? (w(),
|
|
1421
|
+
m.value ? ee("", !0) : (w(), U("div", Xt, [
|
|
1422
|
+
r.draft && r.draft.status !== F(re).enum.COMPLETED ? (w(), Q(c, {
|
|
1423
1423
|
key: 0,
|
|
1424
1424
|
label: "Refresh balance",
|
|
1425
1425
|
"prepend-icon": "refresh",
|
|
@@ -1445,7 +1445,7 @@ const Nt = Xe(
|
|
|
1445
1445
|
})
|
|
1446
1446
|
]))
|
|
1447
1447
|
]),
|
|
1448
|
-
m.value ? (w(), U("div",
|
|
1448
|
+
m.value ? (w(), U("div", Qt, [
|
|
1449
1449
|
t[14] || (t[14] = o("div", { class: "h-80" }, null, -1)),
|
|
1450
1450
|
o("div", ea, [
|
|
1451
1451
|
o("div", null, [
|
|
@@ -1454,7 +1454,7 @@ const Nt = Xe(
|
|
|
1454
1454
|
t[13] || (t[13] = o("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Fetching info... ", -1))
|
|
1455
1455
|
]),
|
|
1456
1456
|
t[15] || (t[15] = o("div", { class: "h-80" }, null, -1))
|
|
1457
|
-
])) : (w(), U(
|
|
1457
|
+
])) : (w(), U(J, { key: 1 }, [
|
|
1458
1458
|
o("div", ta, [
|
|
1459
1459
|
o("div", aa, [
|
|
1460
1460
|
k(h, {
|
|
@@ -1475,7 +1475,7 @@ const Nt = Xe(
|
|
|
1475
1475
|
}, null, 8, ["modelValue"])
|
|
1476
1476
|
]),
|
|
1477
1477
|
F(a).skuTags.size ? (w(), U("div", na, [
|
|
1478
|
-
(w(!0), U(
|
|
1478
|
+
(w(!0), U(J, null, _e(F(a).skuTags.keys(), (S) => (w(), Q(h, {
|
|
1479
1479
|
key: `${S}`,
|
|
1480
1480
|
label: `${S}`,
|
|
1481
1481
|
selectable: "",
|
|
@@ -1483,7 +1483,7 @@ const Nt = Xe(
|
|
|
1483
1483
|
onClick: (z) => M[`${S}`] = !M[`${S}`]
|
|
1484
1484
|
}, {
|
|
1485
1485
|
default: O(() => [
|
|
1486
|
-
M[`${S}`] ? (w(),
|
|
1486
|
+
M[`${S}`] ? (w(), Q(q, {
|
|
1487
1487
|
key: 0,
|
|
1488
1488
|
name: "check",
|
|
1489
1489
|
class: "text-white",
|
|
@@ -1518,7 +1518,7 @@ const Nt = Xe(
|
|
|
1518
1518
|
], 64)) : ee("", !0),
|
|
1519
1519
|
se.value.value === "history" ? (w(), U("div", sa, [
|
|
1520
1520
|
ae.value.length ? (w(), U("div", ca, [
|
|
1521
|
-
(w(!0), U(
|
|
1521
|
+
(w(!0), U(J, null, _e(ae.value, (S, z) => (w(), U(J, { key: z }, [
|
|
1522
1522
|
o("div", ia, [
|
|
1523
1523
|
o("div", ua, [
|
|
1524
1524
|
o("div", da, [
|
|
@@ -1571,13 +1571,13 @@ const Nt = Xe(
|
|
|
1571
1571
|
}, {
|
|
1572
1572
|
default: O(() => [
|
|
1573
1573
|
o("div", Da, [
|
|
1574
|
-
(w(!0), U(
|
|
1574
|
+
(w(!0), U(J, null, _e(S.info, (K, G) => (w(), U("div", {
|
|
1575
1575
|
key: G,
|
|
1576
1576
|
class: "flex flex-col gap-4"
|
|
1577
1577
|
}, [
|
|
1578
1578
|
o("div", ka, W(K == null ? void 0 : K.label), 1),
|
|
1579
1579
|
o("div", _a, [
|
|
1580
|
-
(w(!0), U(
|
|
1580
|
+
(w(!0), U(J, null, _e(K == null ? void 0 : K.values, (ne, me) => (w(), U("div", {
|
|
1581
1581
|
key: me,
|
|
1582
1582
|
class: "fm-typo-en-body-lg-600"
|
|
1583
1583
|
}, W(ne), 1))), 128))
|
|
@@ -1613,7 +1613,7 @@ const Nt = Xe(
|
|
|
1613
1613
|
}), wa = { class: "flex-1 flex flex-col gap-8" }, Ca = { class: "flex flex-col" }, Sa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fa = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ja = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Ba = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, La = /* @__PURE__ */ Te({
|
|
1614
1614
|
__name: "ClosingDraftView",
|
|
1615
1615
|
setup(l) {
|
|
1616
|
-
const { t: s } =
|
|
1616
|
+
const { t: s } = Xe(), { viewDraft: e } = $e(), { viewClosingDraftProps: u, viewClosingDraftShow: p } = wt($e()), _ = Ie(), m = Nt(), R = gt(), { breakpoints: C } = xt();
|
|
1617
1617
|
_.watchLocation(m.fetchDrafts);
|
|
1618
1618
|
const x = L(() => m.loading), v = H(""), I = L(() => C.value.xs || C.value.sm), Y = L(() => I.value ? 10 : 20);
|
|
1619
1619
|
function n(M) {
|
|
@@ -1640,7 +1640,7 @@ const Nt = Xe(
|
|
|
1640
1640
|
]);
|
|
1641
1641
|
return (M, f) => {
|
|
1642
1642
|
const g = P("FmTable");
|
|
1643
|
-
return w(), U(
|
|
1643
|
+
return w(), U(J, null, [
|
|
1644
1644
|
k(bt, {
|
|
1645
1645
|
title: F(s)("inventory.closing.draft.title"),
|
|
1646
1646
|
actions: j.value,
|
|
@@ -1677,14 +1677,14 @@ const Nt = Xe(
|
|
|
1677
1677
|
onRowClick: ($) => F(e)($)
|
|
1678
1678
|
}, {
|
|
1679
1679
|
default: O(($) => {
|
|
1680
|
-
var V, te, B,
|
|
1680
|
+
var V, te, B, X, ce, ie, ue, de, oe, Ae, xe, fe, De, pe, ve, se, ae, ke, r, t;
|
|
1681
1681
|
return [
|
|
1682
1682
|
o("div", wa, [
|
|
1683
1683
|
o("div", Ca, [
|
|
1684
1684
|
o("div", Sa, [
|
|
1685
1685
|
k(F(je), {
|
|
1686
1686
|
render: (B = (te = (V = $._id) == null ? void 0 : V.column) == null ? void 0 : te.columnDef) == null ? void 0 : B.cell,
|
|
1687
|
-
props: (ce = (
|
|
1687
|
+
props: (ce = (X = $._id) == null ? void 0 : X.getContext) == null ? void 0 : ce.call(X)
|
|
1688
1688
|
}, null, 8, ["render", "props"])
|
|
1689
1689
|
]),
|
|
1690
1690
|
o("div", Fa, [
|
|
@@ -1722,7 +1722,7 @@ const Nt = Xe(
|
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
}, 8, ["title", "actions"]),
|
|
1725
|
-
(w(),
|
|
1725
|
+
(w(), Q(st, { to: "body" }, [
|
|
1726
1726
|
k(xa, rt(F(u), {
|
|
1727
1727
|
show: F(p),
|
|
1728
1728
|
"onUpdate:show": f[2] || (f[2] = (b) => Ye(p) ? p.value = b : null),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as P, h as F, defineComponent as B, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Me, toDisplayString as C, unref as y, createCommentVNode as G, createVNode as $, withCtx as A, Fragment as j, renderList as
|
|
2
|
-
import { u as ie,
|
|
1
|
+
import { ref as P, h as F, defineComponent as B, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Me, toDisplayString as C, unref as y, createCommentVNode as G, createVNode as $, withCtx as A, Fragment as j, renderList as W, computed as E, watch as Pe, createSlots as Fe, createBlock as L, isRef as Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as We, mergeProps as qe } from "vue";
|
|
2
|
+
import { u as ie, am as Je, D as Z, j as V, i as Xe, f as Re, an as Qe, ao as ae, X as Ze, ap as Ae, W as Ee, a as ce, b as et, aq as tt, ar as Ve, B as nt, C as ot, as as st, e as H, K as O, P as lt, at, q as rt, J as Ue, A as it, au as ct, a8 as le, E as mt, G as ut, I as dt } from "./app-DU_GXTW3.js";
|
|
3
3
|
import { useI18n as z, useCoreStore as Le } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as te, useDialogChild as pt, useSnackbar as ne, FmButtonVariant as ee, components as N, useProxiedModel as ft, useBreakpoints as vt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ne, storeToRefs as Be } from "pinia";
|
|
6
|
-
import { u as oe } from "./closing-template-
|
|
7
|
-
import { u as gt } from "./use-ingredient-select-dialog-
|
|
6
|
+
import { u as oe } from "./closing-template-DhM1Taa8.js";
|
|
7
|
+
import { u as gt } from "./use-ingredient-select-dialog-B6k49FYb.js";
|
|
8
8
|
const se = Ne(
|
|
9
9
|
"closingTemplateTable",
|
|
10
10
|
function() {
|
|
@@ -33,7 +33,7 @@ const se = Ne(
|
|
|
33
33
|
};
|
|
34
34
|
r.open({
|
|
35
35
|
title: "Publish template",
|
|
36
|
-
contentComponent:
|
|
36
|
+
contentComponent: Qe,
|
|
37
37
|
contentComponentProps: s,
|
|
38
38
|
closeButton: !0,
|
|
39
39
|
primaryActions: {
|
|
@@ -97,7 +97,7 @@ const se = Ne(
|
|
|
97
97
|
accessorKey: "_id",
|
|
98
98
|
header: () => l("inventory.closing.table.createdAt"),
|
|
99
99
|
cell(t) {
|
|
100
|
-
return
|
|
100
|
+
return Je(`${t.getValue()}`);
|
|
101
101
|
},
|
|
102
102
|
enableSorting: !0
|
|
103
103
|
},
|
|
@@ -173,7 +173,7 @@ const se = Ne(
|
|
|
173
173
|
Z[V.Delete],
|
|
174
174
|
Z[V.Publish]
|
|
175
175
|
];
|
|
176
|
-
return
|
|
176
|
+
return Xe(i, (e) => T(e, s));
|
|
177
177
|
},
|
|
178
178
|
enableSorting: !1,
|
|
179
179
|
size: 40,
|
|
@@ -556,7 +556,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
|
|
|
556
556
|
$(n, { "z-index": 50 }, {
|
|
557
557
|
content: A(() => [
|
|
558
558
|
_("ol", null, [
|
|
559
|
-
(k(!0), I(j, null,
|
|
559
|
+
(k(!0), I(j, null, W(r.errors, (a, v) => (k(), I("li", { key: v }, C(a), 1))), 128))
|
|
560
560
|
])
|
|
561
561
|
]),
|
|
562
562
|
default: A(() => [
|
|
@@ -713,7 +713,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
|
|
|
713
713
|
]))
|
|
714
714
|
], 2),
|
|
715
715
|
g.value.length ? (k(), I("div", Ut, [
|
|
716
|
-
(k(!0), I(j, null,
|
|
716
|
+
(k(!0), I(j, null, W(g.value, (w, p) => (k(), I("div", {
|
|
717
717
|
key: p,
|
|
718
718
|
class: "flex gap-8 items-center"
|
|
719
719
|
}, [
|
|
@@ -732,7 +732,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
|
|
|
732
732
|
]), 1032, ["class", "label", "button-label"]),
|
|
733
733
|
v.value ? (k(), I("div", Nt, [
|
|
734
734
|
_("div", Bt, C(y(d)("inventory.ingredient.import.summary")), 1),
|
|
735
|
-
(k(!0), I(j, null,
|
|
735
|
+
(k(!0), I(j, null, W(m.value, (e, w) => (k(), L(De, {
|
|
736
736
|
key: w,
|
|
737
737
|
name: e.template.name,
|
|
738
738
|
locations: e.template.locations,
|
|
@@ -740,7 +740,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
|
|
|
740
740
|
errors: e.errors,
|
|
741
741
|
type: "create"
|
|
742
742
|
}, null, 8, ["name", "locations", "items", "errors"]))), 128)),
|
|
743
|
-
(k(!0), I(j, null,
|
|
743
|
+
(k(!0), I(j, null, W(f.value, (e) => (k(), L(De, {
|
|
744
744
|
key: e.template._id,
|
|
745
745
|
name: e.template.name,
|
|
746
746
|
locations: e.template.locations,
|
|
@@ -1194,7 +1194,7 @@ function Ht(u) {
|
|
|
1194
1194
|
})
|
|
1195
1195
|
};
|
|
1196
1196
|
}
|
|
1197
|
-
const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt = { class: "flex-1 flex flex-col" }, Kt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" },
|
|
1197
|
+
const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt = { class: "flex-1 flex flex-col" }, Kt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Wt = { class: "flex flex-col gap-4" }, qt = /* @__PURE__ */ B({
|
|
1198
1198
|
__name: "ClosingTemplateItem",
|
|
1199
1199
|
props: {
|
|
1200
1200
|
cellByColId: {},
|
|
@@ -1219,9 +1219,9 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
|
|
|
1219
1219
|
}, null, 8, ["render", "props"])
|
|
1220
1220
|
])
|
|
1221
1221
|
]),
|
|
1222
|
-
_("div",
|
|
1222
|
+
_("div", Wt, [
|
|
1223
1223
|
n[0] || (n[0] = _("div", { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, null, -1)),
|
|
1224
|
-
(k(!0), I(j, null,
|
|
1224
|
+
(k(!0), I(j, null, W(c.value, (d) => {
|
|
1225
1225
|
var x, T, h;
|
|
1226
1226
|
return k(), I("div", {
|
|
1227
1227
|
key: d.id
|
|
@@ -1236,7 +1236,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
|
|
|
1236
1236
|
]);
|
|
1237
1237
|
};
|
|
1238
1238
|
}
|
|
1239
|
-
}),
|
|
1239
|
+
}), Jt = { class: "flex flex-col gap-16" }, Xt = { class: "flex flex-col gap-24" }, Qt = { class: "flex flex-col gap-16" }, Zt = { class: "flex items-center" }, en = { class: "flex-1 fm-typo-en-title-sm-600" }, tn = { class: "flex flex-col gap-16" }, nn = { class: "flex items-center" }, on = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, sn = /* @__PURE__ */ B({
|
|
1240
1240
|
__name: "ClosingTemplateForm",
|
|
1241
1241
|
props: {
|
|
1242
1242
|
modelValue: {},
|
|
@@ -1313,8 +1313,8 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
|
|
|
1313
1313
|
disabled: t.disabled
|
|
1314
1314
|
}, {
|
|
1315
1315
|
default: A(() => [
|
|
1316
|
-
_("div",
|
|
1317
|
-
_("div",
|
|
1316
|
+
_("div", Jt, [
|
|
1317
|
+
_("div", Xt, [
|
|
1318
1318
|
$(i, {
|
|
1319
1319
|
label: y(o)("inventory.closing.form.name"),
|
|
1320
1320
|
"label-mark": "required",
|
|
@@ -1330,7 +1330,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
|
|
|
1330
1330
|
}, null, 8, ["label", "modelValue"])
|
|
1331
1331
|
])
|
|
1332
1332
|
]),
|
|
1333
|
-
_("div",
|
|
1333
|
+
_("div", Qt, [
|
|
1334
1334
|
_("div", Zt, [
|
|
1335
1335
|
_("div", en, C(y(o)("inventory.closing.form.locations")), 1),
|
|
1336
1336
|
$(e, {
|
|
@@ -1394,7 +1394,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
|
|
|
1394
1394
|
key: y(c).items.map((M) => M.sku._id).join(".")
|
|
1395
1395
|
}, {
|
|
1396
1396
|
default: A((M) => [
|
|
1397
|
-
$(
|
|
1397
|
+
$(qt, {
|
|
1398
1398
|
row: D,
|
|
1399
1399
|
"cell-by-col-id": M
|
|
1400
1400
|
}, null, 8, ["row", "cell-by-col-id"])
|
|
@@ -1799,20 +1799,20 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
|
|
|
1799
1799
|
onRowClick: (U) => y(c)(U)
|
|
1800
1800
|
}, {
|
|
1801
1801
|
default: A((U) => {
|
|
1802
|
-
var ue, de, pe,
|
|
1802
|
+
var ue, de, pe, q, fe, ve, ge, ye, J, he, be, _e, xe, we, ke, X, Te, $e, Ce, Ie, Q, Se;
|
|
1803
1803
|
return [
|
|
1804
1804
|
_("div", Cn, [
|
|
1805
1805
|
_("div", In, [
|
|
1806
1806
|
_("div", Sn, [
|
|
1807
1807
|
$(y(O), {
|
|
1808
1808
|
render: (pe = (de = (ue = U._id) == null ? void 0 : ue.column) == null ? void 0 : de.columnDef) == null ? void 0 : pe.cell,
|
|
1809
|
-
props: (fe = (
|
|
1809
|
+
props: (fe = (q = U._id) == null ? void 0 : q.getContext) == null ? void 0 : fe.call(q)
|
|
1810
1810
|
}, null, 8, ["render", "props"])
|
|
1811
1811
|
]),
|
|
1812
1812
|
_("div", Dn, [
|
|
1813
1813
|
$(y(O), {
|
|
1814
1814
|
render: (ye = (ge = (ve = U.name) == null ? void 0 : ve.column) == null ? void 0 : ge.columnDef) == null ? void 0 : ye.cell,
|
|
1815
|
-
props: (he = (
|
|
1815
|
+
props: (he = (J = U.name) == null ? void 0 : J.getContext) == null ? void 0 : he.call(J)
|
|
1816
1816
|
}, null, 8, ["render", "props"])
|
|
1817
1817
|
]),
|
|
1818
1818
|
_("div", null, C((be = M.original.locations) != null && be.length ? y(l)("inventory.closing.table.enabledForN", {
|
|
@@ -1825,14 +1825,14 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
|
|
|
1825
1825
|
_("div", Pn, [
|
|
1826
1826
|
$(y(O), {
|
|
1827
1827
|
render: (ke = (we = (xe = U.ref) == null ? void 0 : xe.column) == null ? void 0 : we.columnDef) == null ? void 0 : ke.cell,
|
|
1828
|
-
props: (Te = (
|
|
1828
|
+
props: (Te = (X = U.ref) == null ? void 0 : X.getContext) == null ? void 0 : Te.call(X)
|
|
1829
1829
|
}, null, 8, ["render", "props"])
|
|
1830
1830
|
])
|
|
1831
1831
|
]),
|
|
1832
1832
|
_("div", null, [
|
|
1833
1833
|
$(y(O), {
|
|
1834
1834
|
render: (Ie = (Ce = ($e = U.status) == null ? void 0 : $e.column) == null ? void 0 : Ce.columnDef) == null ? void 0 : Ie.cell,
|
|
1835
|
-
props: (Se = (
|
|
1835
|
+
props: (Se = (Q = U.status) == null ? void 0 : Q.getContext) == null ? void 0 : Se.call(Q)
|
|
1836
1836
|
}, null, 8, ["render", "props"])
|
|
1837
1837
|
])
|
|
1838
1838
|
])
|
|
@@ -1848,8 +1848,8 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
|
|
|
1848
1848
|
_: 1
|
|
1849
1849
|
}, 8, ["title", "actions"]),
|
|
1850
1850
|
(k(), L(Ke, { to: "body" }, [
|
|
1851
|
-
$(dn, Ge(
|
|
1852
|
-
$(cn,
|
|
1851
|
+
$(dn, Ge(We(y(m))), null, 16),
|
|
1852
|
+
$(cn, qe(y(g), {
|
|
1853
1853
|
onSubmitted: S[2] || (S[2] = (M) => y(v).fetchTemplates())
|
|
1854
1854
|
}), null, 16)
|
|
1855
1855
|
]))
|
package/dist/{DeliveryOrderPrintPreview-DNDtL_Vo.js → DeliveryOrderPrintPreview-DHhQSQ2B.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as g, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as _ } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { aH as y, au as w } from "./app-DU_GXTW3.js";
|
|
4
4
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "subtitle"
|
|
7
|
-
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" },
|
|
7
|
+
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, H = { class: "purchase-body" }, U = { class: "text-left" }, B = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" }, J = { class: "text-right" }, j = { key: 0 }, z = {
|
|
8
8
|
key: 1,
|
|
9
9
|
style: { "padding-top": "30px" }
|
|
10
|
-
},
|
|
10
|
+
}, G = { valign: "bottom" }, Q = { class: "header" }, K = { class: "caption" }, W = {
|
|
11
11
|
class: "text-left",
|
|
12
12
|
style: { width: "20%" }
|
|
13
13
|
}, X = { class: "text-left" }, Y = {
|
|
@@ -106,7 +106,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
106
106
|
])
|
|
107
107
|
])
|
|
108
108
|
]),
|
|
109
|
-
t("div",
|
|
109
|
+
t("div", H, [
|
|
110
110
|
t("table", null, [
|
|
111
111
|
l[19] || (l[19] = t("thead", { class: "item-header" }, [
|
|
112
112
|
t("tr", null, [
|
|
@@ -126,8 +126,8 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
126
126
|
], -1)),
|
|
127
127
|
t("tbody", null, [
|
|
128
128
|
t("tr", null, [
|
|
129
|
-
t("td",
|
|
130
|
-
t("td",
|
|
129
|
+
t("td", U, e(s.value.orderNumber), 1),
|
|
130
|
+
t("td", B, e(s.value.ref), 1),
|
|
131
131
|
t("td", L, e(s.value.supplier.phoneNumber), 1)
|
|
132
132
|
])
|
|
133
133
|
])
|
|
@@ -161,14 +161,14 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
161
161
|
"text-warning": r.received != r.quantity
|
|
162
162
|
}])
|
|
163
163
|
}, e(r.received + "/" + r.quantity), 3),
|
|
164
|
-
t("td",
|
|
164
|
+
t("td", J, e(r.unit), 1)
|
|
165
165
|
]))), 128))
|
|
166
166
|
])
|
|
167
167
|
])
|
|
168
168
|
]),
|
|
169
169
|
l[24] || (l[24] = t("hr", null, null, -1)),
|
|
170
|
-
s.value.remark ? (u(), i("div",
|
|
171
|
-
s.value.deliveryOrders.length > 0 ? (u(), i("div",
|
|
170
|
+
s.value.remark ? (u(), i("div", j, "Remark: " + e(s.value.remark), 1)) : d("", !0),
|
|
171
|
+
s.value.deliveryOrders.length > 0 ? (u(), i("div", z, [
|
|
172
172
|
l[21] || (l[21] = t("hr", null, null, -1)),
|
|
173
173
|
l[22] || (l[22] = n(" Delivery History: ")),
|
|
174
174
|
(u(!0), i(o, null, p(s.value.deliveryOrders, (r, a) => (u(), i("div", {
|
|
@@ -176,7 +176,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
176
176
|
style: { padding: "10px 30px" }
|
|
177
177
|
}, [
|
|
178
178
|
t("table", null, [
|
|
179
|
-
t("tr",
|
|
179
|
+
t("tr", G, [
|
|
180
180
|
t("td", null, [
|
|
181
181
|
t("div", Q, "Ref: " + e(r.ref), 1),
|
|
182
182
|
t("div", K, e(r.createdAt), 1),
|