#
whycq
2024-05-03 589f1fe764d5982b11dcd2f580e7a10cf3391a5c
#
1个文件已修改
23 ■■■■■ 已修改文件
pages/pakin/pickOut.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pickOut.vue
@@ -456,7 +456,7 @@
            combConfirm(type) {
                this.msgType = type
                this.title = '警告'
                this.content = '是否现在组托!'
                this.content = '是否现在补料出库!'
                this.$refs.combConfirm.open()
            },
            combClose() {
@@ -483,10 +483,11 @@
                    }
                }
                uni.request({
                    url: that.baseUrl + '/mobile/comb/auth',
                    url: that.baseUrl + '/locComb/out/start',
                    data: JSON.stringify({
                        barcode: that.barcode,
                        combMats: that.dataList
                        devpNo:    that.floor,
                        list: that.newDataList,
                        locNo: that.barcode
                    }),
                    method: 'POST',
                    header: {
@@ -495,12 +496,14 @@
                    success(result) {
                        var res = result.data
                        if (res.code === 200) {
                            that.resst();
                            that.messageText = "组托成功"
                            console.log(res);
                            that.dataList = []
                            that.newDataList = []
                            that.barcode = ''
                            that.floor = null
                            that.messageText = res.msg
                            that.messageToggle('success')
                            const innerAudioContext = uni.createInnerAudioContext();
                            innerAudioContext.src = '/static/music/pakinOk.mp3';
                            innerAudioContext.play()
                            that.barcodeFocuss()
                        } else if (res.code == 403) {
                            that.messageText = res.msg
                            that.messageToggle('error')
@@ -549,7 +552,7 @@
        margin-top: 360rpx;
    }
    .list:last-child {
        /* margin-bottom: 120rpx; */
        margin-bottom: 20rpx;
    }
    .code {
        width: 100%;