@feedmepos/mf-inventory-portal 1.7.1-dev.0 → 1.7.2-dev.0
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-B_ja37tB.js → App-GsVnjJ5M.js} +5 -5
- package/dist/ApprovalView-DSPu2Gk5.js +242 -0
- package/dist/{BindingsDialog-0IRWCLTc.js → BindingsDialog-B9_lCD9R.js} +2 -2
- package/dist/{BindingsPicker-DCISa6Fx.js → BindingsPicker-ZKl53ZBk.js} +2 -2
- package/dist/{BindingsTable-B3CmHp97.js → BindingsTable-CLtS3u8f.js} +3 -3
- package/dist/BulkReceiveRequestView-BbHwEPzW.js +2011 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-KgqYNGrB.js} +1 -1
- package/dist/ClosingDraftView-Ctc6-1-J.js +4496 -0
- package/dist/{ClosingHistoryView-KdmhszIO.js → ClosingHistoryView-CX9xtMvI.js} +7 -7
- package/dist/{ClosingTemplateView-CQRujMB9.js → ClosingTemplateView-BuoQegZF.js} +17 -17
- package/dist/{DefaultView-QAEDG6pS.js → DefaultView-BltV37jK.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-B08SSOCX.js → DeliveryOrderPrintPreview-CxzgxTJk.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js → EmailDialog.vue_vue_type_script_setup_true_lang-5Hhoj-yj.js} +10225 -10398
- package/dist/{FmAdminBadge-DH_2w13D.js → FmAdminBadge-DlplQOHb.js} +8 -8
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-jTZNZIrW.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BYTn-hpQ.js +76 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLYrZfPo.js} +4 -4
- package/dist/{FmMultiselectDialog-QEs0yct_.js → FmMultiselectDialog-BxAfKkDh.js} +2 -2
- package/dist/{FmMultiselectDialog-DpPyNOpJ.js → FmMultiselectDialog-DF_inpi2.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BYhQBazV.js} +119 -121
- package/dist/{ImportView-8qlgZSTO.js → ImportView-C76r6and.js} +8 -8
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-By-9uV57.js} +1 -1
- package/dist/{IngredientGroupView-BI9SlKfz.js → IngredientGroupView-vRbMzHBS.js} +6 -6
- package/dist/{IngredientsView-1naUkKAi.js → IngredientsView-GMSV1cL0.js} +17 -17
- package/dist/{IntegrationExplorerView-C6kyLz3y.js → IntegrationExplorerView-ClhCRTC-.js} +5 -5
- package/dist/{IntegrationView-DrmxLdlk.js → IntegrationView-DM-TvYjd.js} +15 -15
- package/dist/{InventoryBindingForm-CPNAgZkD.js → InventoryBindingForm-CpY3n5Ug.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CEF1D6bJ.js} +5 -5
- package/dist/{InventoryBindingSummary-Cu98L10w.js → InventoryBindingSummary-CYOt-E-3.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-jZHUuEoU.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Bw1xCASs.js} +1 -1
- package/dist/{ProductionView-D8dxypqA.js → ProductionView-D6UC_XqI.js} +8 -8
- package/dist/{PublishView-C82UwIoz.js → PublishView-CuDaby-H.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-CP40tEma.js → PurchaseOrderPrintPreview-DcSuomzT.js} +2 -2
- package/dist/ReceiveRequestView-CMywjm4H.js +345 -0
- package/dist/{RecipeView-DB1DJQp7.js → RecipeView-BAcLGUEw.js} +18 -18
- package/dist/{SettingsView-DsS62lxW.js → SettingsView-Dy3VaVP2.js} +6 -6
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js} +1 -1
- package/dist/{StockView-gcf7RCZz.js → StockView-BFSFWXEY.js} +23 -23
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B5qk8k2h.js} +1 -1
- package/dist/{SupplierView-BIANlKLE.js → SupplierView-BvZ4bdjb.js} +13 -13
- package/dist/{SurchargeView-kRzaixM5.js → SurchargeView-DEx1ncN0.js} +7 -7
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-DvjxSkiV.js +178 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-raGPvWWz.js} +2 -2
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dqn_ArEw.js +4660 -0
- package/dist/{TransferTemplateView-Bq68Vh7t.js → TransferTemplateView-DqwLSixK.js} +21 -21
- package/dist/{UnitCostHistoryView-d0oLssyZ.js → UnitCostHistoryView-BwuW604u.js} +6 -6
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DI4MfA6h.js} +4 -4
- package/dist/{UnitView-BHfm2IE4.js → UnitView-DBSX7myc.js} +8 -8
- package/dist/{WarehouseView-CorSYwm6.js → WarehouseView-D9BLSUaw.js} +6 -6
- package/dist/{WastageTemplateView-CtYZwiRW.js → WastageTemplateView-BV98TGlI.js} +15 -15
- package/dist/api/closing-draft.d.ts +5 -1
- package/dist/api/purchase-order.d.ts +1 -35
- package/dist/{app-37NZKFUI.js → app-D_Ym25tG.js} +5262 -5566
- package/dist/app.d.ts +24 -88
- package/dist/app.js +1 -1
- package/dist/{closing-template-C0dl45x2.js → closing-template-CgZ_4k-K.js} +1 -1
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +2 -11
- package/dist/{date2-r4KgBCs9.js → date2-BJDb1yuY.js} +1 -1
- package/dist/{dayjs.min-BKUldDi9.js → dayjs.min-DaQY5dXC.js} +1 -1
- package/dist/{decimal-Cgmw6HIY.js → decimal-D7kHeIBp.js} +2 -2
- package/dist/{defineDeepModel-DXLwZWst.js → defineDeepModel-C6b9BBLr.js} +1 -1
- package/dist/{duplicate-template-DDA4QWPl.js → duplicate-template-B3efBcsm.js} +1 -1
- package/dist/feature-8uw1BmnH.js +1136 -0
- package/dist/{format-time-from-id-Dhjn5QgH.js → format-time-from-id-DLNUrReR.js} +1 -1
- package/dist/{format-unit-display-g95-VuYJ.js → format-unit-display-dedOq7Rd.js} +12 -12
- package/dist/{import-export.helper-DsZFPPqj.js → import-export.helper-CLJoNMDx.js} +6 -6
- package/dist/{index-B9WjF3Ox.js → index-BzcCCKB7.js} +1 -1
- package/dist/{index-C207KsUh.js → index-D0IvVK8C.js} +3 -3
- package/dist/{index-D3Bmmx66.js → index-K8Z-b9IK.js} +1 -1
- package/dist/{inventory-core-dart.default-NpD15h63.js → inventory-core-dart.default-DD-U6dYG.js} +5550 -7099
- package/dist/{jszip.min-B52cHzHI.js → jszip.min-D6DuQ9eP.js} +2 -2
- package/dist/{lz-string-CItFpr5-.js → lz-string-DPtdOdTM.js} +1 -1
- package/dist/{netsuite-R_NkLn5t.js → netsuite-6tmjDviW.js} +2 -2
- package/dist/{number-BkC_lelq.js → number-CMVOg7m3.js} +3 -3
- package/dist/{predefined-templates-CVT54o4V.js → predefined-templates-DfSWTcww.js} +1 -1
- package/dist/{purchase-order-template-DvqAncB2.js → purchase-order-template-GCzUtb6y.js} +1 -1
- package/dist/{recalculationUtils-Cak1mo4o.js → recalculationUtils-CSBScoyF.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/{rules--cnFg-PI.js → rules-pC-W9ghI.js} +2 -2
- package/dist/{stock-BLYAJxMj.js → stock-C0lKfZnz.js} +1 -1
- package/dist/{stock-DvquSog3.js → stock-CIpjxe6A.js} +3 -3
- package/dist/stores/feature.d.ts +0 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-C5X8p_vd.js → supplier-eYlqSO4X.js} +2 -2
- package/dist/{surcharge-CLkpleoW.js → surcharge-CX5M8xDS.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-CykFo_pB.js → uom-rules-CfUOdeZ4.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DlxWMkAI.js → use-ingredient-select-dialog-DYRHuZLi.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DnWDyziu.js → use-inventory-binding-dialog-CQahb9Rn.js} +2 -2
- package/dist/{use-template-enabled-locations-SRgcWLO4.js → use-template-enabled-locations-BOO-eQch.js} +2 -2
- package/dist/{use-transfer-locations-D4f4Ib1r.js → use-transfer-locations-Ffdy6Z9C.js} +2 -2
- package/dist/{useHrmPermission-lAc6ZHVZ.js → useHrmPermission-CXSUDdlQ.js} +1 -1
- package/dist/{useNavigationMenu-CeN7TEwe.js → useNavigationMenu-DfW5RBKu.js} +49 -59
- package/dist/{useSseClient-C6ndlLpA.js → useSseClient-Bl-WWwFk.js} +1 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +4 -4
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupAction.vue.d.ts +2 -2
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +2 -2
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +6 -6
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +1 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +12 -12
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +0 -1
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +0 -1
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +2 -102
- package/dist/views/receive-request/composables/fn.d.ts +1 -2
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +3 -119
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +14 -643
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +15 -721
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +10 -524
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -102
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -4
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +0 -8
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +0 -12
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +0 -24
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -24
- package/dist/{vue-i18n-DDqVG60p.js → vue-i18n-BAu5G_RB.js} +152 -152
- package/dist/{xlsx.util-BzQcPwvM.js → xlsx.util-BgM338n0.js} +2 -2
- package/package.json +5 -5
- package/dist/ApprovalView-_wG6KeZl.js +0 -249
- package/dist/BulkReceiveRequestView-Dmqm65c9.js +0 -2025
- package/dist/ClosingDraftView-DDWU93p0.js +0 -4398
- package/dist/ConnectedBusinessView-Cu2QnRN9.js +0 -533
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +0 -84
- package/dist/ReceiveRequestView-DDo0Pb0J.js +0 -514
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +0 -211
- package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +0 -5991
- package/dist/api/connected-business-mapping.d.ts +0 -25
- package/dist/connected-business-mapping-ywgqqyMr.js +0 -37
- package/dist/feature-B4BoCy_k.js +0 -1548
- package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +0 -25
- package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +0 -2
- package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +0 -27
- package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +0 -18
- package/dist/views/receive-request/helper/po-version.d.ts +0 -6
- /package/dist/views/{receive-request/composables/fn.spec.d.ts → closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2-dev.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"vue-i18n": "^10.0.5",
|
|
53
53
|
"vue-router": "^4.4.0",
|
|
54
54
|
"xlsx": "^0.18.5",
|
|
55
|
-
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
56
55
|
"@feedmepos/inventory-core": "^1.0.2-dev.8",
|
|
57
|
-
"@feedmepos/inventory-core-
|
|
58
|
-
"@feedmepos/netsuite-core": "^1.0.0",
|
|
56
|
+
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
59
57
|
"@feedmepos/inventory-core-dart": "^1.0.0",
|
|
60
|
-
"@feedmepos/zod-inventory": "^2.0.0"
|
|
58
|
+
"@feedmepos/zod-inventory": "^2.0.0",
|
|
59
|
+
"@feedmepos/netsuite-core": "^1.0.0",
|
|
60
|
+
"@feedmepos/inventory-core-js": "^1.0.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@rushstack/eslint-patch": "^1.10.3",
|
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import { defineComponent as he, ref as R, watch as De, computed as f, resolveComponent as _e, createBlock as S, openBlock as v, unref as e, withCtx as q, createElementVNode as m, normalizeClass as ye, createVNode as p, normalizeStyle as ge, createElementBlock as be, createCommentVNode as Oe, toDisplayString as Re, Teleport as Se, mergeProps as te, isRef as Pe } from "vue";
|
|
2
|
-
import { u as xe, Q as P } from "./app-37NZKFUI.js";
|
|
3
|
-
import { a as ke } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js";
|
|
4
|
-
import { u as Te, P as C, a as we, _ as qe, b as Ce, c as Me } from "./TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js";
|
|
5
|
-
import { b as ae } from "./date2-r4KgBCs9.js";
|
|
6
|
-
import { u as Ne, _ as Ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
|
|
7
|
-
import { _ as Ae, F as x } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
8
|
-
import { useBreakpoints as $e } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js";
|
|
10
|
-
import { useI18n as Le } from "@feedmepos/mf-common";
|
|
11
|
-
import { P as ze, J as Ee } from "./app-C39bYJmq.js";
|
|
12
|
-
import { u as Ue } from "./netsuite-R_NkLn5t.js";
|
|
13
|
-
import { f as Ye } from "./predefined-templates-CVT54o4V.js";
|
|
14
|
-
import "./inventory-core-dart.default-NpD15h63.js";
|
|
15
|
-
const He = { class: "flex flex-col py-8" }, je = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Je = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Qe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ge = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
18
|
-
}, Ke = { class: "pt-8" }, mt = /* @__PURE__ */ he({
|
|
19
|
-
__name: "ApprovalView",
|
|
20
|
-
setup(We) {
|
|
21
|
-
const a = Te(C.APPROVAL), {
|
|
22
|
-
columnDefs: re,
|
|
23
|
-
showCustomPrintDialog: k,
|
|
24
|
-
customPrintHtml: se,
|
|
25
|
-
customPrintTemplateName: ne,
|
|
26
|
-
customPrintIsDefault: oe
|
|
27
|
-
} = we(C.APPROVAL, a, a.shipments), le = xe(), ue = Ue();
|
|
28
|
-
Ye().fetchTemplates(), P.object({
|
|
29
|
-
name: P.string().optional().nullable(),
|
|
30
|
-
start: P.date().optional().nullable(),
|
|
31
|
-
end: P.date().optional().nullable()
|
|
32
|
-
});
|
|
33
|
-
const M = R({
|
|
34
|
-
name: "",
|
|
35
|
-
...ke()
|
|
36
|
-
}), o = R({
|
|
37
|
-
startDate: ae(M.value.start ?? /* @__PURE__ */ new Date()),
|
|
38
|
-
endDate: ae(M.value.end ?? /* @__PURE__ */ new Date())
|
|
39
|
-
});
|
|
40
|
-
De([() => o.value.startDate], () => {
|
|
41
|
-
if (!o.value.startDate)
|
|
42
|
-
return;
|
|
43
|
-
if (!o.value.endDate) {
|
|
44
|
-
o.value.endDate = o.value.startDate;
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const u = new Date(o.value.startDate);
|
|
48
|
-
if (new Date(o.value.endDate).getTime() < u.getTime()) {
|
|
49
|
-
o.value.endDate = o.value.startDate;
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
a.updateDateRange(o.value.startDate, o.value.endDate);
|
|
53
|
-
});
|
|
54
|
-
const T = R(""), { breakpoints: N } = $e(), w = f(() => N.value.xs || N.value.sm), ie = f(() => w.value ? 10 : 20), pe = Ne(), { t: V } = Le(), me = f(() => [
|
|
55
|
-
{
|
|
56
|
-
label: V("inventory.common.refresh"),
|
|
57
|
-
value: "refresh"
|
|
58
|
-
}
|
|
59
|
-
]);
|
|
60
|
-
function ce(u) {
|
|
61
|
-
switch (u) {
|
|
62
|
-
case "refresh":
|
|
63
|
-
return a.fetchData();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
const de = f(() => {
|
|
67
|
-
const u = [
|
|
68
|
-
{
|
|
69
|
-
type: "string",
|
|
70
|
-
key: "status",
|
|
71
|
-
entity: "purchaseOrderRequest",
|
|
72
|
-
values: Array.from(
|
|
73
|
-
new Set(
|
|
74
|
-
a.purchaseRequests.value.map((t) => {
|
|
75
|
-
var s;
|
|
76
|
-
return ((s = t.purchaseOrder) == null ? void 0 : s.status) ?? "";
|
|
77
|
-
}).filter((t) => t !== "")
|
|
78
|
-
)
|
|
79
|
-
)
|
|
80
|
-
}
|
|
81
|
-
], r = [
|
|
82
|
-
{
|
|
83
|
-
type: "string",
|
|
84
|
-
key: "netsuiteTransactionNumber",
|
|
85
|
-
entity: "purchaseOrderRequest",
|
|
86
|
-
values: a.purchaseRequests.value.map((t) => {
|
|
87
|
-
var s, i;
|
|
88
|
-
return (i = (s = t.netSuite) == null ? void 0 : s.additionalInfo) == null ? void 0 : i.transactionnumber;
|
|
89
|
-
}).filter((t) => t != null)
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
type: "string",
|
|
93
|
-
key: "netsuiteOrderNo",
|
|
94
|
-
entity: "purchaseOrderRequest",
|
|
95
|
-
values: a.purchaseRequests.value.map((t) => {
|
|
96
|
-
var s;
|
|
97
|
-
return (s = t.netSuite) == null ? void 0 : s.refNo;
|
|
98
|
-
}).filter((t) => t != null)
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
type: "string",
|
|
102
|
-
key: "netsuiteOrderId",
|
|
103
|
-
entity: "purchaseOrderRequest",
|
|
104
|
-
values: a.purchaseRequests.value.map((t) => {
|
|
105
|
-
var s;
|
|
106
|
-
return (s = t.netSuite) == null ? void 0 : s.id;
|
|
107
|
-
}).filter((t) => t != null)
|
|
108
|
-
}
|
|
109
|
-
];
|
|
110
|
-
return [...u, ...ue.isEnabled ? r : []];
|
|
111
|
-
}), h = R(null), fe = f(() => {
|
|
112
|
-
if (!h.value)
|
|
113
|
-
return a.purchaseRequests.value;
|
|
114
|
-
const u = ze.build(h.value);
|
|
115
|
-
return a.purchaseRequests.value.filter((r) => {
|
|
116
|
-
var t, s, i, c, d;
|
|
117
|
-
return Ee(
|
|
118
|
-
{
|
|
119
|
-
netsuiteTransactionNumber: (s = (t = r.netSuite) == null ? void 0 : t.additionalInfo) == null ? void 0 : s.transactionnumber,
|
|
120
|
-
netsuiteOrderNo: (i = r.netSuite) == null ? void 0 : i.refNo,
|
|
121
|
-
netsuiteOrderId: (c = r.netSuite) == null ? void 0 : c.id,
|
|
122
|
-
status: (d = r.purchaseOrder) == null ? void 0 : d.status
|
|
123
|
-
},
|
|
124
|
-
u
|
|
125
|
-
);
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
return (u, r) => {
|
|
129
|
-
const t = _e("FmTable");
|
|
130
|
-
return v(), S(Ve, {
|
|
131
|
-
title: e(V)("inventory.transfer.approval.title"),
|
|
132
|
-
actions: me.value,
|
|
133
|
-
"onClick:action": ce
|
|
134
|
-
}, {
|
|
135
|
-
default: q(() => {
|
|
136
|
-
var s, i, c, d;
|
|
137
|
-
return [
|
|
138
|
-
m("div", {
|
|
139
|
-
class: ye([
|
|
140
|
-
"flex flex-col gap-8 max-h-full",
|
|
141
|
-
{
|
|
142
|
-
"p-0": w.value,
|
|
143
|
-
"px-24 ": !w.value
|
|
144
|
-
}
|
|
145
|
-
])
|
|
146
|
-
}, [
|
|
147
|
-
p(Fe, {
|
|
148
|
-
"date-range-query": "",
|
|
149
|
-
"date-range": o.value,
|
|
150
|
-
"onUpdate:dateRange": r[0] || (r[0] = (n) => o.value = n),
|
|
151
|
-
searchable: "",
|
|
152
|
-
"change-location": "",
|
|
153
|
-
search: T.value,
|
|
154
|
-
"onUpdate:search": r[1] || (r[1] = (n) => T.value = n),
|
|
155
|
-
filterable: "",
|
|
156
|
-
"filter-attributes": de.value,
|
|
157
|
-
filter: h.value,
|
|
158
|
-
"onUpdate:filter": r[2] || (r[2] = (n) => h.value = n)
|
|
159
|
-
}, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
|
|
160
|
-
p(t, {
|
|
161
|
-
style: ge(e(pe).tableHeight),
|
|
162
|
-
"column-defs": e(re),
|
|
163
|
-
"row-data": fe.value,
|
|
164
|
-
"search-value": T.value,
|
|
165
|
-
loading: !e(le)._currentLocation || e(a).loading.value,
|
|
166
|
-
onRowClick: r[3] || (r[3] = (n) => e(a).promptShowTransferDetails(
|
|
167
|
-
n.original.purchaseOrder,
|
|
168
|
-
n.original
|
|
169
|
-
)),
|
|
170
|
-
"page-size": ie.value
|
|
171
|
-
}, {
|
|
172
|
-
"list-row": q((n) => [
|
|
173
|
-
p(Ae, {
|
|
174
|
-
row: n,
|
|
175
|
-
onRowClick: (l) => e(a).promptShowTransferDetails(l.purchaseOrder, l)
|
|
176
|
-
}, {
|
|
177
|
-
default: q((l) => {
|
|
178
|
-
var A, $, F, D, L, z, E, U, _, Y, H, y, j, g, J, Q, G, K, W, b, X, Z, I, B, O, ee;
|
|
179
|
-
return [
|
|
180
|
-
m("div", He, [
|
|
181
|
-
m("div", je, [
|
|
182
|
-
p(e(x), {
|
|
183
|
-
render: (F = ($ = (A = l.purchaseOrder__id) == null ? void 0 : A.column) == null ? void 0 : $.columnDef) == null ? void 0 : F.cell,
|
|
184
|
-
props: (L = (D = l.purchaseOrder__id) == null ? void 0 : D.getContext) == null ? void 0 : L.call(D)
|
|
185
|
-
}, null, 8, ["render", "props"])
|
|
186
|
-
]),
|
|
187
|
-
m("div", Je, [
|
|
188
|
-
p(e(x), {
|
|
189
|
-
render: (U = (E = (z = l.to_name) == null ? void 0 : z.column) == null ? void 0 : E.columnDef) == null ? void 0 : U.cell,
|
|
190
|
-
props: (Y = (_ = l.to_name) == null ? void 0 : _.getContext) == null ? void 0 : Y.call(_)
|
|
191
|
-
}, null, 8, ["render", "props"])
|
|
192
|
-
]),
|
|
193
|
-
m("div", Qe, Re((J = (g = (j = (y = (H = n.original.purchaseOrder) == null ? void 0 : H.items) == null ? void 0 : y.map) == null ? void 0 : j.call(y, (ve) => `${ve.name}`)) == null ? void 0 : g.join) == null ? void 0 : J.call(g, ", ")), 1),
|
|
194
|
-
(Q = n.original.purchaseOrder) != null && Q.ref ? (v(), be("div", Ge, [
|
|
195
|
-
p(e(x), {
|
|
196
|
-
render: (W = (K = (G = l.purchaseOrder_ref) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : W.cell,
|
|
197
|
-
props: (X = (b = l.purchaseOrder_ref) == null ? void 0 : b.getContext) == null ? void 0 : X.call(b)
|
|
198
|
-
}, null, 8, ["render", "props"])
|
|
199
|
-
])) : Oe("", !0),
|
|
200
|
-
m("div", Ke, [
|
|
201
|
-
p(e(x), {
|
|
202
|
-
render: (B = (I = (Z = l.purchaseOrder_status) == null ? void 0 : Z.column) == null ? void 0 : I.columnDef) == null ? void 0 : B.cell,
|
|
203
|
-
props: (ee = (O = l.purchaseOrder_status) == null ? void 0 : O.getContext) == null ? void 0 : ee.call(O)
|
|
204
|
-
}, null, 8, ["render", "props"])
|
|
205
|
-
])
|
|
206
|
-
])
|
|
207
|
-
];
|
|
208
|
-
}),
|
|
209
|
-
_: 2
|
|
210
|
-
}, 1032, ["row", "onRowClick"])
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
214
|
-
], 2),
|
|
215
|
-
(v(), S(Se, { to: "body" }, [
|
|
216
|
-
((i = (s = e(a).transferDetailsProps.value) == null ? void 0 : s.purchaseOrder) == null ? void 0 : i.version) === "3" ? (v(), S(qe, te({ key: 0 }, {
|
|
217
|
-
...e(a).transferDetailsProps.value,
|
|
218
|
-
receivedMap: ((c = e(a).transferDetailsProps.value) == null ? void 0 : c.receivedMap) ?? {},
|
|
219
|
-
shipments: e(a).shipments.value ?? []
|
|
220
|
-
}, {
|
|
221
|
-
onSubmitted: e(a).fetchData
|
|
222
|
-
}), null, 16, ["onSubmitted"])) : (v(), S(Ce, te({
|
|
223
|
-
key: 1,
|
|
224
|
-
scope: e(C).APPROVAL
|
|
225
|
-
}, {
|
|
226
|
-
...e(a).transferDetailsProps.value,
|
|
227
|
-
receivedMap: ((d = e(a).transferDetailsProps.value) == null ? void 0 : d.receivedMap) ?? {},
|
|
228
|
-
shipments: e(a).shipments.value ?? []
|
|
229
|
-
}, {
|
|
230
|
-
onSubmitted: e(a).fetchData
|
|
231
|
-
}), null, 16, ["scope", "onSubmitted"])),
|
|
232
|
-
p(Me, {
|
|
233
|
-
modelValue: e(k),
|
|
234
|
-
"onUpdate:modelValue": r[4] || (r[4] = (n) => Pe(k) ? k.value = n : null),
|
|
235
|
-
html: e(se),
|
|
236
|
-
"template-name": e(ne),
|
|
237
|
-
"is-default": e(oe)
|
|
238
|
-
}, null, 8, ["modelValue", "html", "template-name", "is-default"])
|
|
239
|
-
]))
|
|
240
|
-
];
|
|
241
|
-
}),
|
|
242
|
-
_: 1
|
|
243
|
-
}, 8, ["title", "actions"]);
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
export {
|
|
248
|
-
mt as default
|
|
249
|
-
};
|