|
|
@@ -194,7 +194,7 @@
|
|
|
hasClick: false,
|
|
|
searchCode: '',
|
|
|
pageParams: {
|
|
|
- count: 10,
|
|
|
+ count: 20,
|
|
|
page: 1
|
|
|
}
|
|
|
}
|
|
|
@@ -204,6 +204,7 @@
|
|
|
},
|
|
|
computed: {
|
|
|
list () {
|
|
|
+ console.log(this.$store.state.supplier.material.material.data)
|
|
|
return this.$store.state.supplier.material.material.data
|
|
|
},
|
|
|
enUser () {
|
|
|
@@ -230,7 +231,7 @@
|
|
|
// 获取分页数据
|
|
|
handleCurrentChange (type) {
|
|
|
this.pageParams.page = type
|
|
|
- this.$store.dispatch('supplier/loadMaterialList', {page: type, size: 20, vendUU: this.$route.params.uuid, keyword: this.searchCode})
|
|
|
+ this.$store.dispatch('supplier/loadMaterialList', {page: type, size: this.pageParams.count, vendUU: this.$route.params.uuid, keyword: this.searchCode})
|
|
|
},
|
|
|
// 根据搜索信息获取数据
|
|
|
goodsSearch (type) {
|