diff --git a/src/views/inventory/InvOrderPlaceModify.vue b/src/views/inventory/InvOrderPlaceModify.vue index a08c3011..fc12f847 100644 --- a/src/views/inventory/InvOrderPlaceModify.vue +++ b/src/views/inventory/InvOrderPlaceModify.vue @@ -71,13 +71,13 @@ border max-height="300" height="300"> - + - + @@ -96,7 +96,7 @@ @@ -260,7 +260,7 @@ export default { getInvProductInfo(orderId) { let params = { invCode: this.formData.invCode, - code: orderId + orderId: orderId }; getInvProductInfo(params).then((res) => { if (res.data !== null) { diff --git a/src/views/inventory/InvPlaceSelectOrder.vue b/src/views/inventory/InvPlaceSelectOrder.vue index 63465c93..78992bd1 100644 --- a/src/views/inventory/InvPlaceSelectOrder.vue +++ b/src/views/inventory/InvPlaceSelectOrder.vue @@ -125,7 +125,7 @@ export default { }, getList() { this.loading = true; - getInvPlaceOrderList().then((res) => { + getInvPlaceOrderList(this.filterQuery).then((res) => { this.loading = false; if (res.code === 20000) { this.list = res.data.list || []; @@ -153,7 +153,7 @@ export default { }, }, created() { - this.getInvList(); + this.getList(); }, }