skyouc
1 天以前 f4ce6726ced3ef468913d8c36e3febc660a64fd6
no message
1个文件已修改
22 ■■■■ 已修改文件
pages/AGV/CachePakin.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/AGV/CachePakin.vue
@@ -1,11 +1,11 @@
<template>
    <view>
        <view class="code">
            <view class="item">
<!--             <view class="item" style="display: none;">
                <view class="code-decs">订单号:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus"
                    @input="orderNoInput()">
            </view>
            </view> -->
            <view class="item" style="display: none;">
                <view class="code-decs">托盘码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus"
@@ -17,7 +17,7 @@
                    @input="boxType1Input()">
            </view>
            <view class="item">
                <view class="code-decs">物料码:</view>
                <view class="code-decs">BS Code:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()">
                <view class="item-right">
                    <button></button>
@@ -249,7 +249,6 @@
            },
            // 搜索物料
            findMat() {
                if (this.boxType1 == null || this.boxType1 == '') {
                    this.messageText = "格层编码不能为空!!"
                    this.messageToggle('error')
@@ -262,7 +261,7 @@
                    method: 'POST',
                    data: {
                        orderNo: that.orderNo,
                        matnr: that.matnr
                        threeCode: that.matnr
                    },
                    header: {
                        'token': uni.getStorageSync('token')
@@ -273,6 +272,7 @@
                            that.matData = result.data
                            that.matnr = ''
                            that.matData['suppCode'] = ''
                            that.orderNo = that.matData[0].orderNo
                            uni.navigateTo({
                                url: "../mat/matSelected",
                                // 通过eventChannel向被打开页面传送数据
@@ -294,7 +294,7 @@
                                title: result.msg,
                                icon: "none",
                                position: 'top'
                            })
                            })
                            setTimeout(() => {
                                uni.reLaunch({
                                    url: '../login/login'
@@ -330,7 +330,6 @@
                        // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据  另外一个页面传过来的
                        acceptDataFromOpenedPage: function(data) {
                            that.matnr = data.data
                            that.findMat(that.matnr)
                        },
                    },
@@ -339,8 +338,7 @@
            },
            checkMat(mat) {
                var len = this.dataList.length
                var add = true,
                    sameItem = false
                var add = true, sameItem = false
                for (var i = 0; i < len; i++) {
                    if (mat.matnr == this.dataList[i].matnr) {
                        for (var j = 0; j < len; j++) {
@@ -521,7 +519,7 @@
    @import url('../../static/css/wms.css/wms.css');
    .list:first-child {
        margin-top: 460rpx;
        margin-top: 320rpx;
    }
    .code {
@@ -551,7 +549,7 @@
    }
    .code-decs {
        width: 20vw;
        width: 28vw;
        font-size: 18px;
        color: #303133;
    }
@@ -567,7 +565,7 @@
        width: 100%;
        background-color: white;
        position: fixed;
        margin-top: 300rpx;
        margin-top: 200rpx;
        z-index: 9;
        /* border-top: 1px solid #DCDFE6; */
        text-align: center;