Commit 63c586a0 by T

bug修复及储位灯开关优化

parent 59e7268e
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
</td> </td>
<th class="textHeader">所在储位</th> <th class="textHeader">所在储位</th>
<td class="textContentLast"> <td class="textContentLast">
{{ detailData.LocationName }}<br> <span v-if="detailData.LibraryName =='一号仓库'" style="margin-left: 0px"> {{ detailData.LocationName }}<br> <span v-if="detailData.LibraryID =='1'" style="margin-left: 0px">
灯开关:<el-switch v-model="open" :active-open="true" :inactive-open="false" @change="changeLight()"></el-switch></span> 灯开关:<el-switch v-model="open" :active-open="true" :inactive-open="false" @change="changeLight()"></el-switch></span>
</td> </td>
</tr> </tr>
......
...@@ -147,8 +147,9 @@ ...@@ -147,8 +147,9 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="储位灯开关" width="160" align="center"> <el-table-column label="储位灯开关" width="160" align="center">
<template v-slot="scope"> <template v-slot="scope">
<el-switch <el-switch
:disabled="scope.row.StorageType!=0"
v-model="scope.row.isOpen" v-model="scope.row.isOpen"
@change="changeLight(scope.row)" @change="changeLight(scope.row)"
:active-isOpen="true" :active-isOpen="true"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论