@feedmepos/mf-inventory-portal 0.0.23-dev.19 → 0.0.23-dev.20
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-DY01VbHo.js → App-N2myASr3.js} +44 -41
- package/dist/{ApprovalView-DtwXb5T7.js → ApprovalView-B87DpnNq.js} +20 -23
- package/dist/{BindingsDialog-ClnnwUTV.js → BindingsDialog-DehCgt1T.js} +7 -7
- package/dist/{BindingsPicker-DbdkXiHx.js → BindingsPicker-BBtJ3rBB.js} +7 -8
- package/dist/{BindingsTable-Cqh3Ku0d.js → BindingsTable-CfHuy-K1.js} +16 -20
- package/dist/{ClosingDraftView-CzuMTeC1.js → ClosingDraftView-BYZ1mZrG.js} +190 -196
- package/dist/{ClosingTemplateView-CVQlOya4.js → ClosingTemplateView-CAL9jYaf.js} +49 -60
- package/dist/{FmDroppableField-8RzKjEdL.js → FmDroppableField-CC7RiBoR.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BO1wCa9i.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4G9LaXv.js} +24 -25
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-sgvBxxkn.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBf7jmJz.js} +56 -57
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D7uvrzFU.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DjTvrLPs.js} +7 -7
- package/dist/{IngredientGroupView-DgDZnggI.js → IngredientGroupView-X0ST4tW9.js} +30 -37
- package/dist/{IngredientsView-SuCckJrj.js → IngredientsView-BUJXzpVr.js} +106 -112
- package/dist/{IntegrationView-CZQoHCkX.js → IntegrationView-QbuIwjec.js} +63 -65
- package/dist/{InventoryBindingForm-C-E3EINv.js → InventoryBindingForm-C1BR_h_3.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B3nsmCuj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CRwcFskQ.js} +18 -20
- package/dist/{InventoryBindingSummary-DNiOKfO8.js → InventoryBindingSummary-gn3Gq1ok.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdYa8Pv2.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-GY3FFm5_.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BwxgZ-vM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DVwtuUg9.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-C6i2S9L-.js → PurchaseOrderPrintPreview-FuOYaO56.js} +13 -14
- package/dist/{ReceiveRequestView-BABjGvIn.js → ReceiveRequestView-BNz1brve.js} +66 -75
- package/dist/{RecipeView-CoMcIuHu.js → RecipeView-DRKTODfC.js} +58 -64
- package/dist/{StockView-DhJshtaj.js → StockView-DnMcfkGG.js} +80 -87
- package/dist/{SupplierView-hQtDIQzE.js → SupplierView-DAnnWZUN.js} +45 -52
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DsJUSZsm.js → TransferDetails.vue_vue_type_script_setup_true_lang-BBARPa0S.js} +103 -110
- package/dist/{TransferTemplateView-GzwT4hp-.js → TransferTemplateView-2qlKwwKg.js} +217 -227
- package/dist/{UnitView-CRMF6RWu.js → UnitView-u5wZGetF.js} +103 -108
- package/dist/{WarehouseView-AVEDff0v.js → WarehouseView-Z80N7FJV.js} +77 -84
- package/dist/api/adjustment-template.d.ts +23 -0
- package/dist/app-Fc2FPGhO.js +58871 -0
- package/dist/app.d.ts +51 -0
- package/dist/app.js +2 -2
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/{decimal-N5ymnwhP.js → decimal-BDD-e5Lb.js} +1 -1
- package/dist/{feature-Bfq8yWgS.js → feature-BMEyYowI.js} +1 -1
- package/dist/{format-unit-display-CXawcmvj.js → format-unit-display-DvlR_z--.js} +205 -212
- package/dist/{index-CcCqc9jx.js → index-CR22QBdu.js} +1 -1
- package/dist/{netsuite-DX6L1oLu.js → netsuite-CqMWgzKo.js} +9 -9
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-Btlxmf8R.js → stock-sIy40ix1.js} +7 -8
- package/dist/style.css +1 -1
- package/dist/supplier-Cf24JqTH.js +77 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-BFqxWNzX.js → use-inventory-binding-dialog-Br9Uv9o8.js} +10 -11
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1295 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +29 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1273 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/{xlsx-C3L2eW52.js → xlsx-sL0sD2HQ.js} +1 -1
- package/dist/{xlsx.util-CJKLCuWK.js → xlsx.util-D2Tdwf8J.js} +1 -1
- package/package.json +3 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-m92y5x0G.js +0 -436
- package/dist/FmMultiselectDialog-Jr9uL_z_.js +0 -415
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-ww5ibHkL.js +0 -33540
- package/dist/date2-D5MTVjlP.js +0 -117
- package/dist/dayjs.min-7pwGJ2aW.js +0 -282
- package/dist/defineDeepModel-DJODEpcR.js +0 -13
- package/dist/form-mode.enum-BKiNVH6A.js +0 -4
- package/dist/format-time-from-id-0UkRUr39.js +0 -15
- package/dist/fuzzy-DdOiOd-q.js +0 -41
- package/dist/index-Cin_fxtb.js +0 -45
- package/dist/index-gvJJ-xRY.js +0 -22283
- package/dist/row-action.enum-7rGLGZ5v.js +0 -55
- package/dist/rules-C83wiSGb.js +0 -203
- package/dist/supplier-CSzla-9I.js +0 -77
- package/dist/use-template-enabled-locations-2-CUkqC-cd.js +0 -86
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { defineComponent as J, computed as y, reactive as Q, resolveComponent as g, openBlock as f, createElementBlock as x, createVNode as m, createElementVNode as n, toDisplayString as v, unref as l, Fragment as C, renderList as A, createBlock as R, withCtx as S, createCommentVNode as T, nextTick as X } from "vue";
|
|
2
|
-
import { a as Z,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { f as le } from "./index-gvJJ-xRY.js";
|
|
6
|
-
import { _ as se, c as re, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-sgvBxxkn.js";
|
|
2
|
+
import { a as Z, aF as ee, aG as ne, h, aH as oe, B as N, z as te, F as ie } from "./app-Fc2FPGhO.js";
|
|
3
|
+
import { u as le } from "./use-inventory-binding-dialog-Br9Uv9o8.js";
|
|
4
|
+
import { _ as se, c as re, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BBf7jmJz.js";
|
|
7
5
|
import { useI18n as ae } from "@feedmepos/mf-common";
|
|
8
6
|
const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, fe = { class: "flex flex-col" }, ve = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ye = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, _e = {
|
|
9
7
|
class: "flex items-center w-full border-b border-fm-color-neutral-gray-100",
|
|
@@ -14,7 +12,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
14
12
|
}, he = { class: "w-[200px]" }, Ve = { class: "w-[52px]" }, Be = { class: "flex flex-col gap-16" }, ke = { class: "flex items-center" }, Fe = { class: "flex-1 fm-typo-en-title-sm-600" }, Ie = { class: "flex flex-col" }, we = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Ue = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ee = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, Ce = {
|
|
15
13
|
class: "flex items-center w-full",
|
|
16
14
|
style: { "min-height": "48px" }
|
|
17
|
-
}, Ae = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Re = { class: "line-clamp-1" }, Se = { class: "w-[150px]" }, Te = { class: "w-[52px]" }, Ne = { class: "flex flex-col px-12 pb-4" },
|
|
15
|
+
}, Ae = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Re = { class: "line-clamp-1" }, Se = { class: "w-[150px]" }, Te = { class: "w-[52px]" }, Ne = { class: "flex flex-col px-12 pb-4" }, Ke = /* @__PURE__ */ J({
|
|
18
16
|
__name: "InventoryBindingForm",
|
|
19
17
|
props: {
|
|
20
18
|
id: {},
|
|
@@ -26,25 +24,25 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
26
24
|
},
|
|
27
25
|
emits: ["update:modelValue", "click:pick-inventory-bindings"],
|
|
28
26
|
setup(P, { emit: M }) {
|
|
29
|
-
const { t: c } = ae(), B = Z(), k = y(() => B.inventory.recipe ?? []), b = y(() => B.inventory.sku ?? []), s = P, p = M, F = y(() =>
|
|
27
|
+
const { t: c } = ae(), B = Z(), k = y(() => B.inventory.recipe ?? []), b = y(() => B.inventory.sku ?? []), s = P, p = M, F = y(() => ee({
|
|
30
28
|
bindings: s.modelValue,
|
|
31
29
|
recipes: k.value.map((t) => t._id === s.id ? {
|
|
32
30
|
...t,
|
|
33
31
|
contains: s.modelValue
|
|
34
32
|
} : t),
|
|
35
33
|
skus: b.value
|
|
36
|
-
}).inventoryBindings.filter((t) => t.error).filter((t) => t.reason ===
|
|
34
|
+
}).inventoryBindings.filter((t) => t.error).filter((t) => t.reason === ne.enum.circularDependency)), z = y(
|
|
37
35
|
() => new Set(F.value.map((e) => {
|
|
38
36
|
var o;
|
|
39
37
|
return (o = e.bindingPaths[0]) == null ? void 0 : o.id;
|
|
40
38
|
}))
|
|
41
|
-
), D = y(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding:
|
|
42
|
-
async function
|
|
39
|
+
), D = y(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: G, promptRecipesBinding: K } = le();
|
|
40
|
+
async function $() {
|
|
43
41
|
if (s.iframeMode) {
|
|
44
42
|
p("click:pick-inventory-bindings", "RECIPE");
|
|
45
43
|
return;
|
|
46
44
|
}
|
|
47
|
-
|
|
45
|
+
K(
|
|
48
46
|
s.modelValue,
|
|
49
47
|
(e) => p("update:modelValue", e),
|
|
50
48
|
s.id ? [s.id] : []
|
|
@@ -56,7 +54,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
56
54
|
p("click:pick-inventory-bindings", "SKU");
|
|
57
55
|
return;
|
|
58
56
|
}
|
|
59
|
-
|
|
57
|
+
G(
|
|
60
58
|
s.modelValue,
|
|
61
59
|
(e) => p("update:modelValue", e),
|
|
62
60
|
s.excludeBindingId,
|
|
@@ -74,7 +72,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
74
72
|
}
|
|
75
73
|
function U(e) {
|
|
76
74
|
var t, r;
|
|
77
|
-
if (e.type !==
|
|
75
|
+
if (e.type !== ie.enum.SKU)
|
|
78
76
|
throw new Error("Non-SKU binding does not have unit");
|
|
79
77
|
if (!((t = b.value.find((d) => d._id === e.id)) == null ? void 0 : t.unit))
|
|
80
78
|
throw new Error(`Cannot find ingredient: ${e.id}`);
|
|
@@ -83,7 +81,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
83
81
|
function Y(e) {
|
|
84
82
|
return { amount: e.amount, measurement: e.measurement };
|
|
85
83
|
}
|
|
86
|
-
function
|
|
84
|
+
function H(e, o, t) {
|
|
87
85
|
const r = t.map((d) => d.id !== e ? d : {
|
|
88
86
|
...d,
|
|
89
87
|
amount: o.amount,
|
|
@@ -113,7 +111,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
113
111
|
});
|
|
114
112
|
}
|
|
115
113
|
return (e, o) => {
|
|
116
|
-
const t = g("FmFormGroup"), r = g("FmButton"), d = g("FmIcon"), a = g("FmTextField"),
|
|
114
|
+
const t = g("FmFormGroup"), r = g("FmButton"), d = g("FmIcon"), a = g("FmTextField"), q = g("FmTooltip");
|
|
117
115
|
return f(), x("div", ue, [
|
|
118
116
|
m(t, {
|
|
119
117
|
disabled: e.disabled,
|
|
@@ -129,7 +127,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
129
127
|
"border-color": "primary",
|
|
130
128
|
label: l(c)("inventory.inventoryBindings.linkRecipe"),
|
|
131
129
|
"prepend-icon": "link",
|
|
132
|
-
onClick:
|
|
130
|
+
onClick: $
|
|
133
131
|
}, null, 8, ["label"])
|
|
134
132
|
]),
|
|
135
133
|
n("div", fe, [
|
|
@@ -151,7 +149,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
151
149
|
n("div", ge, [
|
|
152
150
|
n("div", xe, [
|
|
153
151
|
n("div", null, v((_ = k.value.find((u) => u._id === i.id)) == null ? void 0 : _.name), 1),
|
|
154
|
-
|
|
152
|
+
z.value.has(i.id) ? (f(), x("div", be, [
|
|
155
153
|
m(d, {
|
|
156
154
|
name: "error",
|
|
157
155
|
color: "system-error-400",
|
|
@@ -214,7 +212,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
214
212
|
n("div", Ce, [
|
|
215
213
|
n("div", Ae, [
|
|
216
214
|
n("span", Re, v((_ = b.value.find((u) => u._id === i.id)) == null ? void 0 : _.name), 1),
|
|
217
|
-
F.value.length ? (f(), R(
|
|
215
|
+
F.value.length ? (f(), R(q, {
|
|
218
216
|
key: 0,
|
|
219
217
|
variant: "plain",
|
|
220
218
|
placement: "bottom",
|
|
@@ -235,7 +233,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
235
233
|
n("div", Se, [
|
|
236
234
|
m(se, {
|
|
237
235
|
"model-value": Y(i),
|
|
238
|
-
"onUpdate:modelValue": (u) =>
|
|
236
|
+
"onUpdate:modelValue": (u) => H(i.id, u, e.modelValue),
|
|
239
237
|
"onUpdate:amount": (u) => W(i, u),
|
|
240
238
|
unit: U(i),
|
|
241
239
|
placement: V === I.value.length - 1 ? "top" : "bottom",
|
|
@@ -274,5 +272,5 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
274
272
|
}
|
|
275
273
|
});
|
|
276
274
|
export {
|
|
277
|
-
|
|
275
|
+
Ke as _
|
|
278
276
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as c, openBlock as m, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-Fc2FPGhO.js";
|
|
5
5
|
const B = /* @__PURE__ */ s({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { z as d } from "./app-Fc2FPGhO.js";
|
|
3
3
|
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as d, w as f } from "./xlsx-
|
|
2
|
-
import {
|
|
1
|
+
import { u as d, w as f } from "./xlsx-sL0sD2HQ.js";
|
|
2
|
+
import { N as _, u as h } from "./app-Fc2FPGhO.js";
|
|
3
3
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
4
4
|
import { ref as y, defineComponent as v, resolveComponent as p, openBlock as k, createElementBlock as g, renderSlot as S, createVNode as l, withCtx as x } from "vue";
|
|
5
5
|
function w(e, t) {
|
|
@@ -9,7 +9,7 @@ function I(e, t) {
|
|
|
9
9
|
const r = t.map((o) => o.name), n = e.map((o) => w(o, t));
|
|
10
10
|
return d.aoa_to_sheet([r, ...n]);
|
|
11
11
|
}
|
|
12
|
-
async function
|
|
12
|
+
async function A(e, t) {
|
|
13
13
|
const r = d.book_new();
|
|
14
14
|
for (const n of e) {
|
|
15
15
|
const o = I(
|
|
@@ -53,7 +53,7 @@ function O() {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
const c = y(O());
|
|
56
|
-
function
|
|
56
|
+
function C() {
|
|
57
57
|
return {
|
|
58
58
|
// state
|
|
59
59
|
get inventoryForecast() {
|
|
@@ -79,7 +79,7 @@ function D() {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function D(e) {
|
|
83
83
|
let t = e.substring(e.indexOf("_") + 1);
|
|
84
84
|
return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
|
|
85
85
|
}
|
|
@@ -110,7 +110,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
|
|
|
110
110
|
});
|
|
111
111
|
export {
|
|
112
112
|
L as _,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
A as e,
|
|
114
|
+
D as i,
|
|
115
|
+
C as u
|
|
116
116
|
};
|
package/dist/{PurchaseOrderPrintPreview-C6i2S9L-.js → PurchaseOrderPrintPreview-FuOYaO56.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as
|
|
1
|
+
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { y } from "./app-
|
|
4
|
-
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import { am as y, _ as C } from "./app-Fc2FPGhO.js";
|
|
5
4
|
const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "text-right" }, N = { class: "header" }, E = { class: "sub-header" }, O = { class: "caption" }, S = { class: "address" }, D = { class: "text-right" }, T = { class: "sub-header" }, q = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
|
|
6
5
|
class: "text-left",
|
|
7
6
|
style: { width: "20%" }
|
|
@@ -52,7 +51,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
52
51
|
t("div", S, [
|
|
53
52
|
i(l(s.value.supplier.line1), 1),
|
|
54
53
|
e[2] || (e[2] = t("br", null, null, -1)),
|
|
55
|
-
s.value.supplier.line2 ? (n(), u(
|
|
54
|
+
s.value.supplier.line2 ? (n(), u(d, { key: 0 }, [
|
|
56
55
|
i(l(s.value.supplier.line2), 1),
|
|
57
56
|
e[1] || (e[1] = t("br", null, null, -1))
|
|
58
57
|
], 64)) : p("", !0),
|
|
@@ -68,7 +67,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
68
67
|
t("div", q, [
|
|
69
68
|
i(l(s.value.buyer.line1), 1),
|
|
70
69
|
e[7] || (e[7] = t("br", null, null, -1)),
|
|
71
|
-
s.value.buyer.line2 ? (n(), u(
|
|
70
|
+
s.value.buyer.line2 ? (n(), u(d, { key: 0 }, [
|
|
72
71
|
i(l(s.value.buyer.line2), 1),
|
|
73
72
|
e[6] || (e[6] = t("br", null, null, -1))
|
|
74
73
|
], 64)) : p("", !0),
|
|
@@ -100,7 +99,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
100
99
|
])
|
|
101
100
|
], -1)),
|
|
102
101
|
t("tbody", null, [
|
|
103
|
-
(n(!0), u(
|
|
102
|
+
(n(!0), u(d, null, v(s.value.items, (r, a) => (n(), u("tr", { key: a }, [
|
|
104
103
|
t("td", L, l(r.code), 1),
|
|
105
104
|
t("td", U, l(r.description), 1),
|
|
106
105
|
t("td", {
|
|
@@ -120,7 +119,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
120
119
|
t("div", z, [
|
|
121
120
|
e[12] || (e[12] = t("hr", null, null, -1)),
|
|
122
121
|
e[13] || (e[13] = i(" Delivery History: ")),
|
|
123
|
-
(n(!0), u(
|
|
122
|
+
(n(!0), u(d, null, v(s.value.deliveryOrders, (r, a) => (n(), u("div", {
|
|
124
123
|
key: a,
|
|
125
124
|
style: { padding: "10px 30px" }
|
|
126
125
|
}, [
|
|
@@ -136,11 +135,11 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
136
135
|
t("div", null, [
|
|
137
136
|
t("table", null, [
|
|
138
137
|
t("tbody", null, [
|
|
139
|
-
(n(!0), u(
|
|
140
|
-
t("td", M, l(
|
|
141
|
-
t("td", J, l(
|
|
142
|
-
t("td", Q, l(
|
|
143
|
-
t("td", j, l(
|
|
138
|
+
(n(!0), u(d, null, v(r.items, (o, _) => (n(), u("tr", { key: _ }, [
|
|
139
|
+
t("td", M, l(o.code), 1),
|
|
140
|
+
t("td", J, l(o.description), 1),
|
|
141
|
+
t("td", Q, l(o.quantity), 1),
|
|
142
|
+
t("td", j, l(o.unit), 1)
|
|
144
143
|
]))), 128))
|
|
145
144
|
])
|
|
146
145
|
])
|
|
@@ -149,7 +148,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
149
148
|
])
|
|
150
149
|
]));
|
|
151
150
|
}
|
|
152
|
-
}),
|
|
151
|
+
}), $ = /* @__PURE__ */ C(G, [["__scopeId", "data-v-92a03d5c"]]);
|
|
153
152
|
export {
|
|
154
|
-
|
|
153
|
+
$ as default
|
|
155
154
|
};
|