@feedmepos/mf-inventory-portal 0.0.22-dev.5 → 0.0.22-dev.50
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-CyIOcyG5.js +140 -0
- package/dist/{BindingsDialog-DQJhC3Mo.js → BindingsDialog-BXePN5iL.js} +10 -10
- package/dist/{BindingsPicker-YfbPb_dG.js → BindingsPicker-Bd_qb0aO.js} +15 -15
- package/dist/{BindingsTable-D3MVcHXZ.js → BindingsTable-BV-nP9HU.js} +4 -4
- package/dist/ClosingTemplateView-CSvWLccZ.js +1829 -0
- package/dist/FmDroppableField-DwZ6ujPh.js +154 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DpCoW_-F.js +266 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpzreBHD.js +435 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-C8k7pSPT.js +51 -0
- package/dist/IngredientGroupView-C0hPeD41.js +608 -0
- package/dist/IngredientsView-CpwVIGXd.js +1608 -0
- package/dist/IntegrationView-Bt8pGAHS.js +1225 -0
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wsBLYBpB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yA-qJUUz.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BqcqoKyN.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-BcAmgmD8.js → PurchaseOrderPrintPreview-D3ugzCW_.js} +7 -7
- package/dist/ReceiveRequestView-D14YTEEe.js +4073 -0
- package/dist/RecipeView-D0WsMfKm.js +594 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-sxI0L6MP.js +7770 -0
- package/dist/SupplierView-clAkARuW.js +1468 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9NU1m6S.js +1150 -0
- package/dist/TransferTemplateView-DpI6kVqX.js +1258 -0
- package/dist/{UnitView-B95q8Xrj.js → UnitView-CneJsDum.js} +18 -18
- package/dist/{WarehouseView-CHGXvyeS.js → WarehouseView-DYbFWTlh.js} +176 -177
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/closing-template.d.ts +6 -4
- package/dist/api/inventory.d.ts +282 -91
- package/dist/api/netsuite.d.ts +71 -0
- package/dist/api/purchase-order-template.d.ts +4 -6
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-CfXF4jdF.js → app-B4pi48sM.js} +26414 -24985
- package/dist/app.d.ts +88 -3
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
- package/dist/components/map/GoogleMap.vue.d.ts +4 -4
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
- package/dist/{decimal-BZ7tX47r.js → decimal-C8O2p3Sg.js} +1 -1
- package/dist/defineDeepModel-BXP1vLGf.js +13 -0
- package/dist/extensions/array.d.ts +1 -0
- package/dist/format-time-from-id-DgW7OJL_.js +15 -0
- package/dist/format-unit-display-BP4O0Pym.js +1195 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/router/name.d.ts +1 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/integration/foodmarkethub.d.ts +391 -0
- package/dist/stores/integration/index.d.ts +7 -0
- package/dist/stores/integration/netsuite.d.ts +102 -0
- package/dist/stores/inventory.d.ts +294 -9
- package/dist/stores/location.d.ts +508 -503
- package/dist/stores/supplier.d.ts +124 -4
- package/dist/style.css +1 -1
- package/dist/supplier-D-8XhuF_.js +77 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-C2E4j3k-.js +85 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1038
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1049
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
- package/dist/views/integration/NetSuite.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1961 -87
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2377 -292
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2329 -244
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +32 -2
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
- package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
- package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
- package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
- package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1277 -1478
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1697 -906
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -247
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/{xlsx-BtP1Qjj6.js → xlsx-Dsy-fxZw.js} +1525 -1525
- package/dist/xlsx.util-CxGmvsp9.js +78 -0
- package/package.json +10 -7
- package/dist/ApprovalView-BdaNwUBc.js +0 -129
- package/dist/ClosingTemplateView-BpErgepi.js +0 -1030
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D3B7kOlU.js +0 -372
- package/dist/IngredientsView-GqrkpCm5.js +0 -1758
- package/dist/IntegrationView-7c3MpUzS.js +0 -1141
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BIwdObb1.js +0 -88
- package/dist/ReceiveRequestView-BAuXvzQW.js +0 -215
- package/dist/RecipeView-C6tZPQ-K.js +0 -581
- package/dist/StockView-4uXHYz4E.js +0 -1892
- package/dist/SupplierView-CuWvKCWY.js +0 -827
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CTQ9HIqf.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang--6JoXOLD.js +0 -1409
- package/dist/TransferTemplateView-D1Lfi3aW.js +0 -1230
- package/dist/defineDeepModel-BKAs9qN6.js +0 -13
- package/dist/format-time-from-id-B7ZE4sdX.js +0 -15
- package/dist/id-to-date-D1lOqIir.js +0 -30
- package/dist/purchase-order-transaction-type-tZ7cj1dz.js +0 -702
- package/dist/supplier-BIDBk5S6.js +0 -69
- package/dist/use-template-enabled-locations-DlMnS9WJ.js +0 -57
- package/dist/xlsx.util-BKFiH-ig.js +0 -109
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { u, a as m, r as d } from "./xlsx-Dsy-fxZw.js";
|
|
2
|
+
function* x(o) {
|
|
3
|
+
const [e, n] = o.split(":"), t = /\d+/, l = t.exec(e), c = t.exec(n);
|
|
4
|
+
if (!l || !c)
|
|
5
|
+
throw new Error(`Cannot parse row range for range: ${o}`);
|
|
6
|
+
const s = Number(l[0]), a = Number(c[0]);
|
|
7
|
+
for (let r = s; r <= a; r++)
|
|
8
|
+
yield r;
|
|
9
|
+
}
|
|
10
|
+
function* p(o) {
|
|
11
|
+
const [e, n] = o.split(":"), t = /[^\d]+/, l = t.exec(e), c = t.exec(n);
|
|
12
|
+
if (!l || !c)
|
|
13
|
+
throw new Error(`Cannot parse row range for range: ${o}`);
|
|
14
|
+
let s = 0, a = "A";
|
|
15
|
+
for (yield a; a !== c[0]; ) {
|
|
16
|
+
s++;
|
|
17
|
+
const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
18
|
+
let i = s, h = !1, f = "";
|
|
19
|
+
do {
|
|
20
|
+
const w = i % r.length;
|
|
21
|
+
i = Math.floor(i / r.length), f += r.charAt(w), h = i > 0, i -= 1;
|
|
22
|
+
} while (h);
|
|
23
|
+
a = f.split("").reverse().join(""), yield a;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function g(o) {
|
|
27
|
+
var t;
|
|
28
|
+
const e = [], n = o["!ref"];
|
|
29
|
+
if (!n) return e;
|
|
30
|
+
for (const l of x(n)) {
|
|
31
|
+
const c = [];
|
|
32
|
+
for (const s of p(n))
|
|
33
|
+
c.push(((t = o[`${s}${l}`]) == null ? void 0 : t.w) ?? "");
|
|
34
|
+
e.push(c);
|
|
35
|
+
}
|
|
36
|
+
return e;
|
|
37
|
+
}
|
|
38
|
+
function k(o, e, n = "Sheet1") {
|
|
39
|
+
const t = u.aoa_to_sheet([e, ...o]), l = o.reduce((a, r) => Math.max(a, r.length), 0), c = Array.from({ length: l }).map((a, r) => {
|
|
40
|
+
const i = o.map((h) => `${h[r]}`).reduce((h, f) => Math.max(h, f.length + 3), 0);
|
|
41
|
+
return {
|
|
42
|
+
wch: Math.max(i, 5)
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
t["!cols"] = c;
|
|
46
|
+
const s = u.book_new();
|
|
47
|
+
return u.book_append_sheet(s, t, n), s;
|
|
48
|
+
}
|
|
49
|
+
function y(o, e) {
|
|
50
|
+
const n = u.aoa_to_sheet([e, ...o]), t = o.reduce((c, s) => Math.max(c, s.length), 0), l = Array.from({ length: t }).map((c, s) => {
|
|
51
|
+
const a = o.map((r) => `${r[s]}`).reduce((r, i) => Math.max(r, i.length + 3), 0);
|
|
52
|
+
return {
|
|
53
|
+
wch: Math.max(a, 5)
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
return n["!cols"] = l, n;
|
|
57
|
+
}
|
|
58
|
+
function _(o, e) {
|
|
59
|
+
const n = u.book_new();
|
|
60
|
+
e ?? (e = Object.keys(o));
|
|
61
|
+
for (const t of e)
|
|
62
|
+
u.book_append_sheet(n, o[t], String(t));
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
function S(o, e) {
|
|
66
|
+
m(o, e, { compression: !0 });
|
|
67
|
+
}
|
|
68
|
+
async function b(o) {
|
|
69
|
+
return d(await o.arrayBuffer());
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
y as a,
|
|
73
|
+
_ as b,
|
|
74
|
+
S as d,
|
|
75
|
+
b as r,
|
|
76
|
+
g as s,
|
|
77
|
+
k as t
|
|
78
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "0.0.22-dev.
|
|
3
|
+
"version": "0.0.22-dev.50",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -16,10 +16,11 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@feedmepos/core": "^2.9.3",
|
|
18
18
|
"@feedmepos/menu": "1.0.34",
|
|
19
|
-
"@feedmepos/mf-common": "
|
|
20
|
-
"@feedmepos/ui-library": "1.3.
|
|
19
|
+
"@feedmepos/mf-common": "1.13.0-beta.1",
|
|
20
|
+
"@feedmepos/ui-library": "1.3.8",
|
|
21
21
|
"@tanstack/vue-table": "^8.17.3",
|
|
22
22
|
"@types/dinero.js": "^1.9.4",
|
|
23
|
+
"@typescript-eslint/typescript-estree": "^8.21.0",
|
|
23
24
|
"@vue/cli-service": "^5.0.8",
|
|
24
25
|
"axios": "^1.7.1",
|
|
25
26
|
"change-case": "^5.4.4",
|
|
@@ -31,16 +32,18 @@
|
|
|
31
32
|
"fuzzy": "^0.1.3",
|
|
32
33
|
"fuzzy-search": "^3.2.1",
|
|
33
34
|
"google-maps": "^4.3.3",
|
|
35
|
+
"libphonenumber-js": "^1.11.18",
|
|
36
|
+
"node-html-parser": "^7.0.1",
|
|
34
37
|
"pinia": "^2.1.7",
|
|
35
|
-
"vue": "^3.
|
|
38
|
+
"vue": "^3.5.13",
|
|
36
39
|
"vue-country-flag-next": "^2.3.2",
|
|
37
40
|
"vue-i18n": "^10.0.5",
|
|
38
|
-
"vue-router": "^4.
|
|
41
|
+
"vue-router": "^4.4.0",
|
|
39
42
|
"xlsx": "^0.18.5",
|
|
40
43
|
"zod": "3.17.9",
|
|
44
|
+
"@feedmepos/zod-inventory": "^1.0.10",
|
|
41
45
|
"@feedmepos/inventory-core": "^0.2.18",
|
|
42
|
-
"@feedmepos/inventory-core-js": "^1.0.
|
|
43
|
-
"@feedmepos/zod-inventory": "^1.0.10"
|
|
46
|
+
"@feedmepos/inventory-core-js": "^1.0.1"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
49
|
"@rushstack/eslint-patch": "^1.10.3",
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as Z, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
|
|
2
|
-
import { Z as f, O as G, j as pe } from "./app-CfXF4jdF.js";
|
|
3
|
-
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D3B7kOlU.js";
|
|
4
|
-
import { u as _e } from "./purchase-order-transaction-type-tZ7cj1dz.js";
|
|
5
|
-
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CTQ9HIqf.js";
|
|
6
|
-
import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
|
-
import { useBreakpoints as ge } from "@feedmepos/ui-library";
|
|
8
|
-
import { useI18n as be } from "@feedmepos/mf-common";
|
|
9
|
-
const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Re = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
12
|
-
}, ke = { class: "pt-8" }, je = /* @__PURE__ */ ee({
|
|
13
|
-
__name: "ApprovalView",
|
|
14
|
-
setup(Se) {
|
|
15
|
-
const o = _e("approval"), { columnDefs: J } = ve("approval", o), K = pe();
|
|
16
|
-
f.object({
|
|
17
|
-
name: f.string().optional().nullable(),
|
|
18
|
-
start: f.date().optional().nullable(),
|
|
19
|
-
end: f.date().optional().nullable()
|
|
20
|
-
});
|
|
21
|
-
const x = h({
|
|
22
|
-
name: "",
|
|
23
|
-
...ue()
|
|
24
|
-
}), a = h({
|
|
25
|
-
startDate: G(x.value.start ?? /* @__PURE__ */ new Date()),
|
|
26
|
-
endDate: G(x.value.end ?? /* @__PURE__ */ new Date())
|
|
27
|
-
});
|
|
28
|
-
te([() => a.value.startDate], () => {
|
|
29
|
-
if (!a.value.startDate)
|
|
30
|
-
return;
|
|
31
|
-
if (!a.value.endDate) {
|
|
32
|
-
a.value.endDate = a.value.startDate;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const w = new Date(a.value.startDate);
|
|
36
|
-
if (new Date(a.value.endDate).getTime() < w.getTime()) {
|
|
37
|
-
a.value.endDate = a.value.startDate;
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
const v = h(""), { breakpoints: y } = ge(), D = U(() => y.value.xs || y.value.sm), Q = U(() => D.value ? 10 : 20), W = me(), { t: X } = be();
|
|
42
|
-
return (w, l) => {
|
|
43
|
-
const B = ae("FmTable");
|
|
44
|
-
return g(), Z(de, {
|
|
45
|
-
title: e(X)("inventory.transfer.approval.title")
|
|
46
|
-
}, {
|
|
47
|
-
default: b(() => [
|
|
48
|
-
s("div", {
|
|
49
|
-
class: oe([
|
|
50
|
-
"flex flex-col gap-8 max-h-full",
|
|
51
|
-
{
|
|
52
|
-
"p-0": D.value,
|
|
53
|
-
"px-24 ": !D.value
|
|
54
|
-
}
|
|
55
|
-
])
|
|
56
|
-
}, [
|
|
57
|
-
n(fe, {
|
|
58
|
-
searchable: "",
|
|
59
|
-
"change-location": "",
|
|
60
|
-
search: v.value,
|
|
61
|
-
"onUpdate:search": l[0] || (l[0] = (r) => v.value = r),
|
|
62
|
-
actions: [{ icon: "refresh", onClick: e(o).fetchData }]
|
|
63
|
-
}, null, 8, ["search", "actions"]),
|
|
64
|
-
n(B, {
|
|
65
|
-
style: re(e(W).tableHeight),
|
|
66
|
-
"column-defs": e(J),
|
|
67
|
-
"row-data": e(o).purchaseRequests.value,
|
|
68
|
-
"search-value": v.value,
|
|
69
|
-
loading: !e(K)._currentLocation || e(o).loading.value,
|
|
70
|
-
onRowClick: l[1] || (l[1] = (r) => e(o).promptShowTransferDetails(r.original.purchaseOrder, r.original)),
|
|
71
|
-
"page-size": Q.value
|
|
72
|
-
}, {
|
|
73
|
-
"list-row": b((r) => [
|
|
74
|
-
n(he, {
|
|
75
|
-
row: r,
|
|
76
|
-
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
77
|
-
}, {
|
|
78
|
-
default: b((t) => {
|
|
79
|
-
var O, R, k, i, S, T, C, z, c, F, M, p, $, u, V, Y, j, q, L, m, N, E, P, A, d, H;
|
|
80
|
-
return [
|
|
81
|
-
s("div", xe, [
|
|
82
|
-
s("div", ye, [
|
|
83
|
-
n(e(_), {
|
|
84
|
-
render: (k = (R = (O = t.purchaseOrder__id) == null ? void 0 : O.column) == null ? void 0 : R.columnDef) == null ? void 0 : k.cell,
|
|
85
|
-
props: (S = (i = t.purchaseOrder__id) == null ? void 0 : i.getContext) == null ? void 0 : S.call(i)
|
|
86
|
-
}, null, 8, ["render", "props"])
|
|
87
|
-
]),
|
|
88
|
-
s("div", we, [
|
|
89
|
-
n(e(_), {
|
|
90
|
-
render: (z = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : z.cell,
|
|
91
|
-
props: (F = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : F.call(c)
|
|
92
|
-
}, null, 8, ["render", "props"])
|
|
93
|
-
]),
|
|
94
|
-
s("div", Oe, ne((V = (u = ($ = (p = (M = r.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : p.map) == null ? void 0 : $.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : V.call(u, ", ")), 1),
|
|
95
|
-
(Y = r.original.purchaseOrder) != null && Y.ref ? (g(), se("div", Re, [
|
|
96
|
-
n(e(_), {
|
|
97
|
-
render: (L = (q = (j = t.purchaseOrder_ref) == null ? void 0 : j.column) == null ? void 0 : q.columnDef) == null ? void 0 : L.cell,
|
|
98
|
-
props: (N = (m = t.purchaseOrder_ref) == null ? void 0 : m.getContext) == null ? void 0 : N.call(m)
|
|
99
|
-
}, null, 8, ["render", "props"])
|
|
100
|
-
])) : le("", !0),
|
|
101
|
-
s("div", ke, [
|
|
102
|
-
n(e(_), {
|
|
103
|
-
render: (A = (P = (E = t.purchaseOrder_status) == null ? void 0 : E.column) == null ? void 0 : P.columnDef) == null ? void 0 : A.cell,
|
|
104
|
-
props: (H = (d = t.purchaseOrder_status) == null ? void 0 : d.getContext) == null ? void 0 : H.call(d)
|
|
105
|
-
}, null, 8, ["render", "props"])
|
|
106
|
-
])
|
|
107
|
-
])
|
|
108
|
-
];
|
|
109
|
-
}),
|
|
110
|
-
_: 2
|
|
111
|
-
}, 1032, ["row", "onRowClick"])
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
115
|
-
], 2),
|
|
116
|
-
(g(), Z(ie, { to: "body" }, [
|
|
117
|
-
n(De, ce(e(o).transferDetailsProps.value, {
|
|
118
|
-
onSubmitted: e(o).fetchData
|
|
119
|
-
}), null, 16, ["onSubmitted"])
|
|
120
|
-
]))
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
}, 8, ["title"]);
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
export {
|
|
128
|
-
je as default
|
|
129
|
-
};
|