@feedmepos/mf-inventory-portal 1.2.37-dev.6 → 1.2.38
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-DyOQ_Xw7.js → App-CONrAP7y.js} +3 -3
- package/dist/{ApprovalView-DFHDYNum.js → ApprovalView-Cn9_7xk9.js} +5 -5
- package/dist/{BindingsDialog-B96VG07s.js → BindingsDialog-L7mP6sx9.js} +8 -8
- package/dist/{BindingsPicker-CoVDTRO0.js → BindingsPicker-DZqBMDUg.js} +2 -2
- package/dist/{BindingsTable-CuWHxqPQ.js → BindingsTable-DHkFDwiH.js} +3 -3
- package/dist/{ClosingDraftView-BINAvQcF.js → ClosingDraftView-BtSmlj0J.js} +8 -8
- package/dist/{ClosingHistoryView-CfLTNGoT.js → ClosingHistoryView-j83Wuxis.js} +22 -22
- package/dist/{ClosingTemplateView-BcXdjqXm.js → ClosingTemplateView-ZubBNFCd.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-Nna0OSHA.js → DeliveryOrderPrintPreview-DfS2E2tl.js} +9 -9
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DIQOehlo.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CoO6g5B9.js} +61 -60
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CPeUdEDm.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnMjbyPc.js} +2 -2
- package/dist/{FmMultiselectDialog-HYBXnDCU.js → FmMultiselectDialog-8_qMKCPt.js} +2 -2
- package/dist/{FmMultiselectDialog-B5KK1OWo.js → FmMultiselectDialog-vj94RVLU.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BWC0hDbD.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dihv3KTq.js} +3 -3
- package/dist/{ImportView-C9k44bAB.js → ImportView--0ZbHtb9.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cv4IIkAi.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bosdu_28.js} +1 -1
- package/dist/{IngredientGroupView-CAEAOvqh.js → IngredientGroupView-D937cHah.js} +5 -5
- package/dist/{IngredientsView-Bkri4LBD.js → IngredientsView-BNdvTpOT.js} +14 -14
- package/dist/{IntegrationView-kYveJ3xG.js → IntegrationView-Dm3Eur8-.js} +12 -12
- package/dist/{InventoryBindingForm-CPDdwuSS.js → InventoryBindingForm-rBhW4Snl.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-IsUi_VNj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cvpi7GQx.js} +14 -14
- package/dist/{InventoryBindingSummary-1q4t4xZu.js → InventoryBindingSummary-emUM5QuA.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BCBhdfk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DFW-jg1P.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-xAhtpaev.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BOxIYl0Z.js} +2 -2
- package/dist/{PublishView-BofNsPUM.js → PublishView-CXRBcsxc.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-GwHl_m2O.js → PurchaseOrderPrintPreview-BvjDpyrq.js} +9 -9
- package/dist/ReceiveRequestView-TwL3yVCN.js +2821 -0
- package/dist/{RecipeView-bTDYHYsW.js → RecipeView-dggwqURE.js} +8 -8
- package/dist/{StockView-BcmJWszh.js → StockView-Cml9AuXX.js} +305 -300
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CMSN_f71.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTZa1E_o.js} +1 -1
- package/dist/{SupplierView-DmDPwcVZ.js → SupplierView-CnD2QpE7.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CKcmdIYZ.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DIbaHfbR.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CtXx2kvG.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DeD1jiXL.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-JFJLlP7n.js → TransferDetails.vue_vue_type_script_setup_true_lang-Y0eaTjgd.js} +374 -374
- package/dist/{TransferTemplateView-p3IubYSO.js → TransferTemplateView-DytfORlu.js} +354 -354
- package/dist/{UnitView-WtDMm46P.js → UnitView-ZUo-3Em1.js} +6 -6
- package/dist/{WarehouseView-gt891WkQ.js → WarehouseView-DlZirt8V.js} +5 -5
- package/dist/{WastageTemplateView-DDP_q1kT.js → WastageTemplateView-5Qvs2GZC.js} +14 -14
- package/dist/{app-DtJUp8mQ.js → app-xCn1wZY9.js} +4579 -4525
- package/dist/app.js +1 -1
- package/dist/{closing-template-DeUVPGPl.js → closing-template-DS8zFVJt.js} +1 -1
- package/dist/{date2-iHubu_Hg.js → date2-hHwvNr68.js} +1 -1
- package/dist/{dayjs.min-C81IRMa0.js → dayjs.min-PqgQ_K75.js} +12 -12
- package/dist/{decimal-DsF5fiGB.js → decimal-DOCxaZjf.js} +2 -2
- package/dist/{defineDeepModel-cHTtk4kj.js → defineDeepModel-CTlh0zvq.js} +1 -1
- package/dist/{duplicate-template-BMkJlSqi.js → duplicate-template-F8fz-36_.js} +1 -1
- package/dist/feature-UnTx1VJG.js +20162 -0
- package/dist/{format-time-from-id-gYFZ4gB4.js → format-time-from-id-DTsuaGJG.js} +1 -1
- package/dist/{format-unit-display-CrSG6jqO.js → format-unit-display-DS3MzSfd.js} +246 -245
- package/dist/{import-export.helper-BBZAXSKi.js → import-export.helper-BAUfb01o.js} +5 -5
- package/dist/{index-B4IDpHl_.js → index-BX9ig-2t.js} +3 -3
- package/dist/{index-D13-YBWx.js → index-CYZHYBBP.js} +1 -1
- package/dist/{index-DjhdVR8R.js → index-D_kOnYds.js} +9 -9
- package/dist/{lodash-fqg0EBFT.js → lodash-Cqi23PoA.js} +1 -1
- package/dist/{netsuite-Ce50v6Hm.js → netsuite-Cg_AEH3H.js} +3 -3
- package/dist/{purchase-order-template-BxglsHjM.js → purchase-order-template-Dh3D_2Tz.js} +1 -1
- package/dist/{rules-BO1fKtW6.js → rules-C_FnXd1e.js} +3 -3
- package/dist/{stock-DWYWu2eO.js → stock-BPdGitCC.js} +3 -3
- package/dist/{stock-DyZlhWdA.js → stock-DJDm1iIR.js} +1 -1
- package/dist/supplier-BtZVHCAl.js +78 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BvSDIPIV.js → use-ingredient-select-dialog-n26Kr4C5.js} +2 -2
- package/dist/{use-inventory-binding-dialog-SizooUK2.js → use-inventory-binding-dialog-kkpC2Tzi.js} +2 -2
- package/dist/{use-template-enabled-locations-2-D6QsVX09.js → use-template-enabled-locations-2-4ou70XAL.js} +2 -2
- package/dist/views/receive-request/components/netsuite/NetSuitePanel.vue.d.ts +2 -3
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -3
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +2197 -490
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -1430
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +0 -1
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -3
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
- package/dist/views/receive-request/helper/get-transfer-type.d.ts +2 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -3
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +2 -3
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +3 -4
- package/dist/{vue-i18n-DVkVzKDL.js → vue-i18n-A7TH-x17.js} +533 -533
- package/dist/{xlsx-B8-jQ9MR.js → xlsx-DRYtBAdX.js} +1 -1
- package/dist/{xlsx.util-BZCQyeND.js → xlsx.util-DGBUU4BN.js} +1 -1
- package/package.json +1 -1
- package/dist/ReceiveRequestView-DfzANuLj.js +0 -2863
- package/dist/feature-Dx_hCq6v.js +0 -25312
- package/dist/helper/reactivity.d.ts +0 -11
- package/dist/helper/reactivity.spec.d.ts +0 -1
- package/dist/supplier-BtC6VaAp.js +0 -78
- package/dist/views/receive-request/components/transfer-form/composables/use-purchase-order-form-controller.d.ts +0 -13974
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as w, t as H, i as T, I as P } from "./rules-
|
|
2
|
-
import { u as j } from "./feature-
|
|
1
|
+
import { a as w, t as H, i as T, I as P } from "./rules-C_FnXd1e.js";
|
|
2
|
+
import { u as j } from "./feature-UnTx1VJG.js";
|
|
3
3
|
import { useCoreStore as g } from "@feedmepos/mf-common";
|
|
4
|
-
import { a as y, d as k, n as I, e as S } from "./app-
|
|
5
|
-
import { b as N, d as $, s as _ } from "./xlsx.util-
|
|
6
|
-
import { f as O } from "./date2-
|
|
4
|
+
import { a as y, d as k, n as I, e as S } from "./app-xCn1wZY9.js";
|
|
5
|
+
import { b as N, d as $, s as _ } from "./xlsx.util-DGBUU4BN.js";
|
|
6
|
+
import { f as O } from "./date2-hHwvNr68.js";
|
|
7
7
|
function R() {
|
|
8
8
|
return {
|
|
9
9
|
low: 6,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as h } from "./app-xCn1wZY9.js";
|
|
2
2
|
var a = { exports: {} };
|
|
3
3
|
function x(r, s = 100, u = {}) {
|
|
4
4
|
if (typeof r != "function")
|
|
@@ -38,8 +38,8 @@ function x(r, s = 100, u = {}) {
|
|
|
38
38
|
}
|
|
39
39
|
a.exports.debounce = x;
|
|
40
40
|
a.exports = x;
|
|
41
|
-
var
|
|
42
|
-
const y = /* @__PURE__ */ h(
|
|
41
|
+
var w = a.exports;
|
|
42
|
+
const y = /* @__PURE__ */ h(w);
|
|
43
43
|
export {
|
|
44
44
|
y as d
|
|
45
45
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x,
|
|
1
|
+
import { w as x, af as V, ag as q, ah as Ne, a4 as cl, ac as sr, ai as Lt, aj as fl, ak as $l } from "./app-xCn1wZY9.js";
|
|
2
2
|
function vl(t, e) {
|
|
3
3
|
for (var r = 0; r < e.length; r++) {
|
|
4
4
|
const n = e[r];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as b, computed as u } from "vue";
|
|
2
|
-
import { u as p } from "./netsuite-
|
|
3
|
-
import { u as d,
|
|
2
|
+
import { u as p } from "./netsuite-Cg_AEH3H.js";
|
|
3
|
+
import { u as d, y as h, C as v } from "./app-xCn1wZY9.js";
|
|
4
4
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as m } from "./feature-
|
|
5
|
+
import { u as m } from "./feature-UnTx1VJG.js";
|
|
6
6
|
function I() {
|
|
7
7
|
return {
|
|
8
8
|
setting: {
|
|
@@ -62,18 +62,18 @@ function C() {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function y() {
|
|
66
66
|
return {
|
|
67
67
|
locationId: ""
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
const r = b(
|
|
70
|
+
const r = b(y());
|
|
71
71
|
function w() {
|
|
72
72
|
const o = d(), n = v();
|
|
73
73
|
return o.watchLocation(async (e) => {
|
|
74
74
|
if (m().enabledXilnexOpeningMigration) {
|
|
75
75
|
if (!e) {
|
|
76
|
-
r.value =
|
|
76
|
+
r.value = y();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
r.value.locationId = e.dbName;
|
|
@@ -94,18 +94,18 @@ function w() {
|
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function S() {
|
|
98
98
|
return {
|
|
99
99
|
locationId: ""
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
const l = b(
|
|
102
|
+
const l = b(S());
|
|
103
103
|
function x() {
|
|
104
104
|
const o = d(), n = v();
|
|
105
105
|
return o.watchLocation(async (e) => {
|
|
106
106
|
if (m()) {
|
|
107
107
|
if (!e) {
|
|
108
|
-
l.value =
|
|
108
|
+
l.value = S();
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
l.value.locationId = e.dbName;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as e,
|
|
1
|
+
import { m as e, V as jt, W as Vt, X as Bt, Y as qt, Z as je, _ as Ht, $ as Be, M as qe, a0 as bt, a1 as St, a2 as O, a3 as R, s as A, e as ve, a4 as Re, A as ee, z as ie, a5 as Kt, K as j, a6 as vt, N as V, a7 as Yt, a8 as Gt, a9 as Jt, aa as Qe, ab as zt, o as Qt, j as Wt, t as dt, a as Zt, u as Ce } from "./app-xCn1wZY9.js";
|
|
2
2
|
import { useCoreStore as Me } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Xt } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as L } from "./lodash-
|
|
4
|
+
import { _ as L } from "./lodash-Cqi23PoA.js";
|
|
5
5
|
import { defineComponent as en, ref as He, computed as me, resolveComponent as ke, openBlock as z, createBlock as tn, withCtx as re, createVNode as oe, createElementVNode as M, createElementBlock as ae, Fragment as Oe, createCommentVNode as Ae, createTextVNode as Q, toDisplayString as x, renderList as nn, unref as ct, h as sn } from "vue";
|
|
6
|
-
import { u as rn } from "./feature-
|
|
6
|
+
import { u as rn } from "./feature-UnTx1VJG.js";
|
|
7
7
|
var on = Object.defineProperty, g = (r, a) => on(r, "name", { value: a, configurable: !0 }), he = "MYR";
|
|
8
8
|
e.enum([
|
|
9
9
|
"custbody_fm_do_id",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s } from "./app-
|
|
2
|
-
import "./dayjs.min-
|
|
3
|
-
import { d, b } from "./date2-
|
|
1
|
+
import { s } from "./app-xCn1wZY9.js";
|
|
2
|
+
import "./dayjs.min-PqgQ_K75.js";
|
|
3
|
+
import { d, b } from "./date2-hHwvNr68.js";
|
|
4
4
|
function P(t, n) {
|
|
5
5
|
return s.convertPrecision({
|
|
6
6
|
value: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as i } from "./stock-
|
|
2
|
-
import { a as s,
|
|
1
|
+
import { u as i } from "./stock-DJDm1iIR.js";
|
|
2
|
+
import { a as s, J as p } from "./app-xCn1wZY9.js";
|
|
3
3
|
import { ref as d, computed as k } from "vue";
|
|
4
|
-
import { d as B } from "./rules-
|
|
4
|
+
import { d as B } from "./rules-C_FnXd1e.js";
|
|
5
5
|
function m() {
|
|
6
6
|
return {
|
|
7
7
|
stockBalance: {
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { o as b, u, n as v, p as w, q as $ } from "./app-xCn1wZY9.js";
|
|
2
|
+
import { u as S } from "./feature-UnTx1VJG.js";
|
|
3
|
+
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
4
|
+
import { defineStore as f } from "pinia";
|
|
5
|
+
import { ref as l, computed as d } from "vue";
|
|
6
|
+
const a = b((n, s) => {
|
|
7
|
+
function i() {
|
|
8
|
+
var o;
|
|
9
|
+
const t = c(), r = u(), p = S().businessSupplierOnly, m = `business_${((o = t.currentBusiness.value) == null ? void 0 : o._id) ?? ""}`, y = r.currentLocation.dbName;
|
|
10
|
+
return p ? m : y;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
async readSuppliers() {
|
|
14
|
+
const t = i(), r = `${n.inventoryBackendUrl}/${t}/supplier`;
|
|
15
|
+
return await s.get(r);
|
|
16
|
+
},
|
|
17
|
+
async readLocationSuppliers() {
|
|
18
|
+
const r = u().currentLocation.dbName, e = `${n.inventoryBackendUrl}/${r}/supplier`;
|
|
19
|
+
return await s.get(e);
|
|
20
|
+
},
|
|
21
|
+
async readBusinessSuppliers() {
|
|
22
|
+
var p;
|
|
23
|
+
const r = `business_${((p = c().currentBusiness.value) == null ? void 0 : p._id) ?? ""}`, e = `${n.inventoryBackendUrl}/${r}/supplier`;
|
|
24
|
+
return await s.get(e);
|
|
25
|
+
},
|
|
26
|
+
async createSupplier(t) {
|
|
27
|
+
const r = i(), e = `${n.inventoryBackendUrl}/${r}/supplier`;
|
|
28
|
+
return await s.post(e, t);
|
|
29
|
+
},
|
|
30
|
+
async importSuppliers(t) {
|
|
31
|
+
const r = i(), e = `${n.inventoryBackendUrl}/${r}/supplier/import`;
|
|
32
|
+
return await s.post(e, t);
|
|
33
|
+
},
|
|
34
|
+
async updateSupplier(t) {
|
|
35
|
+
const r = i(), e = `${n.inventoryBackendUrl}/${r}/supplier`;
|
|
36
|
+
return await s.put(e, t);
|
|
37
|
+
},
|
|
38
|
+
async deleteSupplier(t) {
|
|
39
|
+
const r = i(), e = `${n.inventoryBackendUrl}/${r}/supplier`;
|
|
40
|
+
return await s.delete(e, t);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}), L = f("supplier", () => {
|
|
44
|
+
const n = S(), s = l(new Array()), i = l(new Array()), t = d(() => n.businessSupplierOnly ? i.value : [...s.value, ...i.value]), r = d(() => v(t.value, "_id"));
|
|
45
|
+
return {
|
|
46
|
+
async readSuppliers() {
|
|
47
|
+
const e = a();
|
|
48
|
+
s.value = await e.readLocationSuppliers(), i.value = await e.readBusinessSuppliers();
|
|
49
|
+
},
|
|
50
|
+
async createSupplier(e) {
|
|
51
|
+
await a().createSupplier(e);
|
|
52
|
+
},
|
|
53
|
+
async updateSupplier(e) {
|
|
54
|
+
await a().updateSupplier(e);
|
|
55
|
+
},
|
|
56
|
+
async deleteSupplier(e) {
|
|
57
|
+
await a().deleteSupplier(e);
|
|
58
|
+
},
|
|
59
|
+
async importSuppliers(e) {
|
|
60
|
+
await a().importSuppliers(e);
|
|
61
|
+
},
|
|
62
|
+
async init() {
|
|
63
|
+
const e = w();
|
|
64
|
+
try {
|
|
65
|
+
await this.readSuppliers();
|
|
66
|
+
} catch (p) {
|
|
67
|
+
throw p instanceof $ || e.error("Error at reading suppliers"), p;
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
suppliers: t,
|
|
71
|
+
locationSuppliers: s,
|
|
72
|
+
businessSuppliers: i,
|
|
73
|
+
supplierById: r
|
|
74
|
+
};
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
L as u
|
|
78
|
+
};
|