|
|
|
|
@ -10,9 +10,7 @@
|
|
|
|
|
>
|
|
|
|
|
<span slot="tab" >
|
|
|
|
|
{{ getRandom(latticeRow + 1 -index, latticeRow, nums.row, total.row) }}
|
|
|
|
|
<a-icon type="info-circle" v-if="status.row[index] === 1" style="color: #FFD700"/>
|
|
|
|
|
<a-icon type="close-circle" v-else-if="status.row[index] === 2" style="color: #d81e06"/>
|
|
|
|
|
<a-icon type="check-circle" v-else-if="status.row[index] === 3" style="color: #1afa29" />
|
|
|
|
|
<a-icon type="info-circle" v-if="status.row[index] === 1" style="color: #d81e06"/>
|
|
|
|
|
<a-icon type="exclamation-circle" v-else style="color: #909399" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|
@ -50,9 +48,7 @@
|
|
|
|
|
{{ getRandom(index, latticeColumn, nums.column, total.column) }}
|
|
|
|
|
<!-- <a-icon :id="`${shelveId}-row-${getRandom(index,latticeRow,nums.row,total.row)}`"/> -->
|
|
|
|
|
|
|
|
|
|
<a-icon type="info-circle" v-if="status.column[index] === 1" style="color: #FFD700"/>
|
|
|
|
|
<a-icon type="close-circle" v-else-if="status.column[index] === 2" style="color: #d81e06"/>
|
|
|
|
|
<a-icon type="check-circle" v-else-if="status.column[index] === 3" style="color: #1afa29" />
|
|
|
|
|
<a-icon type="info-circle" v-if="status.column[index] === 1" style="color: #d81e06"/>
|
|
|
|
|
<a-icon type="exclamation-circle" v-else style="color: #909399" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|
@ -262,7 +258,7 @@ export default {
|
|
|
|
|
if(res.code == 200){
|
|
|
|
|
if(res.data.stocks){
|
|
|
|
|
for(let a of res.data.stocks){
|
|
|
|
|
this.getStatusBg(a.row,a.column,a.viewStatus)
|
|
|
|
|
this.getStatusBg(a.row,a.column,a.status)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|