ysy 1 год назад
Родитель
Сommit
c9370d692f
1 измененных файлов с 12 добавлено и 2 удалено
  1. 12 2
      src/views/byProduct/index.vue

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

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