瀏覽代碼

2022-12-19 10:00

codeMan 3 年之前
父節點
當前提交
6103c98b4b

+ 3 - 5
src/HDrpManagement/ProductGroupMag/modules/addGroupDetail.vue

@@ -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()
     },
   }
 }

+ 1 - 1
src/HDrpManagement/ProductGroupMag/modules/addGroupDetailBtn.vue

@@ -133,7 +133,7 @@ export default {
       let res = await this.$api.requested(this.params)
       this.productList = res.data
       this.total = res.total
-      console.log(this.productList,'商品');
+      console.log(this.productList,'商品数据',this.params);
     },
     submit () {
       this.$refs.form.validate(async val => {