#
whycq
2022-09-22 13982bb9c69e7faa7dc1b96f3048e76314b7f95c
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
<template>
    <view class="">
        <scroll-view class="scroll-Y">
        <!-- <button @click="open">点击</button> -->
        <!-- <y-popup ref="yPopup" title="输入内容">
            
        </y-popup> -->
        <button size="mini" @click="up">button</button>
        <y-input title="商品码" :inputVal="matnr" />
        <y-input title="库位码" />
        </scroll-view>
    </view>
</template>
 
<script>
    export default {
        data () {
            return {
                scrollY:true,
                matnr:'1'
            }
        },
        methods: {
            open() {
                this.$refs.yPopup.open('center')
            },
            up() {
                // setTimeout(()=>{
                //     this.matnr = '1024'
                // },300)
                    this.matnr = '1024'
                console.log(this.matnr);
            }
        }
    
    }
</script>
 
<style>
    .vv {
        width: 100%;height: 100rpx;
        
    }
    .bb {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
</style>