Browse Source

二维码编辑页表格渲染

lwx_16
liwenxuan 10 months ago
parent
commit
20c3a32646
  1. 22
      src/components/DesignForm/tableListPage/index.vue

22
src/components/DesignForm/tableListPage/index.vue

@ -1590,7 +1590,7 @@ const diGuiJilian = (val: any, options: any[]) => {
width="50%"
>
<div style="min-height: 50px; max-height: 500px; overflow-y: auto">
<div v-for="(tableData, index) in qrCodesPrintDialogData" :key="index" style="margin-bottom: 30px; width: 95%;">
<div :id="index" v-for="(tableData, index) in qrCodesPrintDialogData" :key="index" style="margin-bottom: 30px; width: 95%;">
<table >
<tr>
<th style="font-weight: bold; font-size:medium;" colspan="2">{{tableData.groupName}}-{{qrCodesPrintDialogData[index].appName}}-{{qrCodesPrintDialogData[index].formName}}-{{ index }}</th>
@ -1600,25 +1600,13 @@ const diGuiJilian = (val: any, options: any[]) => {
<th>{{ item.key }}</th>
<td>{{ item.value }}</td>
</tr>
<!-- <tr>
<th>规格型号</th>
<td>V=500m³</td>
</tr>
<tr>
<th>设备类型</th>
<td>A</td>
</tr>
<tr>
<th>存放位置</th>
<td>空分工序</td>
</tr> -->
</table>
</table>
</div>
</div>
</div>
<!-- {{qrCodesPrintDialogData}} -->
<template #footer>
<div class="dialog-footer">
<el-button type="primary" @click="qrCodesPrintDialogFlag = false">
<el-button plain>下载</el-button>
<el-button type="primary" plain @click="qrCodesPrintDialogFlag = false">
确定
</el-button>
</div>

Loading…
Cancel
Save