#
whycq
2024-02-07 d74e125a03426aebf9bc52b5a824f2cb09538db2
#
1个文件已修改
31 ■■■■■ 已修改文件
Monitor-APP/pages/home/home.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue
@@ -485,22 +485,29 @@
                    data: JSON.stringify(param),
                    success(res) {
                        res = res.data
                        console.log(res);
                        that.result = res
                        if (res.code === 200 && res.data) {
                            that.locs = res.data.agvWrkDetls
                            if (res.data.agvWrkMast) {
                                if (res.data.agvWrkMast.ioType == 107) {
                                    that.infoText.title = '盘点出库'
                                } else if (res.data.agvWrkMast.ioType == 103) {
                                    that.infoText.title = '拣料出库'
                                } else {
                                    that.infoText.title = '全板出库'
                                }
                            } else{
                        if (res.code === 200) {
                            console.log(res.data.agvWaitPakins);
                            if (res.data.agvWrkDetls != null) {
                                that.locs = res.data.agvWrkDetls
                                if (res.data.agvWrkMast) {
                                    if (res.data.agvWrkMast.ioType == 107) {
                                        that.infoText.title = '盘点出库'
                                    } else if (res.data.agvWrkMast.ioType == 103) {
                                        that.infoText.title = '拣料出库'
                                    } else {
                                        that.infoText.title = '全板出库'
                                    }
                                } else{
                                    that.infoText.title = '入库作业'
                                }
                            } else if (res.data.agvWaitPakins != null) {
                                that.locs = res.data.agvWaitPakins
                                that.infoText.title = '入库作业'
                            }
                            
                        }
                    }
                })