|
@@ -38,8 +38,8 @@
|
|
|
<div class="areaDiv" style="width: 100%;overflow-x: auto;">
|
|
|
|
|
|
<!-- 货架(单个) -->
|
|
|
- <template v-for="item in shelvesTreeList">
|
|
|
- <div class="tableBlock">
|
|
|
+ <template>
|
|
|
+ <div class="tableBlock" v-for="item in shelvesTreeList" :key="item.id">
|
|
|
<!-- 上部分-是个统计数据 -->
|
|
|
<div class="topDiv">
|
|
|
<span class="topSpan allTongji">
|
|
@@ -61,16 +61,11 @@
|
|
|
</div>
|
|
|
<!-- 中部-货架小格子 -->
|
|
|
<table class="contentDiv" border="0" cellspacing="0" cellpadding="6">
|
|
|
- <tr v-for="objTr in item.layList">
|
|
|
-
|
|
|
- <td v-for="objTd in objTr.stockList" :class="objTd.storgeStockCount>0 ? 'blueBg' : ''" @click="editOne(objTd)">
|
|
|
+ <tr v-for="objTr in item.layList" :key="objTr">
|
|
|
+ <td v-for="objTd in objTr.stockList" :key="objTd.id" :class="objTd.storgeStockCount>0 ? 'blueBg' : ''" @click="editOne(objTd)">
|
|
|
{{objTd.no}}
|
|
|
<el-image v-if="objTd.lockStatus == '0'" class="locked" :src="resolveLogo(lockImg)" fit="contain"></el-image>
|
|
|
- </td>
|
|
|
- <!--<td class="blueBg" @click="editOne()">5-2</td>
|
|
|
- <td class="blueBg" @click="editOne()">5-3</td>
|
|
|
- <td class="blueBg" @click="editOne()">5-4</td>
|
|
|
- <td class="blueBg" @click="editOne()">5-5</td>-->
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<!--
|
|
|
<tr>
|