优化商品查询框的搜索条件

This commit is contained in:
季圣华
2021-08-05 23:41:03 +08:00
parent 24f221caf9
commit 3269b4874a
2 changed files with 5 additions and 5 deletions

View File

@@ -17,8 +17,8 @@
<a-form layout="inline" @keyup.enter.native="onSearch">
<a-row :gutter="24">
<a-col :md="6" :sm="8">
<a-form-item label="条码" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="请输入条码查询" v-model="queryParam.q"></a-input>
<a-form-item label="商品" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="条码名称规格型号" v-model="queryParam.q"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">

View File

@@ -16,13 +16,13 @@
<!-- 搜索区域 -->
<a-form layout="inline" @keyup.enter.native="onSearch">
<a-row :gutter="24">
<a-col :md="6" :sm="8">
<a-col :md="12" :sm="12">
<a-form-item label="商品信息" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="请输入名称规格型号查询" v-model="queryParam.q"></a-input>
<a-input placeholder="请输入条码名称规格型号" v-model="queryParam.q"></a-input>
</a-form-item>
</a-col>
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-col :md="6" :sm="24">
<a-col :md="12" :sm="12">
<a-button type="primary" @click="onSearch">查询</a-button>
<a-button style="margin-left: 8px" @click="searchReset(1)">重置</a-button>
</a-col>