<!-- Supply 供应链管理 -->
<script setup lang="ts">
// Placeholder for supply chain management module
</script>

<template>
  <div class="supply-container">
    <div class="module-header">
      <h1 class="module-title">
        供应链管理
      </h1>
      <p class="module-subtitle">
        采购、仓储、物流一体化管理
      </p>
    </div>

    <div class="module-content">
      <div class="placeholder-card">
        <el-icon class="placeholder-icon" color="#ef4444" :size="64">
          <Truck />
        </el-icon>
        <h2 class="placeholder-title">
          功能开发中，敬请期待
        </h2>
        <p class="placeholder-text">
          供应链管理模块将提供采购管理、库存管理、订单管理、
          物流跟踪、供应商管理等功能，支持全流程供应链协同。
        </p>
        <div class="placeholder-stats">
          <div class="stat-item">
            <el-icon><ShoppingCart /></el-icon>
            <span>采购管理</span>
          </div>
          <div class="stat-item">
            <el-icon><Box /></el-icon>
            <span>库存管理</span>
          </div>
          <div class="stat-item">
            <el-icon><Location /></el-icon>
            <span>物流跟踪</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.supply-container {
  min-height: 100vh;
  padding: 24px;
  background-color: var(--color-bg);

  .module-header {
    margin-bottom: 24px;

    .module-title {
      font-size: 28px;
      font-weight: 700;
      color: var(--color-text-primary);
      margin: 0 0 8px 0;
    }

    .module-subtitle {
      font-size: 14px;
      color: var(--color-text-secondary);
      margin: 0;
    }
  }

  .module-content {
    .placeholder-card {
      background-color: #ffffff;
      border-radius: var(--radius-lg);
      padding: 48px;
      border: 1px solid var(--color-border);
      text-align: center;

      .placeholder-icon {
        margin-bottom: 24px;
      }

      .placeholder-title {
        font-size: 24px;
        font-weight: 600;
        color: var(--color-text-primary);
        margin: 0 0 16px 0;
      }

      .placeholder-text {
        font-size: 14px;
        color: var(--color-text-secondary);
        line-height: 1.6;
        margin: 0 0 32px 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
      }

      .placeholder-stats {
        display: flex;
        gap: 24px;
        justify-content: center;
        margin-top: 32px;

        .stat-item {
          display: flex;
          flex-direction: column;
          gap: 8px;
          align-items: center;
          padding: 16px;
          border-radius: var(--radius-md);
          background-color: var(--color-bg-light);

          .el-icon {
            width: 32px;
            height: 32px;
            font-size: 32px;
            color: var(--color-accent);
          }

          span {
            font-size: 12px;
            color: var(--color-text-secondary);
          }
        }
      }
    }
  }
}
</style>
