whycq
2022-03-22 b734a58af483fcf3e0234905bdaeafe81360cbe3
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<template>
    <view>
        <!-- 搜索栏 -->
        <view>
            <view class="cu-bar bg-white search">
                <view class="search-form radius">
                    <text class="cuIcon-search"></text>
                    <input :adjust-position="false" type="text" placeholder="扫码 / 输入" confirm-type="search"></input>
                </view>
                <view class="action">
                    <button class="cu-btn bg-yellow" style="color: #fff;">搜 索</button>
                </view>
            </view>
        </view>
        <view class="margin-top">
            <uni-table border stripe type="selection" emptyText="没有更多数据">
                <!-- 表头 -->
                <uni-tr >
                    <uni-th align="center">订单</uni-th>
                    <uni-th align="center">应入库量</uni-th>
                    <uni-th align="center">已入库量</uni-th>
                    <uni-th align="center">商品编码</uni-th>
                    <uni-th align="center">商品名称</uni-th>
                    <uni-th align="center">订单状态</uni-th>
                    <uni-th align="center">操作</uni-th>
                </uni-tr>
                <!-- 表体 -->
                <uni-tr v-for="(item, index) in tabData" :key="index">
                    <uni-td align="center">{{item.dd}}</uni-td>
                    <uni-td align="center">{{item.rk}}</uni-td>
                    <uni-td align="center">{{item.yr}}</uni-td>
                    <uni-td align="center">{{item.bm}}</uni-td>
                    <uni-td align="center">{{item.mc}}</uni-td>
                    <uni-td align="center">{{item.zt}}</uni-td>
                    <uni-td>
                        <view class="flex justify-around">
                            <button class="cu-btn bg-orange sm">上 架</button>
                            <button class="cu-btn bg-red sm">撤销上架</button>
                        </view>
                    </uni-td>
                </uni-tr>
            </uni-table>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                tabData:[
                    {
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    },{
                        dd:'AT-955807708311715',
                        rk:'10',
                        yr:'10',
                        bm:'YJ2022012511000644',
                        mc:'亚麻布',
                        zt:'订单状态'
                    }
                ]
            }
        }
    }
</script>
 
<style>
</style>