bug:15741、15743

dev
LiuJiaNan 2024-05-31 08:56:00 +08:00
parent def2819255
commit 85ae613eb8
2 changed files with 58 additions and 14 deletions

View File

@ -38,6 +38,7 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">保养记录</el-divider> <el-divider content-position="left">保养记录</el-divider>
<div class="print_no_use">
<layout-table :data="list" :show-pagination="false"> <layout-table :data="list" :show-pagination="false">
<el-table-column type="index" label="序号" align="center" /> <el-table-column type="index" label="序号" align="center" />
<el-table-column prop="MAINTAIN_DATE" label="保养时间" /> <el-table-column prop="MAINTAIN_DATE" label="保养时间" />
@ -46,6 +47,27 @@
<el-table-column prop="REMARK" label="备注" /> <el-table-column prop="REMARK" label="备注" />
</layout-table> </layout-table>
</div> </div>
<table class="print_use">
<thead>
<tr>
<th>序号</th>
<th>保养时间</th>
<th>保养情况</th>
<th>保养人</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in list" :key="index">
<td>{{ index + 1 }}</td>
<td>{{ item.MAINTAIN_DATE }}</td>
<td>{{ item.MAINTAIN_CONDITION }}</td>
<td>{{ item.MAINTAIN_PERSON }}</td>
<td>{{ item.REMARK }}</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-10 tc"> <div class="mt-10 tc">
<el-button v-print="'#printContainer'" type="primary"></el-button> <el-button v-print="'#printContainer'" type="primary"></el-button>
</div> </div>

View File

@ -41,6 +41,7 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">保养记录</el-divider> <el-divider content-position="left">保养记录</el-divider>
<div class="print_no_use">
<layout-table :data="list" :show-pagination="false"> <layout-table :data="list" :show-pagination="false">
<el-table-column type="index" label="序号" align="center" /> <el-table-column type="index" label="序号" align="center" />
<el-table-column prop="MAINTAIN_DATE" label="保养时间" /> <el-table-column prop="MAINTAIN_DATE" label="保养时间" />
@ -49,6 +50,27 @@
<el-table-column prop="REMARK" label="备注" /> <el-table-column prop="REMARK" label="备注" />
</layout-table> </layout-table>
</div> </div>
<table class="print_use">
<thead>
<tr>
<th>序号</th>
<th>保养时间</th>
<th>保养情况</th>
<th>保养人</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in list" :key="index">
<td>{{ index + 1 }}</td>
<td>{{ item.MAINTAIN_DATE }}</td>
<td>{{ item.MAINTAIN_CONDITION }}</td>
<td>{{ item.MAINTAIN_PERSON }}</td>
<td>{{ item.REMARK }}</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-10 tc"> <div class="mt-10 tc">
<el-button v-print="'#printContainer'" type="primary"></el-button> <el-button v-print="'#printContainer'" type="primary"></el-button>
</div> </div>