|
|
@@ -68,13 +68,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async getDetail() {
|
|
|
- console.log(this.rowData);
|
|
|
-
|
|
|
this.params.content.sa_itemgroupid = this.rowData.sa_itemgroupid
|
|
|
let res = await this.$api.requested(this.params)
|
|
|
this.list = res.data
|
|
|
this.total = res.total
|
|
|
- console.log(res);
|
|
|
+ console.log(res,'列表数据',this.params);
|
|
|
|
|
|
},
|
|
|
handleClose(tag) {
|
|
|
@@ -83,12 +81,12 @@ export default {
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
this.params.content.pageSize = val
|
|
|
- this.getProductList()
|
|
|
+ this.getDetail()
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
this.params.content.pageNumber = val
|
|
|
- this.getProductList()
|
|
|
+ this.getDetail()
|
|
|
},
|
|
|
}
|
|
|
}
|