Commit 9c0074f5 authored by 黄媛媛's avatar 黄媛媛

快速搜索

parent 7813ad68
......@@ -17,20 +17,20 @@
<ul v-show="morequery" class="queryul">
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
:normalizer="normalizer" />
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="档案名称"></el-input>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="档案名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="物料编码"></el-input>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="物料编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.BrandName" placeholder="品牌"></el-input>
<el-input class="w200" size="small" v-model="msg.BrandName" placeholder="品牌" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商名称"></el-input>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
......@@ -86,6 +86,7 @@
@current-change="currentChange"
background
:page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next"
:total="total">
</el-pagination>
......
......@@ -16,7 +16,7 @@
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="仓库名称"></el-input>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="仓库名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
......
......@@ -18,7 +18,7 @@
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库">
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库" @change="msg.pageIndex=1,getList()">
<el-option
v-for="item in getWareHouseList"
:key="item.Id"
......@@ -29,7 +29,7 @@
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料">
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料" @change="msg.pageIndex=1,getList()">
<el-option
v-for="item in wulaioList"
:key="item.Id"
......@@ -82,6 +82,7 @@
@current-change="currentChange"
background
:page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next"
:total="total">
</el-pagination>
......
......@@ -17,16 +17,16 @@
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.StockOutNum" placeholder="编码"></el-input>
<el-input class="w200" size="small" v-model="msg.StockOutNum" placeholder="编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="耗材编码"></el-input>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="耗材编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesName" placeholder="耗材名称"></el-input>
<el-input class="w200" size="small" v-model="msg.SuppliesName" placeholder="耗材名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库">
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库" @change="msg.pageIndex=1,getList()">
<el-option
v-for="item in getWareHouseList"
:key="item.Id"
......@@ -36,7 +36,7 @@
</el-select>
</li>
<li>
<el-select filterable clearable size="small" v-model="msg.EmployeeId" placeholder="领取人" :filter-method="getEmployee1">
<el-select filterable clearable size="small" v-model="msg.EmployeeId" placeholder="领取人" :filter-method="getEmployee1" @change="msg.pageIndex=1,getList()">
<el-option
v-for="item in EmployeeList1"
:key="item.EmployeeId"
......@@ -49,6 +49,7 @@
<li>
<el-date-picker
v-model="dateList"
@change="msg.pageIndex=1,getList()"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
......@@ -133,6 +134,7 @@
@current-change="currentChange"
background
:page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next"
:total="total">
</el-pagination>
......@@ -252,6 +254,7 @@
class="w200"
size="small"
v-model="wuliaomsg.Name"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="名称"
></el-input>
</li>
......@@ -260,6 +263,7 @@
class="w200"
size="small"
v-model="wuliaomsg.PropertyNum"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="编码"
></el-input>
</li>
......@@ -307,6 +311,7 @@
@current-change="currentChange1"
background
:page-size="wuliaomsg.pageSize"
:current-page.sync="wuliaomsg.pageIndex"
layout="prev, pager, next"
:total="wuliaototal">
</el-pagination>
......
......@@ -17,19 +17,19 @@
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.StockInNum" placeholder="编码"></el-input>
<el-input class="w200" size="small" v-model="msg.StockInNum" placeholder="编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="耗材编码"></el-input>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="耗材编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesName" placeholder="耗材名称"></el-input>
<el-input class="w200" size="small" v-model="msg.SuppliesName" placeholder="耗材名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商"></el-input>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库">
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库" @change="msg.pageIndex=1,getList()">
<el-option
v-for="item in getWareHouseList"
:key="item.Id"
......@@ -40,6 +40,7 @@
</li>
<li>
<el-date-picker
@change="msg.pageIndex=1,getList()"
v-model="dateList"
type="daterange"
range-separator="至"
......@@ -127,6 +128,7 @@
@current-change="currentChange"
background
:page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next"
:total="total">
</el-pagination>
......@@ -245,7 +247,9 @@
class="w200"
size="small"
v-model="wuliaomsg.Name"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="名称"
></el-input>
</li>
<li>
......@@ -253,6 +257,7 @@
class="w200"
size="small"
v-model="wuliaomsg.PropertyNum"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="编码"
></el-input>
</li>
......@@ -300,6 +305,7 @@
@current-change="currentChange1"
background
:page-size="wuliaomsg.pageSize"
:current-page.sync="wuliaomsg.pageIndex"
layout="prev, pager, next"
:total="wuliaototal">
</el-pagination>
......
......@@ -21,16 +21,18 @@
size="small"
v-model="msg.GoodsName"
placeholder="商品名称"
@keyup.enter.native="msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-select size="small" v-model="msg.StockInStatus" >
<el-select size="small" v-model="msg.StockInStatus" @change="msg.pageIndex=1,getList()">
<el-option v-for="item in options" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</li>
<li>
<el-date-picker
@change="msg.pageIndex=1,getList()"
v-model="dateList"
type="daterange"
range-separator="至"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment