schangxiang@126.com
2025-09-17 c0e20b1b0f1298cdc0af0037d60e74d51e364501
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
<template>
    <view class="">
        <cu-custom bgColor="bg-white" :isBack="true">
            <block slot="backText">
            </block>
            <block slot="content">入库操作</block>
        </cu-custom>
        <scroll-view scroll-y="true" style="height: 100vh;">
            <view class="margin_top40rpx text_align_center" v-for="(item,index) in list" :key='index'>
                <view class="little_card fontSize36rpx" @click="skip(item,index)" :class="active==index?'active':''">
                    {{item.name}}
                </view>
            </view>
        </scroll-view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                active: null,
                type:'',
                list: [
                    // {
                    //     name: '人工组盘',
                    //     pages: 'artificial'
                    // },
                    // {
                    //     name: '容器解绑',
                    //     pages: 'untie'
                    // },
                    {
                        name: '立库入库',
                        pages: 'three'
                    }, {
                        name: '平库入库',
                        pages: 'plane'
                    }, {
                        name: '物料入库',
                        pages: 'material'
                    }
                ]
            }
        },
        onLoad(options) {
            this.type = options.type
        },
        methods: {
            skip(item, index) {
                this.active = index
                if (item.pages) {
                    setTimeout(() => {
                        uni.navigateTo({
                            url: `./${item.pages}/${item.pages}?type=${this.type}`
                        })
                    }, 100)
                }
            }
        }
    }
</script>
 
<style>
 
</style>