ysy 1 rok temu
rodzic
commit
c9370d692f
1 zmienionych plików z 12 dodań i 2 usunięć
  1. 12 2
      src/views/byProduct/index.vue

+ 12 - 2
src/views/byProduct/index.vue

@@ -16,7 +16,7 @@
         @update:selection="handleSelectionChange"
       >
         <template v-slot:toolbar>
-          <el-button type="primary" size="mini" @click="handByProd">建回收单</el-button>
+          <el-button type="primary" size="mini" @click="handByProd">建回收单</el-button>
         </template>
 
         <template v-slot:formedNum="{ row }">
@@ -63,10 +63,20 @@
     computed: {
       columns() {
         return [
+        {
+            columnKey: 'index',
+            label: '序号',
+            type: 'index',
+            width: 55,
+            align: 'center',
+            showOverflowTooltip: true,
+            fixed: 'left'
+          },
           {
             prop: 'code',
             label: '回收单号',
-            align: 'left'
+            align: 'left',
+            width: '300'
           },
 
           {