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,13 +38,35 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">保养记录</el-divider> <el-divider content-position="left">保养记录</el-divider>
<layout-table :data="list" :show-pagination="false"> <div class="print_no_use">
<el-table-column type="index" label="序号" align="center" /> <layout-table :data="list" :show-pagination="false">
<el-table-column prop="MAINTAIN_DATE" label="保养时间" /> <el-table-column type="index" label="序号" align="center" />
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" /> <el-table-column prop="MAINTAIN_DATE" label="保养时间" />
<el-table-column prop="MAINTAIN_PERSON" label="保养人" /> <el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
<el-table-column prop="REMARK" label="备注" /> <el-table-column prop="MAINTAIN_PERSON" label="保养人" />
</layout-table> <el-table-column prop="REMARK" label="备注" />
</layout-table>
</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>
<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>

View File

@ -41,13 +41,35 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider content-position="left">保养记录</el-divider> <el-divider content-position="left">保养记录</el-divider>
<layout-table :data="list" :show-pagination="false"> <div class="print_no_use">
<el-table-column type="index" label="序号" align="center" /> <layout-table :data="list" :show-pagination="false">
<el-table-column prop="MAINTAIN_DATE" label="保养时间" /> <el-table-column type="index" label="序号" align="center" />
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" /> <el-table-column prop="MAINTAIN_DATE" label="保养时间" />
<el-table-column prop="MAINTAIN_PERSON" label="保养人" /> <el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
<el-table-column prop="REMARK" label="备注" /> <el-table-column prop="MAINTAIN_PERSON" label="保养人" />
</layout-table> <el-table-column prop="REMARK" label="备注" />
</layout-table>
</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>
<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>