skyouc
1 天以前 c1543b2d0f08a7f92969246a7c68a20940e917f0
no message
1个文件已修改
27 ■■■■■ 已修改文件
pages/AGV/LXPakin.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/AGV/LXPakin.vue
@@ -1,11 +1,11 @@
<template>
    <view>
        <view class="code">
            <view class="item">
<!--             <view class="item">
                <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>
@@ -46,6 +46,12 @@
                        <view class="desc">格层编码:</view>
                        <view class="left-item">
                            <uni-tag :text="item.boxType1" type="primary"></uni-tag>
                        </view>
                    </view>
                    <view class="list-left-item">
                        <view class="desc">BS Code:</view>
                        <view class="left-item">
                            <uni-tag :text="item.threeCode" type="primary"></uni-tag>
                        </view>
                    </view>
                    <view class="list-left-item">
@@ -163,6 +169,7 @@
                orderNo: null,
                dataList: [],
                count: 0,
                threeCode: '',
                rowNum: '',
                matnr: '',
                suppCode: '',
@@ -249,7 +256,6 @@
            },
            // 搜索物料
            findMat() {
                if (this.boxType1 == null || this.boxType1 == '') {
                    this.messageText = "格层编码不能为空!!"
                    this.messageToggle('error')
@@ -262,7 +268,8 @@
                    method: 'POST',
                    data: {
                        orderNo: that.orderNo,
                        matnr: that.matnr
                        threeCode: that.matnr
                        // matnr: that.matnr
                    },
                    header: {
                        'token': uni.getStorageSync('token')
@@ -273,6 +280,7 @@
                            that.matData = result.data
                            that.matnr = ''
                            that.matData['suppCode'] = ''
                            that.orderNo = that.matData[0].orderNo
                            uni.navigateTo({
                                url: "../mat/matSelected",
                                // 通过eventChannel向被打开页面传送数据
@@ -460,7 +468,8 @@
                        barcode: that.barcode,
                        boxType1: that.boxType1,
                        combMats: that.dataList,
                        type: '1'
                        type: '1',
                        pakinType: "1"
                    }),
                    method: 'POST',
                    header: {
@@ -521,7 +530,7 @@
    @import url('../../static/css/wms.css/wms.css');
    .list:first-child {
        margin-top: 460rpx;
        margin-top: 320rpx;
    }
    .code {
@@ -551,7 +560,7 @@
    }
    .code-decs {
        width: 20vw;
        width: 28vw;
        font-size: 18px;
        color: #303133;
    }
@@ -567,7 +576,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;