no message

main
暴炳林 2024-06-04 14:37:16 +08:00
parent 60bf29b32a
commit dac10d92b0
2 changed files with 11 additions and 4 deletions

View File

@ -203,6 +203,9 @@
<div>{{ scope.row.dept.name }}</div> <div>{{ scope.row.dept.name }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="posX" label="坐标x"/>
<el-table-column prop="posY" label="坐标y"/>
<el-table-column prop="posZ" label="坐标z"/>
<el-table-column label="启用" align="center" prop="enabled"> <el-table-column label="启用" align="center" prop="enabled">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch

View File

@ -11,13 +11,16 @@
<dv-border-box-10 class="box10" v-for="(div, index) in divs" :key="index"> <dv-border-box-10 class="box10" v-for="(div, index) in divs" :key="index">
<el-tooltip placement="top" class="item" effect="dark"> <el-tooltip placement="top" class="item" effect="dark">
<div slot="content"> <!-- <div slot="content">
物料代码{{ div.code }}<br/> 物料代码{{ div.code }}<br/>
物料名称{{ div.code }}<br/> 物料名称{{ div.code }}<br/>
库存数量{{ 0 }} 库存数量{{ 0 }}
</div> </div>-->
<el-button style="background-color:#AFEEEE;height: 80px;width:180px;margin: 10px"> <el-button style="background-color:#AFEEEE;height: 80px;width:180px;margin: 10px">
库位{{ div.code }}<br/> <!-- {{ div.code }}-->
<div v-for="(d, index) in div" :key="index">
{{ d.pointCode }} 7000073<br/>
</div>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</dv-border-box-10> </dv-border-box-10>
@ -77,7 +80,7 @@ export default {
data() { data() {
return { return {
total: 0, total: 0,
pageSize: 25, pageSize: 12,
currentPage: 1, currentPage: 1,
currentIndex: 0, currentIndex: 0,
intervalId: null, intervalId: null,
@ -207,6 +210,7 @@ export default {
crudPoint.queryPointInfo(CurrentPage).then(res => { crudPoint.queryPointInfo(CurrentPage).then(res => {
this.total = Number(res.data.total) this.total = Number(res.data.total)
this.divs = res.data.data this.divs = res.data.data
this.pageSize = Number(res.data.pageSize)
// //
for (let i = 1; i <= this.collectionLength; i++) { for (let i = 1; i <= this.collectionLength; i++) {
this.collection.push(i) this.collection.push(i)