|
@@ -12,7 +12,71 @@
|
|
/>
|
|
/>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="20">
|
|
<a-col :span="20">
|
|
- <div class="table-page-search-wrapper" @keyup.enter="handleEnter">
|
|
|
|
|
|
+ <a-drawer
|
|
|
|
+ title="筛选"
|
|
|
|
+ placement="top"
|
|
|
|
+ :closable="false"
|
|
|
|
+ :visible="showFilter"
|
|
|
|
+ :height="330"
|
|
|
|
+ @close="showFilter=false"
|
|
|
|
+ >
|
|
|
|
+ <div class="table-page-search-wrapper" @keyup.enter="handleEnter">
|
|
|
|
+ <a-form layout="inline">
|
|
|
|
+ <a-row :gutter="48">
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item label="关键字">
|
|
|
|
+ <a-input v-model.trim="queryParam.keyword" placeholder="请输入备件名称"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item label="规格型号">
|
|
|
|
+ <a-input v-model="queryParam.ggxh" placeholder="请输入规格型号"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item label="原厂编号">
|
|
|
|
+ <a-input v-model="queryParam.initNo" placeholder="请输入原厂编号"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item label="关联设备">
|
|
|
|
+ <a-input v-model="queryParam.model" placeholder="新号/旧号/名称/规格"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item label="最低数量">
|
|
|
|
+ <a-input v-model="queryParam.num" placeholder="请输入数量"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8" :sm="24">
|
|
|
|
+ <a-form-item
|
|
|
|
+ label="仓库"
|
|
|
|
+ :labelCol="BaseTool.Constant.labelCol"
|
|
|
|
+ :wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
|
+ >
|
|
|
|
+ <a-tree-select
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
|
|
|
|
+ :treeData="storeTreeDate"
|
|
|
|
+ :treeNodeFilterProp="'title'"
|
|
|
|
+ :showSearch="true"
|
|
|
|
+ v-model="queryParam.storeId"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ >
|
|
|
|
+ </a-tree-select>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="8 || 24" :sm="24">
|
|
|
|
+ <span class="table-page-search-submitButtons">
|
|
|
|
+ <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
|
|
|
|
+ <a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
|
|
|
|
+ </span>
|
|
|
|
+ </a-col>
|
|
|
|
+ </a-row>
|
|
|
|
+ </a-form>
|
|
|
|
+ </div>
|
|
|
|
+ </a-drawer>
|
|
|
|
+ <div class="table-page-search-wrapper">
|
|
<a-form layout="inline">
|
|
<a-form layout="inline">
|
|
<a-row :gutter="48">
|
|
<a-row :gutter="48">
|
|
<a-col :md="8" :sm="24">
|
|
<a-col :md="8" :sm="24">
|
|
@@ -20,54 +84,16 @@
|
|
<a-input v-model.trim="queryParam.keyword" placeholder="请输入备件名称"/>
|
|
<a-input v-model.trim="queryParam.keyword" placeholder="请输入备件名称"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
- <a-form-item label="规格型号">
|
|
|
|
- <a-input v-model="queryParam.ggxh" placeholder="请输入规格型号"/>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
- <a-form-item label="原厂编号">
|
|
|
|
- <a-input v-model="queryParam.initNo" placeholder="请输入原厂编号"/>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
- <a-form-item label="关联设备">
|
|
|
|
- <a-input v-model="queryParam.model" placeholder="新号/旧号/名称/规格"/>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
- <a-form-item label="最低数量">
|
|
|
|
- <a-input v-model="queryParam.num" placeholder="请输入数量"/>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
- <a-form-item
|
|
|
|
- label="仓库"
|
|
|
|
- :labelCol="BaseTool.Constant.labelCol"
|
|
|
|
- :wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
|
- >
|
|
|
|
- <a-tree-select
|
|
|
|
- style="width: 100%"
|
|
|
|
- :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
|
|
|
|
- :treeData="storeTreeDate"
|
|
|
|
- :treeNodeFilterProp="'title'"
|
|
|
|
- :showSearch="true"
|
|
|
|
- v-model="queryParam.storeId"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- >
|
|
|
|
- </a-tree-select>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="8 || 24" :sm="24">
|
|
|
|
- <span class="table-page-search-submitButtons">
|
|
|
|
- <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
|
|
|
|
- <a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
|
|
|
|
- </span>
|
|
|
|
|
|
+ <a-col :md="6 || 24" :sm="24">
|
|
|
|
+ <a-space>
|
|
|
|
+ <a-button type="primary" @click="handleOk">查询</a-button>
|
|
|
|
+ <a-button type="primary" @click="showFilter=true">筛选</a-button>
|
|
|
|
+ <a-button @click="resetSearchForm">重置</a-button>
|
|
|
|
+ </a-space>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
</a-form>
|
|
</a-form>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div class="table-operator" style="margin-bottom: 8px;">
|
|
<div class="table-operator" style="margin-bottom: 8px;">
|
|
<a-button type="primary" icon="plus" @click="$refs.baseModal.base()">新增</a-button>
|
|
<a-button type="primary" icon="plus" @click="$refs.baseModal.base()">新增</a-button>
|
|
<a-button style="margin-left: 8px" type="primary" icon="download" @click="doExport">导出</a-button>
|
|
<a-button style="margin-left: 8px" type="primary" icon="download" @click="doExport">导出</a-button>
|
|
@@ -136,6 +162,7 @@ export default {
|
|
queryParam: {
|
|
queryParam: {
|
|
filter: this.filter
|
|
filter: this.filter
|
|
},
|
|
},
|
|
|
|
+ showFilter: false,
|
|
storeTreeDate: [],
|
|
storeTreeDate: [],
|
|
spareTypeTreeData: [],
|
|
spareTypeTreeData: [],
|
|
// 表头
|
|
// 表头
|