Browse Source

修改

dongming
lichao 9 months ago
parent
commit
9361b4525e
  1. 5
      src/views/modules/shequzhili/materialcode/event.vue
  2. 4
      src/views/modules/shequzhili/materialcode/icmaterialcode.vue

5
src/views/modules/shequzhili/materialcode/event.vue

@ -29,14 +29,15 @@
<div class="m-info-prop" style="flex: 0 0 50%;">
<span class="u-info-title-2">照片: </span>
<span style="margin-right: 10px;">&nbsp;</span>
<span>{{ formData.picture || "--" }}</span>
<span><img :src="formData.picture" style="width: 50px;height: 50px;"/></span>
</div>
</div>
<div style="display: flex;">
<div class="m-info-prop" style="flex: 0 0 50%;">
<span class="u-info-title-2">二维码: </span>
<span style="margin-right: 10px;">&nbsp;</span>
<span>{{ formData.code || "--" }}</span>
<!-- <span>{{ formData.code || "&#45;&#45;" }}</span>-->
<span><img :src="formData.code" style="width: 50px;height: 50px;"/></span>
</div>
</div>

4
src/views/modules/shequzhili/materialcode/icmaterialcode.vue

@ -49,7 +49,7 @@
<el-table-column prop="picture" label="图片" header-align="center" align="center" >
<template slot-scope="scope" >
<img :src="scope.row.picture"/>
<img :src="scope.row.picture" style="width: 50px;height: 50px;"/>
</template>
</el-table-column>
@ -66,7 +66,7 @@
<el-button type="text" style="color:#1C6AFD;" size="small"
@click="handleDelete(scope.row)">删除</el-button>
<el-button type="text" style="color:#1C6AFD;" size="small"
@click="download(scope.row)">下载</el-button>
@click="download(scope.row)">二维码</el-button>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save