pages/listing/matnrPalletising.vue | ●●●●● 补丁 | 查看 | 原始文档 | 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() {