<template>
  <div class="card rounded-md bg-neutral text-neutral-content shadow-sm shadow-gray-400">
    <div class="card-body text-xs px-1 py-2">
      <p>備註: {{
        item_id === 1
          ? ""
          : item_id === 2
          ? "1、2、5、6槽"
          : item_id === 3
          ? "3、4槽"
          : "其他"
        }} </p>
      <p>最大存量: {{ current_stock }} 噸</p>
      <p>{{ updateTime }}</p>
    </div>
  </div>
</template>

<script setup>
defineProps({
  item_id: {
    type: Number,
    required: true,
  },
  current_stock: {
    type: Number,
    required: true,
  },
  updateTime: {
    type: String,
    required: true,
  },
});
</script>
