Browse Source

Squashed commit of the following:

commit e34ece1a62
Author: 0.0 <1092404103.qq.com>
Date:   Mon Jul 3 18:05:27 2023 +0800

    1.待签收列表
dev-warehouse
zhangsiyu 2 years ago
parent
commit
4b7efc06b8
  1. 5
      src/components/tablecmt/tablecmt.vue

5
src/components/tablecmt/tablecmt.vue

@ -78,6 +78,9 @@
<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" />
</div>
<!-- <slot v-if="column.type == 7" name="test" :testdata="scope"></slot> -->
<!-- <el-button
v-if="column.type == 6"
@ -135,7 +138,7 @@ interface TableColumnType {
* 4:带日期选择器列
* 5:带日期时间选择器
* 6:操作栏proplabel全部传空
* 7:测试
* 7:图片
*/
type: number | string;
/** 用于接受表头的值 */

Loading…
Cancel
Save