修改搜索框的样式
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="4" :sm="24">
|
||||
<a-form-item label="仓库">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-form-item label="仓库" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-select
|
||||
showSearch optionFilterProp="children"
|
||||
style="width: 100%"
|
||||
@@ -19,12 +19,12 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="5" :sm="24">
|
||||
<a-form-item label="商品信息">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-form-item label="商品信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-input placeholder="名称、规格、型号" v-model="queryParam.materialParam"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="24" >
|
||||
<a-col :md="6" :sm="24">
|
||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||
<a-button style="margin-left: 8px" type="primary" icon="download" @click="handleExportXls('库存预警')">导出</a-button>
|
||||
@@ -67,6 +67,13 @@
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
labelCol: {
|
||||
span: 5
|
||||
},
|
||||
wrapperCol: {
|
||||
span: 18,
|
||||
offset: 1
|
||||
},
|
||||
// 查询条件
|
||||
queryParam: {
|
||||
materialParam:'',
|
||||
@@ -96,14 +103,6 @@
|
||||
{title: '当前库存', dataIndex: 'currentNumber', width: 80},
|
||||
{title: '建议入库量', dataIndex: 'linjieNumber', width: 80}
|
||||
],
|
||||
labelCol: {
|
||||
xs: { span: 1 },
|
||||
sm: { span: 2 },
|
||||
},
|
||||
wrapperCol: {
|
||||
xs: { span: 10 },
|
||||
sm: { span: 16 },
|
||||
},
|
||||
url: {
|
||||
list: "/depotItem/findStockWarningCount",
|
||||
exportXlsUrl: "/depotItem/exportWarningExcel",
|
||||
|
||||
Reference in New Issue
Block a user