caojunjie 2 лет назад
Родитель
Сommit
2a345aa80f
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/views/iosBasicData/SeafreightExportF/bills/assembly/filescenter.vue

+ 5 - 1
src/views/iosBasicData/SeafreightExportF/bills/assembly/filescenter.vue

@@ -37,7 +37,7 @@
       </template>
       </template>
         <template slot="menu" slot-scope="{ row, index }">
         <template slot="menu" slot-scope="{ row, index }">
             <el-button size="small" icon="el-icon-delete" type="text"
             <el-button size="small" icon="el-icon-delete" type="text"
-                       @click="rowDel(row, index)">预 览
+                       @click="rowPreview(row, index)">预 览
             </el-button>
             </el-button>
             <el-button v-if="row.edit" size="small" icon="el-icon-edit" type="text"
             <el-button v-if="row.edit" size="small" icon="el-icon-edit" type="text"
                        @click="rowCell(row, index)">保 存
                        @click="rowCell(row, index)">保 存
@@ -310,6 +310,10 @@
             loading = false;
             loading = false;
             done();
             done();
         },
         },
+        // 预览
+        rowPreview(row,index){
+            console.log(row,315)
+        },
         // 编辑
         // 编辑
         rowEdit(row,index) {
         rowEdit(row,index) {
             this.$set(row,'edit',true)
             this.$set(row,'edit',true)