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

快速搜索

parent 7813ad68
...@@ -17,20 +17,20 @@ ...@@ -17,20 +17,20 @@
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
<li style="float:left"> <li style="float:left">
<!-- :alwaysOpen="true" --> <!-- :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" /> :normalizer="normalizer" />
</li> </li>
<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>
<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>
<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>
<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>
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
@current-change="currentChange" @current-change="currentChange"
background background
:page-size="msg.pageSize" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="total"> :total="total">
</el-pagination> </el-pagination>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<div class="padContent"> <div class="padContent">
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
<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>
</ul> </ul>
<vxe-table stripe style="margin-top:15px" :loading="loading" <vxe-table stripe style="margin-top:15px" :loading="loading"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="padContent"> <div class="padContent">
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
<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 <el-option
v-for="item in getWareHouseList" v-for="item in getWareHouseList"
:key="item.Id" :key="item.Id"
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</li> </li>
<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 <el-option
v-for="item in wulaioList" v-for="item in wulaioList"
:key="item.Id" :key="item.Id"
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
@current-change="currentChange" @current-change="currentChange"
background background
:page-size="msg.pageSize" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="total"> :total="total">
</el-pagination> </el-pagination>
......
...@@ -17,16 +17,16 @@ ...@@ -17,16 +17,16 @@
<div class="padContent"> <div class="padContent">
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
<li> <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>
<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>
<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>
<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 <el-option
v-for="item in getWareHouseList" v-for="item in getWareHouseList"
:key="item.Id" :key="item.Id"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-select> </el-select>
</li> </li>
<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 <el-option
v-for="item in EmployeeList1" v-for="item in EmployeeList1"
:key="item.EmployeeId" :key="item.EmployeeId"
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
<li> <li>
<el-date-picker <el-date-picker
v-model="dateList" v-model="dateList"
@change="msg.pageIndex=1,getList()"
type="daterange" type="daterange"
range-separator="至" range-separator="至"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
...@@ -133,6 +134,7 @@ ...@@ -133,6 +134,7 @@
@current-change="currentChange" @current-change="currentChange"
background background
:page-size="msg.pageSize" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="total"> :total="total">
</el-pagination> </el-pagination>
...@@ -252,6 +254,7 @@ ...@@ -252,6 +254,7 @@
class="w200" class="w200"
size="small" size="small"
v-model="wuliaomsg.Name" v-model="wuliaomsg.Name"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="名称" placeholder="名称"
></el-input> ></el-input>
</li> </li>
...@@ -260,6 +263,7 @@ ...@@ -260,6 +263,7 @@
class="w200" class="w200"
size="small" size="small"
v-model="wuliaomsg.PropertyNum" v-model="wuliaomsg.PropertyNum"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="编码" placeholder="编码"
></el-input> ></el-input>
</li> </li>
...@@ -307,6 +311,7 @@ ...@@ -307,6 +311,7 @@
@current-change="currentChange1" @current-change="currentChange1"
background background
:page-size="wuliaomsg.pageSize" :page-size="wuliaomsg.pageSize"
:current-page.sync="wuliaomsg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="wuliaototal"> :total="wuliaototal">
</el-pagination> </el-pagination>
......
...@@ -17,19 +17,19 @@ ...@@ -17,19 +17,19 @@
<div class="padContent"> <div class="padContent">
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
<li> <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>
<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>
<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>
<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>
<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 <el-option
v-for="item in getWareHouseList" v-for="item in getWareHouseList"
:key="item.Id" :key="item.Id"
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
</li> </li>
<li> <li>
<el-date-picker <el-date-picker
@change="msg.pageIndex=1,getList()"
v-model="dateList" v-model="dateList"
type="daterange" type="daterange"
range-separator="至" range-separator="至"
...@@ -127,6 +128,7 @@ ...@@ -127,6 +128,7 @@
@current-change="currentChange" @current-change="currentChange"
background background
:page-size="msg.pageSize" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="total"> :total="total">
</el-pagination> </el-pagination>
...@@ -245,7 +247,9 @@ ...@@ -245,7 +247,9 @@
class="w200" class="w200"
size="small" size="small"
v-model="wuliaomsg.Name" v-model="wuliaomsg.Name"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="名称" placeholder="名称"
></el-input> ></el-input>
</li> </li>
<li> <li>
...@@ -253,6 +257,7 @@ ...@@ -253,6 +257,7 @@
class="w200" class="w200"
size="small" size="small"
v-model="wuliaomsg.PropertyNum" v-model="wuliaomsg.PropertyNum"
@keyup.enter.native="wuliaomsg.pageIndex=1,getWuliao()"
placeholder="编码" placeholder="编码"
></el-input> ></el-input>
</li> </li>
...@@ -300,6 +305,7 @@ ...@@ -300,6 +305,7 @@
@current-change="currentChange1" @current-change="currentChange1"
background background
:page-size="wuliaomsg.pageSize" :page-size="wuliaomsg.pageSize"
:current-page.sync="wuliaomsg.pageIndex"
layout="prev, pager, next" layout="prev, pager, next"
:total="wuliaototal"> :total="wuliaototal">
</el-pagination> </el-pagination>
......
...@@ -21,16 +21,18 @@ ...@@ -21,16 +21,18 @@
size="small" size="small"
v-model="msg.GoodsName" v-model="msg.GoodsName"
placeholder="商品名称" placeholder="商品名称"
@keyup.enter.native="msg.pageIndex=1,getList()"
></el-input> ></el-input>
</li> </li>
<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 v-for="item in options" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<el-date-picker <el-date-picker
@change="msg.pageIndex=1,getList()"
v-model="dateList" v-model="dateList"
type="daterange" type="daterange"
range-separator="至" 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