移库 编码选择问题

master
hou 3 years ago
parent 42a6147020
commit 3a81af56be

@ -110,8 +110,9 @@ export default class productCheckReceipt extends BasePage {
selectItem(e: any) { selectItem(e: any) {
this.remove = e.pickerName; this.remove = e.pickerName;
this.model.removeList.forEach((item: any) => { this.model.removeList.forEach((item: any) => {
if ((item.materialCode = this.remove.value)) { if (item.materialCode == this.remove.value) {
this.histroyItem = item; this.histroyItem = item;
console.log('this.histroyItem', this.histroyItem);
} }
}); });
} }
@ -154,7 +155,7 @@ export default class productCheckReceipt extends BasePage {
} else { } else {
this.remove = this.model.removeMaterialList[0]; this.remove = this.model.removeMaterialList[0];
this.model.removeList.forEach((item: any) => { this.model.removeList.forEach((item: any) => {
if ((item.materialCode = this.remove.value)) { if ((item.materialCode == this.remove.value)) {
this.histroyItem = item; this.histroyItem = item;
} }
}); });

Loading…
Cancel
Save