Commit 63c586a0 by T

bug修复及储位灯开关优化

parent 59e7268e
......@@ -270,7 +270,7 @@
</td>
<th class="textHeader">所在储位</th>
<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>
</td>
</tr>
......
......@@ -147,8 +147,9 @@
</template>
</el-table-column>
<el-table-column label="储位灯开关" width="160" align="center">
<template v-slot="scope">
<template v-slot="scope">
<el-switch
:disabled="scope.row.StorageType!=0"
v-model="scope.row.isOpen"
@change="changeLight(scope.row)"
:active-isOpen="true"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论