@feedmepos/mf-inventory-portal 1.3.7 → 1.3.8-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-D1-fT3jF.js → App-Dl97lAmD.js} +3 -3
- package/dist/ApprovalView-RePEhbhl.js +241 -0
- package/dist/{BindingsDialog-DeavyPY-.js → BindingsDialog-8QVbtnnq.js} +5 -5
- package/dist/{BindingsPicker-BGzhKq8G.js → BindingsPicker-D9yuDGcq.js} +3 -3
- package/dist/{BindingsTable-Dr9hWkE1.js → BindingsTable-DAYhI-6V.js} +5 -5
- package/dist/{ClosingDraftView-6gwWEWWB.js → ClosingDraftView-D_VtBfFG.js} +57 -57
- package/dist/{ClosingHistoryView-D4rNnlsq.js → ClosingHistoryView-ClUnxQS2.js} +4 -4
- package/dist/{ClosingTemplateView-DxCLH1GH.js → ClosingTemplateView-0a_isyyx.js} +16 -16
- package/dist/{DeliveryOrderPrintPreview-D-XeZX-z.js → DeliveryOrderPrintPreview-DovAi6j-.js} +17 -17
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DeoaPLQm.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DjNZ0m13.js} +14 -14
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-4vZH2hLF.js} +2 -2
- package/dist/{FmMultiselectDialog-DJFi54mG.js → FmMultiselectDialog-B5-aK-b2.js} +1 -1
- package/dist/{FmMultiselectDialog-BQZmTWDb.js → FmMultiselectDialog-Z49kK96R.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-zP1nS7bp.js} +4 -4
- package/dist/{ImportView-DPQY0ELT.js → ImportView-Dba8fJry.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DHITBIhp.js} +1 -1
- package/dist/{IngredientGroupView-5AuPbMDz.js → IngredientGroupView-CHi5_A4T.js} +7 -7
- package/dist/{IngredientsView-qMotWYnL.js → IngredientsView-DWk27PJg.js} +17 -17
- package/dist/IntegrationExplorerView-CixgHWVb.js +22254 -0
- package/dist/{IntegrationView-CVdwhNTA.js → IntegrationView-fttszvyC.js} +13 -13
- package/dist/{InventoryBindingForm-B5KUYKIu.js → InventoryBindingForm-DDcM2paa.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DOHrtdbl.js} +5 -5
- package/dist/{InventoryBindingSummary-Bm3A2kmC.js → InventoryBindingSummary-BERshnpd.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NnoVkA8W.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D4u0MM_k.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dp4gFbs5.js → PremiumBadge.vue_vue_type_script_setup_true_lang-eFb-84g2.js} +1 -1
- package/dist/{PublishView-DOIiAeDK.js → PublishView-COGdnDHP.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BE-8EJFv.js → PurchaseOrderPrintPreview-COJVgeTm.js} +12 -12
- package/dist/ReceiveRequestView-DvC12_QK.js +2817 -0
- package/dist/{RecipeView-CM-BrVSe.js → RecipeView-BKlVCFPR.js} +22 -21
- package/dist/SettingsView-DbXva8_D.js +695 -0
- package/dist/{StockView-DDqlms0m.js → StockView-Hri6SSjn.js} +21 -20
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DiRfjFmz.js} +1 -1
- package/dist/{SupplierView-CM2PrtHi.js → SupplierView-DCMW5muk.js} +14 -14
- package/dist/{SurchargeView-q2NfASMH.js → SurchargeView-DRh5EAi8.js} +8 -8
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbZQZQTQ.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BHNIS7Pp.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp3joqMK.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BVyoZ2a4.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CMSKhz6_.js +3790 -0
- package/dist/{TransferTemplateView-B26H_T9Q.js → TransferTemplateView-71XY525Q.js} +20 -19
- package/dist/{UnitCostHistoryView-BzumRVdx.js → UnitCostHistoryView-CjEaekfJ.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CfWpv2Mv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B8dRQhZi.js} +4 -4
- package/dist/{UnitView-Cxfg--TU.js → UnitView-D06txpBT.js} +9 -9
- package/dist/{WarehouseView-CvoafTrd.js → WarehouseView-DQluGq0D.js} +7 -7
- package/dist/{WastageTemplateView-Bqd4Wp3d.js → WastageTemplateView-Bqmd_r_Y.js} +16 -16
- package/dist/api/integration-sync-log.d.ts +47 -0
- package/dist/api/netsuite-explorer.d.ts +51 -0
- package/dist/{app-CrrDFeMj.js → app-B5-QVzib.js} +4711 -4557
- package/dist/app.d.ts +32 -0
- package/dist/app.js +2 -2
- package/dist/{closing-template-Ew74NLQj.js → closing-template-C3ClR8Pj.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-Bklbk2g-.js → date2-CQCX7jCE.js} +4 -4
- package/dist/{dayjs.min-B463GIlc.js → dayjs.min-Dhp0BWSV.js} +1 -1
- package/dist/{decimal-Dm2vbfDq.js → decimal-98G--u_X.js} +2 -2
- package/dist/defineDeepModel-BmHs4vdS.js +19 -0
- package/dist/{duplicate-template-CR79OmLy.js → duplicate-template-UzmArmcM.js} +1 -1
- package/dist/{export-CQJcxfPC.js → export-Bdxro0GT.js} +1 -1
- package/dist/feature-DyfUPR3b.js +1081 -0
- package/dist/{format-time-from-id-61ydd8RS.js → format-time-from-id-uRCD3JxF.js} +1 -1
- package/dist/{format-unit-display-BLtW28yU.js → format-unit-display-C-_85vuL.js} +13 -13
- package/dist/{import-export.helper-uhFwjH6X.js → import-export.helper-N1BqiTub.js} +6 -6
- package/dist/{index-Dx5HvWR_.js → index-B1RZtqz-.js} +1 -1
- package/dist/{index-uA6bkf1x.js → index-CaREZ_vQ.js} +3 -3
- package/dist/{index-CouegIcG.js → index-CwqHa5AY.js} +1 -1
- package/dist/{feature-CZHvliez.js → inventory-core-dart.default-BK8f9n8e.js} +322 -1395
- package/dist/{lodash-CjyamSgJ.js → lodash-B9tHF9A4.js} +1 -1
- package/dist/{lz-string-BbZdMrTL.js → lz-string-BSMjlcH9.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-2v3F8ILe.js → netsuite-D4KHhWWu.js} +60 -9
- package/dist/{number-BYbxsJHr.js → number-DmqVo28f.js} +3 -3
- package/dist/predefined-templates-Dy5hYXMM.js +4542 -0
- package/dist/{purchase-order-template-s1AiueV_.js → purchase-order-template-BT3tF_gn.js} +1 -1
- package/dist/router/name.d.ts +2 -0
- package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
- package/dist/{rules-C7L-LFOd.js → rules-CbJ7idQa.js} +2 -2
- package/dist/{stock-D2s88pz1.js → stock-C9RXv-3_.js} +1 -1
- package/dist/{stock-CvYOcgWb.js → stock-YXoLCE8o.js} +3 -3
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DmobM7mD.js → supplier-Duiacdig.js} +2 -2
- package/dist/{surcharge-BdZOVfi0.js → surcharge-CkDK4P_6.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BUCJBHjV.js → use-ingredient-select-dialog-C7uVeT1M.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DiN1hBIm.js → use-inventory-binding-dialog-BIo9Fi-9.js} +2 -2
- package/dist/{use-template-enabled-locations-CmH6I2cy.js → use-template-enabled-locations-BtbfLc0y.js} +2 -2
- package/dist/views/integration/components/IntegrationSyncLogTab.vue.d.ts +15 -0
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +45 -0
- package/dist/views/integration-explorer/IntegrationExplorerView.vue.d.ts +2 -0
- package/dist/views/integration-explorer/composables/use-explorer-tab.d.ts +126 -0
- package/dist/views/integration-explorer/netsuite/ExplorerRecordSyncLog.vue.d.ts +17 -0
- package/dist/views/integration-explorer/netsuite/ExplorerRecordToolbar.vue.d.ts +201 -0
- package/dist/views/integration-explorer/netsuite/ExplorerSystemNote.vue.d.ts +15 -0
- package/dist/views/integration-explorer/netsuite/JsonViewer.vue.d.ts +15 -0
- package/dist/views/integration-explorer/netsuite/NetSuiteExplorerView.vue.d.ts +2 -0
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +39 -0
- package/dist/views/integration-explorer/netsuite/items/AssemblyItemSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/items/InventoryItemSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/items/ItemsView.vue.d.ts +2 -0
- package/dist/views/integration-explorer/netsuite/items/ServiceItemSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/orders/ExplorerOrderDetailSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +39 -0
- package/dist/views/integration-explorer/netsuite/orders/PurchaseOrderSideSheet.vue.d.ts +7 -0
- package/dist/views/integration-explorer/netsuite/orders/SyncNetsuiteButton.vue.d.ts +29 -0
- package/dist/views/integration-explorer/netsuite/orders/TransferOrderSideSheet.vue.d.ts +7 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +21 -21
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +21 -21
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +129 -129
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +154 -150
- package/dist/views/settings/SettingsView.vue.d.ts +2 -0
- package/dist/vue-i18n-D1JHIbLE.js +2365 -0
- package/dist/{xlsx-D4PML26z.js → xlsx-BEbkruI_.js} +398 -398
- package/dist/{xlsx.util-BWLcCmO_.js → xlsx.util-BMTXqfxw.js} +1 -1
- package/package.json +9 -4
- package/dist/ApprovalView-0FbsslVD.js +0 -226
- package/dist/ReceiveRequestView-ur3OeHuv.js +0 -2802
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GhRFdMoW.js +0 -3521
- package/dist/defineDeepModel-SD5OUepJ.js +0 -19
- package/dist/vue-i18n-D0Q6LFcu.js +0 -2365
|
@@ -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-B5-QVzib.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-DyfUPR3b.js";
|
|
6
|
+
import { u as te } from "./netsuite-D4KHhWWu.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-B5-QVzib.js";
|
|
3
|
+
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-4vZH2hLF.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-CMSKhz6_.js";
|
|
5
|
+
import { b as I } from "./date2-CQCX7jCE.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-D4KHhWWu.js";
|
|
12
|
+
import { f as $e } from "./predefined-templates-Dy5hYXMM.js";
|
|
13
|
+
import "./inventory-core-dart.default-BK8f9n8e.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-DOHrtdbl.js";
|
|
3
|
+
import { a as L, al as S } from "./app-B5-QVzib.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-Z49kK96R.js";
|
|
3
|
+
import { a as x, al as z } from "./app-B5-QVzib.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-B5-QVzib.js";
|
|
3
|
+
import "./dayjs.min-Dhp0BWSV.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-B9tHF9A4.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, {
|