codeMan преди 3 години
родител
ревизия
7c2dbfdb36
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 3 1
      src/HDrpManagement/prodectFileData/components/relationList.vue
  2. 2 0
      src/SDrpManagement/ProductGroup/modules/Select.vue

+ 3 - 1
src/HDrpManagement/prodectFileData/components/relationList.vue

@@ -75,7 +75,9 @@ export default {
       const res = await this.$api.requested(this.params)
       this.list = res.data
       this.total = res.total
-      this.currentPage = res.pageTotal
+      this.currentPage = res.pageNumber
+      console.log(this.currentPage);
+      
       console.log(res)
     },
     handleSizeChange(val) {

+ 2 - 0
src/SDrpManagement/ProductGroup/modules/Select.vue

@@ -93,6 +93,8 @@ export default {
     clickClass (item) {
       if (item) {
         this.activeClass = item
+        console.log(item);
+        
         this.class_act = item.itemclassnum
         this.change(item)
       } else {