diff --git a/src/views/inventory/InvOrderPlaceModify.vue b/src/views/inventory/InvOrderPlaceModify.vue index 32be9521..0a428b33 100644 --- a/src/views/inventory/InvOrderPlaceModify.vue +++ b/src/views/inventory/InvOrderPlaceModify.vue @@ -44,7 +44,7 @@ v-model="formData.invSpaceName" :fetch-suggestions="querySearchAsync" placeholder="请输入内容" - :disabled="list.length > 0" + :disabled="list.length > 0 || formData.invCode === ''" ref="spaceInputRef" @select="handleSelect" @keypress.enter.native="spaceEnterKey($event)" @@ -53,6 +53,7 @@ > +