@feedmepos/mf-inventory-portal 0.0.5
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/README.md +31 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/ApprovalView-CTQdDgGH.js +119 -0
- package/dist/BindingsDialog-DvX_DRsO.js +82 -0
- package/dist/BindingsPicker-CQIGhTCR.js +124 -0
- package/dist/BindingsTable-Da4BLkvc.js +122 -0
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js +97 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js +144 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js +49 -0
- package/dist/IngredientsView-2ZKdzsgI.js +739 -0
- package/dist/IntegrationView-BRWYO3VE.js +1172 -0
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +240 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js +66 -0
- package/dist/PurchaseOrderPrintPreview-CH9gVYDg.js +152 -0
- package/dist/ReceiveRequestView-DQBqc3GF.js +1298 -0
- package/dist/RecipeView-DFG9Wkx-.js +594 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +53 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-DLWMp_I5.js +1733 -0
- package/dist/SupplierView-CZhM2ie3.js +607 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js +1027 -0
- package/dist/UnitView-C3XVSbJY.js +626 -0
- package/dist/WarehouseView-BntzAdz3.js +1139 -0
- package/dist/api/bill.d.ts +1364 -0
- package/dist/api/closing.d.ts +3 -0
- package/dist/api/error.d.ts +31 -0
- package/dist/api/food-market-hub.d.ts +38 -0
- package/dist/api/inventory.d.ts +176 -0
- package/dist/api/purchase-order.d.ts +13 -0
- package/dist/api/stock.d.ts +9 -0
- package/dist/api/supplier.d.ts +7 -0
- package/dist/api/type.d.ts +12 -0
- package/dist/api/warehouse.d.ts +7 -0
- package/dist/app-BzDhmCVx.js +36639 -0
- package/dist/app.d.ts +2 -0
- package/dist/app.js +5 -0
- package/dist/components/ChangeLocationComponent.vue.d.ts +2 -0
- package/dist/components/DeferableLoading.vue.d.ts +19 -0
- package/dist/components/DeferableLoadingProps.d.ts +4 -0
- package/dist/components/DeleteDialog.vue.d.ts +18 -0
- package/dist/components/FmCoordinateInput.vue.d.ts +24 -0
- package/dist/components/FmCoordinateInputProps.d.ts +23 -0
- package/dist/components/FmFilterableSelect.vue.d.ts +25 -0
- package/dist/components/FmFilterableSelectProps.d.ts +28 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +30 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +16 -0
- package/dist/components/FmTableToolbar.vue.d.ts +49 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +12 -0
- package/dist/components/MultiSelectDialogProps.d.ts +7 -0
- package/dist/components/NavigationTab.vue.d.ts +2 -0
- package/dist/components/NumberPrecisionInput.vue.d.ts +16 -0
- package/dist/components/NumberPrecisionInputProps.d.ts +12 -0
- package/dist/components/TableActionableRow.vue.d.ts +40 -0
- package/dist/components/UnitDisplayControl.vue.d.ts +12 -0
- package/dist/components/UnitDisplayControlProp.d.ts +7 -0
- package/dist/components/fm-components.type.d.ts +8 -0
- package/dist/components/form/form-mode.enum.d.ts +5 -0
- package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
- package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
- package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
- package/dist/components/icons/IconSupport.vue.d.ts +2 -0
- package/dist/components/icons/IconTooling.vue.d.ts +2 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +145 -0
- package/dist/components/inventory-binding/InventoryBindingProps.d.ts +11 -0
- package/dist/components/map/CoordinateDialog.vue.d.ts +24 -0
- package/dist/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/components/map/coordinates.d.ts +6 -0
- package/dist/components/map/helper/coords-to-latlong.d.ts +8 -0
- package/dist/components/map/type.d.ts +27 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +7 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialogProps.d.ts +22 -0
- package/dist/components/nested-multiselect/helper/multiselect-utils.d.ts +2 -0
- package/dist/components/row-action.enum.d.ts +13 -0
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +84 -0
- package/dist/components/shell/inventory/binding-ui.test.d.ts +1 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +110 -0
- package/dist/components/shell/inventory/utils.d.ts +5 -0
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +36 -0
- package/dist/components/ui-library/FmSpecialChip.vue.d.ts +79 -0
- package/dist/composable/defineApi.d.ts +18 -0
- package/dist/composable/useBreakpoints.d.ts +7 -0
- package/dist/composable/useIframe.d.ts +37 -0
- package/dist/composable/useSearch.d.ts +5 -0
- package/dist/composable/useTabStorage.d.ts +2 -0
- package/dist/composable/useToast.d.ts +36 -0
- package/dist/core.d.ts +12 -0
- package/dist/cypress/component/FmFilterableSelect.cy.d.ts +1 -0
- package/dist/cypress/component/FmNestedMultiselectDialog.cy.d.ts +1 -0
- package/dist/cypress/component/UnitDisplayControl.cy.d.ts +1 -0
- package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +2 -0
- package/dist/cypress/e2e/views/MenuV3.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/MenuV4.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/Root.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/StockView.spec.cy.d.ts +0 -0
- package/dist/cypress/support/commands.d.ts +0 -0
- package/dist/cypress/support/component.d.ts +10 -0
- package/dist/cypress/support/e2e.d.ts +1 -0
- package/dist/date2-C7HiAWQG.js +209 -0
- package/dist/dayjs.min-Db57WhI9.js +282 -0
- package/dist/decimal-D3a0BwVj.js +98 -0
- package/dist/empty-placeholder-wf6-BWE8.js +4 -0
- package/dist/extensions/array.d.ts +15 -0
- package/dist/favicon.ico +0 -0
- package/dist/fuzzy-BW8ZYsDG.js +41 -0
- package/dist/helper/address.d.ts +2 -0
- package/dist/helper/component.d.ts +4 -0
- package/dist/helper/core/country/codes.d.ts +255 -0
- package/dist/helper/core/country/utils.d.ts +8 -0
- package/dist/helper/core/id-to-date.d.ts +1 -0
- package/dist/helper/core/store/type.d.ts +2 -0
- package/dist/helper/country.d.ts +260 -0
- package/dist/helper/date.spec.d.ts +1 -0
- package/dist/helper/date2.d.ts +20 -0
- package/dist/helper/decimal.d.ts +15 -0
- package/dist/helper/decimal.spec.d.ts +1 -0
- package/dist/helper/export.d.ts +12 -0
- package/dist/helper/form.d.ts +5 -0
- package/dist/helper/inventory.d.ts +1 -0
- package/dist/helper/iteration.d.ts +15 -0
- package/dist/helper/number.d.ts +27 -0
- package/dist/helper/number.spec.d.ts +1 -0
- package/dist/helper/object.d.ts +36 -0
- package/dist/helper/object.spec.d.ts +1 -0
- package/dist/helper/rules.d.ts +22 -0
- package/dist/helper/search.d.ts +21 -0
- package/dist/helper/semver.d.ts +20 -0
- package/dist/helper/semver.spec.d.ts +1 -0
- package/dist/helper/type.d.ts +8 -0
- package/dist/helper/url.d.ts +7 -0
- package/dist/helper/validate.d.ts +70 -0
- package/dist/helper/xlsx.util.d.ts +8 -0
- package/dist/helper/zod.d.ts +21 -0
- package/dist/id-to-date-ReZIpUDw.js +30 -0
- package/dist/index-D46it8Rk.js +12956 -0
- package/dist/init-date-range-M3Q03-Fd.js +21 -0
- package/dist/is-linked-ingredient-error-C6AghEwR.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +2 -0
- package/dist/layout/SingleColumnLayout.vue.d.ts +55 -0
- package/dist/layout/components/NavigationButton.vue.d.ts +22 -0
- package/dist/layout/layout-routes.d.ts +7 -0
- package/dist/layout/type.d.ts +17 -0
- package/dist/layout-BvUjg6JS.js +151 -0
- package/dist/locales/en/common.json +7 -0
- package/dist/main.d.ts +2 -0
- package/dist/router/index.d.ts +5 -0
- package/dist/router/name.d.ts +17 -0
- package/dist/router/shared.d.ts +11 -0
- package/dist/row-action.enum-BwQbURNh.js +28 -0
- package/dist/rules-DHfAMDW3.js +86 -0
- package/dist/stores/api.d.ts +10 -0
- package/dist/stores/env.d.ts +5 -0
- package/dist/stores/feature.d.ts +9 -0
- package/dist/stores/googlemap.d.ts +37 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +8 -0
- package/dist/stores/inventory.d.ts +1983 -0
- package/dist/stores/layout.d.ts +5 -0
- package/dist/stores/location.d.ts +1898 -0
- package/dist/stores/route.d.ts +12 -0
- package/dist/stores/stock.d.ts +58 -0
- package/dist/stores/supplier.d.ts +30 -0
- package/dist/stores/warehouse.d.ts +88 -0
- package/dist/style.css +1 -0
- package/dist/supplier-DTiiOLtg.js +65 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/use-inventory-binding-dialog-B6JO7050.js +109 -0
- package/dist/views/InventoryView.vue.d.ts +2 -0
- package/dist/views/SelectBussinessDialog.vue.d.ts +2 -0
- package/dist/views/approval/ApprovalView.vue.d.ts +2 -0
- package/dist/views/dev/ComponentPreview.vue.d.ts +2 -0
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +2 -0
- package/dist/views/dev/components/DateRange.vue.d.ts +2 -0
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +2 -0
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +2 -0
- package/dist/views/dev/components/LayoutDev.vue.d.ts +2 -0
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +2 -0
- package/dist/views/dev/components/NestedSelection.vue.d.ts +2 -0
- package/dist/views/dev/components/NumberStepper.vue.d.ts +2 -0
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +2 -0
- package/dist/views/dev/helpers/debug.d.ts +22 -0
- package/dist/views/dev/helpers/nested-options.d.ts +60 -0
- package/dist/views/dev/helpers/pinia-test.d.ts +9 -0
- package/dist/views/home/HomeView.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +2 -0
- package/dist/views/ingredients/IngredientsView.vue.d.ts +2 -0
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +30 -0
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +54 -0
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +8 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +12 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItemProps.d.ts +5 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +31 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +9 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +104 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +10 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +88 -0
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/components/inventory-binding/util.d.ts +7 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +46 -0
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +7 -0
- package/dist/views/integration/IntegrationView.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +379 -0
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +303 -0
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +277 -0
- package/dist/views/integration/components/ApplyProductDialogProps.d.ts +17 -0
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +277 -0
- package/dist/views/integration/helper/menu.d.ts +36 -0
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +12 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +12 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +10 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +369 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1202 -0
- package/dist/views/receive-request/constants/dialog-templates.d.ts +8 -0
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
- package/dist/views/receive-request/constants/purchase-row-actions.d.ts +2 -0
- package/dist/views/receive-request/helper/format-time-from-id.d.ts +2 -0
- package/dist/views/receive-request/helper/format-unit-display.d.ts +6 -0
- package/dist/views/receive-request/helper/get-received-amount.d.ts +2 -0
- package/dist/views/receive-request/helper/init-date-range.d.ts +8 -0
- package/dist/views/receive-request/helper/print-po.d.ts +2 -0
- package/dist/views/receive-request/helper/status-to-background.d.ts +2 -0
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +47 -0
- package/dist/views/recipe/RecipeView.vue.d.ts +2 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +31 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialogProps.d.ts +9 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +62 -0
- package/dist/views/recipe/components/recipe-form/RecipeFormProps.d.ts +10 -0
- package/dist/views/recipe/composables/use-recipe-form.d.ts +9 -0
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/views/recipe/helper/export-recipe.d.ts +1 -0
- package/dist/views/stock/StockView.vue.d.ts +2 -0
- package/dist/views/stock/components/StockHistory.vue.d.ts +17 -0
- package/dist/views/stock/components/StockHistoryProps.d.ts +7 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +712 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialogProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +164 -0
- package/dist/views/stock/components/dialog/AdjustedItemFormProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialogProps.d.ts +9 -0
- package/dist/views/stock/components/dialog/constant/adjustment-type-options.d.ts +7 -0
- package/dist/views/stock/components/dialog/helper/adjust.d.ts +3 -0
- package/dist/views/stock/components/dialog/helper/form-adjust.d.ts +10 -0
- package/dist/views/stock/composables/use-stock-table.d.ts +12 -0
- package/dist/views/stock/helper/compute-summary-total-test.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.spec.d.ts +1 -0
- package/dist/views/stock/helper/format-date-from-id.d.ts +2 -0
- package/dist/views/stock/helper/on-click-export-excel.d.ts +9 -0
- package/dist/views/stock/helper/stock-row-action.d.ts +13 -0
- package/dist/views/stock/type.d.ts +9 -0
- package/dist/views/supplier/SupplierView.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +22 -0
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +10 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +58 -0
- package/dist/views/supplier/components/SupplierFormProps.d.ts +8 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +22 -0
- package/dist/views/unit/UnitView.vue.d.ts +2 -0
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +31 -0
- package/dist/views/unit/components/unit-dialog/UnitDialogProps.d.ts +9 -0
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +50 -0
- package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +10 -0
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +43 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +12 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedByProps.d.ts +3 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -0
- package/dist/views/unit/composables/use-unit-table.d.ts +19 -0
- package/dist/views/unit/type.d.ts +2 -0
- package/dist/views/warehouse/WarehouseView.vue.d.ts +2 -0
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +22 -0
- package/dist/views/warehouse/components/WarehouseDialogProps.d.ts +10 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +174 -0
- package/dist/views/warehouse/components/WarehouseFormProps.d.ts +8 -0
- package/dist/views/warehouse/composables/use-warehouse-table.d.ts +12 -0
- package/dist/xlsx-BljO4Lx2.js +15510 -0
- package/package.json +93 -0
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { defineComponent as Q, computed as _, resolveComponent as g, openBlock as s, createElementBlock as V, createVNode as a, unref as u, Fragment as T, renderList as L, createBlock as C, withCtx as h, createElementVNode as m, createTextVNode as z, toDisplayString as $, createCommentVNode as U } from "vue";
|
|
2
|
+
import { u as W } from "./app-BzDhmCVx.js";
|
|
3
|
+
import { u as X, g as Y } from "./use-inventory-binding-dialog-B6JO7050.js";
|
|
4
|
+
import { a as S, t as Z } from "./date2-C7HiAWQG.js";
|
|
5
|
+
import { A as ee, b as ne, M as N, a as le } from "./rules-DHfAMDW3.js";
|
|
6
|
+
import "./index-D46it8Rk.js";
|
|
7
|
+
function oe(A) {
|
|
8
|
+
return exports.getInvalidSkuAndRecipe(A);
|
|
9
|
+
}
|
|
10
|
+
const ie = { class: "flex flex-col xs:gap-8 gap-4" }, te = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 border-b py-12 px-16" }, " Recipe ", -1), de = { key: 0 }, ae = { class: "xs:col-span-3" }, se = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 border-b py-12 px-16" }, " Ingredients ", -1), ue = { key: 1 }, re = { class: "flex flex-col gap-4" }, me = { class: "grid grid-cols-[auto_100px_100px_48px] xs:grid-cols-[auto_80px_120px_48px] gap-8 px-8 items-center" }, ce = { class: "xs:col-span-3" }, ke = /* @__PURE__ */ Q({
|
|
11
|
+
__name: "InventoryBindingForm",
|
|
12
|
+
props: {
|
|
13
|
+
id: {},
|
|
14
|
+
modelValue: { default: () => [] },
|
|
15
|
+
excludeBindingId: {},
|
|
16
|
+
iframeMode: { type: Boolean },
|
|
17
|
+
disabled: { type: Boolean }
|
|
18
|
+
},
|
|
19
|
+
emits: ["update:modelValue", "click:pick-inventory-bindings"],
|
|
20
|
+
setup(A, { emit: j }) {
|
|
21
|
+
const x = W(), D = _(() => x.inventory.recipe ?? []), F = _(() => x.inventory.sku ?? []), r = A, c = j, I = _(
|
|
22
|
+
() => oe({
|
|
23
|
+
id: r.id ?? "",
|
|
24
|
+
skus: x.skus,
|
|
25
|
+
recipes: x.recipes
|
|
26
|
+
})
|
|
27
|
+
), y = _(() => r.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: G, promptRecipesBinding: K } = X();
|
|
28
|
+
async function O() {
|
|
29
|
+
if (r.iframeMode) {
|
|
30
|
+
c("click:pick-inventory-bindings", "RECIPE");
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
K(
|
|
34
|
+
r.modelValue,
|
|
35
|
+
(e) => c("update:modelValue", e),
|
|
36
|
+
I.value.recipes
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
const k = _(() => r.modelValue.filter((e) => e.type === "SKU") ?? []);
|
|
40
|
+
async function q() {
|
|
41
|
+
if (r.iframeMode) {
|
|
42
|
+
c("click:pick-inventory-bindings", "SKU");
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
G(
|
|
46
|
+
r.modelValue,
|
|
47
|
+
(e) => c("update:modelValue", e),
|
|
48
|
+
r.excludeBindingId,
|
|
49
|
+
I.value.skus
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
function R(e, d, i) {
|
|
53
|
+
const t = +d;
|
|
54
|
+
let l = i;
|
|
55
|
+
d.length > 0 && isFinite(t) ? l = i.map((o) => (o.id !== e || (o.amount = Z(t)), o)) : l = i.map((o) => (o.id !== e || (o.amount = { amount: 0, precision: 0 }), o)), c("update:modelValue", l);
|
|
56
|
+
}
|
|
57
|
+
function w(e) {
|
|
58
|
+
const d = F.value.find((i) => i._id === e);
|
|
59
|
+
return d ? Y(d.unit, !0) : [];
|
|
60
|
+
}
|
|
61
|
+
function H(e, d) {
|
|
62
|
+
const i = w(e), t = i.find((l) => l.value === d) ?? i.find((l) => l.value === null);
|
|
63
|
+
return t ? {
|
|
64
|
+
...t,
|
|
65
|
+
label: t.abbrev
|
|
66
|
+
} : null;
|
|
67
|
+
}
|
|
68
|
+
function J(e, d, i) {
|
|
69
|
+
let t;
|
|
70
|
+
if (d === null)
|
|
71
|
+
t = i.map((l) => (l.id !== e || (l.measurement = null), l)) ?? [];
|
|
72
|
+
else {
|
|
73
|
+
const l = F.value.find((o) => o._id === e);
|
|
74
|
+
t = i.map((o) => {
|
|
75
|
+
var p, B;
|
|
76
|
+
return o.id !== e || (o.measurement = (B = (p = l == null ? void 0 : l.unit) == null ? void 0 : p.measurements) == null ? void 0 : B.find((n) => n.id === d)), o;
|
|
77
|
+
}) ?? [];
|
|
78
|
+
}
|
|
79
|
+
c("update:modelValue", t);
|
|
80
|
+
}
|
|
81
|
+
function M(e, d) {
|
|
82
|
+
const i = d.filter((t) => t.id !== e);
|
|
83
|
+
c("update:modelValue", i);
|
|
84
|
+
}
|
|
85
|
+
return (e, d) => {
|
|
86
|
+
const i = g("FmFormGroup"), t = g("FmIcon"), l = g("FmTooltip"), o = g("FmTextField"), p = g("FmButton"), B = g("FmSelect");
|
|
87
|
+
return s(), V("div", ie, [
|
|
88
|
+
a(i, {
|
|
89
|
+
disabled: e.disabled,
|
|
90
|
+
"model-value": e.modelValue,
|
|
91
|
+
rules: e.iframeMode ? void 0 : [u(ee)(1, "Must have at least one inventory binding")]
|
|
92
|
+
}, null, 8, ["disabled", "model-value", "rules"]),
|
|
93
|
+
te,
|
|
94
|
+
y.value.length ? (s(), V("div", de, [
|
|
95
|
+
(s(!0), V(T, null, L(y.value, (n) => (s(), C(i, {
|
|
96
|
+
key: n.id,
|
|
97
|
+
disabled: e.disabled,
|
|
98
|
+
class: "grid grid-cols-3 gap-8 px-8 items-center",
|
|
99
|
+
style: { "grid-template-columns": "auto 164px 48px" },
|
|
100
|
+
modelValue: +u(S)(n.amount ?? { amount: 1, precision: 0 }),
|
|
101
|
+
rules: [u(ne)(0), u(N)(0)]
|
|
102
|
+
}, {
|
|
103
|
+
default: h(() => {
|
|
104
|
+
var v;
|
|
105
|
+
return [
|
|
106
|
+
m("div", ae, [
|
|
107
|
+
z($((v = D.value.find((f) => f._id === n.id)) == null ? void 0 : v.name) + " ", 1),
|
|
108
|
+
I.value.recipes.includes(n.id) ? (s(), C(l, {
|
|
109
|
+
key: 0,
|
|
110
|
+
variant: "plain",
|
|
111
|
+
placement: "bottom",
|
|
112
|
+
content: "It is invalid, please verify or remove it.",
|
|
113
|
+
"hide-arrow": !0,
|
|
114
|
+
"z-index": 50
|
|
115
|
+
}, {
|
|
116
|
+
default: h(() => [
|
|
117
|
+
a(t, {
|
|
118
|
+
name: "error",
|
|
119
|
+
size: "sm",
|
|
120
|
+
color: "#ff3b30"
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})) : U("", !0)
|
|
125
|
+
]),
|
|
126
|
+
a(o, {
|
|
127
|
+
class: "xs:col-span-2",
|
|
128
|
+
disabled: e.disabled,
|
|
129
|
+
modelValue: +u(S)(n.amount ?? { amount: 1, precision: 0 }),
|
|
130
|
+
"onUpdate:modelValue": (f) => R(n.id, f, e.modelValue)
|
|
131
|
+
}, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"]),
|
|
132
|
+
a(p, {
|
|
133
|
+
disabled: e.disabled,
|
|
134
|
+
type: "button",
|
|
135
|
+
variant: "plain",
|
|
136
|
+
icon: "delete",
|
|
137
|
+
"icon-color": "#000000",
|
|
138
|
+
onClick: (f) => M(n.id, e.modelValue)
|
|
139
|
+
}, null, 8, ["disabled", "onClick"])
|
|
140
|
+
];
|
|
141
|
+
}),
|
|
142
|
+
_: 2
|
|
143
|
+
}, 1032, ["disabled", "modelValue", "rules"]))), 128))
|
|
144
|
+
])) : U("", !0),
|
|
145
|
+
m("div", null, [
|
|
146
|
+
a(p, {
|
|
147
|
+
disabled: e.disabled,
|
|
148
|
+
label: y.value.length === 1 ? "1 recipe linked" : y.value.length ? `${y.value.length} recipes linked` : "Link recipes",
|
|
149
|
+
variant: "plain",
|
|
150
|
+
icon: "link",
|
|
151
|
+
onClick: O
|
|
152
|
+
}, null, 8, ["disabled", "label"])
|
|
153
|
+
]),
|
|
154
|
+
se,
|
|
155
|
+
k.value.length ? (s(), V("div", ue, [
|
|
156
|
+
m("div", re, [
|
|
157
|
+
(s(!0), V(T, null, L(k.value, (n) => (s(), C(i, {
|
|
158
|
+
key: n.id,
|
|
159
|
+
disabled: e.disabled,
|
|
160
|
+
modelValue: +u(S)(n.amount ?? { amount: 1, precision: 0 }),
|
|
161
|
+
rules: [
|
|
162
|
+
u(le)(
|
|
163
|
+
F.value.find((v) => v._id === n.id).unit,
|
|
164
|
+
n.measurement
|
|
165
|
+
),
|
|
166
|
+
u(N)(0)
|
|
167
|
+
]
|
|
168
|
+
}, {
|
|
169
|
+
default: h(({ invalid: v }) => {
|
|
170
|
+
var f, E, P;
|
|
171
|
+
return [
|
|
172
|
+
m("div", me, [
|
|
173
|
+
m("div", ce, [
|
|
174
|
+
z($((f = F.value.find((b) => b._id === n.id)) == null ? void 0 : f.name) + " ", 1),
|
|
175
|
+
I.value.skus.includes(n.id) ? (s(), C(l, {
|
|
176
|
+
key: 0,
|
|
177
|
+
variant: "plain",
|
|
178
|
+
placement: "bottom",
|
|
179
|
+
content: "It is invalid, please verify or remove it.",
|
|
180
|
+
"hide-arrow": !0,
|
|
181
|
+
"z-index": 50
|
|
182
|
+
}, {
|
|
183
|
+
default: h(() => [
|
|
184
|
+
a(t, {
|
|
185
|
+
name: "error",
|
|
186
|
+
size: "sm",
|
|
187
|
+
color: "#ff3b30"
|
|
188
|
+
})
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})) : U("", !0)
|
|
192
|
+
]),
|
|
193
|
+
a(o, {
|
|
194
|
+
class: "xs:col-span-2",
|
|
195
|
+
disabled: e.disabled,
|
|
196
|
+
modelValue: +u(S)(n.amount ?? { amount: 1, precision: 0 }),
|
|
197
|
+
"onUpdate:modelValue": (b) => R(n.id, b, e.modelValue),
|
|
198
|
+
invalid: v
|
|
199
|
+
}, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"]),
|
|
200
|
+
a(B, {
|
|
201
|
+
disabled: e.disabled,
|
|
202
|
+
class: "translate-y-[2px]",
|
|
203
|
+
items: w(n.id),
|
|
204
|
+
"model-value": (P = H(n.id, (E = n.measurement) == null ? void 0 : E.id)) == null ? void 0 : P.value,
|
|
205
|
+
"onUpdate:modelValue": (b) => J(n.id, b, e.modelValue),
|
|
206
|
+
invalid: v
|
|
207
|
+
}, {
|
|
208
|
+
"helper-text": h(() => []),
|
|
209
|
+
_: 2
|
|
210
|
+
}, 1032, ["disabled", "items", "model-value", "onUpdate:modelValue", "invalid"]),
|
|
211
|
+
a(p, {
|
|
212
|
+
disabled: e.disabled,
|
|
213
|
+
type: "button",
|
|
214
|
+
variant: "tertiary",
|
|
215
|
+
icon: "delete",
|
|
216
|
+
onClick: (b) => M(n.id, e.modelValue)
|
|
217
|
+
}, null, 8, ["disabled", "onClick"])
|
|
218
|
+
])
|
|
219
|
+
];
|
|
220
|
+
}),
|
|
221
|
+
_: 2
|
|
222
|
+
}, 1032, ["disabled", "modelValue", "rules"]))), 128))
|
|
223
|
+
])
|
|
224
|
+
])) : U("", !0),
|
|
225
|
+
m("div", null, [
|
|
226
|
+
a(p, {
|
|
227
|
+
disabled: e.disabled,
|
|
228
|
+
label: k.value.length === 1 ? "1 ingredient linked" : k.value.length ? `${k.value.length} ingredients linked` : "Link ingredients",
|
|
229
|
+
variant: "plain",
|
|
230
|
+
icon: "link",
|
|
231
|
+
onClick: q
|
|
232
|
+
}, null, 8, ["disabled", "label"])
|
|
233
|
+
])
|
|
234
|
+
]);
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
export {
|
|
239
|
+
ke as _
|
|
240
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
+
import { t as d } from "./date2-C7HiAWQG.js";
|
|
3
|
+
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
|
+
__name: "NumberPrecisionInput",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: {},
|
|
7
|
+
label: {},
|
|
8
|
+
helperText: {},
|
|
9
|
+
step: {},
|
|
10
|
+
rules: {},
|
|
11
|
+
disabled: { type: Boolean }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(i, { emit: m }) {
|
|
15
|
+
const n = i, r = m, p = V(() => d(n.step ?? 1).precision), o = w(n.modelValue.toString());
|
|
16
|
+
h([() => o.value], ([e]) => {
|
|
17
|
+
e === "-" || e === "." ? r("update:modelValue", 0) : r("update:modelValue", +e);
|
|
18
|
+
});
|
|
19
|
+
const c = (e) => {
|
|
20
|
+
if (e.ctrlKey || e.altKey || e.metaKey || ["Backspace", "Tab", "Enter", "ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(
|
|
21
|
+
e.key
|
|
22
|
+
))
|
|
23
|
+
return;
|
|
24
|
+
const t = e.currentTarget, l = +`${t.value}${e.key}`;
|
|
25
|
+
if (isFinite(l)) {
|
|
26
|
+
d(l).precision > p.value && e.preventDefault();
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
t.value.length === 0 && (e.key === "-" || e.key === ".") || e.preventDefault();
|
|
30
|
+
};
|
|
31
|
+
return (e, t) => {
|
|
32
|
+
const l = u("FmField"), a = u("FmFormGroup");
|
|
33
|
+
return F(), A(a, {
|
|
34
|
+
disabled: e.disabled,
|
|
35
|
+
modelValue: e.modelValue,
|
|
36
|
+
rules: e.rules,
|
|
37
|
+
"helper-text": e.helperText,
|
|
38
|
+
label: e.label
|
|
39
|
+
}, {
|
|
40
|
+
default: s(({ invalid: f }) => [
|
|
41
|
+
g(l, { invalid: f }, {
|
|
42
|
+
default: s(() => [
|
|
43
|
+
k("input", {
|
|
44
|
+
value: o.value,
|
|
45
|
+
onInput: t[0] || (t[0] = (b) => o.value = b.target.value),
|
|
46
|
+
onKeydown: c,
|
|
47
|
+
inputmode: "numeric",
|
|
48
|
+
class: K({
|
|
49
|
+
"fm-text-field--input fm-typo-en-body-lg-400": !0,
|
|
50
|
+
"text-fm-color-typo-primary": !e.disabled,
|
|
51
|
+
"text-fm-color-typo-disabled": e.disabled
|
|
52
|
+
}),
|
|
53
|
+
disabled: e.disabled
|
|
54
|
+
}, null, 42, _)
|
|
55
|
+
]),
|
|
56
|
+
_: 2
|
|
57
|
+
}, 1032, ["invalid"])
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["disabled", "modelValue", "rules", "helper-text", "label"]);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
export {
|
|
65
|
+
D as _
|
|
66
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { defineComponent as x, computed as f, ref as m, onMounted as g, openBlock as r, createElementBlock as o, createElementVNode as e, toDisplayString as t, normalizeStyle as w, createTextVNode as i, Fragment as u, createCommentVNode as h, renderList as _, normalizeClass as k, pushScopeId as S, popScopeId as C } from "vue";
|
|
2
|
+
import { useRoute as P } from "vue-router";
|
|
3
|
+
import { n as v, _ as R } from "./app-BzDhmCVx.js";
|
|
4
|
+
const n = (d) => (S("data-v-54384fc1"), d = d(), C(), d), A = { class: "purchase-box" }, N = { valign: "bottom" }, E = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "title" }, "Inventory Receive Note", -1)), O = { class: "text-right" }, D = { class: "header" }, q = /* @__PURE__ */ n(() => /* @__PURE__ */ e("hr", null, null, -1)), I = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "header" }, "Supplier", -1)), T = { class: "sub-header" }, F = { class: "caption" }, L = { class: "address" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), V = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), z = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), B = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), H = { class: "text-right" }, M = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "header" }, "Delivery To", -1)), J = { class: "sub-header" }, Q = { class: "address" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), G = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), K = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), W = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), X = { class: "purchase-body" }, Y = /* @__PURE__ */ n(() => /* @__PURE__ */ e("thead", { class: "item-header" }, [
|
|
5
|
+
/* @__PURE__ */ e("tr", null, [
|
|
6
|
+
/* @__PURE__ */ e("th", {
|
|
7
|
+
class: "text-left",
|
|
8
|
+
style: { width: "20%" }
|
|
9
|
+
}, "Code"),
|
|
10
|
+
/* @__PURE__ */ e("th", { class: "text-left" }, "Description"),
|
|
11
|
+
/* @__PURE__ */ e("th", {
|
|
12
|
+
class: "text-right",
|
|
13
|
+
style: { width: "10%" }
|
|
14
|
+
}, "Quantity"),
|
|
15
|
+
/* @__PURE__ */ e("th", {
|
|
16
|
+
class: "text-right",
|
|
17
|
+
style: { width: "20%" }
|
|
18
|
+
}, "Unit")
|
|
19
|
+
])
|
|
20
|
+
], -1)), Z = { class: "text-left" }, $ = { class: "text-left" }, ee = { class: "text-right" }, te = /* @__PURE__ */ n(() => /* @__PURE__ */ e("hr", null, null, -1)), se = { style: { "padding-top": "30px" } }, le = /* @__PURE__ */ n(() => /* @__PURE__ */ e("hr", null, null, -1)), ne = { valign: "bottom" }, re = { class: "header" }, oe = { class: "caption" }, ie = {
|
|
21
|
+
class: "text-left",
|
|
22
|
+
style: { width: "20%" }
|
|
23
|
+
}, ue = { class: "text-left" }, de = {
|
|
24
|
+
class: "text-right",
|
|
25
|
+
style: { width: "15%" }
|
|
26
|
+
}, ae = {
|
|
27
|
+
class: "text-right",
|
|
28
|
+
style: { width: "15%" }
|
|
29
|
+
}, ce = /* @__PURE__ */ x({
|
|
30
|
+
__name: "PurchaseOrderPrintPreview",
|
|
31
|
+
setup(d) {
|
|
32
|
+
const p = f(() => {
|
|
33
|
+
switch (s.value.status) {
|
|
34
|
+
case v.enum.CANCEL:
|
|
35
|
+
return "#FF0000";
|
|
36
|
+
case v.enum.COMPLETE:
|
|
37
|
+
return "#00D065";
|
|
38
|
+
default:
|
|
39
|
+
return "#7A7A7A";
|
|
40
|
+
}
|
|
41
|
+
}), y = P(), s = m(JSON.parse(y.query.data));
|
|
42
|
+
return g(() => window.print()), (_e, he) => (r(), o("div", A, [
|
|
43
|
+
e("table", null, [
|
|
44
|
+
e("tr", N, [
|
|
45
|
+
e("td", null, [
|
|
46
|
+
E,
|
|
47
|
+
e("div", null, "Ref: " + t(s.value.ref), 1),
|
|
48
|
+
e("div", {
|
|
49
|
+
style: w({ color: p.value })
|
|
50
|
+
}, t(s.value.status), 5)
|
|
51
|
+
]),
|
|
52
|
+
e("td", O, [
|
|
53
|
+
e("div", D, "PO #" + t(s.value.orderNumber), 1),
|
|
54
|
+
e("div", null, t(s.value.createdAt), 1)
|
|
55
|
+
])
|
|
56
|
+
])
|
|
57
|
+
]),
|
|
58
|
+
q,
|
|
59
|
+
e("table", null, [
|
|
60
|
+
e("tr", null, [
|
|
61
|
+
e("td", null, [
|
|
62
|
+
I,
|
|
63
|
+
e("div", T, t(s.value.supplier.name), 1),
|
|
64
|
+
e("div", F, t(s.value.supplier.registrationNumber), 1),
|
|
65
|
+
e("div", L, [
|
|
66
|
+
i(t(s.value.supplier.line1), 1),
|
|
67
|
+
U,
|
|
68
|
+
s.value.supplier.line2 ? (r(), o(u, { key: 0 }, [
|
|
69
|
+
i(t(s.value.supplier.line2), 1),
|
|
70
|
+
V
|
|
71
|
+
], 64)) : h("", !0),
|
|
72
|
+
i(" " + t(s.value.supplier.postcode) + " " + t(s.value.supplier.city) + " ", 1),
|
|
73
|
+
z,
|
|
74
|
+
i(" " + t(s.value.supplier.state) + " " + t(s.value.supplier.country) + " ", 1),
|
|
75
|
+
B
|
|
76
|
+
])
|
|
77
|
+
]),
|
|
78
|
+
e("td", H, [
|
|
79
|
+
M,
|
|
80
|
+
e("div", J, t(s.value.buyer.name), 1),
|
|
81
|
+
e("div", Q, [
|
|
82
|
+
i(t(s.value.buyer.line1), 1),
|
|
83
|
+
j,
|
|
84
|
+
s.value.buyer.line2 ? (r(), o(u, { key: 0 }, [
|
|
85
|
+
i(t(s.value.buyer.line2), 1),
|
|
86
|
+
G
|
|
87
|
+
], 64)) : h("", !0),
|
|
88
|
+
i(" " + t(s.value.buyer.postcode) + " " + t(s.value.buyer.city) + " ", 1),
|
|
89
|
+
K,
|
|
90
|
+
i(" " + t(s.value.buyer.state) + " " + t(s.value.buyer.country) + " ", 1),
|
|
91
|
+
W
|
|
92
|
+
])
|
|
93
|
+
])
|
|
94
|
+
])
|
|
95
|
+
]),
|
|
96
|
+
e("div", X, [
|
|
97
|
+
e("table", null, [
|
|
98
|
+
Y,
|
|
99
|
+
e("tbody", null, [
|
|
100
|
+
(r(!0), o(u, null, _(s.value.items, (l, c) => (r(), o("tr", { key: c }, [
|
|
101
|
+
e("td", Z, t(l.code), 1),
|
|
102
|
+
e("td", $, t(l.description), 1),
|
|
103
|
+
e("td", {
|
|
104
|
+
class: k(["text-right", {
|
|
105
|
+
"text-green-5": l.received == l.quantity,
|
|
106
|
+
"text-danger": !l.received,
|
|
107
|
+
"text-warning": l.received != l.quantity
|
|
108
|
+
}])
|
|
109
|
+
}, t(l.received + "/" + l.quantity), 3),
|
|
110
|
+
e("td", ee, t(l.unit), 1)
|
|
111
|
+
]))), 128))
|
|
112
|
+
])
|
|
113
|
+
])
|
|
114
|
+
]),
|
|
115
|
+
te,
|
|
116
|
+
e("div", null, "Remark: " + t(s.value.remark), 1),
|
|
117
|
+
e("div", se, [
|
|
118
|
+
le,
|
|
119
|
+
i(" Delivery History: "),
|
|
120
|
+
(r(!0), o(u, null, _(s.value.deliveryOrders, (l, c) => (r(), o("div", {
|
|
121
|
+
key: c,
|
|
122
|
+
style: { padding: "10px 30px" }
|
|
123
|
+
}, [
|
|
124
|
+
e("table", null, [
|
|
125
|
+
e("tr", ne, [
|
|
126
|
+
e("td", null, [
|
|
127
|
+
e("div", re, "Ref: " + t(l.ref), 1),
|
|
128
|
+
e("div", oe, t(l.createdAt), 1),
|
|
129
|
+
e("div", null, "Remark: " + t(l.remark), 1)
|
|
130
|
+
])
|
|
131
|
+
])
|
|
132
|
+
]),
|
|
133
|
+
e("div", null, [
|
|
134
|
+
e("table", null, [
|
|
135
|
+
e("tbody", null, [
|
|
136
|
+
(r(!0), o(u, null, _(l.items, (a, b) => (r(), o("tr", { key: b }, [
|
|
137
|
+
e("td", ie, t(a.code), 1),
|
|
138
|
+
e("td", ue, t(a.description), 1),
|
|
139
|
+
e("td", de, t(a.quantity), 1),
|
|
140
|
+
e("td", ae, t(a.unit), 1)
|
|
141
|
+
]))), 128))
|
|
142
|
+
])
|
|
143
|
+
])
|
|
144
|
+
])
|
|
145
|
+
]))), 128))
|
|
146
|
+
])
|
|
147
|
+
]));
|
|
148
|
+
}
|
|
149
|
+
}), be = /* @__PURE__ */ R(ce, [["__scopeId", "data-v-54384fc1"]]);
|
|
150
|
+
export {
|
|
151
|
+
be as default
|
|
152
|
+
};
|