#
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<template>
    <view>
        <form>
            <view class="cu-form-group margin-top">
                <view class="title">单号</view>
                <input v-model="billNo" placeholder="扫码 / 输入" name="input" autocomplete="off">
            </view>
            <view class="cu-form-group margin-top">
                <view class="title">托盘码</view>
                <input v-model="code" placeholder="扫码 / 输入" name="input">
            </view>
        </form>
        <view class="margin-top">
            <uni-table border stripe emptyText="暂无更多数据">
                <uni-tr>
                    <uni-th>物料编码</uni-th>
                    <uni-th>生产单号</uni-th>
                    <uni-th>数量</uni-th>
                    <uni-th>物料名称</uni-th>
                </uni-tr>
                <uni-tr>
                    <uni-td>1121</uni-td>
                    <uni-td>1121</uni-td>
                    <uni-td>1121</uni-td>
                    <uni-td>1121</uni-td>
                </uni-tr>
            </uni-table>
            
        </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 {
                billNo:'',
                code:'',
            }
        },
        methods: {
                reset:function() {
                    let that =this;
                    that.billNo = '';
                    that.code = '';
                },
                
        },
        onShow() {
            // const query = uni.createSelectorQuery()
            // console.log(prototype.placeholder)
        }
    }
</script>
 
<style>
    
</style>