@feedmepos/mf-inventory-portal 1.3.6 → 1.3.7-dev.1
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-Dpp0kp2e.js → App-CJwfIjMX.js} +3 -3
- package/dist/ApprovalView-DOq2oFvo.js +241 -0
- package/dist/{BindingsDialog-BPlkzrss.js → BindingsDialog-DCrRYbJJ.js} +5 -5
- package/dist/{BindingsPicker-AM4k3s9Z.js → BindingsPicker-B6gakVEN.js} +3 -3
- package/dist/{BindingsTable-C6-30brl.js → BindingsTable-IVHY6t4x.js} +5 -5
- package/dist/{ClosingDraftView-uRsqurau.js → ClosingDraftView-D1CJtcPl.js} +57 -57
- package/dist/{ClosingHistoryView-s2st44Dv.js → ClosingHistoryView-DMGhfS9R.js} +4 -4
- package/dist/{ClosingTemplateView-BMyeL_mh.js → ClosingTemplateView-Djo0juNV.js} +16 -16
- package/dist/{DeliveryOrderPrintPreview-BRlZ634c.js → DeliveryOrderPrintPreview-yIr0KaZ-.js} +17 -17
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLSs6bA6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CboUeuGd.js} +14 -14
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js} +2 -2
- package/dist/{FmMultiselectDialog-DVjVqJMs.js → FmMultiselectDialog-CmT3UKF6.js} +1 -1
- package/dist/{FmMultiselectDialog-CtNvTe13.js → FmMultiselectDialog-Dfd2CP8Q.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js} +4 -4
- package/dist/{ImportView-DFV9vZdP.js → ImportView-M6gfAQRh.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js} +1 -1
- package/dist/{IngredientGroupView-DA9vJ8fS.js → IngredientGroupView-C29gfI37.js} +7 -7
- package/dist/{IngredientsView-qiA89Spr.js → IngredientsView-DnM7eqv0.js} +17 -17
- package/dist/{IntegrationView-Cp9gVEKi.js → IntegrationView-CxXZ90Dg.js} +13 -13
- package/dist/{InventoryBindingForm-C7WQo9tq.js → InventoryBindingForm-FImVaTic.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js} +5 -5
- package/dist/{InventoryBindingSummary-CSC8Oo2Z.js → InventoryBindingSummary-DwHKeLyV.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6fd31Fx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cViXSxPS.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BMmYypr7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CCF4_Pyr.js} +1 -1
- package/dist/{PublishView-DiMBWtmR.js → PublishView-D8aVGgPP.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BxsgNwIR.js → PurchaseOrderPrintPreview-CJSISF6B.js} +12 -12
- package/dist/ReceiveRequestView-DeOwJD3K.js +2817 -0
- package/dist/{RecipeView-h8oz6YWX.js → RecipeView-HugMCN1V.js} +22 -21
- package/dist/SettingsView-BqNC4kXc.js +695 -0
- package/dist/{StockView-BMLQhXUr.js → StockView-B3hLSoWp.js} +21 -20
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js} +1 -1
- package/dist/{SupplierView-tXBV72Jj.js → SupplierView-DK9liRuA.js} +14 -14
- package/dist/{SurchargeView-DDaFJWQd.js → SurchargeView-Cnz3QPAF.js} +8 -8
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bb9YSuiv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BsesD9UR.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bfy6QZ5V.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHvOhMtd.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js +3790 -0
- package/dist/{TransferTemplateView-vhdc3V8r.js → TransferTemplateView-hUBkM1Y0.js} +20 -19
- package/dist/{UnitCostHistoryView-C6axtlfa.js → UnitCostHistoryView-gHpyp4-l.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DW8nVpeH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DOC0W_-a.js} +4 -4
- package/dist/{UnitView-Dx030V3h.js → UnitView-Bt4EY0DU.js} +9 -9
- package/dist/{WarehouseView-Dvc063hP.js → WarehouseView-C7Aa5MQz.js} +7 -7
- package/dist/{WastageTemplateView-0cuBPiRM.js → WastageTemplateView-B59wFpmS.js} +16 -16
- package/dist/{app-LDTQJMhy.js → app-Bd2n830Y.js} +3267 -3181
- package/dist/app.d.ts +32 -0
- package/dist/app.js +2 -2
- package/dist/{closing-template-D0LdzwtB.js → closing-template-CbIMkUm-.js} +1 -1
- package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
- package/dist/components/row-action.enum.d.ts +3 -0
- package/dist/{date2-DPXk7flq.js → date2-CH3V-Ucj.js} +1 -1
- package/dist/{dayjs.min-mBDQc-9G.js → dayjs.min-0pcsGWEW.js} +1 -1
- package/dist/{decimal-BToK0wBw.js → decimal-DqMF4lgE.js} +2 -2
- package/dist/defineDeepModel-nM-22Ofl.js +19 -0
- package/dist/{duplicate-template-CkTur22u.js → duplicate-template-VcCheWzy.js} +1 -1
- package/dist/{export-Nnabwt7T.js → export-DAK4eXwZ.js} +1 -1
- package/dist/feature-D9W_Z06D.js +1081 -0
- package/dist/{format-time-from-id-DoLZWDHr.js → format-time-from-id-C1atPaNT.js} +1 -1
- package/dist/{format-unit-display-DeUVS8Ka.js → format-unit-display-B4zjXa1i.js} +13 -13
- package/dist/{import-export.helper-CljIBGLZ.js → import-export.helper-DWUpF27a.js} +6 -6
- package/dist/{index-DP8htYK-.js → index-BFpquHWG.js} +3 -3
- package/dist/{index-C3rXHanm.js → index-Co-3wUpY.js} +1 -1
- package/dist/{index-D3fQ9TVX.js → index-DoyDKyP_.js} +1 -1
- package/dist/{feature-DU99Iib1.js → inventory-core-dart.default-BVmmW4IN.js} +322 -1395
- package/dist/{lodash-rgAcNpoP.js → lodash-BsMM-AaB.js} +1 -1
- package/dist/{lz-string-C9rYv8AB.js → lz-string-BfBty02S.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +29 -0
- package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
- package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
- package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
- package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
- package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
- package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
- package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
- package/dist/modules/print-template/index.d.ts +11 -0
- package/dist/modules/print-template/store/print-template.d.ts +170 -0
- package/dist/modules/print-template/types/print-data.d.ts +52 -0
- package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
- package/dist/{netsuite-BG6BPWro.js → netsuite-B86m9YM_.js} +3 -3
- package/dist/{number-SNScDKT8.js → number-Bu93lKcU.js} +3 -3
- package/dist/predefined-templates-swTNxWXc.js +4542 -0
- package/dist/{purchase-order-template-D8fAq-Zt.js → purchase-order-template-DDmIZDfJ.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
- package/dist/{rules-UuB2i2KE.js → rules-BXeKMOa6.js} +2 -2
- package/dist/{stock-BUeSTOdB.js → stock-BkjUFSH-.js} +3 -3
- package/dist/{stock-Xag5QdmK.js → stock-D6A9nUUq.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-DSfyrBxJ.js → supplier-BEFK8KT8.js} +2 -2
- package/dist/{surcharge-Vp9urWiP.js → surcharge-BKuJQ1bw.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-D80a30rC.js → use-ingredient-select-dialog-CtkHGZVI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DFD6fQTw.js → use-inventory-binding-dialog-Df4UAdJI.js} +2 -2
- package/dist/{use-template-enabled-locations-2-gLYNdIUE.js → use-template-enabled-locations-2-CNT1brYI.js} +2 -2
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +4 -0
- package/dist/views/settings/SettingsView.vue.d.ts +2 -0
- package/dist/{vue-i18n-u2llGfc9.js → vue-i18n-BaovYGY4.js} +438 -438
- package/dist/{xlsx-D-xEkyaF.js → xlsx-Dig-xBj4.js} +1 -1
- package/dist/{xlsx.util-CuJApaiU.js → xlsx.util-R4tPgyBp.js} +1 -1
- package/package.json +5 -2
- package/dist/ApprovalView-Br8e1L7F.js +0 -226
- package/dist/ReceiveRequestView-DioKLQuF.js +0 -2802
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-bOAribrn.js +0 -3521
- package/dist/defineDeepModel-CKoG7koO.js +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as A, onUnmounted as j, defineComponent as U, watch as L, onMounted as H, computed as S, resolveComponent as h, openBlock as v, createElementBlock as y, unref as w, createVNode as E, createElementVNode as r, toDisplayString as I, createBlock as k, createCommentVNode as M, withCtx as F, withDirectives as K, vModelText as Y, Fragment as z, renderList as Q, createTextVNode as O } from "vue";
|
|
2
|
-
import { u as q, a as J, R as t, m as x, g as s, b as D } from "./app-
|
|
2
|
+
import { u as q, a as J, R as t, m as x, g as s, b as D } from "./app-Bd2n830Y.js";
|
|
3
3
|
import { useCoreStore as B, useI18n as $ } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as V, useRoute as X } from "vue-router";
|
|
5
|
-
import { u as W, a as Z, I as ee } from "./feature-
|
|
6
|
-
import { u as te } from "./netsuite-
|
|
5
|
+
import { u as W, a as Z, I as ee } from "./feature-D9W_Z06D.js";
|
|
6
|
+
import { u as te } from "./netsuite-B86m9YM_.js";
|
|
7
7
|
import { u as ne } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { F as oe } from "./FmAdminBadge-BOEV93D3.js";
|
|
9
9
|
import { u as le } from "./googlemap-Dm8ERVai.js";
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, openBlock as x, createBlock as Z, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, toDisplayString as _e, createElementBlock as De, createCommentVNode as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
|
|
2
|
+
import { u as Oe, m as b } from "./app-Bd2n830Y.js";
|
|
3
|
+
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js";
|
|
4
|
+
import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js";
|
|
5
|
+
import { d as I } from "./date2-CH3V-Ucj.js";
|
|
6
|
+
import { u as qe, _ as Ce } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
|
|
7
|
+
import { _ as Ne, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
8
|
+
import { useBreakpoints as Ve } from "@feedmepos/ui-library";
|
|
9
|
+
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
10
|
+
import { P as Me, J as Fe } from "./app-DiX-EfV6.js";
|
|
11
|
+
import { u as Le } from "./netsuite-B86m9YM_.js";
|
|
12
|
+
import { f as $e } from "./predefined-templates-swTNxWXc.js";
|
|
13
|
+
import "./inventory-core-dart.default-BVmmW4IN.js";
|
|
14
|
+
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 = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
17
|
+
}, je = { class: "pt-8" }, ot = /* @__PURE__ */ ce({
|
|
18
|
+
__name: "ApprovalView",
|
|
19
|
+
setup(Je) {
|
|
20
|
+
const s = xe(w.APPROVAL), {
|
|
21
|
+
columnDefs: B,
|
|
22
|
+
showCustomPrintDialog: O,
|
|
23
|
+
customPrintHtml: ee,
|
|
24
|
+
customPrintTemplateName: te,
|
|
25
|
+
customPrintIsDefault: ae
|
|
26
|
+
} = Te(w.APPROVAL, s, s.shipments), re = Oe(), se = Le();
|
|
27
|
+
$e().fetchTemplates(), b.object({
|
|
28
|
+
name: b.string().optional().nullable(),
|
|
29
|
+
start: b.date().optional().nullable(),
|
|
30
|
+
end: b.date().optional().nullable()
|
|
31
|
+
});
|
|
32
|
+
const k = y({
|
|
33
|
+
name: "",
|
|
34
|
+
...Se()
|
|
35
|
+
}), l = y({
|
|
36
|
+
startDate: I(k.value.start ?? /* @__PURE__ */ new Date()),
|
|
37
|
+
endDate: I(k.value.end ?? /* @__PURE__ */ new Date())
|
|
38
|
+
});
|
|
39
|
+
de([() => l.value.startDate], () => {
|
|
40
|
+
if (!l.value.startDate)
|
|
41
|
+
return;
|
|
42
|
+
if (!l.value.endDate) {
|
|
43
|
+
l.value.endDate = l.value.startDate;
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const i = new Date(l.value.startDate);
|
|
47
|
+
if (new Date(l.value.endDate).getTime() < i.getTime()) {
|
|
48
|
+
l.value.endDate = l.value.startDate;
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
s.updateDateRange(l.value.startDate, l.value.endDate);
|
|
52
|
+
});
|
|
53
|
+
const S = y(""), { breakpoints: q } = Ve(), P = c(() => q.value.xs || q.value.sm), ne = c(() => P.value ? 10 : 20), oe = qe(), { t: C } = Ae(), le = c(() => [
|
|
54
|
+
{
|
|
55
|
+
label: C("inventory.common.refresh"),
|
|
56
|
+
value: "refresh"
|
|
57
|
+
}
|
|
58
|
+
]);
|
|
59
|
+
function ue(i) {
|
|
60
|
+
switch (i) {
|
|
61
|
+
case "refresh":
|
|
62
|
+
return s.fetchData();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
const ie = c(() => {
|
|
66
|
+
const i = [
|
|
67
|
+
{
|
|
68
|
+
type: "string",
|
|
69
|
+
key: "status",
|
|
70
|
+
entity: "purchaseOrderRequest",
|
|
71
|
+
values: Array.from(
|
|
72
|
+
new Set(
|
|
73
|
+
s.purchaseRequests.value.map((e) => {
|
|
74
|
+
var n;
|
|
75
|
+
return ((n = e.purchaseOrder) == null ? void 0 : n.status) ?? "";
|
|
76
|
+
}).filter((e) => e !== "")
|
|
77
|
+
)
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
], r = [
|
|
81
|
+
{
|
|
82
|
+
type: "string",
|
|
83
|
+
key: "netsuiteTransactionNumber",
|
|
84
|
+
entity: "purchaseOrderRequest",
|
|
85
|
+
values: s.purchaseRequests.value.map((e) => {
|
|
86
|
+
var n, t;
|
|
87
|
+
return (t = (n = e.netSuite) == null ? void 0 : n.additionalInfo) == null ? void 0 : t.transactionnumber;
|
|
88
|
+
}).filter((e) => e != null)
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: "string",
|
|
92
|
+
key: "netsuiteOrderNo",
|
|
93
|
+
entity: "purchaseOrderRequest",
|
|
94
|
+
values: s.purchaseRequests.value.map((e) => {
|
|
95
|
+
var n;
|
|
96
|
+
return (n = e.netSuite) == null ? void 0 : n.refNo;
|
|
97
|
+
}).filter((e) => e != null)
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: "string",
|
|
101
|
+
key: "netsuiteOrderId",
|
|
102
|
+
entity: "purchaseOrderRequest",
|
|
103
|
+
values: s.purchaseRequests.value.map((e) => {
|
|
104
|
+
var n;
|
|
105
|
+
return (n = e.netSuite) == null ? void 0 : n.id;
|
|
106
|
+
}).filter((e) => e != null)
|
|
107
|
+
}
|
|
108
|
+
];
|
|
109
|
+
return [...i, ...se.isEnabled ? r : []];
|
|
110
|
+
}), d = y(null), pe = c(() => {
|
|
111
|
+
if (!d.value)
|
|
112
|
+
return s.purchaseRequests.value;
|
|
113
|
+
const i = Me.build(d.value);
|
|
114
|
+
return s.purchaseRequests.value.filter((r) => {
|
|
115
|
+
var e, n, t, o, m;
|
|
116
|
+
return Fe(
|
|
117
|
+
{
|
|
118
|
+
netsuiteTransactionNumber: (n = (e = r.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : n.transactionnumber,
|
|
119
|
+
netsuiteOrderNo: (t = r.netSuite) == null ? void 0 : t.refNo,
|
|
120
|
+
netsuiteOrderId: (o = r.netSuite) == null ? void 0 : o.id,
|
|
121
|
+
status: (m = r.purchaseOrder) == null ? void 0 : m.status
|
|
122
|
+
},
|
|
123
|
+
i
|
|
124
|
+
);
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
return (i, r) => {
|
|
128
|
+
const e = fe("FmTable");
|
|
129
|
+
return x(), Z(Ce, {
|
|
130
|
+
title: a(C)("inventory.transfer.approval.title"),
|
|
131
|
+
actions: le.value,
|
|
132
|
+
"onClick:action": ue
|
|
133
|
+
}, {
|
|
134
|
+
default: T(() => {
|
|
135
|
+
var n;
|
|
136
|
+
return [
|
|
137
|
+
p("div", {
|
|
138
|
+
class: ve([
|
|
139
|
+
"flex flex-col gap-8 max-h-full",
|
|
140
|
+
{
|
|
141
|
+
"p-0": P.value,
|
|
142
|
+
"px-24 ": !P.value
|
|
143
|
+
}
|
|
144
|
+
])
|
|
145
|
+
}, [
|
|
146
|
+
u(Pe, {
|
|
147
|
+
"date-range-query": "",
|
|
148
|
+
"date-range": l.value,
|
|
149
|
+
"onUpdate:dateRange": r[0] || (r[0] = (t) => l.value = t),
|
|
150
|
+
searchable: "",
|
|
151
|
+
"change-location": "",
|
|
152
|
+
search: S.value,
|
|
153
|
+
"onUpdate:search": r[1] || (r[1] = (t) => S.value = t),
|
|
154
|
+
filterable: "",
|
|
155
|
+
"filter-attributes": ie.value,
|
|
156
|
+
filter: d.value,
|
|
157
|
+
"onUpdate:filter": r[2] || (r[2] = (t) => d.value = t)
|
|
158
|
+
}, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
|
|
159
|
+
u(e, {
|
|
160
|
+
style: he(a(oe).tableHeight),
|
|
161
|
+
"column-defs": a(B),
|
|
162
|
+
"row-data": pe.value,
|
|
163
|
+
"search-value": S.value,
|
|
164
|
+
loading: !a(re)._currentLocation || a(s).loading.value,
|
|
165
|
+
onRowClick: r[3] || (r[3] = (t) => a(s).promptShowTransferDetails(
|
|
166
|
+
t.original.purchaseOrder,
|
|
167
|
+
t.original
|
|
168
|
+
)),
|
|
169
|
+
"page-size": ne.value
|
|
170
|
+
}, {
|
|
171
|
+
"list-row": T((t) => [
|
|
172
|
+
u(Ne, {
|
|
173
|
+
row: t,
|
|
174
|
+
onRowClick: (o) => a(s).promptShowTransferDetails(o.purchaseOrder, o)
|
|
175
|
+
}, {
|
|
176
|
+
default: T((o) => {
|
|
177
|
+
var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, G, K, Q, W, g, X;
|
|
178
|
+
return [
|
|
179
|
+
p("div", ze, [
|
|
180
|
+
p("div", Ee, [
|
|
181
|
+
u(a(R), {
|
|
182
|
+
render: (V = (N = (m = o.purchaseOrder__id) == null ? void 0 : m.column) == null ? void 0 : N.columnDef) == null ? void 0 : V.cell,
|
|
183
|
+
props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
|
|
184
|
+
}, null, 8, ["render", "props"])
|
|
185
|
+
]),
|
|
186
|
+
p("div", Ue, [
|
|
187
|
+
u(a(R), {
|
|
188
|
+
render: (L = (F = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : F.columnDef) == null ? void 0 : L.cell,
|
|
189
|
+
props: ($ = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : $.call(v)
|
|
190
|
+
}, null, 8, ["render", "props"])
|
|
191
|
+
]),
|
|
192
|
+
p("div", Ye, _e((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),
|
|
193
|
+
(Y = t.original.purchaseOrder) != null && Y.ref ? (x(), De("div", He, [
|
|
194
|
+
u(a(R), {
|
|
195
|
+
render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
|
|
196
|
+
props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
|
|
197
|
+
}, null, 8, ["render", "props"])
|
|
198
|
+
])) : ge("", !0),
|
|
199
|
+
p("div", je, [
|
|
200
|
+
u(a(R), {
|
|
201
|
+
render: (W = (Q = (K = o.purchaseOrder_status) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : W.cell,
|
|
202
|
+
props: (X = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : X.call(g)
|
|
203
|
+
}, null, 8, ["render", "props"])
|
|
204
|
+
])
|
|
205
|
+
])
|
|
206
|
+
];
|
|
207
|
+
}),
|
|
208
|
+
_: 2
|
|
209
|
+
}, 1032, ["row", "onRowClick"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
213
|
+
], 2),
|
|
214
|
+
(x(), Z(ye, { to: "body" }, [
|
|
215
|
+
u(we, be({
|
|
216
|
+
scope: a(w).APPROVAL
|
|
217
|
+
}, {
|
|
218
|
+
...a(s).transferDetailsProps.value,
|
|
219
|
+
receivedMap: ((n = a(s).transferDetailsProps.value) == null ? void 0 : n.receivedMap) ?? {},
|
|
220
|
+
shipments: a(s).shipments.value ?? []
|
|
221
|
+
}, {
|
|
222
|
+
onSubmitted: a(s).fetchData
|
|
223
|
+
}), null, 16, ["scope", "onSubmitted"]),
|
|
224
|
+
u(ke, {
|
|
225
|
+
modelValue: a(O),
|
|
226
|
+
"onUpdate:modelValue": r[4] || (r[4] = (t) => Re(O) ? O.value = t : null),
|
|
227
|
+
html: a(ee),
|
|
228
|
+
"template-name": a(te),
|
|
229
|
+
"is-default": a(ae)
|
|
230
|
+
}, null, 8, ["modelValue", "html", "template-name", "is-default"])
|
|
231
|
+
]))
|
|
232
|
+
];
|
|
233
|
+
}),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 8, ["title", "actions"]);
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
export {
|
|
240
|
+
ot as default
|
|
241
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, 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-
|
|
3
|
-
import { a as L,
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js";
|
|
3
|
+
import { a as L, al as S } from "./app-Bd2n830Y.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
7
|
-
},
|
|
7
|
+
}, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
10
|
}, D = /* @__PURE__ */ C({
|
|
11
11
|
__name: "BindingsDialog",
|
|
12
|
-
setup(
|
|
12
|
+
setup(N) {
|
|
13
13
|
const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
|
|
14
14
|
async function y() {
|
|
15
15
|
await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
|
|
@@ -53,7 +53,7 @@ const U = {
|
|
|
53
53
|
ref_key: "resizeableRef",
|
|
54
54
|
ref: m
|
|
55
55
|
}, [
|
|
56
|
-
d.value ? (i(), c("div",
|
|
56
|
+
d.value ? (i(), c("div", E, [
|
|
57
57
|
a(h, { size: "md" }),
|
|
58
58
|
n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
|
|
59
59
|
])) : (i(), I(B, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x,
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-Dfd2CP8Q.js";
|
|
3
|
+
import { a as x, al as z } from "./app-Bd2n830Y.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -9,7 +9,7 @@ const F = {
|
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
10
|
}, A = /* @__PURE__ */ S({
|
|
11
11
|
__name: "BindingsPicker",
|
|
12
|
-
setup(
|
|
12
|
+
setup(L) {
|
|
13
13
|
const d = x(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
14
14
|
label: s.name,
|
|
15
15
|
sublabel: s.code,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, 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,
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, al as R } from "./app-Bd2n830Y.js";
|
|
3
|
+
import "./dayjs.min-0pcsGWEW.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-DiX-EfV6.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-BsMM-AaB.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: {
|
|
@@ -66,7 +66,7 @@ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
|
|
|
66
66
|
]);
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
}),
|
|
69
|
+
}), A = {
|
|
70
70
|
key: 1,
|
|
71
71
|
class: "p-24 flex items-center justify-center gap-16"
|
|
72
72
|
}, W = /* @__PURE__ */ x({
|
|
@@ -103,7 +103,7 @@ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
|
|
|
103
103
|
ref_key: "resizeableRef",
|
|
104
104
|
ref: y
|
|
105
105
|
}, [
|
|
106
|
-
d.value ? (l(), u("div",
|
|
106
|
+
d.value ? (l(), u("div", A, [
|
|
107
107
|
w(B, { size: "md" }),
|
|
108
108
|
o[0] || (o[0] = p("div", null, "Loading bindings table...", -1))
|
|
109
109
|
])) : (l(), M(T, {
|