Quellcode durchsuchen

bug修复提交

LAPTOP-16IUEB3P\Lenovo vor 2 Jahren
Ursprung
Commit
3da5a23377

+ 4 - 4
src/views/equipmentManage/index.vue

@@ -21,7 +21,6 @@
             :columns="columns"
             :datasource="datasource"
             height="calc(100vh - 350px)"
-            :need-page="false"
             :initLoad="false"
             :current.sync="current"
             highlight-current-row
@@ -61,9 +60,10 @@
           {
             columnKey: 'index',
             type: 'index',
-            width: 45,
+            width: 55,
             align: 'center',
-            reserveSelection: true
+            reserveSelection: true,
+            label: '序号'
           },
           {
             prop: 'code',
@@ -118,7 +118,7 @@
       },
       /* 刷新表格 */
       reload (where) {
-        this.$refs.table.reload({ where: where});
+        this.$refs.table.reload({ where: where });
       },
       handleNodeClick (data) {
         this.categoryLevelId = data.id;

+ 5 - 4
src/views/material/product/index.vue

@@ -21,7 +21,6 @@
             :columns="columns"
             :datasource="datasource"
             height="calc(100vh - 350px)"
-            :need-page="false"
             class="dict-table"
           >
             <!-- 表头工具栏 -->
@@ -57,9 +56,11 @@
           {
             columnKey: 'index',
             type: 'index',
-            width: 45,
+            width: 55,
             align: 'center',
-            reserveSelection: true
+            reserveSelection: true,
+            label: '序号',
+            showOverflowTooltip: true
           },
           {
             prop: 'code',
@@ -103,7 +104,7 @@
           ...where,
           pageNum: page,
           size: limit,
-          isProduct:true,
+          isProduct: true,
           categoryLevelId: this.categoryLevelId
         });
       },

+ 1 - 2
src/views/material/productLinkMaterial/index.vue

@@ -21,7 +21,6 @@
             :columns="columns"
             :datasource="datasource"
             height="calc(100vh - 350px)"
-            :need-page="false"
             :initLoad="false"
             :current.sync="current"
             highlight-current-row
@@ -121,7 +120,7 @@
       },
       /* 刷新表格 */
       reload (where) {
-        this.$refs.table.reload({where:where});
+        this.$refs.table.reload({ where: where });
       },
       handleNodeClick (data) {
         this.categoryLevelId = data.id;