#
zjj
2025-05-08 028d63683085edda62895c3b005a179c3a37920a
#
1个文件已修改
21 ■■■■■ 已修改文件
pages/listing/matnrPalletising.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/matnrPalletising.vue
@@ -251,19 +251,36 @@
                    })
                }
            },
            showBackData(data){
            showBackData(data){
                let status ;
                data.map(item => {                    
                    this.list.push(item)
                })
                })
                let oldLength = this.list.length
                this.list = this.list.filter((item, index, self) =>
                    self.findIndex(i => (
                        i.id === item.id // 根据id去重
                    )) === index && item.isptResult === self[0].isptResult
                );
                let newLength = this.list.length
                
                if(oldLength > newLength){
                    this.showMsg("新明细被过滤,请检查状态")
                }
                                
            },
            showMsg(msg){
                setTimeout(function() {
                 uni.showToast({
                     icon: "none",
                     position: 'top',
                     title: msg,
                     duration:2000,
                 })
                }, 200);
            },
            scrollTo() {
                const ref = this.$refs[`${this.barcode}ref`][0];
                uni.pageScrollTo({