|
|
@@ -48,7 +48,9 @@
|
|
|
</div>
|
|
|
<table class="table table-striped table-sm table-bordered table-hover text-nowrap waybill-table td-min-width-80" style="background: #fff;" id="table">
|
|
|
<tr v-for="(waybill,i) in waybills" :style="[{color:waybill.status=='待重审'?'red':''||waybill.status=='已完结'?'green':''},{'font-weight': waybill.id==selectedStyle?'bold':''}]"
|
|
|
- :id="'waybill'+waybill.id" @click="selectedColor(waybill.id,$event)" position="static" @mouseover="hidetop($event)" @mouseleave="showtop($event)">
|
|
|
+ :id="'waybill'+waybill.id" @click="selectedColor(waybill.id,$event) & (selectTr===i+1?selectTr=0:selectTr=i+1)" position="static" @mouseover="hidetop($event)" @mouseleave="showtop($event)"
|
|
|
+ :class="selectTr===i+1?'focusing':''"
|
|
|
+ >
|
|
|
<td><input class="checkItem" type="checkbox" :value="waybill.id"></td>
|
|
|
<td>
|
|
|
<span v-if=waybill.status==="未审核"||waybill.status==="待重审">
|
|
|
@@ -583,13 +585,11 @@
|
|
|
excelExport(checkAllSign,checkData,url,this.sum,token);
|
|
|
},
|
|
|
selectedColor(id,e){
|
|
|
- $('#headerParent tr[class=focusing]').removeClass('focusing')
|
|
|
if (id==this.selectedStyle){
|
|
|
this.selectedStyle='';
|
|
|
return;
|
|
|
}
|
|
|
this.selectedStyle=id;
|
|
|
- $(e.target).parent('tr').addClass('focusing')
|
|
|
},
|
|
|
mouseleaveOwner:function () {
|
|
|
if(!this.isOut&&!this.isBlur){
|