#
zjj
2025-05-08 028d63683085edda62895c3b005a179c3a37920a
#
1个文件已修改
17 ■■■■■ 已修改文件
pages/listing/matnrPalletising.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/matnrPalletising.vue
@@ -256,12 +256,29 @@
                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() {