Browse Source

更新

dev-warehouse
zhangsiyu 2 years ago
parent
commit
0a44c50aa3
  1. 5
      src/components/tablecmt/tablecmt.vue
  2. 2
      src/views/distribution/signfor/distributionSignfortreat.vue

5
src/components/tablecmt/tablecmt.vue

@ -6,6 +6,7 @@
:summary-method="getSummaries"
v-loading="loading"
@selection-change="handleSelectionChange"
border
height="600"
>
<el-table-column
@ -78,9 +79,7 @@
<template #default="scope">
<el-text class="mx-2" v-if="Number(column.type)<6&&Number(column.type)>0">{{ scope.row[column.prop] }}</el-text>
<slot v-if="column.type == 6" :scope="scope"></slot>
<div v-if="column.type==7">
<el-image style="width: 100px; height: 100px" v-for="item in scope.row[column.prop].split(',')" :src="item" :preview-src-list="scope.row[column.prop].split(',')"/>
</div>
<el-image preview-teleported v-if="column.type==7" style="width: 60px; height: 60px;margin-left: 10px;" :initial-index="index" :z-index="2040" v-for="(item,index) in scope.row[column.prop].split(',')" :src="item" :preview-src-list="scope.row[column.prop].split(',')"/>
<!-- <slot v-if="column.type == 7" name="test" :testdata="scope"></slot> -->
<!-- <el-button
v-if="column.type == 6"

2
src/views/distribution/signfor/distributionSignfortreat.vue

@ -340,7 +340,7 @@ export default {
{
prop: 'deliverySignPictures',
label: '签收图片',
type: 1,
type: 7,
values: '',
width: '180',
checkarr: [],

Loading…
Cancel
Save