@feedmepos/mf-inventory-portal 0.0.19-dev.9 → 0.0.20-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.ts +1 -1
- package/dist/{ApprovalView-Bcxk6B7K.js → ApprovalView-CF-RhtHH.js} +5 -5
- package/dist/{BindingsDialog-XDkcjW_c.js → BindingsDialog-0_fCmf7t.js} +26 -26
- package/dist/{BindingsPicker-CgbiqX72.js → BindingsPicker-CT-56t-W.js} +17 -17
- package/dist/BindingsTable-DEftAnTN.js +120 -0
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js +308 -0
- package/dist/IngredientsView-Au6oRwF2.js +1663 -0
- package/dist/{IntegrationView-CErHEVAO.js → IntegrationView-D7hqf0P5.js} +278 -278
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XXoPyhlc.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BpyUheXn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js} +1 -1
- package/dist/PurchaseOrderPrintPreview-C92PdleC.js +152 -0
- package/dist/{ReceiveRequestView-BKbeFDxm.js → ReceiveRequestView-BaxEQWOD.js} +8 -8
- package/dist/{RecipeView-Drp4l4gL.js → RecipeView-CDgZpLPk.js} +181 -181
- package/dist/Standalone.vue.d.ts +1 -1
- package/dist/{StockView-Cj6fErwD.js → StockView-B77CrARl.js} +498 -502
- package/dist/SupplierView-DQ3hB7q2.js +819 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js +738 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js +1435 -0
- package/dist/TransferTemplateView-Dt04xMCK.js +1290 -0
- package/dist/{UnitView-C_tAxIpq.js → UnitView-DlmlVNOx.js} +242 -242
- package/dist/{WarehouseView-BAqVtbD6.js → WarehouseView-DXWls5vv.js} +360 -362
- package/dist/api/bill.d.ts +238 -84
- package/dist/api/inventory.d.ts +3 -3
- package/dist/api/purchase-order-template.d.ts +4 -0
- package/dist/api/stock.d.ts +0 -8
- package/dist/api/supplier.d.ts +2 -0
- package/dist/app-P7rGzGsF.js +68600 -0
- package/dist/app.d.ts +200 -7
- package/dist/app.js +3 -3
- package/dist/{array-AvWd53LI.js → array-ClJzD_Lt.js} +3 -3
- package/dist/components/ChangeLocationComponent.vue.d.ts +14 -1
- package/dist/components/DeferableLoading.vue.d.ts +1 -1
- package/dist/components/DeleteDialog.vue.d.ts +1 -1
- package/dist/components/FmCoordinateInput.vue.d.ts +3 -3
- package/dist/components/FmDroppableField.vue.d.ts +6 -6
- package/dist/components/FmFilterableSelect.vue.d.ts +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +19 -10
- package/dist/components/FmMinMaxInput.vue.d.ts +20 -0
- package/dist/components/FmMinMaxInputProps.d.ts +16 -0
- package/dist/components/FmMinMaxInputRules.d.ts +4 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +5 -5
- package/dist/components/FmMultiselectDialogProps.d.ts +14 -1
- package/dist/components/FmUnitInputRules.d.ts +1 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +1 -1
- package/dist/components/NavigationTab.vue.d.ts +1 -1
- package/dist/components/NumberPrecisionInput.vue.d.ts +3 -3
- package/dist/components/PremiumBadge.vue.d.ts +3 -3
- package/dist/components/PreviewBadge.vue.d.ts +3 -3
- package/dist/components/StockForecast.vue.d.ts +1 -1
- package/dist/components/TableActionableRow.vue.d.ts +4 -4
- package/dist/components/UnitDisplayControl.vue.d.ts +1 -1
- package/dist/components/icons/IconCommunity.vue.d.ts +1 -1
- package/dist/components/icons/IconDocumentation.vue.d.ts +1 -1
- package/dist/components/icons/IconEcosystem.vue.d.ts +1 -1
- package/dist/components/icons/IconSupport.vue.d.ts +1 -1
- package/dist/components/icons/IconTooling.vue.d.ts +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +6 -6
- package/dist/components/map/CoordinateDialog.vue.d.ts +4 -4
- package/dist/components/map/GoogleMap.vue.d.ts +6 -6
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +3 -3
- package/dist/components/row-action.enum.d.ts +3 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +6 -6
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -5
- package/dist/composable/useIframe.d.ts +1 -1
- package/dist/composable/useSearch.d.ts +1 -1
- package/dist/{decimal-D3KXLC4T.js → decimal-4ONRlhOO.js} +1 -1
- package/dist/format-unit-display-DJpElzu_.js +707 -0
- package/dist/helper/number.d.ts +2 -0
- package/dist/{id-to-date-Cj02m808.js → id-to-date-D8Ey2CVj.js} +1 -1
- package/dist/is-linked-ingredient-error-fJ2TJb3z.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +6 -5
- package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
- package/dist/layout-D-zXtsSp.js +151 -0
- package/dist/row-action.enum-PMKMRrZR.js +50 -0
- package/dist/stores/feature.d.ts +5 -1
- package/dist/stores/inventory.d.ts +4 -4
- package/dist/stores/location.d.ts +185 -152
- package/dist/stores/supplier.d.ts +666 -12
- package/dist/stores/warehouse.d.ts +17 -5
- package/dist/supplier-DsUIjl-L.js +69 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/InventoryView.vue.d.ts +1 -1
- package/dist/views/SelectBussinessDialog.vue.d.ts +1 -1
- package/dist/views/approval/ApprovalView.vue.d.ts +1 -1
- package/dist/views/dev/ComponentPreview.vue.d.ts +1 -1
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +1 -1
- package/dist/views/dev/components/DateRange.vue.d.ts +1 -1
- package/dist/views/dev/components/FmDecimalInputTest.vue.d.ts +1 -1
- package/dist/views/dev/components/FmMultiselectDialogGrouped.vue.d.ts +2 -0
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +1 -1
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +1 -1
- package/dist/views/dev/components/LayoutDev.vue.d.ts +1 -1
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +1 -1
- package/dist/views/dev/components/NestedSelection.vue.d.ts +1 -1
- package/dist/views/dev/components/NumberStepper.vue.d.ts +1 -1
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +1 -1
- package/dist/views/dev/components/UnitInput.vue.d.ts +1 -1
- package/dist/views/dev/helpers/pinia-test.d.ts +1 -1
- package/dist/views/home/HomeView.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +1 -1
- package/dist/views/ingredients/IngredientsView.vue.d.ts +1 -1
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -4
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +3 -3
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +5 -5
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingSummary.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -8
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/integration/IntegrationView.vue.d.ts +1 -1
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +5 -5
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +1 -1
- package/dist/views/receive-request/components/select-template-dialog/SelectTemplateDialog.vue.d.ts +8 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -32
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +8 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -6
- package/dist/views/receive-request/components/transfer-form/components/TransferItem.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-backdate-po.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-compare-price.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -9
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1016 -70
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +36 -36
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +1 -1
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -1
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +5 -5
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +4 -4
- package/dist/views/recipe/composables/use-recipe-form.d.ts +8 -8
- package/dist/views/stock/StockView.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHistory.vue.d.ts +3 -3
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +123 -46
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +5 -5
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/composables/use-stock-action.d.ts +11 -11
- package/dist/views/stock/helper/stock-row-action.d.ts +4 -2
- package/dist/views/supplier/SupplierView.vue.d.ts +1 -1
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +4 -4
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -3
- package/dist/views/supplier/composables/use-supplier-table.d.ts +3 -3
- package/dist/views/transfer-template/TransferTemplateView.vue.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +20 -0
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +9 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +7 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +15 -9
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1428 -43
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +893 -13
- package/dist/views/unit/UnitView.vue.d.ts +1 -1
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +5 -5
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +4 -4
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +3 -3
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +1 -1
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -8
- package/dist/views/warehouse/WarehouseView.vue.d.ts +1 -1
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +4 -4
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +38 -14
- package/dist/{xlsx-B-2KyDJq.js → xlsx-zfERRe6K.js} +3383 -3383
- package/dist/{xlsx.util-D6EzRE71.js → xlsx.util-DnbiJzsk.js} +4 -4
- package/package.json +6 -5
- package/dist/BindingsTable-xNXNsBAd.js +0 -145
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DFPkUHl-.js +0 -272
- package/dist/IngredientsView-DD7ns3mP.js +0 -1751
- package/dist/PurchaseOrderPrintPreview-L_iaaURb.js +0 -152
- package/dist/SupplierView-EFsHWet-.js +0 -801
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-kM5fyqq6.js +0 -745
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CyFMCmXw.js +0 -1605
- package/dist/TransferTemplateView-Cymhrayh.js +0 -933
- package/dist/app-CeUU5Gd8.js +0 -66938
- package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
- package/dist/layout-2zzAZIVO.js +0 -147
- package/dist/purchase-order-transaction-type-Dz0YF5qh.js +0 -294
- package/dist/row-action.enum-7jVyol1k.js +0 -36
- package/dist/supplier-mDVKd7Ge.js +0 -54
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
|
@@ -1,152 +0,0 @@
|
|
|
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 { a9 as v, i as R } from "./app-CeUU5Gd8.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
|
-
};
|