#
whycq
2022-02-11 efbbbd78c979cf860dde6cc006991f3c4b93c443
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
<template>
    <view>
        <view class="cu-form-group margin-top">
            <view class="title">库位</view>
            <input v-model="locNo" placeholder="库位编号" name="input" ></input>
        </view>
        <view class="cu-form-group margin-top">
            <view class="title">产品</view>
            <input v-model="matNo" placeholder="产品信息" name="input"></input>
        </view>
        <view>
            <button class='cu-btn bg-yellow pda-btn'>搜索</button>
            <button class="cu-btn bg-grey pda-btn" @click="reset">重置</button>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                locNo:'',
                matNo:'',
            }
        },
        methods: {
            reset:function() {
                let that =this;
                that.locNo = '';
                that.matNo = '';
                console.log(1)
            },
        }
    }
</script>
 
<style>
 
</style>