#
whycq
2022-06-21 16945499e9e1c870e21fc0bd05b2daae56bc3a29
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
<template>
    <view>
        <!-- 搜索框 -->
        <view class="square-1">
            <view class="searchBox">
                <view class="searchIcon"><uni-icons type="search" size="20" color="#dadada"></uni-icons></view>
                <view class="searchArea">
                    <input type="text" placeholder=" 库位号 / 托盘码 / 商品编码 "></view>
                <view class="closeIcon"><uni-icons type="closeempty" size="20" color="#dadada"></uni-icons></view>
            </view>
        </view>
        <!-- 列表头 -->
        <view class="square-1">
            <view class="square-title">
                <view class="title-sign"><view class="sign"></view></view>
                <view class="title-text"><text>商品列表</text></view>
            </view>
        </view>
        <!-- 商品列表 -->
        <checkbox-group @change="checkbox">
            <view v-for="(item,index) in matList" :key="index" class="data-list bg-false" :class="'bg-'+item.checked" >
                <view class="data-list-left">
                    <view class="matnr"><text style="width: 400rpx;">编码:{{item.matnr}}</text></view>
                    <view><text style="width: 400rpx;">品名:{{item.maktx}}</text></view>
                    <view><text style="width: 400rpx;">批号:{{item.batch}}</text></view>
                    <view>
                        <text style="width: 400rpx;">数量:{{item.anfme}}</text>
                    </view>
                </view>
                <view class="data-list-right">
                    <label><uni-icons type="compose" size="20" color="#a5a5a5" @click="revise(item,index)"></uni-icons></label>
                    <label><uni-icons type="trash" size="25" color="#a5a5a5" @click="remove(item,index)"></uni-icons></label>
                </view>
            </view>
        </checkbox-group>
        <!-- 无数据显示 -->
        <view class="square-none"  v-show="matList.length === 0">
            <view class="v-show">暂无更多数据...</view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data () {
            return {
                matList:[],
            }
        },
        methods: {
            checkbox: function () {
                
            },
        },
    }
</script>
 
<style>
</style>