This commit is contained in:
Viet An
2026-06-30 15:12:04 +07:00
parent 8b3da71895
commit e9e4fbe24f
18 changed files with 149 additions and 158 deletions

View File

@@ -19,16 +19,16 @@ const { $dayjs } = useNuxtApp();
<p class="fs-12 has-text-grey">{{ invItem.category }}</p>
</div>
</td>
<td class="is-family-monospace fs-12">{{ invItem.sku }}</td>
<!-- <td class="is-family-monospace fs-12">{{ invItem.sku }}</td>
<td>{{ invItem.storage }}</td>
<td class="is-family-monospace fs-12">{{ invItem.storage__position }}</td>
<td class="is-family-monospace fs-12">{{ invItem.storage__position }}</td> -->
<td class="has-text-right">{{ invItem.stock }}</td>
<td class="has-text-right">{{ invItem.preorder }}</td>
<td :class="['has-text-right', invItem.status === 'OK' ? 'has-text-success-30' : 'has-text-warning-30']">
{{ invItem.available }}
</td>
<td class="is-family-monospace fs-12">{{ invItem.batch }}</td>
<td>{{ $dayjs(invItem.expired).format("L") }}</td>
<!-- <td class="is-family-monospace fs-12">{{ invItem.batch }}</td>
<td>{{ $dayjs(invItem.expired).format("L") }}</td> -->
<td>
<span
:class="[

View File

@@ -527,14 +527,14 @@ const selectedInvItem = ref(null);
<thead>
<tr>
<th class="font-semibold">Sản phẩm</th>
<th class="font-semibold">SKU</th>
<!-- <th class="font-semibold">SKU</th>
<th class="font-semibold">Kho</th>
<th class="font-semibold">Vị trí</th>
<th class="font-semibold">Vị trí</th> -->
<th class="font-semibold has-text-right">Tồn</th>
<th class="font-semibold has-text-right">Đặt trước</th>
<th class="font-semibold has-text-right">Khả dụng</th>
<th class="font-semibold">Batch</th>
<th class="font-semibold">Hạn sử dụng</th>
<!-- <th class="font-semibold">Batch</th>
<th class="font-semibold">Hạn sử dụng</th> -->
<th class="font-semibold">Trạng thái</th>
</tr>
</thead>

View File

@@ -89,7 +89,7 @@ const emit = defineEmits("unselect");
</div>
<div class="mt-6">
<p class="fs-15 font-semibold mb-4">Vị trí lưu kho</p>
<div class="p-4 rounded-md has-background-white-100">
<div class="p-4 rounded-md has-background-grey-100">
<div class="is-flex is-gap-1">
<Icon
name="material-symbols:location-on-outline-rounded"
@@ -106,11 +106,11 @@ const emit = defineEmits("unselect");
</div>
<div class="mt-6">
<p class="fs-15 font-semibold mb-4">Thông tin hàng</p>
<div class="p-4 rounded-md has-background-white-100">
<div class="p-4 rounded-md has-background-grey-100">
<p class="fs-13 has-text-grey"> </p>
<p class="mt-1 is-family-monospace">{{ invItem.batch }}</p>
</div>
<div class="p-4 mt-4 rounded-md has-background-white-100">
<div class="p-4 mt-4 rounded-md has-background-grey-100">
<div class="is-flex is-gap-1 is-align-items-center">
<Icon
name="material-symbols:calendar-today-outline-rounded"
@@ -127,7 +127,7 @@ const emit = defineEmits("unselect");
<div
v-for="move in invItem.moveHistory"
:key="move.id"
class="p-4 mb-4 rounded-md has-background-white-100 has-text-grey fs-12"
class="p-4 mb-4 rounded-md has-background-grey-100 has-text-grey fs-12"
>
<div class="is-flex is-justify-content-space-between mb-1">
<div class="is-flex is-gap-1 is-align-items-center">