skyouc
10 小时以前 7e375c39a62b464a07511d011b9c5c245de5f5f4
缓存入库逆向功能优化
组托功能优化
3个文件已修改
31 ■■■■ 已修改文件
pages.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelected.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/PakinBind.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -85,9 +85,9 @@
            }
        },
        {
            "path": "pages/pakin/PakinBind",
            "path": "pages/pakin/PakinBind",
            "style": {
                "navigationBarTitleText": "入库组托"
                "navigationBarTitleText": "组托上架"
            }
        },
        {
pages/mat/matSelected.vue
@@ -53,7 +53,7 @@
                    anfme: 0,
                },
                selectNum: null,
                mats: null,
                mats: [],
                baseIP: '',
                basePORT: '',
            }
@@ -72,7 +72,7 @@
                that.mats = data.data
            })
            console.log(that.mats);
        },
        methods: {
            blur() {
@@ -94,8 +94,7 @@
                    });
                    return;
                }
                console.log("=======>");
                console.log(this.mats[0]);
                if (this.selectNum != null) {
                    this.mats[0].anfme = this.selectNum
                } else {
pages/pakin/PakinBind.vue
@@ -2,17 +2,12 @@
    <view>
        <view class="code">
            <view class="item">
                <view class="code-decs">订单号:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus"
                    @input="orderNoInput()">
            </view>
            <view class="item">
                <view class="code-decs">托盘码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus"
                    @input="barcodeInput()">
            </view>
            <view class="item">
                <view class="code-decs">物料码:</view>
                <view class="code-decs">BS码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()">
                <view class="item-right">
                    <button></button>
@@ -20,10 +15,15 @@
                    <uni-icons type="right" color="#c1c1c1"></uni-icons>
                </view>
            </view>
            <view class="item">
                <view class="code-decs">台车:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus"
                    @input="orderNoInput()">
            </view>
        </view>
        <view class="mat-list-title">
            商品列表
        </view>
        </view>
        <scroll-view>
            <view class="list" v-for="(item,i) in dataList" :key="i">
                <view class="list-left">
@@ -228,11 +228,11 @@
            findMat() {
                let that = this
                uni.request({
                    url: that.baseUrl + '/mobile/scan/order/mats',
                    url: that.baseUrl + '/mobile/cache/task/list',
                    method: 'POST',
                    data: {
                        orderNo: that.orderNo,
                        matnr: that.matnr
                        barcode: that.barcode,
                        bsCode: that.matnr
                    },
                    header: {
                        'token': uni.getStorageSync('token')