@feedmepos/mf-inventory-portal 1.7.15-dev.3 → 1.7.16-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-B1h66sv9.js → App-DFSszWS2.js} +7 -7
- package/dist/{ApprovalView-DKlVcGah.js → ApprovalView-sHjUr1tA.js} +9 -9
- package/dist/{BindingsDialog-CxHlh0kQ.js → BindingsDialog-B-64TNTI.js} +2 -2
- package/dist/{BindingsPicker-BiF5OZEi.js → BindingsPicker-Czn-jEHe.js} +2 -2
- package/dist/{BindingsTable-CygkFbyE.js → BindingsTable-CmB0b3ov.js} +4 -4
- package/dist/{BulkReceiveRequestView-Cf4IHMVn.js → BulkReceiveRequestView-BjGCwQiH.js} +19 -19
- package/dist/{ClosingDraftView-DFnGCAHQ.js → ClosingDraftView-DJLqwVmZ.js} +19 -19
- package/dist/{ClosingHistoryView-c51cSbco.js → ClosingHistoryView-Dj170bDN.js} +5 -5
- package/dist/{ClosingTemplateView-tKdJEP6p.js → ClosingTemplateView-DsfJz31T.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Br8lpoIh.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js} +1 -1
- package/dist/{DefaultView-2PPCmcbd.js → DefaultView-CsI2C4Hr.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BKSQLP79.js → DeliveryOrderPrintPreview-8EupGZmv.js} +12 -12
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DNbWlGwL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-EePpPI.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUrLcbIR.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +243 -0
- package/dist/{FmMultiselectDialog-4K4U13Fa.js → FmMultiselectDialog-B5gQRKE6.js} +1 -1
- package/dist/{FmMultiselectDialog-CMUU4YMv.js → FmMultiselectDialog-CZr-dX4K.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CWPYtvi-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js} +66 -63
- package/dist/{ImportView-3BL5dbPC.js → ImportView-Htolj46U.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Gt9-RVuI.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js} +1 -1
- package/dist/{IngredientGroupView-CrQr-Wcc.js → IngredientGroupView-zZgJ3F9O.js} +5 -5
- package/dist/{IngredientsView-Co_ULkb6.js → IngredientsView-BhIIUpq5.js} +15 -15
- package/dist/{IntegrationExplorerView-Byz0ZiN7.js → IntegrationExplorerView-a7EEa4a4.js} +4 -4
- package/dist/{IntegrationView-BZvXCtuu.js → IntegrationView-Dbr7gTAK.js} +14 -14
- package/dist/{InventoryBindingForm-D7at6ntj.js → InventoryBindingForm-DSAHtnBI.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfN7YCnp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js} +5 -5
- package/dist/{InventoryBindingSummary-DIWHwJwb.js → InventoryBindingSummary-D_jEP9vJ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLIYFBaL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BIjAFa7R.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js} +1 -1
- package/dist/ProductionRunDetailView-DnIVaUbO.js +2284 -0
- package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +34 -0
- package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +7543 -0
- package/dist/ProductionRunView-9tC9ljDT.js +911 -0
- package/dist/{PublishView-qzVWXhU2.js → PublishView-tOyFyzkR.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-Dv107ZcE.js → PurchaseOrderPrintPreview-CKyZ5jco.js} +7 -7
- package/dist/{ReceiveRequestView-BoDIlSIR.js → ReceiveRequestView-Brjz7YtB.js} +14 -14
- package/dist/{RecipeView-CZExmd9h.js → RecipeView-DntISZwO.js} +17 -17
- package/dist/{SettingsView-JvHtBOeh.js → SettingsView-_uzG3DYW.js} +4 -4
- package/dist/{StockView-DtAlqzrF.js → StockView-D0ns42PP.js} +363 -363
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DWxA3wuR.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js} +1 -1
- package/dist/{SupplierView-DIxYLwEk.js → SupplierView-Cg0BEv_J.js} +12 -12
- package/dist/{SurchargeView-BeMy7-Lu.js → SurchargeView-CtNt10E_.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrOVu6wg.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Chhxtkov.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-2LCcSzCa.js → TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js} +120 -120
- package/dist/{TransferTemplateView-DK_UHrGt.js → TransferTemplateView-DA-0VP3h.js} +20 -20
- package/dist/{UnitCostHistoryView-CbX9hG9F.js → UnitCostHistoryView-BIcZSZeY.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CDQ7c1Gl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js} +4 -4
- package/dist/{UnitView-Cc_PTKs_.js → UnitView-B7hMqpmo.js} +7 -7
- package/dist/{WarehouseView-a-D3zs6h.js → WarehouseView-DQZhCobt.js} +334 -334
- package/dist/{WastageTemplateView-CFRi5Pvf.js → WastageTemplateView-Bg4oY2Vw.js} +14 -14
- package/dist/api/netsuite.d.ts +14 -8
- package/dist/api/production-run-error.d.ts +36 -0
- package/dist/api/production-run-error.spec.d.ts +1 -0
- package/dist/api/production-run.d.ts +80 -0
- package/dist/api/production-run.spec.d.ts +1 -0
- package/dist/{app-D8j93Oqu.js → app-CNKD3vjZ.js} +20007 -15586
- package/dist/app.d.ts +2998 -2
- package/dist/app.js +1 -1
- package/dist/{closing-template-C1b4O-N3.js → closing-template-BeegNS6p.js} +1 -1
- package/dist/components/FmUnitInput.spec.d.ts +1 -0
- package/dist/components/FmUnitInputProps.d.ts +2 -0
- package/dist/composable/useNavigationMenu.production.spec.d.ts +1 -0
- package/dist/{date2-uOSplHdf.js → date2-B00CYgio.js} +1 -1
- package/dist/{dayjs.min-jzzpE5jZ.js → dayjs.min-DPQzGVmJ.js} +1 -1
- package/dist/{decimal-8I4iIvBr.js → decimal-mk8IRyTq.js} +2 -2
- package/dist/{defineDeepModel-DBat73w6.js → defineDeepModel-DPmaWR48.js} +5 -5
- package/dist/{duplicate-template-hyvvKKZn.js → duplicate-template-CMddJ7le.js} +1 -1
- package/dist/{feature-BtW2IuYH.js → feature-fzePklTK.js} +28 -28
- package/dist/{format-time-from-id-TNzYsGd2.js → format-time-from-id-CX7mBtQD.js} +1 -1
- package/dist/{format-unit-display-Bv9J30wI.js → format-unit-display-C-WI6eC7.js} +12 -12
- package/dist/{import-export.helper-xpElLH-b.js → import-export.helper-BXXH9AYn.js} +6 -6
- package/dist/{index-CCpcCOf2.js → index-BGVJky7a.js} +1 -1
- package/dist/{index-BH22SMzP.js → index-D1nPGK7U.js} +3 -3
- package/dist/{index-CTQTVKeu.js → index-DJQBhZfo.js} +1 -1
- package/dist/{inventory-core-dart.default-BfVqWKxc.js → inventory-core-dart.default-CSFkzl91.js} +2928 -6981
- package/dist/{lz-string-BXcuXXWX.js → lz-string-CzFlgjO3.js} +1 -1
- package/dist/{netsuite-Bawdsy6u.js → netsuite-yzjEuV4c.js} +5 -3
- package/dist/{number-q25U2atb.js → number-LQ8tdP_1.js} +6 -6
- package/dist/{predefined-templates-DFETDxr0.js → predefined-templates-Db7qjPHc.js} +1 -1
- package/dist/production-run-prepare-sheet-BVAUvVqt.js +17411 -0
- package/dist/{purchase-order-template-BTSTgbF-.js → purchase-order-template-bBTN12Ij.js} +1 -1
- package/dist/{recalculationUtils-B-9ZEV5d.js → recalculationUtils-DN6oOoMX.js} +1 -1
- package/dist/router/name.d.ts +3 -1
- package/dist/router/shared.production.spec.d.ts +1 -0
- package/dist/{rules-_M2oshOW.js → rules-BdR1TB3v.js} +2 -2
- package/dist/{stock-CUsHHW7_.js → stock-AwNCy6xY.js} +1 -1
- package/dist/{stock-BdtZ5yDl.js → stock-BgGttjDF.js} +3 -3
- package/dist/stores/feature.d.ts +1 -1
- package/dist/stores/integration/codemax.d.ts +1 -1
- package/dist/stores/inventory.d.ts +10 -8
- package/dist/stores/stock.d.ts +10 -8
- package/dist/style.css +1 -1
- package/dist/{supplier-By-0Dy62.js → supplier-BNoSljLB.js} +2 -2
- package/dist/{surcharge-60G2Qke7.js → surcharge-pUc66ZZJ.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DeGuMW0s.js → uom-rules-BP8Vk8Rl.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BVOtYoKp.js → use-ingredient-select-dialog-DTOzSrjt.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CHm1Ezmr.js → use-inventory-binding-dialog-lHpBzqDy.js} +2 -2
- package/dist/{use-template-enabled-locations-C9vWaXj1.js → use-template-enabled-locations-DmCbj6aZ.js} +2 -2
- package/dist/{use-transfer-locations-VSzkSxBy.js → use-transfer-locations-BeARyv2s.js} +2 -2
- package/dist/{useHrmPermission-B48iHLre.js → useHrmPermission-DScCpS0P.js} +1 -1
- package/dist/{useNavigationMenu-DwRXSSh_.js → useNavigationMenu-B5pf21hS.js} +17 -17
- package/dist/{useSseClient-QeF0izVY.js → useSseClient-BPR5sQ_S.js} +1 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +20 -16
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -32
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +20 -16
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +60 -48
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -8
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
- package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
- package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
- package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +15 -0
- package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunView.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunView.vue.d.ts +2 -0
- package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +15 -0
- package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +67 -0
- package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +52 -0
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +80 -0
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +1066 -0
- package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +1 -0
- package/dist/views/{production/ProductionBindingsCell.vue.d.ts → production-run/features/detail/ProductionRunResultTable.vue.d.ts} +10 -14
- package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +47 -0
- package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +15 -0
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +2098 -0
- package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +1 -0
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +1020 -0
- package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +9 -0
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +1020 -0
- package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +9 -0
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +1 -0
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +3573 -0
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +1026 -0
- package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +56 -0
- package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +1 -0
- package/dist/views/{production/ProductionCompletionDialog.vue.d.ts → production-run/features/list/ProductionRunActionMenuItem.vue.d.ts} +8 -21
- package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +1 -0
- package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +20 -0
- package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +1 -0
- package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +40 -0
- package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +1 -0
- package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +43 -0
- package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +1 -0
- package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +25 -0
- package/dist/views/production-run/features/list/use-production-run-table.d.ts +18 -0
- package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +70 -0
- package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +33 -0
- package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +26 -0
- package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +43 -0
- package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +31 -0
- package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +23 -0
- package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +33 -0
- package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +20 -0
- package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +28 -0
- package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +245 -0
- package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +25 -0
- package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +21 -0
- package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +61 -0
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +1022 -0
- package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +25 -0
- package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +65 -0
- package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +15 -0
- package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +30 -0
- package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +67 -0
- package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +85 -0
- package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +78 -0
- package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +49 -0
- package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +1525 -0
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +1 -0
- package/dist/views/production-run/features/planning/use-production-run-form.d.ts +275 -0
- package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +1 -0
- package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +32 -0
- package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +18 -0
- package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +29 -0
- package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +1 -0
- package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +26 -0
- package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +16 -0
- package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +1 -0
- package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +18 -0
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +6 -0
- package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +1 -0
- package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +31 -0
- package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +57 -0
- package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +1 -0
- package/dist/views/production-run/shared/model/production-run-display.d.ts +187 -0
- package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +1 -0
- package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +22 -0
- package/dist/views/production-run/shared/model/production-run-list.d.ts +46 -0
- package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +1 -0
- package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +20 -0
- package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +22 -0
- package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +1 -0
- package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +39 -0
- package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +39 -0
- package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +1 -0
- package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +658 -0
- package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +39 -0
- package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +25 -0
- package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +51 -0
- package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +23 -0
- package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +25 -0
- package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +2 -0
- package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +24 -0
- package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +15 -0
- package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +33 -0
- package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +67 -0
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +70 -0
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +71 -0
- package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +15 -0
- package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +46 -0
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +31 -0
- package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +31 -0
- package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +37 -0
- package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +77 -0
- package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +52 -0
- package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +21 -0
- package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +23 -0
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +62 -0
- package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +34 -0
- package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +11 -0
- package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +15 -0
- package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +17 -0
- package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +1 -0
- package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +9 -0
- package/dist/views/production-run/test-support/production-run.fixture.d.ts +88 -0
- package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +1 -0
- package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +1 -0
- package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +1 -0
- package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +12 -8
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +2 -0
- package/dist/{vue-i18n-DLckaDV3.js → vue-i18n-DLJI5tIS.js} +395 -395
- package/dist/{xlsx.util-BjqUaVU_.js → xlsx.util-CZOxuAL-.js} +2 -2
- package/package.json +5 -4
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D6ehNvzX.js +0 -130
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpACpi1j.js +0 -120
- package/dist/ProductionView-Cg8tXEj7.js +0 -1441
- package/dist/api/production.d.ts +0 -30
- package/dist/views/production/ProductionDetailSheet.vue.d.ts +0 -42
- package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +0 -282
- package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +0 -282
- /package/dist/views/{production/ProductionView.vue.d.ts → production-run/ProductionRunPreparePrintView.vue.d.ts} +0 -0
|
@@ -0,0 +1,1022 @@
|
|
|
1
|
+
import type { ProductionRunFormDialogProps } from './ProductionRunFormDialogProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ProductionRunFormDialogProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:show": (value: boolean) => void;
|
|
4
|
+
"load-more-duplicate-sources": () => void;
|
|
5
|
+
saved: (run: import("../../../../api/type").WithRev<{
|
|
6
|
+
_rev?: string | null | undefined;
|
|
7
|
+
closedAt?: string | null | undefined;
|
|
8
|
+
cancelledAt?: string | null | undefined;
|
|
9
|
+
cancelReason?: string | null | undefined;
|
|
10
|
+
status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
|
|
11
|
+
_id: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
createdBy: {
|
|
14
|
+
name: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
activityLogs: {
|
|
18
|
+
remark?: string | null | undefined;
|
|
19
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete" | "prepare";
|
|
20
|
+
performedAt: string;
|
|
21
|
+
performedBy: {
|
|
22
|
+
name: string;
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
}[];
|
|
26
|
+
runNo: number;
|
|
27
|
+
runName: string | null;
|
|
28
|
+
instructions: string | null;
|
|
29
|
+
plan: {
|
|
30
|
+
items: {
|
|
31
|
+
measurement: {
|
|
32
|
+
name: string;
|
|
33
|
+
id: string;
|
|
34
|
+
abbrev: string;
|
|
35
|
+
conversion: {
|
|
36
|
+
amount: number;
|
|
37
|
+
precision: number;
|
|
38
|
+
};
|
|
39
|
+
baseUnitId: string;
|
|
40
|
+
};
|
|
41
|
+
skuId: string;
|
|
42
|
+
requestedAmount: {
|
|
43
|
+
amount: number;
|
|
44
|
+
precision: number;
|
|
45
|
+
};
|
|
46
|
+
}[];
|
|
47
|
+
requirements: {
|
|
48
|
+
ingredients: {
|
|
49
|
+
amounts: {
|
|
50
|
+
measurement: {
|
|
51
|
+
name: string;
|
|
52
|
+
id: string;
|
|
53
|
+
abbrev: string;
|
|
54
|
+
conversion: {
|
|
55
|
+
amount: number;
|
|
56
|
+
precision: number;
|
|
57
|
+
};
|
|
58
|
+
baseUnitId: string;
|
|
59
|
+
};
|
|
60
|
+
amount: {
|
|
61
|
+
amount: number;
|
|
62
|
+
precision: number;
|
|
63
|
+
};
|
|
64
|
+
outputSkuId: string;
|
|
65
|
+
rateBasis: {
|
|
66
|
+
outputMeasurement: {
|
|
67
|
+
name: string;
|
|
68
|
+
id: string;
|
|
69
|
+
abbrev: string;
|
|
70
|
+
conversion: {
|
|
71
|
+
amount: number;
|
|
72
|
+
precision: number;
|
|
73
|
+
};
|
|
74
|
+
baseUnitId: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}[];
|
|
78
|
+
ingredient: {
|
|
79
|
+
code: string;
|
|
80
|
+
skuId: string;
|
|
81
|
+
name: string;
|
|
82
|
+
baseUnit: {
|
|
83
|
+
name: string;
|
|
84
|
+
id: string;
|
|
85
|
+
abbrev: string;
|
|
86
|
+
conversion: {
|
|
87
|
+
amount: number;
|
|
88
|
+
precision: number;
|
|
89
|
+
};
|
|
90
|
+
baseUnitId: string;
|
|
91
|
+
};
|
|
92
|
+
basePrecision: number;
|
|
93
|
+
};
|
|
94
|
+
}[];
|
|
95
|
+
skippedSkuIds: string[];
|
|
96
|
+
} | null;
|
|
97
|
+
};
|
|
98
|
+
preparation: {
|
|
99
|
+
pendingIssuance?: {
|
|
100
|
+
remark?: string | null | undefined;
|
|
101
|
+
adjustmentId: string;
|
|
102
|
+
items: {
|
|
103
|
+
measurement: {
|
|
104
|
+
name: string;
|
|
105
|
+
id: string;
|
|
106
|
+
abbrev: string;
|
|
107
|
+
conversion: {
|
|
108
|
+
amount: number;
|
|
109
|
+
precision: number;
|
|
110
|
+
};
|
|
111
|
+
baseUnitId: string;
|
|
112
|
+
};
|
|
113
|
+
sku: {
|
|
114
|
+
trackingMeasurement?: string | null | undefined;
|
|
115
|
+
isInactive?: boolean | null | undefined;
|
|
116
|
+
convert?: {
|
|
117
|
+
measurement?: string | null | undefined;
|
|
118
|
+
inventoryBindings?: {
|
|
119
|
+
measurement?: {
|
|
120
|
+
name: string;
|
|
121
|
+
id: string;
|
|
122
|
+
abbrev: string;
|
|
123
|
+
conversion: {
|
|
124
|
+
amount: number;
|
|
125
|
+
precision: number;
|
|
126
|
+
};
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
rules?: Record<string, any> | null | undefined;
|
|
129
|
+
alternatives?: {
|
|
130
|
+
default?: boolean | null | undefined;
|
|
131
|
+
trackingMeasurement?: string | null | undefined;
|
|
132
|
+
priority?: number | null | undefined;
|
|
133
|
+
_id: string;
|
|
134
|
+
}[] | null | undefined;
|
|
135
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
136
|
+
amount: {
|
|
137
|
+
amount: number;
|
|
138
|
+
precision: number;
|
|
139
|
+
};
|
|
140
|
+
id: string;
|
|
141
|
+
}[] | null | undefined;
|
|
142
|
+
} | null | undefined;
|
|
143
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
144
|
+
defaultCost?: {
|
|
145
|
+
measurement?: {
|
|
146
|
+
name: string;
|
|
147
|
+
id: string;
|
|
148
|
+
abbrev: string;
|
|
149
|
+
conversion: {
|
|
150
|
+
amount: number;
|
|
151
|
+
precision: number;
|
|
152
|
+
};
|
|
153
|
+
} | null | undefined;
|
|
154
|
+
costPerUnit: {
|
|
155
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
156
|
+
amount: number;
|
|
157
|
+
precision: number;
|
|
158
|
+
};
|
|
159
|
+
} | null | undefined;
|
|
160
|
+
operationalGroup?: string | null | undefined;
|
|
161
|
+
thresholds?: {
|
|
162
|
+
low: number;
|
|
163
|
+
mid: number;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
166
|
+
unit: {
|
|
167
|
+
_id: string;
|
|
168
|
+
name: string;
|
|
169
|
+
abbrev: string;
|
|
170
|
+
precision: number;
|
|
171
|
+
measurements: {
|
|
172
|
+
name: string;
|
|
173
|
+
id: string;
|
|
174
|
+
abbrev: string;
|
|
175
|
+
conversion: {
|
|
176
|
+
amount: number;
|
|
177
|
+
precision: number;
|
|
178
|
+
};
|
|
179
|
+
}[];
|
|
180
|
+
};
|
|
181
|
+
code: string;
|
|
182
|
+
_id: string;
|
|
183
|
+
name: string;
|
|
184
|
+
};
|
|
185
|
+
committedAmount: {
|
|
186
|
+
amount: number;
|
|
187
|
+
precision: number;
|
|
188
|
+
};
|
|
189
|
+
}[];
|
|
190
|
+
skippedSkuIds: string[];
|
|
191
|
+
acknowledgedShortages: {
|
|
192
|
+
skuId: string;
|
|
193
|
+
baseUnit: {
|
|
194
|
+
name: string;
|
|
195
|
+
id: string;
|
|
196
|
+
abbrev: string;
|
|
197
|
+
conversion: {
|
|
198
|
+
amount: number;
|
|
199
|
+
precision: number;
|
|
200
|
+
};
|
|
201
|
+
baseUnitId: string;
|
|
202
|
+
};
|
|
203
|
+
projectedBalance: {
|
|
204
|
+
amount: number;
|
|
205
|
+
precision: number;
|
|
206
|
+
};
|
|
207
|
+
}[];
|
|
208
|
+
movement: {
|
|
209
|
+
sku: {
|
|
210
|
+
trackingMeasurement?: string | null | undefined;
|
|
211
|
+
isInactive?: boolean | null | undefined;
|
|
212
|
+
convert?: {
|
|
213
|
+
measurement?: string | null | undefined;
|
|
214
|
+
inventoryBindings?: {
|
|
215
|
+
measurement?: {
|
|
216
|
+
name: string;
|
|
217
|
+
id: string;
|
|
218
|
+
abbrev: string;
|
|
219
|
+
conversion: {
|
|
220
|
+
amount: number;
|
|
221
|
+
precision: number;
|
|
222
|
+
};
|
|
223
|
+
} | null | undefined;
|
|
224
|
+
rules?: Record<string, any> | null | undefined;
|
|
225
|
+
alternatives?: {
|
|
226
|
+
default?: boolean | null | undefined;
|
|
227
|
+
trackingMeasurement?: string | null | undefined;
|
|
228
|
+
priority?: number | null | undefined;
|
|
229
|
+
_id: string;
|
|
230
|
+
}[] | null | undefined;
|
|
231
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
232
|
+
amount: {
|
|
233
|
+
amount: number;
|
|
234
|
+
precision: number;
|
|
235
|
+
};
|
|
236
|
+
id: string;
|
|
237
|
+
}[] | null | undefined;
|
|
238
|
+
} | null | undefined;
|
|
239
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
240
|
+
defaultCost?: {
|
|
241
|
+
measurement?: {
|
|
242
|
+
name: string;
|
|
243
|
+
id: string;
|
|
244
|
+
abbrev: string;
|
|
245
|
+
conversion: {
|
|
246
|
+
amount: number;
|
|
247
|
+
precision: number;
|
|
248
|
+
};
|
|
249
|
+
} | null | undefined;
|
|
250
|
+
costPerUnit: {
|
|
251
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
252
|
+
amount: number;
|
|
253
|
+
precision: number;
|
|
254
|
+
};
|
|
255
|
+
} | null | undefined;
|
|
256
|
+
operationalGroup?: string | null | undefined;
|
|
257
|
+
thresholds?: {
|
|
258
|
+
low: number;
|
|
259
|
+
mid: number;
|
|
260
|
+
} | null | undefined;
|
|
261
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
262
|
+
unit: {
|
|
263
|
+
_id: string;
|
|
264
|
+
name: string;
|
|
265
|
+
abbrev: string;
|
|
266
|
+
precision: number;
|
|
267
|
+
measurements: {
|
|
268
|
+
name: string;
|
|
269
|
+
id: string;
|
|
270
|
+
abbrev: string;
|
|
271
|
+
conversion: {
|
|
272
|
+
amount: number;
|
|
273
|
+
precision: number;
|
|
274
|
+
};
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
code: string;
|
|
278
|
+
_id: string;
|
|
279
|
+
name: string;
|
|
280
|
+
};
|
|
281
|
+
amounts: {
|
|
282
|
+
measurement: {
|
|
283
|
+
name: string;
|
|
284
|
+
id: string;
|
|
285
|
+
abbrev: string;
|
|
286
|
+
conversion: {
|
|
287
|
+
amount: number;
|
|
288
|
+
precision: number;
|
|
289
|
+
};
|
|
290
|
+
baseUnitId: string;
|
|
291
|
+
};
|
|
292
|
+
amount: {
|
|
293
|
+
amount: number;
|
|
294
|
+
precision: number;
|
|
295
|
+
};
|
|
296
|
+
outputSkuId: string;
|
|
297
|
+
}[];
|
|
298
|
+
}[];
|
|
299
|
+
claimedAt: string;
|
|
300
|
+
claimedBy: {
|
|
301
|
+
name: string;
|
|
302
|
+
id: string;
|
|
303
|
+
};
|
|
304
|
+
} | null | undefined;
|
|
305
|
+
issuances: {
|
|
306
|
+
remark?: string | null | undefined;
|
|
307
|
+
adjustmentId: string;
|
|
308
|
+
items: {
|
|
309
|
+
measurement: {
|
|
310
|
+
name: string;
|
|
311
|
+
id: string;
|
|
312
|
+
abbrev: string;
|
|
313
|
+
conversion: {
|
|
314
|
+
amount: number;
|
|
315
|
+
precision: number;
|
|
316
|
+
};
|
|
317
|
+
baseUnitId: string;
|
|
318
|
+
};
|
|
319
|
+
sku: {
|
|
320
|
+
trackingMeasurement?: string | null | undefined;
|
|
321
|
+
isInactive?: boolean | null | undefined;
|
|
322
|
+
convert?: {
|
|
323
|
+
measurement?: string | null | undefined;
|
|
324
|
+
inventoryBindings?: {
|
|
325
|
+
measurement?: {
|
|
326
|
+
name: string;
|
|
327
|
+
id: string;
|
|
328
|
+
abbrev: string;
|
|
329
|
+
conversion: {
|
|
330
|
+
amount: number;
|
|
331
|
+
precision: number;
|
|
332
|
+
};
|
|
333
|
+
} | null | undefined;
|
|
334
|
+
rules?: Record<string, any> | null | undefined;
|
|
335
|
+
alternatives?: {
|
|
336
|
+
default?: boolean | null | undefined;
|
|
337
|
+
trackingMeasurement?: string | null | undefined;
|
|
338
|
+
priority?: number | null | undefined;
|
|
339
|
+
_id: string;
|
|
340
|
+
}[] | null | undefined;
|
|
341
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
342
|
+
amount: {
|
|
343
|
+
amount: number;
|
|
344
|
+
precision: number;
|
|
345
|
+
};
|
|
346
|
+
id: string;
|
|
347
|
+
}[] | null | undefined;
|
|
348
|
+
} | null | undefined;
|
|
349
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
350
|
+
defaultCost?: {
|
|
351
|
+
measurement?: {
|
|
352
|
+
name: string;
|
|
353
|
+
id: string;
|
|
354
|
+
abbrev: string;
|
|
355
|
+
conversion: {
|
|
356
|
+
amount: number;
|
|
357
|
+
precision: number;
|
|
358
|
+
};
|
|
359
|
+
} | null | undefined;
|
|
360
|
+
costPerUnit: {
|
|
361
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
362
|
+
amount: number;
|
|
363
|
+
precision: number;
|
|
364
|
+
};
|
|
365
|
+
} | null | undefined;
|
|
366
|
+
operationalGroup?: string | null | undefined;
|
|
367
|
+
thresholds?: {
|
|
368
|
+
low: number;
|
|
369
|
+
mid: number;
|
|
370
|
+
} | null | undefined;
|
|
371
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
372
|
+
unit: {
|
|
373
|
+
_id: string;
|
|
374
|
+
name: string;
|
|
375
|
+
abbrev: string;
|
|
376
|
+
precision: number;
|
|
377
|
+
measurements: {
|
|
378
|
+
name: string;
|
|
379
|
+
id: string;
|
|
380
|
+
abbrev: string;
|
|
381
|
+
conversion: {
|
|
382
|
+
amount: number;
|
|
383
|
+
precision: number;
|
|
384
|
+
};
|
|
385
|
+
}[];
|
|
386
|
+
};
|
|
387
|
+
code: string;
|
|
388
|
+
_id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
};
|
|
391
|
+
committedAmount: {
|
|
392
|
+
amount: number;
|
|
393
|
+
precision: number;
|
|
394
|
+
};
|
|
395
|
+
}[];
|
|
396
|
+
skippedSkuIds: string[];
|
|
397
|
+
issuedAt: string;
|
|
398
|
+
issuedBy: {
|
|
399
|
+
name: string;
|
|
400
|
+
id: string;
|
|
401
|
+
};
|
|
402
|
+
acknowledgedShortages: {
|
|
403
|
+
skuId: string;
|
|
404
|
+
baseUnit: {
|
|
405
|
+
name: string;
|
|
406
|
+
id: string;
|
|
407
|
+
abbrev: string;
|
|
408
|
+
conversion: {
|
|
409
|
+
amount: number;
|
|
410
|
+
precision: number;
|
|
411
|
+
};
|
|
412
|
+
baseUnitId: string;
|
|
413
|
+
};
|
|
414
|
+
projectedBalance: {
|
|
415
|
+
amount: number;
|
|
416
|
+
precision: number;
|
|
417
|
+
};
|
|
418
|
+
}[];
|
|
419
|
+
movement: {
|
|
420
|
+
amounts: {
|
|
421
|
+
measurement: {
|
|
422
|
+
name: string;
|
|
423
|
+
id: string;
|
|
424
|
+
abbrev: string;
|
|
425
|
+
conversion: {
|
|
426
|
+
amount: number;
|
|
427
|
+
precision: number;
|
|
428
|
+
};
|
|
429
|
+
baseUnitId: string;
|
|
430
|
+
};
|
|
431
|
+
amount: {
|
|
432
|
+
amount: number;
|
|
433
|
+
precision: number;
|
|
434
|
+
};
|
|
435
|
+
outputSkuId: string;
|
|
436
|
+
}[];
|
|
437
|
+
ingredient: {
|
|
438
|
+
code: string;
|
|
439
|
+
skuId: string;
|
|
440
|
+
name: string;
|
|
441
|
+
baseUnit: {
|
|
442
|
+
name: string;
|
|
443
|
+
id: string;
|
|
444
|
+
abbrev: string;
|
|
445
|
+
conversion: {
|
|
446
|
+
amount: number;
|
|
447
|
+
precision: number;
|
|
448
|
+
};
|
|
449
|
+
baseUnitId: string;
|
|
450
|
+
};
|
|
451
|
+
basePrecision: number;
|
|
452
|
+
};
|
|
453
|
+
}[];
|
|
454
|
+
}[];
|
|
455
|
+
};
|
|
456
|
+
batches: {
|
|
457
|
+
adjustmentId: string;
|
|
458
|
+
id: string;
|
|
459
|
+
remark: string | null;
|
|
460
|
+
items: {
|
|
461
|
+
measurement: {
|
|
462
|
+
name: string;
|
|
463
|
+
id: string;
|
|
464
|
+
abbrev: string;
|
|
465
|
+
conversion: {
|
|
466
|
+
amount: number;
|
|
467
|
+
precision: number;
|
|
468
|
+
};
|
|
469
|
+
baseUnitId: string;
|
|
470
|
+
};
|
|
471
|
+
skuId: string;
|
|
472
|
+
producedAmount: {
|
|
473
|
+
amount: number;
|
|
474
|
+
precision: number;
|
|
475
|
+
};
|
|
476
|
+
}[];
|
|
477
|
+
operationKey: string;
|
|
478
|
+
stockApplicationStatus: "PENDING" | "APPLIED";
|
|
479
|
+
producedAt: string;
|
|
480
|
+
recordedAt: string;
|
|
481
|
+
recordedBy: {
|
|
482
|
+
name: string;
|
|
483
|
+
id: string;
|
|
484
|
+
};
|
|
485
|
+
wastages: {
|
|
486
|
+
measurement: {
|
|
487
|
+
name: string;
|
|
488
|
+
id: string;
|
|
489
|
+
abbrev: string;
|
|
490
|
+
conversion: {
|
|
491
|
+
amount: number;
|
|
492
|
+
precision: number;
|
|
493
|
+
};
|
|
494
|
+
baseUnitId: string;
|
|
495
|
+
};
|
|
496
|
+
skuId: string;
|
|
497
|
+
amount: {
|
|
498
|
+
amount: number;
|
|
499
|
+
precision: number;
|
|
500
|
+
};
|
|
501
|
+
reason: "OTHER" | "TRIM" | "COOKING" | "SPOILAGE" | "SPILLAGE";
|
|
502
|
+
remark: string | null;
|
|
503
|
+
itemSkuId: string;
|
|
504
|
+
}[];
|
|
505
|
+
}[];
|
|
506
|
+
}>) => void;
|
|
507
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ProductionRunFormDialogProps>>> & Readonly<{
|
|
508
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
509
|
+
onSaved?: ((run: import("../../../../api/type").WithRev<{
|
|
510
|
+
_rev?: string | null | undefined;
|
|
511
|
+
closedAt?: string | null | undefined;
|
|
512
|
+
cancelledAt?: string | null | undefined;
|
|
513
|
+
cancelReason?: string | null | undefined;
|
|
514
|
+
status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
|
|
515
|
+
_id: string;
|
|
516
|
+
createdAt: string;
|
|
517
|
+
createdBy: {
|
|
518
|
+
name: string;
|
|
519
|
+
id: string;
|
|
520
|
+
};
|
|
521
|
+
activityLogs: {
|
|
522
|
+
remark?: string | null | undefined;
|
|
523
|
+
action: "cancel" | "close" | "create" | "update" | "request" | "complete" | "prepare";
|
|
524
|
+
performedAt: string;
|
|
525
|
+
performedBy: {
|
|
526
|
+
name: string;
|
|
527
|
+
id: string;
|
|
528
|
+
};
|
|
529
|
+
}[];
|
|
530
|
+
runNo: number;
|
|
531
|
+
runName: string | null;
|
|
532
|
+
instructions: string | null;
|
|
533
|
+
plan: {
|
|
534
|
+
items: {
|
|
535
|
+
measurement: {
|
|
536
|
+
name: string;
|
|
537
|
+
id: string;
|
|
538
|
+
abbrev: string;
|
|
539
|
+
conversion: {
|
|
540
|
+
amount: number;
|
|
541
|
+
precision: number;
|
|
542
|
+
};
|
|
543
|
+
baseUnitId: string;
|
|
544
|
+
};
|
|
545
|
+
skuId: string;
|
|
546
|
+
requestedAmount: {
|
|
547
|
+
amount: number;
|
|
548
|
+
precision: number;
|
|
549
|
+
};
|
|
550
|
+
}[];
|
|
551
|
+
requirements: {
|
|
552
|
+
ingredients: {
|
|
553
|
+
amounts: {
|
|
554
|
+
measurement: {
|
|
555
|
+
name: string;
|
|
556
|
+
id: string;
|
|
557
|
+
abbrev: string;
|
|
558
|
+
conversion: {
|
|
559
|
+
amount: number;
|
|
560
|
+
precision: number;
|
|
561
|
+
};
|
|
562
|
+
baseUnitId: string;
|
|
563
|
+
};
|
|
564
|
+
amount: {
|
|
565
|
+
amount: number;
|
|
566
|
+
precision: number;
|
|
567
|
+
};
|
|
568
|
+
outputSkuId: string;
|
|
569
|
+
rateBasis: {
|
|
570
|
+
outputMeasurement: {
|
|
571
|
+
name: string;
|
|
572
|
+
id: string;
|
|
573
|
+
abbrev: string;
|
|
574
|
+
conversion: {
|
|
575
|
+
amount: number;
|
|
576
|
+
precision: number;
|
|
577
|
+
};
|
|
578
|
+
baseUnitId: string;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
}[];
|
|
582
|
+
ingredient: {
|
|
583
|
+
code: string;
|
|
584
|
+
skuId: string;
|
|
585
|
+
name: string;
|
|
586
|
+
baseUnit: {
|
|
587
|
+
name: string;
|
|
588
|
+
id: string;
|
|
589
|
+
abbrev: string;
|
|
590
|
+
conversion: {
|
|
591
|
+
amount: number;
|
|
592
|
+
precision: number;
|
|
593
|
+
};
|
|
594
|
+
baseUnitId: string;
|
|
595
|
+
};
|
|
596
|
+
basePrecision: number;
|
|
597
|
+
};
|
|
598
|
+
}[];
|
|
599
|
+
skippedSkuIds: string[];
|
|
600
|
+
} | null;
|
|
601
|
+
};
|
|
602
|
+
preparation: {
|
|
603
|
+
pendingIssuance?: {
|
|
604
|
+
remark?: string | null | undefined;
|
|
605
|
+
adjustmentId: string;
|
|
606
|
+
items: {
|
|
607
|
+
measurement: {
|
|
608
|
+
name: string;
|
|
609
|
+
id: string;
|
|
610
|
+
abbrev: string;
|
|
611
|
+
conversion: {
|
|
612
|
+
amount: number;
|
|
613
|
+
precision: number;
|
|
614
|
+
};
|
|
615
|
+
baseUnitId: string;
|
|
616
|
+
};
|
|
617
|
+
sku: {
|
|
618
|
+
trackingMeasurement?: string | null | undefined;
|
|
619
|
+
isInactive?: boolean | null | undefined;
|
|
620
|
+
convert?: {
|
|
621
|
+
measurement?: string | null | undefined;
|
|
622
|
+
inventoryBindings?: {
|
|
623
|
+
measurement?: {
|
|
624
|
+
name: string;
|
|
625
|
+
id: string;
|
|
626
|
+
abbrev: string;
|
|
627
|
+
conversion: {
|
|
628
|
+
amount: number;
|
|
629
|
+
precision: number;
|
|
630
|
+
};
|
|
631
|
+
} | null | undefined;
|
|
632
|
+
rules?: Record<string, any> | null | undefined;
|
|
633
|
+
alternatives?: {
|
|
634
|
+
default?: boolean | null | undefined;
|
|
635
|
+
trackingMeasurement?: string | null | undefined;
|
|
636
|
+
priority?: number | null | undefined;
|
|
637
|
+
_id: string;
|
|
638
|
+
}[] | null | undefined;
|
|
639
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
640
|
+
amount: {
|
|
641
|
+
amount: number;
|
|
642
|
+
precision: number;
|
|
643
|
+
};
|
|
644
|
+
id: string;
|
|
645
|
+
}[] | null | undefined;
|
|
646
|
+
} | null | undefined;
|
|
647
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
648
|
+
defaultCost?: {
|
|
649
|
+
measurement?: {
|
|
650
|
+
name: string;
|
|
651
|
+
id: string;
|
|
652
|
+
abbrev: string;
|
|
653
|
+
conversion: {
|
|
654
|
+
amount: number;
|
|
655
|
+
precision: number;
|
|
656
|
+
};
|
|
657
|
+
} | null | undefined;
|
|
658
|
+
costPerUnit: {
|
|
659
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
660
|
+
amount: number;
|
|
661
|
+
precision: number;
|
|
662
|
+
};
|
|
663
|
+
} | null | undefined;
|
|
664
|
+
operationalGroup?: string | null | undefined;
|
|
665
|
+
thresholds?: {
|
|
666
|
+
low: number;
|
|
667
|
+
mid: number;
|
|
668
|
+
} | null | undefined;
|
|
669
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
670
|
+
unit: {
|
|
671
|
+
_id: string;
|
|
672
|
+
name: string;
|
|
673
|
+
abbrev: string;
|
|
674
|
+
precision: number;
|
|
675
|
+
measurements: {
|
|
676
|
+
name: string;
|
|
677
|
+
id: string;
|
|
678
|
+
abbrev: string;
|
|
679
|
+
conversion: {
|
|
680
|
+
amount: number;
|
|
681
|
+
precision: number;
|
|
682
|
+
};
|
|
683
|
+
}[];
|
|
684
|
+
};
|
|
685
|
+
code: string;
|
|
686
|
+
_id: string;
|
|
687
|
+
name: string;
|
|
688
|
+
};
|
|
689
|
+
committedAmount: {
|
|
690
|
+
amount: number;
|
|
691
|
+
precision: number;
|
|
692
|
+
};
|
|
693
|
+
}[];
|
|
694
|
+
skippedSkuIds: string[];
|
|
695
|
+
acknowledgedShortages: {
|
|
696
|
+
skuId: string;
|
|
697
|
+
baseUnit: {
|
|
698
|
+
name: string;
|
|
699
|
+
id: string;
|
|
700
|
+
abbrev: string;
|
|
701
|
+
conversion: {
|
|
702
|
+
amount: number;
|
|
703
|
+
precision: number;
|
|
704
|
+
};
|
|
705
|
+
baseUnitId: string;
|
|
706
|
+
};
|
|
707
|
+
projectedBalance: {
|
|
708
|
+
amount: number;
|
|
709
|
+
precision: number;
|
|
710
|
+
};
|
|
711
|
+
}[];
|
|
712
|
+
movement: {
|
|
713
|
+
sku: {
|
|
714
|
+
trackingMeasurement?: string | null | undefined;
|
|
715
|
+
isInactive?: boolean | null | undefined;
|
|
716
|
+
convert?: {
|
|
717
|
+
measurement?: string | null | undefined;
|
|
718
|
+
inventoryBindings?: {
|
|
719
|
+
measurement?: {
|
|
720
|
+
name: string;
|
|
721
|
+
id: string;
|
|
722
|
+
abbrev: string;
|
|
723
|
+
conversion: {
|
|
724
|
+
amount: number;
|
|
725
|
+
precision: number;
|
|
726
|
+
};
|
|
727
|
+
} | null | undefined;
|
|
728
|
+
rules?: Record<string, any> | null | undefined;
|
|
729
|
+
alternatives?: {
|
|
730
|
+
default?: boolean | null | undefined;
|
|
731
|
+
trackingMeasurement?: string | null | undefined;
|
|
732
|
+
priority?: number | null | undefined;
|
|
733
|
+
_id: string;
|
|
734
|
+
}[] | null | undefined;
|
|
735
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
736
|
+
amount: {
|
|
737
|
+
amount: number;
|
|
738
|
+
precision: number;
|
|
739
|
+
};
|
|
740
|
+
id: string;
|
|
741
|
+
}[] | null | undefined;
|
|
742
|
+
} | null | undefined;
|
|
743
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
744
|
+
defaultCost?: {
|
|
745
|
+
measurement?: {
|
|
746
|
+
name: string;
|
|
747
|
+
id: string;
|
|
748
|
+
abbrev: string;
|
|
749
|
+
conversion: {
|
|
750
|
+
amount: number;
|
|
751
|
+
precision: number;
|
|
752
|
+
};
|
|
753
|
+
} | null | undefined;
|
|
754
|
+
costPerUnit: {
|
|
755
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
756
|
+
amount: number;
|
|
757
|
+
precision: number;
|
|
758
|
+
};
|
|
759
|
+
} | null | undefined;
|
|
760
|
+
operationalGroup?: string | null | undefined;
|
|
761
|
+
thresholds?: {
|
|
762
|
+
low: number;
|
|
763
|
+
mid: number;
|
|
764
|
+
} | null | undefined;
|
|
765
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
766
|
+
unit: {
|
|
767
|
+
_id: string;
|
|
768
|
+
name: string;
|
|
769
|
+
abbrev: string;
|
|
770
|
+
precision: number;
|
|
771
|
+
measurements: {
|
|
772
|
+
name: string;
|
|
773
|
+
id: string;
|
|
774
|
+
abbrev: string;
|
|
775
|
+
conversion: {
|
|
776
|
+
amount: number;
|
|
777
|
+
precision: number;
|
|
778
|
+
};
|
|
779
|
+
}[];
|
|
780
|
+
};
|
|
781
|
+
code: string;
|
|
782
|
+
_id: string;
|
|
783
|
+
name: string;
|
|
784
|
+
};
|
|
785
|
+
amounts: {
|
|
786
|
+
measurement: {
|
|
787
|
+
name: string;
|
|
788
|
+
id: string;
|
|
789
|
+
abbrev: string;
|
|
790
|
+
conversion: {
|
|
791
|
+
amount: number;
|
|
792
|
+
precision: number;
|
|
793
|
+
};
|
|
794
|
+
baseUnitId: string;
|
|
795
|
+
};
|
|
796
|
+
amount: {
|
|
797
|
+
amount: number;
|
|
798
|
+
precision: number;
|
|
799
|
+
};
|
|
800
|
+
outputSkuId: string;
|
|
801
|
+
}[];
|
|
802
|
+
}[];
|
|
803
|
+
claimedAt: string;
|
|
804
|
+
claimedBy: {
|
|
805
|
+
name: string;
|
|
806
|
+
id: string;
|
|
807
|
+
};
|
|
808
|
+
} | null | undefined;
|
|
809
|
+
issuances: {
|
|
810
|
+
remark?: string | null | undefined;
|
|
811
|
+
adjustmentId: string;
|
|
812
|
+
items: {
|
|
813
|
+
measurement: {
|
|
814
|
+
name: string;
|
|
815
|
+
id: string;
|
|
816
|
+
abbrev: string;
|
|
817
|
+
conversion: {
|
|
818
|
+
amount: number;
|
|
819
|
+
precision: number;
|
|
820
|
+
};
|
|
821
|
+
baseUnitId: string;
|
|
822
|
+
};
|
|
823
|
+
sku: {
|
|
824
|
+
trackingMeasurement?: string | null | undefined;
|
|
825
|
+
isInactive?: boolean | null | undefined;
|
|
826
|
+
convert?: {
|
|
827
|
+
measurement?: string | null | undefined;
|
|
828
|
+
inventoryBindings?: {
|
|
829
|
+
measurement?: {
|
|
830
|
+
name: string;
|
|
831
|
+
id: string;
|
|
832
|
+
abbrev: string;
|
|
833
|
+
conversion: {
|
|
834
|
+
amount: number;
|
|
835
|
+
precision: number;
|
|
836
|
+
};
|
|
837
|
+
} | null | undefined;
|
|
838
|
+
rules?: Record<string, any> | null | undefined;
|
|
839
|
+
alternatives?: {
|
|
840
|
+
default?: boolean | null | undefined;
|
|
841
|
+
trackingMeasurement?: string | null | undefined;
|
|
842
|
+
priority?: number | null | undefined;
|
|
843
|
+
_id: string;
|
|
844
|
+
}[] | null | undefined;
|
|
845
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
846
|
+
amount: {
|
|
847
|
+
amount: number;
|
|
848
|
+
precision: number;
|
|
849
|
+
};
|
|
850
|
+
id: string;
|
|
851
|
+
}[] | null | undefined;
|
|
852
|
+
} | null | undefined;
|
|
853
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
854
|
+
defaultCost?: {
|
|
855
|
+
measurement?: {
|
|
856
|
+
name: string;
|
|
857
|
+
id: string;
|
|
858
|
+
abbrev: string;
|
|
859
|
+
conversion: {
|
|
860
|
+
amount: number;
|
|
861
|
+
precision: number;
|
|
862
|
+
};
|
|
863
|
+
} | null | undefined;
|
|
864
|
+
costPerUnit: {
|
|
865
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
866
|
+
amount: number;
|
|
867
|
+
precision: number;
|
|
868
|
+
};
|
|
869
|
+
} | null | undefined;
|
|
870
|
+
operationalGroup?: string | null | undefined;
|
|
871
|
+
thresholds?: {
|
|
872
|
+
low: number;
|
|
873
|
+
mid: number;
|
|
874
|
+
} | null | undefined;
|
|
875
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
876
|
+
unit: {
|
|
877
|
+
_id: string;
|
|
878
|
+
name: string;
|
|
879
|
+
abbrev: string;
|
|
880
|
+
precision: number;
|
|
881
|
+
measurements: {
|
|
882
|
+
name: string;
|
|
883
|
+
id: string;
|
|
884
|
+
abbrev: string;
|
|
885
|
+
conversion: {
|
|
886
|
+
amount: number;
|
|
887
|
+
precision: number;
|
|
888
|
+
};
|
|
889
|
+
}[];
|
|
890
|
+
};
|
|
891
|
+
code: string;
|
|
892
|
+
_id: string;
|
|
893
|
+
name: string;
|
|
894
|
+
};
|
|
895
|
+
committedAmount: {
|
|
896
|
+
amount: number;
|
|
897
|
+
precision: number;
|
|
898
|
+
};
|
|
899
|
+
}[];
|
|
900
|
+
skippedSkuIds: string[];
|
|
901
|
+
issuedAt: string;
|
|
902
|
+
issuedBy: {
|
|
903
|
+
name: string;
|
|
904
|
+
id: string;
|
|
905
|
+
};
|
|
906
|
+
acknowledgedShortages: {
|
|
907
|
+
skuId: string;
|
|
908
|
+
baseUnit: {
|
|
909
|
+
name: string;
|
|
910
|
+
id: string;
|
|
911
|
+
abbrev: string;
|
|
912
|
+
conversion: {
|
|
913
|
+
amount: number;
|
|
914
|
+
precision: number;
|
|
915
|
+
};
|
|
916
|
+
baseUnitId: string;
|
|
917
|
+
};
|
|
918
|
+
projectedBalance: {
|
|
919
|
+
amount: number;
|
|
920
|
+
precision: number;
|
|
921
|
+
};
|
|
922
|
+
}[];
|
|
923
|
+
movement: {
|
|
924
|
+
amounts: {
|
|
925
|
+
measurement: {
|
|
926
|
+
name: string;
|
|
927
|
+
id: string;
|
|
928
|
+
abbrev: string;
|
|
929
|
+
conversion: {
|
|
930
|
+
amount: number;
|
|
931
|
+
precision: number;
|
|
932
|
+
};
|
|
933
|
+
baseUnitId: string;
|
|
934
|
+
};
|
|
935
|
+
amount: {
|
|
936
|
+
amount: number;
|
|
937
|
+
precision: number;
|
|
938
|
+
};
|
|
939
|
+
outputSkuId: string;
|
|
940
|
+
}[];
|
|
941
|
+
ingredient: {
|
|
942
|
+
code: string;
|
|
943
|
+
skuId: string;
|
|
944
|
+
name: string;
|
|
945
|
+
baseUnit: {
|
|
946
|
+
name: string;
|
|
947
|
+
id: string;
|
|
948
|
+
abbrev: string;
|
|
949
|
+
conversion: {
|
|
950
|
+
amount: number;
|
|
951
|
+
precision: number;
|
|
952
|
+
};
|
|
953
|
+
baseUnitId: string;
|
|
954
|
+
};
|
|
955
|
+
basePrecision: number;
|
|
956
|
+
};
|
|
957
|
+
}[];
|
|
958
|
+
}[];
|
|
959
|
+
};
|
|
960
|
+
batches: {
|
|
961
|
+
adjustmentId: string;
|
|
962
|
+
id: string;
|
|
963
|
+
remark: string | null;
|
|
964
|
+
items: {
|
|
965
|
+
measurement: {
|
|
966
|
+
name: string;
|
|
967
|
+
id: string;
|
|
968
|
+
abbrev: string;
|
|
969
|
+
conversion: {
|
|
970
|
+
amount: number;
|
|
971
|
+
precision: number;
|
|
972
|
+
};
|
|
973
|
+
baseUnitId: string;
|
|
974
|
+
};
|
|
975
|
+
skuId: string;
|
|
976
|
+
producedAmount: {
|
|
977
|
+
amount: number;
|
|
978
|
+
precision: number;
|
|
979
|
+
};
|
|
980
|
+
}[];
|
|
981
|
+
operationKey: string;
|
|
982
|
+
stockApplicationStatus: "PENDING" | "APPLIED";
|
|
983
|
+
producedAt: string;
|
|
984
|
+
recordedAt: string;
|
|
985
|
+
recordedBy: {
|
|
986
|
+
name: string;
|
|
987
|
+
id: string;
|
|
988
|
+
};
|
|
989
|
+
wastages: {
|
|
990
|
+
measurement: {
|
|
991
|
+
name: string;
|
|
992
|
+
id: string;
|
|
993
|
+
abbrev: string;
|
|
994
|
+
conversion: {
|
|
995
|
+
amount: number;
|
|
996
|
+
precision: number;
|
|
997
|
+
};
|
|
998
|
+
baseUnitId: string;
|
|
999
|
+
};
|
|
1000
|
+
skuId: string;
|
|
1001
|
+
amount: {
|
|
1002
|
+
amount: number;
|
|
1003
|
+
precision: number;
|
|
1004
|
+
};
|
|
1005
|
+
reason: "OTHER" | "TRIM" | "COOKING" | "SPOILAGE" | "SPILLAGE";
|
|
1006
|
+
remark: string | null;
|
|
1007
|
+
itemSkuId: string;
|
|
1008
|
+
}[];
|
|
1009
|
+
}[];
|
|
1010
|
+
}>) => any) | undefined;
|
|
1011
|
+
"onLoad-more-duplicate-sources"?: (() => any) | undefined;
|
|
1012
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1013
|
+
export default _default;
|
|
1014
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
1015
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
1016
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
1017
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
1018
|
+
} : {
|
|
1019
|
+
type: import('vue').PropType<T[K]>;
|
|
1020
|
+
required: true;
|
|
1021
|
+
};
|
|
1022
|
+
};
|