diff --git a/src/pages/product/warehouse/wholeTransfer/index.vue b/src/pages/product/warehouse/wholeTransfer/index.vue index aea3604..f8c9f36 100644 --- a/src/pages/product/warehouse/wholeTransfer/index.vue +++ b/src/pages/product/warehouse/wholeTransfer/index.vue @@ -110,8 +110,9 @@ export default class productCheckReceipt extends BasePage { selectItem(e: any) { this.remove = e.pickerName; this.model.removeList.forEach((item: any) => { - if ((item.materialCode = this.remove.value)) { + if (item.materialCode == this.remove.value) { this.histroyItem = item; + console.log('this.histroyItem', this.histroyItem); } }); } @@ -154,7 +155,7 @@ export default class productCheckReceipt extends BasePage { } else { this.remove = this.model.removeMaterialList[0]; this.model.removeList.forEach((item: any) => { - if ((item.materialCode = this.remove.value)) { + if ((item.materialCode == this.remove.value)) { this.histroyItem = item; } });