|
@@ -18,15 +18,10 @@
|
|
|
trigger="click"
|
|
|
v-model="priceShow"
|
|
|
@show="priceList">
|
|
|
- <el-input
|
|
|
- style="width:300px;margin-bottom: 10px"
|
|
|
- placeholder="请输入内容"
|
|
|
- v-model="params2.content.where.condition"
|
|
|
- clearable
|
|
|
- @clear="priceList(params2.content.pageNumber = 1)"
|
|
|
- size="mini"
|
|
|
- @keyup.enter.native="priceList(params2.content.pageNumber = 1)">
|
|
|
- <i slot="prefix" class="el-icon-search" @click="priceList(params2.content.pageNumber = 1)"></i>
|
|
|
+ <el-input style="width:200px;" placeholder="单号、提交人"
|
|
|
+ :suffix-icon="params2.content.where.condition?params2.content.where.condition.length > 0?'':'':'el-icon-search'"
|
|
|
+ v-model="params2.content.where.condition" @keyup.native.enter="priceList(params2.content.pageNumber = 1)"
|
|
|
+ @clear="priceList(params2.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
<el-table :data="priceData" @row-click="priceDataSelect" height="396px" size="mini">
|
|
|
<el-table-column
|
|
@@ -64,9 +59,10 @@
|
|
|
small
|
|
|
@size-change="handleSizeChangePrice"
|
|
|
@current-change="handleCurrentChangePrice"
|
|
|
- :page-sizes="[10,20,50,100]"
|
|
|
+ :page-sizes="[20,50,100,200]"
|
|
|
+ :page-size="20"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
|
- :current-page="currentPage2"
|
|
|
+ :current-page="params2.content.pageNumber"
|
|
|
:total="total2">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
@@ -153,7 +149,7 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="params.content.pageNumber"
|
|
|
- :page-sizes="[20, 50, 100, 200]"
|
|
|
+ :page-sizes="[ 100,150, 200]"
|
|
|
:page-size="100"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
@@ -313,13 +309,13 @@ export default {
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
- this.param.content.pageSize = val
|
|
|
- this.productData()
|
|
|
+ this.params.content.pageSize = val
|
|
|
+ this.listData()
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
- this.param.content.pageNumber = val
|
|
|
- this.productData()
|
|
|
+ this.params.content.pageNumber = val
|
|
|
+ this.listData()
|
|
|
},
|
|
|
selectionChange(val){
|
|
|
this.tableSelectData = []
|
|
@@ -365,10 +361,12 @@ export default {
|
|
|
handleSizeChangePrice(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
this.params2.content.pageSize = val
|
|
|
+ this.priceList()
|
|
|
},
|
|
|
handleCurrentChangePrice(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
this.params2.content.pageNumber = val
|
|
|
+ this.priceList()
|
|
|
},
|
|
|
priceDataSelect(row){
|
|
|
this.billno = row.billno
|
|
@@ -438,5 +436,13 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-
|
|
|
+/deep/ input::-webkit-input-placeholder {
|
|
|
+ color: #58585d;
|
|
|
+}
|
|
|
+/deep/ input::-moz-input-placeholder {
|
|
|
+ color: #58585d;
|
|
|
+}
|
|
|
+/deep/ input::-ms-input-placeholder {
|
|
|
+ color: #58585d;
|
|
|
+}
|
|
|
</style>
|