车间能级提升-智能设备管理系统
zhuguifei
2025-05-13 14681dfe7052cb76eefcc0c17d0a0d708e1ac9dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<route lang="json5" type="page">
{
  layout: 'tabbar',
  needLogin: true,
  style: {
    navigationBarTitleText: '备件',
  },
}
</route>
 
<template>
  <view class="bg-base">
    <view class="flex px-4 py-3 bg-white">
      <div class="box-border h-[150rpx] flex-1 bg-tag rounded-sm mr-2 px-2 py-2">
        <wd-count-to
          :startVal="0"
          :endVal="0"
          :fontSize="24"
          color="text-color-base"
        ></wd-count-to>
        <view class="text-color-gray mt-1">库存不足</view>
      </div>
      <div class="box-border h-[150rpx] flex-1 bg-tag rounded-sm mr-2 px-2 py-2">
        <wd-count-to
          :startVal="0"
          :endVal="0"
          :fontSize="24"
          color="text-color-base"
        ></wd-count-to>
        <view class="text-color-gray mt-1">库存过量</view>
      </div>
    </view>
    <wd-cell-group border>
      <wd-cell
        title="备件列表"
        is-link
        to="/pages/spare/spare-list"
        icon="list"
        custom-icon-class="icon-color-base"
      />
      <wd-cell
        title="添加备件"
        is-link
        icon="add"
        custom-icon-class="icon-color-base"
        @click="handleInfo"
      />
    </wd-cell-group>
    <wd-cell-group border class="mt-2">
      <wd-cell
        title="添加出库"
        is-link
        icon="add-circle"
        custom-icon-class="icon-color-base"
        @click="handleInfo"
      />
      <wd-cell
        title="添加入库"
        is-link
        icon="add-circle"
        custom-icon-class="icon-color-base"
        @click="handleInfo"
      />
    </wd-cell-group>
  </view>
</template>
 
<script lang="ts" setup>
function handleInfo() {
  uni.showToast({
    title: '功能开发中',
    icon: 'none',
  })
}
</script>
 
<style lang="scss" scoped>
.bg-tag {
  background: #f5f8ff;
}
</style>