#
whycq
2022-10-23 197040bc029d3d6e1bc9c4cd56f404eea278c963
#
1个文件已添加
3个文件已修改
69 ■■■■■ 已修改文件
pages.json 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/paking.vue 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/startPakin.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -170,6 +170,15 @@
            }
        },
        {
            "path" : "pages/basics/paking",
            "style" :
            {
                "navigationBarTitleText": "拣料入库",
                "enablePullDownRefresh": false
            }
        },
        {
            "path" : "pages/basics/startPakin",
            "style" :                                                                                    
            {
pages/basics/paking.vue
New file
@@ -0,0 +1,53 @@
<template>
    <view>
        <scroll-view scroll-y>
            <!-- 托盘码窗口 -->
            <view class="square-2">
                <view class="square-title">
                    <view class="title-sign"><view class="sign"></view></view>
                    <view class="title-text"><text>托盘条码</text></view>
                </view>
                <view class="square-content">
                    <view class="content-input">
                        <input v-model="barcode" type="text" placeholder="扫码 / 输入"
                        :focus="barcodeFocus" placeholder-style="line-height:  85rpx;">
                        <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons>
                    </view>
                </view>
            </view>
        </scroll-view>
        <!-- 底部按钮 -->
        <view class="footer flex justify-around">
            <label class="label-btn" style="width: 150rpx;">
                <button class="cu-btn" @click="resst()">重置</button>
            </label>
            <label class="label-btn">
                <button class="cu-btn bg-blue " @click="startPakin()">入库</button>
            </label>
        </view>
    </view>
</template>
<script>
    export default {
        data() {
            return {
                commonUrl: null,
                barcode: null,
                barcodeFocus: true,
                matList:[],
                sites: [2,4,5,7,9,11,13,15],
                siteId: '',
            }
        },
        methods: {
            // 获取url
            getUrl() {
                this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
            },
        }
    }
</script>
<style>
</style>
pages/basics/startPakin.vue
@@ -76,6 +76,7 @@
                matList:[],
                sites: [2,4,5,7,9,11,13,15],
                siteId: '',
                commonUrl: null
            }
        },
        mounted(){
pages/index/index.vue
@@ -53,6 +53,12 @@
                        color: 'blue',
                        cuIcon: 'goods'
                    },
                    {
                        title: '拣料入库',
                        name: 'paking',
                        color: 'blue',
                        cuIcon: 'goods'
                    },
                    // {
                    //     title: '库存查询',
                    //     name: 'stockQuery',