pang.jiabao
2025-03-07 af95155c788ff5b88f55e0bea732b480a68be442
兼容ctu容器条码
2个文件已修改
26 ■■■■ 已修改文件
pages/pakin/pakin.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/putOn.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue
@@ -175,15 +175,15 @@
                // 不设置定时器 会出现扫入的字符串不全
                setTimeout(() => {
                    var len = this.barcode.length
                    if (len != 8) {
                        uni.showToast({
                            title: '托盘码有误请重试',
                            icon: "none",
                            position: 'top'
                        });
                        // this.barcodeFocuss()
                        return;
                    }
                    // if (len != 8) {
                    //     uni.showToast({
                    //         title: '托盘码有误请重试',
                    //         icon: "none",
                    //         position: 'top'
                    //     });
                    //     // this.barcodeFocuss()
                    //     return;
                    // }
                    // this.focuss()
                }, 200)
            },
pages/pakin/putOn.vue
@@ -116,10 +116,10 @@
                if (this.barcode.length < 1) {
                    return
                }
                if (this.barcode.length != 8) {
                    this.messageToggle('error', '拖盘码为8位随机数字!!')
                    return
                }
                // if (this.barcode.length != 8) {
                //     this.messageToggle('error', '拖盘码为8位随机数字!!')
                //     return
                // }
                let that = this
                uni.request({
                    url: that.baseUrl + '/pda/barcode/matnr/' + that.barcode,