增加盘点信息核对错误,核对正确,需要核对,未盘点区分

merge-requests/7/head
wanghaotian 3 years ago
parent 3ff294b691
commit 0097a8f8c0

@ -217,7 +217,16 @@ export default {
getStatusBg(row,column,status) {
var dom = document.getElementById(this.direction+"-"+this.side+"-"+row+'-'+column);
var color = status == 1 ?'#d81e06': (status == 2|| status == 3) ? '#1afa29': '#bfbfbf';
var color;
if(status == -1){
color = '#bfbfbf';
}else if(status == 2|| status == 3){
color = '#1afa29';
}else if(status == 0 ){
color = '#fbb33d';
}else{
color = '#d81e06';
}
dom.style.background = color
},

@ -12,11 +12,15 @@
<span class="explain">颜色说明</span>
<span class="info-text">
<a-tag color="#d81e06" style="width:30px;height:20px;margin-right:6px"></a-tag>
盘点错误
核对错误
</span>
<span class="info-text">
<a-tag color="#1afa29" style="width:30px;height:20px;margin-right:6px"></a-tag>
盘点正确
核对正确
</span>
<span class="info-text">
<a-tag color="#fbb33d" style="width:30px;height:20px;margin-right:6px"></a-tag>
需要核对
</span>
<span class="info-text">
<a-tag color="#bfbfbf" style="width:30px;height:20px;margin-right:6px"></a-tag>

Loading…
Cancel
Save