From f4c2439f7a436de8be631cc18a0f90dac005a313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Mon, 8 May 2023 10:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B4=A8=E6=91=86=E6=94=BE=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E5=8A=9F=E8=83=BD=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/InvOrderPlaceModify.vue | 3 +++ src/views/inventory/InvPlaceChangeModify.vue | 1 + src/views/inventory/InvProductPlaceModify.vue | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/views/inventory/InvOrderPlaceModify.vue b/src/views/inventory/InvOrderPlaceModify.vue index 905630f8..f96bc47b 100644 --- a/src/views/inventory/InvOrderPlaceModify.vue +++ b/src/views/inventory/InvOrderPlaceModify.vue @@ -32,6 +32,7 @@ v-model="formData.invSpaceName" :fetch-suggestions="querySearchAsync" placeholder="请输入内容" + :disabled="list.length>0" ref="spaceInputRef" @select="handleSelect" @keypress.enter.native="spaceEnterKey($event)" @@ -175,6 +176,7 @@ export default { invCode: this.formData.invCode, invSpaceCode: this.formData.invSpaceCode, orderId: this.orderId, + type: 2, oid: this.formData.orderId }; bindInvOrderSpace(params).then((res) => { @@ -290,6 +292,7 @@ export default { orderId: this.orderId, invCode: this.formData.invCode, invSpaceCode: this.formData.invSpaceCode, + type: 2, oId: this.currentOrderId }; getInvProductOrderInfo(params).then((res) => { diff --git a/src/views/inventory/InvPlaceChangeModify.vue b/src/views/inventory/InvPlaceChangeModify.vue index b4707165..6e85611b 100644 --- a/src/views/inventory/InvPlaceChangeModify.vue +++ b/src/views/inventory/InvPlaceChangeModify.vue @@ -31,6 +31,7 @@ :fetch-suggestions="querySearchAsync" placeholder="请输入内容" ref="spaceInputRef" + :disabled="list.length>0" @select="handleSelect" @keypress.enter.native="spaceEnterKey($event)" clearable diff --git a/src/views/inventory/InvProductPlaceModify.vue b/src/views/inventory/InvProductPlaceModify.vue index 063ea580..5aa9d7df 100644 --- a/src/views/inventory/InvProductPlaceModify.vue +++ b/src/views/inventory/InvProductPlaceModify.vue @@ -210,6 +210,7 @@ export default { this.invList = response.data || []; this.getSpaceList(); this.getList(); + this.$refs.spaceInputRef.focus(); }) .catch(() => { }); @@ -248,6 +249,7 @@ export default { orderId: this.orderId, invCode: this.formData.invCode, code: code, + type: 1, //按物资上架 invSpaceCode: this.formData.invSpaceCode, }; getInvProductInfo(params).then((res) => {