Explorar el Código

fix(库存调拨): 键盘回车事件放到搜索上

liujt hace 8 meses
padre
commit
ceeb409029
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 1 - 1
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -51,7 +51,6 @@
           <el-form
             label-position="left"
             class="ele-form-search"
-            @keyup.enter.native="search"
             @submit.native.prevent
           >
             <el-row :gutter="10">
@@ -201,6 +200,7 @@
                   placeholder="请输入名称/编码/批次号/型号/规格/客户代号/刻码"
                   v-model="query.keyWord"
                   class="input-with-select"
+                  @keyup.enter.native="querySearch"
                 >
                   <el-button
                     slot="append"