@feedmepos/mf-inventory-portal 1.6.1-dev.0 → 1.6.1-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-CL5dPCEj.js → App-D7SR5dnB.js} +4 -4
- package/dist/{ApprovalView-DKJibNlK.js → ApprovalView-Bi7AgvV0.js} +24 -23
- package/dist/{BindingsDialog-DLJXu8Dw.js → BindingsDialog-BD8B6cZy.js} +2 -2
- package/dist/{BindingsPicker-CW6Tk9JI.js → BindingsPicker-CRvmtsFb.js} +2 -2
- package/dist/{BindingsTable-3JJEAQz3.js → BindingsTable-DJ1lLYOb.js} +3 -3
- package/dist/BulkReceiveRequestView-CZHXfukP.js +2000 -0
- package/dist/{ClosingDraftView-DVoWnPTQ.js → ClosingDraftView-DV1KPp2W.js} +14 -14
- package/dist/{ClosingHistoryView-qWjIbBsX.js → ClosingHistoryView-C8fzDS5T.js} +5 -5
- package/dist/{ClosingTemplateView-C3Hf510z.js → ClosingTemplateView-qPT5Li2w.js} +14 -14
- package/dist/{DefaultView-wBhT3ag9.js → DefaultView-NF80xSuv.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-VnG9wrNu.js → DeliveryOrderPrintPreview-B12J3W3U.js} +11 -11
- package/dist/{ReceiveRequestView-DIPZCXxV.js → EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js} +12571 -12873
- package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js +61 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4pvSYN-.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js +237 -0
- package/dist/{FmMultiselectDialog-C7P1UET0.js → FmMultiselectDialog-Btal-2Li.js} +50 -44
- package/dist/{FmMultiselectDialog-Dru64kWF.js → FmMultiselectDialog-OVoHPzMx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BklBxBGT.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js} +5 -5
- package/dist/{ImportView-C9w-sF5E.js → ImportView-CKXu4c1J.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BuphGYe2.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js} +1 -1
- package/dist/{IngredientGroupView-BZqXPr_n.js → IngredientGroupView-pwMYUotb.js} +5 -5
- package/dist/{IngredientsView-DgTPgkN9.js → IngredientsView-BzKhRbX3.js} +15 -15
- package/dist/{IntegrationExplorerView-B8U3LTtj.js → IntegrationExplorerView-BN8bTTW9.js} +5 -5
- package/dist/{IntegrationView-QyHxizvF.js → IntegrationView-DcERomsi.js} +13 -13
- package/dist/{InventoryBindingForm-NRwFwJt5.js → InventoryBindingForm-q_IGvaah.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-If3KBe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js} +5 -5
- package/dist/{InventoryBindingSummary-DqI3M6jQ.js → InventoryBindingSummary-aMQ0ZWgu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Xt_1oU-z.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DFYTlv_K.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js} +1 -1
- package/dist/{PublishView-2ytn8EUo.js → PublishView-vOeknkUB.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-Bqim_q38.js → PurchaseOrderPrintPreview-2dot6xAa.js} +9 -9
- package/dist/ReceiveRequestView-B9k1gWme.js +345 -0
- package/dist/{RecipeView-Bs326Ew3.js → RecipeView-PRj4zn8p.js} +17 -17
- package/dist/{SettingsView-frX_dI_K.js → SettingsView-CzxZ18_g.js} +4 -4
- package/dist/{StockView-Us8Wx8y_.js → StockView-o-WD1-0x.js} +28 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Du8BI_cZ.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js} +1 -1
- package/dist/{SupplierView-8dnHAbK3.js → SupplierView-CMww3rSL.js} +12 -12
- package/dist/{SurchargeView-CfqjYiBs.js → SurchargeView-D9KFsMtR.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-_03vSZ4W.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js} +6 -5
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CAb7UWFP.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-B58A7dWI.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js} +1440 -1433
- package/dist/{TransferTemplateView-CI84cmV5.js → TransferTemplateView-BTL8deN-.js} +20 -20
- package/dist/{UnitCostHistoryView-DXolsbDT.js → UnitCostHistoryView-D6n2ujRf.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bpoawj7B.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js} +4 -4
- package/dist/{UnitView-DT3fcagF.js → UnitView-DNZW6dI4.js} +7 -7
- package/dist/{WarehouseView-C1BHChSJ.js → WarehouseView-gb9pJmNu.js} +5 -5
- package/dist/{WastageTemplateView-Bc5CZJ58.js → WastageTemplateView-CGaEJXJv.js} +14 -14
- package/dist/api/purchase-order.d.ts +2 -1
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-DpMCzQql.js → app-Dsbvoxur.js} +1321 -965
- package/dist/app.d.ts +344 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-CaFX19g1.js → closing-template-p88yK47D.js} +1 -1
- package/dist/components/FmMultiselectDialog.vue.d.ts +8 -4
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/MultiLocationSelector.vue.d.ts +202 -0
- package/dist/{date2-DBsUy1HH.js → date2-CtLHtGs5.js} +1 -1
- package/dist/{dayjs.min-BVKjPmJE.js → dayjs.min-B2OqD5Yb.js} +12 -12
- package/dist/{decimal-DKl2dUd0.js → decimal-Clk9Ewzg.js} +2 -2
- package/dist/{defineDeepModel-YeHxg9wN.js → defineDeepModel-B2OEZDfH.js} +1 -1
- package/dist/{duplicate-template-Dyx4X380.js → duplicate-template-B2POVQAS.js} +1 -1
- package/dist/{feature-ltFu24H8.js → feature-CLIj8wgr.js} +70 -65
- package/dist/{format-time-from-id-D3lPFiqA.js → format-time-from-id-DdReiNfK.js} +1 -1
- package/dist/{format-unit-display-CD8C9YZc.js → format-unit-display-iz29tCVo.js} +12 -12
- package/dist/{import-export.helper-BJ5Lz4Gg.js → import-export.helper-DlHAA9zA.js} +6 -6
- package/dist/{index-JOemzj27.js → index-B5Ojq711.js} +1 -1
- package/dist/{index-TQKBiFuU.js → index-CswTgtml.js} +3 -3
- package/dist/{index-B8xTUvTH.js → index-Dkl97ykE.js} +1 -1
- package/dist/{inventory-core-dart.default-Xz0fuxVn.js → inventory-core-dart.default-FvRrnQri.js} +1 -1
- package/dist/jszip.min-dfImtC94.js +2322 -0
- package/dist/{lz-string-DAdPi3YY.js → lz-string-D1kxEFLt.js} +1 -1
- package/dist/{netsuite-qr2wHoV5.js → netsuite-C_Gph48P.js} +2 -2
- package/dist/{number-xgIylzEb.js → number-CTKxLav6.js} +3 -3
- package/dist/{predefined-templates-j5MqD37J.js → predefined-templates-B2sDdw2Z.js} +1 -1
- package/dist/{purchase-order-template-CglLUVxv.js → purchase-order-template-DVDMAhJa.js} +1 -1
- package/dist/{recalculationUtils-O8dnzyPD.js → recalculationUtils-BNTXhTSX.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-BPu-CBAX.js → rules-CRnEoheI.js} +2 -2
- package/dist/{stock-VM7b7_Km.js → stock-CeogHsSl.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/supplier-DmbVK4Tn.js +83 -0
- package/dist/{surcharge-CUUDBYUf.js → surcharge-Bm3TRth-.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-D6eW0fAO.js → uom-rules-BmtdGlz9.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Cd700UkI.js → use-ingredient-select-dialog-Bm9296fn.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Cf8wC8AI.js → use-inventory-binding-dialog-HYJiNm8y.js} +2 -2
- package/dist/{use-template-enabled-locations-D1AVostH.js → use-template-enabled-locations-DSEcyYzM.js} +2 -2
- package/dist/{use-transfer-locations-uOi6cGul.js → use-transfer-locations-vpiv_TeO.js} +8 -8
- package/dist/{useHrmPermission-DEu2Lyei.js → useHrmPermission-DAncjlGt.js} +1 -1
- package/dist/{useNavigationMenu-DuIGSnMd.js → useNavigationMenu-BG_AH0Xf.js} +43 -38
- package/dist/{useSseClient-D1uc8ZIc.js → useSseClient-CuLS50U2.js} +3 -3
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +194 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestView.vue.d.ts +3 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.vue.d.ts +25 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +4138 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +771 -0
- package/dist/{vue-i18n-DElpxFA8.js → vue-i18n-Tl34av_i.js} +176 -176
- package/dist/{xlsx.util-Cm8s0ZJD.js → xlsx.util-CJaAO-II.js} +360 -360
- package/package.json +3 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js +0 -293
- package/dist/supplier-W00UQBDk.js +0 -78
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { defineComponent as Se, computed as d, ref as O, watch as ee, resolveComponent as De, openBlock as y, createBlock as E, unref as a, withCtx as q, createElementVNode as f, normalizeClass as xe, createVNode as u, normalizeStyle as Re, toDisplayString as Oe, createElementBlock as Ee, createCommentVNode as te, Teleport as Pe, normalizeProps as ae, mergeProps as N, guardReactiveProps as Te, isRef as ke } from "vue";
|
|
2
|
+
import { Q as P, u as Ce } from "./app-Dsbvoxur.js";
|
|
3
|
+
import { i as re } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js";
|
|
4
|
+
import { u as we, P as U, a as qe, _ as Ne, b as Ue, g as Fe } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js";
|
|
5
|
+
import { a as ne, d as Me } from "./number-CTKxLav6.js";
|
|
6
|
+
import { i as Ve } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js";
|
|
7
|
+
import { d as se } from "./dayjs.min-B2OqD5Yb.js";
|
|
8
|
+
import { e as $e } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js";
|
|
9
|
+
import { u as Ae } from "./useTabStorage-BkIVScW_.js";
|
|
10
|
+
import { u as Ye, _ as He } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
11
|
+
import { useSnackbar as ze, useBreakpoints as Ie } from "@feedmepos/ui-library";
|
|
12
|
+
import { _ as Qe, a as je, b as Ke } from "./EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js";
|
|
13
|
+
import { _ as Le, F as T } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
14
|
+
import { u as Je } from "./feature-CLIj8wgr.js";
|
|
15
|
+
import { _ as Xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
16
|
+
import { useI18n as Ge } from "@feedmepos/mf-common";
|
|
17
|
+
import { P as We, J as Ze } from "./app-DiX-EfV6.js";
|
|
18
|
+
import { u as Be } from "./netsuite-C_Gph48P.js";
|
|
19
|
+
import { f as et } from "./predefined-templates-B2sDdw2Z.js";
|
|
20
|
+
import "./inventory-core-dart.default-FvRrnQri.js";
|
|
21
|
+
const tt = { class: "flex flex-col py-8" }, at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, rt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, nt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, st = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
24
|
+
}, ot = { class: "pt-8" }, oe = "ReceiveRequestViewSearchCriteria", kt = /* @__PURE__ */ Se({
|
|
25
|
+
__name: "ReceiveRequestView",
|
|
26
|
+
setup(lt) {
|
|
27
|
+
const { t: m } = Ge(), F = ze();
|
|
28
|
+
et().fetchTemplates(), P.object({
|
|
29
|
+
name: P.string().optional().nullable(),
|
|
30
|
+
startDate: P.string().optional().nullable(),
|
|
31
|
+
endDate: P.string().optional().nullable()
|
|
32
|
+
});
|
|
33
|
+
const M = d(
|
|
34
|
+
() => !A._currentLocation || t.loading.value
|
|
35
|
+
), V = Ae(), v = Je(), le = Be();
|
|
36
|
+
function ie() {
|
|
37
|
+
const s = {
|
|
38
|
+
name: "",
|
|
39
|
+
...re()
|
|
40
|
+
}, r = V.getItem(oe);
|
|
41
|
+
if (!r)
|
|
42
|
+
return s;
|
|
43
|
+
try {
|
|
44
|
+
return JSON.parse(r);
|
|
45
|
+
} catch {
|
|
46
|
+
return s;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function $() {
|
|
50
|
+
V.setItem(oe, JSON.stringify(c.value));
|
|
51
|
+
}
|
|
52
|
+
const c = O(ie()), t = we(
|
|
53
|
+
U.RECEIVE_REQUEST,
|
|
54
|
+
c.value
|
|
55
|
+
), {
|
|
56
|
+
columnDefs: ue,
|
|
57
|
+
showCustomPrintDialog: k,
|
|
58
|
+
customPrintHtml: ce,
|
|
59
|
+
customPrintTemplateName: me,
|
|
60
|
+
customPrintIsDefault: pe
|
|
61
|
+
} = qe(
|
|
62
|
+
U.RECEIVE_REQUEST,
|
|
63
|
+
t,
|
|
64
|
+
t.shipments
|
|
65
|
+
), A = Ce();
|
|
66
|
+
async function de() {
|
|
67
|
+
const s = `inventory-record_${se(c.value.startDate).format("DD-MM-YYYY_HH-mm")}-${se(c.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, r = t.purchaseOrders.value.flatMap(
|
|
68
|
+
(n) => n.items.map((o) => {
|
|
69
|
+
var p;
|
|
70
|
+
const l = new Date(Ve(n._id) ?? ""), i = n.effectiveAt ? new Date(n.effectiveAt) : void 0, _ = ne(
|
|
71
|
+
Fe(o.sku, n.deliveryOrder || [])
|
|
72
|
+
), h = ne(o.quantity), S = ((p = o == null ? void 0 : o.measurement) == null ? void 0 : p.abbrev) || o.sku.unit.abbrev;
|
|
73
|
+
return {
|
|
74
|
+
"SKU code": o.code,
|
|
75
|
+
"SKU name": o.name,
|
|
76
|
+
"PO #": n.seqNumber,
|
|
77
|
+
"Effective at": i,
|
|
78
|
+
Date: l,
|
|
79
|
+
Status: n.status,
|
|
80
|
+
Reference: n.ref ?? "",
|
|
81
|
+
"Received quantity": _,
|
|
82
|
+
"Ordered quantity": h,
|
|
83
|
+
Unit: S,
|
|
84
|
+
"Total cost": o.totalCost ? Me(o.totalCost) : null
|
|
85
|
+
};
|
|
86
|
+
})
|
|
87
|
+
), e = [
|
|
88
|
+
"SKU code",
|
|
89
|
+
"SKU name",
|
|
90
|
+
"PO #",
|
|
91
|
+
"Date",
|
|
92
|
+
"Status",
|
|
93
|
+
"Reference",
|
|
94
|
+
"Received quantity",
|
|
95
|
+
"Ordered quantity",
|
|
96
|
+
"Unit"
|
|
97
|
+
];
|
|
98
|
+
v.enableBackdatePo && e.insert("Effective at", 4), v.enableTotalCost && e.push("Total cost"), await $e(
|
|
99
|
+
[
|
|
100
|
+
{
|
|
101
|
+
name: "purchases",
|
|
102
|
+
data: r,
|
|
103
|
+
columns: e
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
s
|
|
107
|
+
), F.open({
|
|
108
|
+
title: m("inventory.transfer.receiveRequest.export.success"),
|
|
109
|
+
message: m("inventory.transfer.receiveRequest.export.message", [s]),
|
|
110
|
+
type: "success"
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
const C = O(re()), b = O("");
|
|
114
|
+
ee([() => C.value], ([s]) => {
|
|
115
|
+
!s.startDate || !s.endDate || (c.value.startDate = s.startDate, c.value.endDate = s.endDate, t.updateDateRange(
|
|
116
|
+
c.value.startDate,
|
|
117
|
+
c.value.endDate
|
|
118
|
+
), $());
|
|
119
|
+
}), ee([() => b.value], () => {
|
|
120
|
+
$();
|
|
121
|
+
});
|
|
122
|
+
function fe(s) {
|
|
123
|
+
if (s === "create") {
|
|
124
|
+
if (M.value) {
|
|
125
|
+
F.open({
|
|
126
|
+
title: "Loading data...",
|
|
127
|
+
message: "Please wait.",
|
|
128
|
+
type: "info"
|
|
129
|
+
});
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
return t.promptCreateTransferDialog();
|
|
133
|
+
}
|
|
134
|
+
if (s === "upload" && v.enableXilnexTransferNote)
|
|
135
|
+
return t.promptUploadTransferDialog();
|
|
136
|
+
if (s === "refresh")
|
|
137
|
+
return t.fetchData();
|
|
138
|
+
if (s === "export")
|
|
139
|
+
return de();
|
|
140
|
+
}
|
|
141
|
+
const { breakpoints: Y } = Ie(), w = d(() => Y.value.xs || Y.value.sm), ve = d(() => w.value ? 10 : 20), ye = Ye(), be = d(() => [
|
|
142
|
+
{
|
|
143
|
+
label: m("inventory.transfer.receiveRequest.actions.create"),
|
|
144
|
+
value: "create",
|
|
145
|
+
isPrimary: !0,
|
|
146
|
+
prependIcon: "add"
|
|
147
|
+
},
|
|
148
|
+
...v.enableXilnexTransferNote ? [
|
|
149
|
+
{
|
|
150
|
+
label: m("inventory.common.upload"),
|
|
151
|
+
value: "upload"
|
|
152
|
+
}
|
|
153
|
+
] : [],
|
|
154
|
+
{
|
|
155
|
+
label: m("inventory.common.refresh"),
|
|
156
|
+
value: "refresh"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
label: m("inventory.common.export"),
|
|
160
|
+
value: "export"
|
|
161
|
+
}
|
|
162
|
+
]), ge = d(() => {
|
|
163
|
+
const s = [
|
|
164
|
+
{
|
|
165
|
+
type: "string",
|
|
166
|
+
key: "status",
|
|
167
|
+
entity: "purchaseOrder",
|
|
168
|
+
values: Array.from(
|
|
169
|
+
new Set(t.purchaseOrders.value.map((e) => e.status))
|
|
170
|
+
)
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: "string",
|
|
174
|
+
key: "transferFrom",
|
|
175
|
+
entity: "purchaseOrder",
|
|
176
|
+
values: Array.from(
|
|
177
|
+
new Set(t.purchaseOrders.value.map((e) => e.supplier.name))
|
|
178
|
+
)
|
|
179
|
+
}
|
|
180
|
+
], r = [
|
|
181
|
+
{
|
|
182
|
+
type: "string",
|
|
183
|
+
key: "netsuiteTransactionNumber",
|
|
184
|
+
entity: "purchaseOrder",
|
|
185
|
+
values: t.purchaseOrders.value.map((e) => {
|
|
186
|
+
var n, o;
|
|
187
|
+
return (o = (n = e.netSuite) == null ? void 0 : n.additionalInfo) == null ? void 0 : o.transactionnumber;
|
|
188
|
+
}).filter((e) => e != null)
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
type: "string",
|
|
192
|
+
key: "netsuiteOrderNo",
|
|
193
|
+
entity: "purchaseOrder",
|
|
194
|
+
values: t.purchaseOrders.value.map((e) => {
|
|
195
|
+
var n;
|
|
196
|
+
return (n = e.netSuite) == null ? void 0 : n.refNo;
|
|
197
|
+
}).filter((e) => e != null)
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
type: "string",
|
|
201
|
+
key: "netsuiteOrderId",
|
|
202
|
+
entity: "purchaseOrder",
|
|
203
|
+
values: t.purchaseOrders.value.map((e) => {
|
|
204
|
+
var n;
|
|
205
|
+
return (n = e.netSuite) == null ? void 0 : n.id;
|
|
206
|
+
}).filter((e) => e != null)
|
|
207
|
+
}
|
|
208
|
+
];
|
|
209
|
+
return [...s, ...le.isEnabled ? r : []];
|
|
210
|
+
}), g = O(null), _e = d(() => {
|
|
211
|
+
if (!g.value)
|
|
212
|
+
return t.purchaseOrders.value;
|
|
213
|
+
const s = We.build(g.value);
|
|
214
|
+
return t.purchaseOrders.value.filter((r) => {
|
|
215
|
+
var e, n, o, l;
|
|
216
|
+
return Ze(
|
|
217
|
+
{
|
|
218
|
+
netsuiteTransactionNumber: (n = (e = r.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : n.transactionnumber,
|
|
219
|
+
netsuiteOrderNo: (o = r.netSuite) == null ? void 0 : o.refNo,
|
|
220
|
+
netsuiteOrderId: (l = r.netSuite) == null ? void 0 : l.id,
|
|
221
|
+
status: r.status,
|
|
222
|
+
transferFrom: r.supplier.name
|
|
223
|
+
},
|
|
224
|
+
s
|
|
225
|
+
);
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
return (s, r) => {
|
|
229
|
+
const e = De("FmTable");
|
|
230
|
+
return y(), E(He, {
|
|
231
|
+
title: a(m)("inventory.transfer.receiveRequest.title2"),
|
|
232
|
+
actions: be.value,
|
|
233
|
+
"onClick:action": fe
|
|
234
|
+
}, {
|
|
235
|
+
default: q(() => {
|
|
236
|
+
var n, o;
|
|
237
|
+
return [
|
|
238
|
+
f("div", {
|
|
239
|
+
class: xe([
|
|
240
|
+
"flex flex-col gap-8 max-h-full",
|
|
241
|
+
{
|
|
242
|
+
"p-0": w.value,
|
|
243
|
+
"px-24 ": !w.value
|
|
244
|
+
}
|
|
245
|
+
])
|
|
246
|
+
}, [
|
|
247
|
+
u(Xe, {
|
|
248
|
+
"date-range-query": "",
|
|
249
|
+
"date-range": C.value,
|
|
250
|
+
"onUpdate:dateRange": r[0] || (r[0] = (l) => C.value = l),
|
|
251
|
+
searchable: "",
|
|
252
|
+
"change-location": "",
|
|
253
|
+
search: b.value,
|
|
254
|
+
"onUpdate:search": r[1] || (r[1] = (l) => b.value = l),
|
|
255
|
+
filterable: "",
|
|
256
|
+
"filter-attributes": ge.value,
|
|
257
|
+
filter: g.value,
|
|
258
|
+
"onUpdate:filter": r[2] || (r[2] = (l) => g.value = l)
|
|
259
|
+
}, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
|
|
260
|
+
(y(), E(e, {
|
|
261
|
+
style: Re(a(ye).tableHeight),
|
|
262
|
+
"column-defs": a(ue),
|
|
263
|
+
"row-data": _e.value,
|
|
264
|
+
"search-value": b.value,
|
|
265
|
+
loading: M.value,
|
|
266
|
+
onRowClick: r[3] || (r[3] = (l) => a(t).promptShowTransferDetails(l.original)),
|
|
267
|
+
key: (n = a(A)._currentLocation) == null ? void 0 : n.dbName,
|
|
268
|
+
"page-size": ve.value
|
|
269
|
+
}, {
|
|
270
|
+
"list-row": q((l) => [
|
|
271
|
+
u(Le, {
|
|
272
|
+
row: l,
|
|
273
|
+
onRowClick: a(t).promptShowTransferDetails
|
|
274
|
+
}, {
|
|
275
|
+
default: q((i) => {
|
|
276
|
+
var _, h, S, p, H, z, I, Q, D, j, K, L, J, x, X, G, W, Z, R, B;
|
|
277
|
+
return [
|
|
278
|
+
f("div", tt, [
|
|
279
|
+
f("div", at, [
|
|
280
|
+
u(a(T), {
|
|
281
|
+
render: (S = (h = (_ = i._id) == null ? void 0 : _.column) == null ? void 0 : h.columnDef) == null ? void 0 : S.cell,
|
|
282
|
+
props: (H = (p = i._id) == null ? void 0 : p.getContext) == null ? void 0 : H.call(p)
|
|
283
|
+
}, null, 8, ["render", "props"])
|
|
284
|
+
]),
|
|
285
|
+
f("div", rt, [
|
|
286
|
+
u(a(T), {
|
|
287
|
+
render: (Q = (I = (z = i.supplier_name) == null ? void 0 : z.column) == null ? void 0 : I.columnDef) == null ? void 0 : Q.cell,
|
|
288
|
+
props: (j = (D = i.supplier_name) == null ? void 0 : D.getContext) == null ? void 0 : j.call(D)
|
|
289
|
+
}, null, 8, ["render", "props"])
|
|
290
|
+
]),
|
|
291
|
+
f("div", nt, Oe(l.original.items.map((he) => `${he.name}`).join(", ")), 1),
|
|
292
|
+
l.original.ref ? (y(), Ee("div", st, [
|
|
293
|
+
u(a(T), {
|
|
294
|
+
render: (J = (L = (K = i.ref) == null ? void 0 : K.column) == null ? void 0 : L.columnDef) == null ? void 0 : J.cell,
|
|
295
|
+
props: (X = (x = i.ref) == null ? void 0 : x.getContext) == null ? void 0 : X.call(x)
|
|
296
|
+
}, null, 8, ["render", "props"])
|
|
297
|
+
])) : te("", !0),
|
|
298
|
+
f("div", ot, [
|
|
299
|
+
u(a(T), {
|
|
300
|
+
render: (Z = (W = (G = i.status) == null ? void 0 : G.column) == null ? void 0 : W.columnDef) == null ? void 0 : Z.cell,
|
|
301
|
+
props: (B = (R = i.status) == null ? void 0 : R.getContext) == null ? void 0 : B.call(R)
|
|
302
|
+
}, null, 8, ["render", "props"])
|
|
303
|
+
])
|
|
304
|
+
])
|
|
305
|
+
];
|
|
306
|
+
}),
|
|
307
|
+
_: 2
|
|
308
|
+
}, 1032, ["row", "onRowClick"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"]))
|
|
312
|
+
], 2),
|
|
313
|
+
(y(), E(Pe, { to: "body" }, [
|
|
314
|
+
a(v).enablePurchaseOrderEmail ? (y(), E(Qe, ae(N({ key: 0 }, a(t).emailDialogProps.value)), null, 16)) : te("", !0),
|
|
315
|
+
u(je, N(a(t).transferDialogProps.value, {
|
|
316
|
+
onSubmitted: a(t).fetchData
|
|
317
|
+
}), null, 16, ["onSubmitted"]),
|
|
318
|
+
u(Ne, N({
|
|
319
|
+
scope: a(U).RECEIVE_REQUEST
|
|
320
|
+
}, {
|
|
321
|
+
...a(t).transferDetailsProps.value,
|
|
322
|
+
receivedMap: ((o = a(t).transferDetailsProps.value) == null ? void 0 : o.receivedMap) ?? {},
|
|
323
|
+
shipments: a(t).shipments.value ?? []
|
|
324
|
+
}, {
|
|
325
|
+
onSubmitted: a(t).fetchData
|
|
326
|
+
}), null, 16, ["scope", "onSubmitted"]),
|
|
327
|
+
u(Ke, ae(Te(a(t).xilnexImportDialogProps.value)), null, 16),
|
|
328
|
+
u(Ue, {
|
|
329
|
+
modelValue: a(k),
|
|
330
|
+
"onUpdate:modelValue": r[4] || (r[4] = (l) => ke(k) ? k.value = l : null),
|
|
331
|
+
html: a(ce),
|
|
332
|
+
"template-name": a(me),
|
|
333
|
+
"is-default": a(pe)
|
|
334
|
+
}, null, 8, ["modelValue", "html", "template-name", "is-default"])
|
|
335
|
+
]))
|
|
336
|
+
];
|
|
337
|
+
}),
|
|
338
|
+
_: 1
|
|
339
|
+
}, 8, ["title", "actions"]);
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
export {
|
|
344
|
+
kt as default
|
|
345
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as le, ref as W, onMounted as pt, resolveComponent as G, openBlock as v, createElementBlock as V, Fragment as X, createElementVNode as f, toDisplayString as U, createVNode as x, createCommentVNode as T, computed as R, watch as ue, unref as n, normalizeClass as Ce, withCtx as J, h as de, createBlock as Y, renderList as me, isRef as De, mergeProps as we, createTextVNode as mt, withModifiers as ft, normalizeStyle as vt, Teleport as yt, normalizeProps as bt, guardReactiveProps as gt } from "vue";
|
|
2
|
-
import { a as ne, c as Oe, S as _t, F as be, u as tt, t as kt, v as ht, i as Je } from "./app-
|
|
2
|
+
import { a as ne, c as Oe, S as _t, F as be, u as tt, t as kt, v as ht, i as Je } from "./app-Dsbvoxur.js";
|
|
3
3
|
import { useDialog as Le, useSnackbar as je, components as _e, useProxiedModel as Ge, useBreakpoints as xt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as $t, _ as It, m as wt } from "./menu-usage-module-D7cxkbEk.js";
|
|
5
5
|
import { F as se } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
|
-
import { _ as nt } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as nt } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js";
|
|
7
7
|
import { defineStore as ot, storeToRefs as Et } from "pinia";
|
|
8
8
|
import { D as He, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
9
9
|
import { c as Vt } from "./component-kqxARxvM.js";
|
|
10
|
-
import { a as Q, c as Ke } from "./number-
|
|
10
|
+
import { a as Q, c as Ke } from "./number-CTKxLav6.js";
|
|
11
11
|
import { useI18n as ie, useCoreStore as St } from "@feedmepos/mf-common";
|
|
12
12
|
import { u as Ct, _ as Bt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
13
|
-
import { b as it, c as qe, I as Ft, A as Ne, U as lt, R as Rt } from "./rules-
|
|
14
|
-
import { _ as At } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { a as Pe } from "./FmMultiselectDialog-
|
|
16
|
-
import { d as rt } from "./defineDeepModel-
|
|
13
|
+
import { b as it, c as qe, I as Ft, A as Ne, U as lt, R as Rt } from "./rules-CRnEoheI.js";
|
|
14
|
+
import { _ as At } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js";
|
|
15
|
+
import { a as Pe } from "./FmMultiselectDialog-Btal-2Li.js";
|
|
16
|
+
import { d as rt } from "./defineDeepModel-B2OEZDfH.js";
|
|
17
17
|
import { L as Tt, P as Ut, D as Pt } from "./app-DiX-EfV6.js";
|
|
18
|
-
import { _ as Be, c as Mt, d as Dt, e as ye } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { u as Gt } from "./FmMultiselectDialog-
|
|
20
|
-
import { u as Nt } from "./vue-i18n-
|
|
21
|
-
import { F as zt } from "./inventory-core-dart.default-
|
|
18
|
+
import { _ as Be, c as Mt, d as Dt, e as ye } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js";
|
|
19
|
+
import { u as Gt } from "./FmMultiselectDialog-OVoHPzMx.js";
|
|
20
|
+
import { u as Nt } from "./vue-i18n-Tl34av_i.js";
|
|
21
|
+
import { F as zt } from "./inventory-core-dart.default-FvRrnQri.js";
|
|
22
22
|
import { _ as Ot } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
23
|
-
import { u as We } from "./feature-
|
|
24
|
-
import { F as he } from "./decimal-
|
|
25
|
-
import { _ as Fe } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { b as at, d as st } from "./xlsx.util-
|
|
27
|
-
import { f as dt } from "./date2-
|
|
23
|
+
import { u as We } from "./feature-CLIj8wgr.js";
|
|
24
|
+
import { F as he } from "./decimal-Clk9Ewzg.js";
|
|
25
|
+
import { _ as Fe } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js";
|
|
26
|
+
import { b as at, d as st } from "./xlsx.util-CJaAO-II.js";
|
|
27
|
+
import { f as dt } from "./date2-CtLHtGs5.js";
|
|
28
28
|
import { _ as Lt, F as Qe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
29
|
-
import { _ as jt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
+
import { _ as jt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
30
30
|
const Kt = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as b, computed as K, watch as M, resolveComponent as V, openBlock as s, createElementBlock as r, createElementVNode as t, toDisplayString as F, Fragment as U, renderList as G, createVNode as p, createBlock as P, createCommentVNode as q, nextTick as fe, createSlots as ye, withCtx as T, normalizeClass as ee, unref as O, withModifiers as be, Teleport as xe } from "vue";
|
|
2
2
|
import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
|
-
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-
|
|
3
|
+
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-B2sDdw2Z.js";
|
|
4
4
|
import { useSnackbar as Be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { G as j, H as $e } from "./app-
|
|
6
|
+
import { G as j, H as $e } from "./app-Dsbvoxur.js";
|
|
7
7
|
import { useCoreStore as ze, useI18n as Ie } from "@feedmepos/mf-common";
|
|
8
|
-
import "./dayjs.min-
|
|
9
|
-
import "./inventory-core-dart.default-
|
|
8
|
+
import "./dayjs.min-B2OqD5Yb.js";
|
|
9
|
+
import "./inventory-core-dart.default-FvRrnQri.js";
|
|
10
10
|
import { F as Oe } from "./FmAdminBadge-DjnBAgyv.js";
|
|
11
11
|
const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700 mb-4 pb-2 border-b border-gray-200" }, Ne = { class: "flex flex-col gap-3" }, Ue = {
|
|
12
12
|
key: 0,
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { defineComponent as pe, openBlock as j, createBlock as te, withCtx as M, createElementVNode as e, toDisplayString as m, unref as s, ref as Y, h as be, computed as T, watch as Fe, resolveComponent as D, isRef as Pe, createVNode as _, createElementBlock as q, Fragment as ue, renderList as ve, createCommentVNode as se, normalizeClass as He, reactive as _t, mergeModels as nt, useModel as jt, onMounted as qe, createTextVNode as me, normalizeStyle as kt, watchEffect as Vt, renderSlot as st, onUnmounted as Ct, Teleport as Bt, normalizeProps as at, mergeProps as ze } from "vue";
|
|
2
2
|
import { u as Dt, _ as Mt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
|
-
import { u as Se, c as Re, a as Ne, F as rt, t as It, D as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, K as ge, L as Be } from "./app-
|
|
4
|
-
import { u as Oe, a as Ut } from "./useSseClient-
|
|
3
|
+
import { u as Se, c as Re, a as Ne, F as rt, t as It, D as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, K as ge, L as Be } from "./app-Dsbvoxur.js";
|
|
4
|
+
import { u as Oe, a as Ut } from "./useSseClient-CuLS50U2.js";
|
|
5
5
|
import { c as Pt } from "./component-kqxARxvM.js";
|
|
6
|
-
import { _ as ht, o as Rt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Ke, S as Ge, g as bt, a as Nt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ht, o as Rt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js";
|
|
7
|
+
import { _ as Ke, S as Ge, g as bt, a as Nt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js";
|
|
8
8
|
import { _ as Ot } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
9
9
|
import { useI18n as ye, useCoreStore as Xe } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js";
|
|
11
11
|
import { useSnackbar as we, useDialog as Le, useProxiedModel as Ye, useBreakpoints as Lt } from "@feedmepos/ui-library";
|
|
12
12
|
import { defineStore as Yt } from "pinia";
|
|
13
13
|
import { F as Je } from "./FmAdminBadge-DjnBAgyv.js";
|
|
14
|
-
import { g as $e, a as he, e as zt, t as Ee, c as xe, f as Gt, h as ct, i as xt, j as Qe, d as Me, k as Wt } from "./number-
|
|
15
|
-
import { u as Ae } from "./stock-
|
|
16
|
-
import { c as Ue, A as Kt, M as qt, R as Xt } from "./rules-
|
|
17
|
-
import { u as Jt } from "./use-inventory-binding-dialog-
|
|
18
|
-
import { a as St } from "./FmMultiselectDialog-
|
|
19
|
-
import { d as ke } from "./dayjs.min-
|
|
20
|
-
import { _ as Qt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { g as Zt } from "./decimal-
|
|
22
|
-
import { a as eo, c as to, f as wt, t as dt, d as mt, p as oo, n as no, b as so } from "./date2-
|
|
23
|
-
import { i as ao
|
|
24
|
-
import { _ as
|
|
25
|
-
import { F as _e } from "./inventory-core-dart.default-
|
|
26
|
-
import { u as
|
|
27
|
-
import { u as At } from "./useHrmPermission-
|
|
28
|
-
import { _ as
|
|
29
|
-
import {
|
|
14
|
+
import { g as $e, a as he, e as zt, t as Ee, c as xe, f as Gt, h as ct, i as xt, j as Qe, d as Me, k as Wt } from "./number-CTKxLav6.js";
|
|
15
|
+
import { u as Ae } from "./stock-CeogHsSl.js";
|
|
16
|
+
import { c as Ue, A as Kt, M as qt, R as Xt } from "./rules-CRnEoheI.js";
|
|
17
|
+
import { u as Jt } from "./use-inventory-binding-dialog-HYJiNm8y.js";
|
|
18
|
+
import { a as St } from "./FmMultiselectDialog-Btal-2Li.js";
|
|
19
|
+
import { d as ke } from "./dayjs.min-B2OqD5Yb.js";
|
|
20
|
+
import { _ as Qt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js";
|
|
21
|
+
import { g as Zt } from "./decimal-Clk9Ewzg.js";
|
|
22
|
+
import { a as eo, c as to, f as wt, t as dt, d as mt, p as oo, n as no, b as so } from "./date2-CtLHtGs5.js";
|
|
23
|
+
import { i as ao } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js";
|
|
24
|
+
import { _ as ro } from "./empty-placeholder-B0QU467o.js";
|
|
25
|
+
import { F as _e } from "./inventory-core-dart.default-FvRrnQri.js";
|
|
26
|
+
import { u as lo } from "./feature-CLIj8wgr.js";
|
|
27
|
+
import { u as At } from "./useHrmPermission-DAncjlGt.js";
|
|
28
|
+
import { _ as io, F as ft } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
29
|
+
import { _ as uo } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
30
|
+
import { u as co } from "./netsuite-C_Gph48P.js";
|
|
30
31
|
import { P as mo, J as fo } from "./app-DiX-EfV6.js";
|
|
31
32
|
var Ie = /* @__PURE__ */ ((A) => (A.History = "History", A.Convert = "Convert", A.Adjust = "Adjust", A))(Ie || {});
|
|
32
33
|
const vo = [
|
|
@@ -1749,7 +1750,7 @@ const Tn = { class: "flex items-center w-full fm-typo-en-title-md-800" }, En = {
|
|
|
1749
1750
|
},
|
|
1750
1751
|
emits: ["update:show"],
|
|
1751
1752
|
setup(A) {
|
|
1752
|
-
const u = Xe(), k = Oe(), y = Ae(), w = an(), V = Se(), d =
|
|
1753
|
+
const u = Xe(), k = Oe(), y = Ae(), w = an(), V = Se(), d = lo(), { t: r } = ye(), b = A, R = Y(!1), C = we(), l = Y("adjustment"), a = Y([
|
|
1753
1754
|
{ label: "Adjustment (Default)", value: "adjustment" }
|
|
1754
1755
|
]), B = Y([]), f = Y(ao(0));
|
|
1755
1756
|
async function g() {
|
|
@@ -2201,7 +2202,7 @@ const Tn = { class: "flex items-center w-full fm-typo-en-title-md-800" }, En = {
|
|
|
2201
2202
|
_(S),
|
|
2202
2203
|
e("div", null, [
|
|
2203
2204
|
e("img", {
|
|
2204
|
-
src: s(
|
|
2205
|
+
src: s(ro),
|
|
2205
2206
|
alt: "List is empty"
|
|
2206
2207
|
}, null, 8, Cs)
|
|
2207
2208
|
]),
|
|
@@ -2296,7 +2297,7 @@ function Hs(A) {
|
|
|
2296
2297
|
const Ts = {
|
|
2297
2298
|
key: 0,
|
|
2298
2299
|
class: "flex items-center gap-1"
|
|
2299
|
-
}, Es = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Us = { class: "flex flex-col gap-8" }, Ps = { class: "flex flex-col" }, Rs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ns = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" },
|
|
2300
|
+
}, Es = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Us = { class: "flex flex-col gap-8" }, Ps = { class: "flex flex-col" }, Rs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ns = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, ha = /* @__PURE__ */ pe({
|
|
2300
2301
|
__name: "StockView",
|
|
2301
2302
|
setup(A) {
|
|
2302
2303
|
const { t: u } = ye(), k = Ne(), y = Se(), w = Oe(), V = Ft(), d = Ae(), r = gt(), b = co(), { columnDefs: R } = ko(), C = Xe(), { hasPermission: l } = At(
|
|
@@ -2491,7 +2492,7 @@ Last refreshed: ${new Date($.value).toLocaleString()}` : v;
|
|
|
2491
2492
|
}
|
|
2492
2493
|
])
|
|
2493
2494
|
}, [
|
|
2494
|
-
_(
|
|
2495
|
+
_(uo, {
|
|
2495
2496
|
searchable: "",
|
|
2496
2497
|
"change-location": "",
|
|
2497
2498
|
search: Z.value,
|
|
@@ -2530,7 +2531,7 @@ Last refreshed: ${new Date($.value).toLocaleString()}` : v;
|
|
|
2530
2531
|
"page-size": G.value
|
|
2531
2532
|
}, {
|
|
2532
2533
|
"list-row": M((W) => [
|
|
2533
|
-
_(
|
|
2534
|
+
_(io, {
|
|
2534
2535
|
row: W,
|
|
2535
2536
|
onRowClick: s(V).showSkuHistory
|
|
2536
2537
|
}, {
|
|
@@ -2606,5 +2607,5 @@ Last refreshed: ${new Date($.value).toLocaleString()}` : v;
|
|
|
2606
2607
|
}
|
|
2607
2608
|
});
|
|
2608
2609
|
export {
|
|
2609
|
-
|
|
2610
|
+
ha as default
|
|
2610
2611
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, computed as h, openBlock as l, createElementBlock as d, createElementVNode as r, normalizeClass as v, toDisplayString as m, unref as p, ref as V, resolveComponent as $, Fragment as k, createVNode as E, createCommentVNode as G, withCtx as S, renderList as P } from "vue";
|
|
2
2
|
import { useI18n as D, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as O } from "./netsuite-
|
|
3
|
+
import { u as O } from "./netsuite-C_Gph48P.js";
|
|
4
4
|
function re(e, t = !1) {
|
|
5
5
|
var c;
|
|
6
6
|
return e ? [
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as D, openBlock as S, createElementBlock as w, createElementVNode as h, createVNode as C, withCtx as U, toDisplayString as A, unref as p, Fragment as oe, renderList as le, ref as k, createBlock as z, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as ae, watch as Td, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
-
import { u as ce } from "./supplier-
|
|
2
|
+
import { u as ce } from "./supplier-DmbVK4Tn.js";
|
|
3
3
|
import { D as td, R as ye } from "./row-action.enum-DQ9bJ_uv.js";
|
|
4
4
|
import { c as Yd } from "./component-kqxARxvM.js";
|
|
5
|
-
import { c as we, a as ke, f as rd, h as nd, g as Xd, l as Ad, u as Pe } from "./app-
|
|
5
|
+
import { c as we, a as ke, f as rd, h as nd, g as Xd, l as Ad, u as Pe } from "./app-Dsbvoxur.js";
|
|
6
6
|
import { useI18n as ee, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
7
|
-
import { u as Ve } from "./netsuite-
|
|
7
|
+
import { u as Ve } from "./netsuite-C_Gph48P.js";
|
|
8
8
|
import { useDialog as Ne, useSnackbar as Se, useProxiedModel as od, useDialogChild as Zd, useBreakpoints as qd } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as zd, _ as Jd } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
10
10
|
import { F as B } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
|
-
import { R as Z } from "./rules-
|
|
12
|
-
import { a as Qd } from "./FmMultiselectDialog-
|
|
11
|
+
import { R as Z } from "./rules-CRnEoheI.js";
|
|
12
|
+
import { a as Qd } from "./FmMultiselectDialog-Btal-2Li.js";
|
|
13
13
|
import { _ as et } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
14
|
-
import { _ as dt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as xe } from "./feature-
|
|
16
|
-
import { u as tt } from "./purchase-order-template-
|
|
17
|
-
import { g as rt } from "./number-
|
|
14
|
+
import { _ as dt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js";
|
|
15
|
+
import { u as xe } from "./feature-CLIj8wgr.js";
|
|
16
|
+
import { u as tt } from "./purchase-order-template-DVDMAhJa.js";
|
|
17
|
+
import { g as rt } from "./number-CTKxLav6.js";
|
|
18
18
|
import { _ as nt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
19
|
-
import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
20
20
|
import { defineStore as at } from "pinia";
|
|
21
|
-
import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-
|
|
22
|
-
import { f as lt } from "./date2-
|
|
21
|
+
import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-CJaAO-II.js";
|
|
22
|
+
import { f as lt } from "./date2-CtLHtGs5.js";
|
|
23
23
|
import { F as st } from "./FmDroppableField-J0xUsOTV.js";
|
|
24
24
|
function ut(e, d) {
|
|
25
25
|
const { t } = ee(), r = Ve();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as pe, ref as v, computed as c, watch as R, onMounted as fe, resolveComponent as p, openBlock as j, createElementBlock as ye, Fragment as ge, createVNode as n, unref as s, withCtx as f, createElementVNode as u, normalizeClass as G, normalizeStyle as he, toDisplayString as E, withDirectives as be, vModelText as _e, createBlock as Se, withModifiers as xe, createCommentVNode as Fe } from "vue";
|
|
2
2
|
import { u as ke, _ as we } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
|
-
import { a as Ie, u as Ce, q as V, i as Le, w as Ve } from "./app-
|
|
4
|
-
import { u as Ae } from "./surcharge-
|
|
3
|
+
import { a as Ie, u as Ce, q as V, i as Le, w as Ve } from "./app-Dsbvoxur.js";
|
|
4
|
+
import { u as Ae } from "./surcharge-Bm3TRth-.js";
|
|
5
5
|
import { useSnackbar as De, useDialog as Me, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { a as Te } from "./FmMultiselectDialog-
|
|
6
|
+
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
7
|
+
import { a as Te } from "./FmMultiselectDialog-Btal-2Li.js";
|
|
8
8
|
import { useI18n as Be } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as ze } from "./supplier-
|
|
10
|
-
import { u as Ee } from "./feature-
|
|
9
|
+
import { u as ze } from "./supplier-DmbVK4Tn.js";
|
|
10
|
+
import { u as Ee } from "./feature-CLIj8wgr.js";
|
|
11
11
|
import { D as Ne, P as $e, L as qe } from "./app-DiX-EfV6.js";
|
|
12
12
|
import { D as H, R as A } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as Ue } from "./component-kqxARxvM.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, ref as m, resolveComponent as p, openBlock as i, createBlock as O, withCtx as u, createVNode as y, createElementBlock as v, toDisplayString as g, createElementVNode as T, h as B } from "vue";
|
|
2
2
|
import { F as L } from "./FmAdminBadge-DjnBAgyv.js";
|
|
3
|
-
import { m as U, u as _ } from "./app-
|
|
3
|
+
import { m as U, u as _ } from "./app-Dsbvoxur.js";
|
|
4
4
|
import { useCoreStore as A } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as C, components as V } from "@feedmepos/ui-library";
|
|
6
|
-
import { u as F, a as j } from "./closing-template-
|
|
6
|
+
import { u as F, a as j } from "./closing-template-p88yK47D.js";
|
|
7
7
|
const q = U((o, t) => {
|
|
8
8
|
const c = _(), l = A();
|
|
9
9
|
return {
|
|
@@ -21,10 +21,11 @@ const q = U((o, t) => {
|
|
|
21
21
|
},
|
|
22
22
|
async getPurchaseOrders({
|
|
23
23
|
start: a,
|
|
24
|
-
end: e
|
|
24
|
+
end: e,
|
|
25
|
+
dbName: r
|
|
25
26
|
}) {
|
|
26
|
-
const
|
|
27
|
-
return await t.get(`${
|
|
27
|
+
const n = r ?? c.currentLocationDBName, d = `${o.inventoryBackendUrl}/${n}/purchase-order`;
|
|
28
|
+
return await t.get(`${d}?start=${a}&end=${e}`);
|
|
28
29
|
},
|
|
29
30
|
async getLatestPurchaseOrderRequest(a) {
|
|
30
31
|
const e = c.currentLocationDBName, r = `${o.inventoryBackendUrl}/${e}/purchase-request/find-by-purchase-order-id`;
|
|
@@ -2,7 +2,7 @@ import { defineComponent as q, ref as f, computed as r, watch as G, h as i, reso
|
|
|
2
2
|
import { useCoreStore as W, useI18n as X } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as A } from "@feedmepos/ui-library";
|
|
4
4
|
import { K as Z, D as ee } from "./app-DiX-EfV6.js";
|
|
5
|
-
import { u as le } from "./app-
|
|
5
|
+
import { u as le } from "./app-Dsbvoxur.js";
|
|
6
6
|
import { F as te } from "./FmAdminBadge-DjnBAgyv.js";
|
|
7
7
|
const ae = {
|
|
8
8
|
class: "flex flex-col gap-24 h-full",
|