Browse Source

20241203

java8
qiezi 1 year ago
parent
commit
8c8e22f9ae
  1. 8
      src/views/modules/quote/detail/primary/quoteDetailRouting.vue

8
src/views/modules/quote/detail/primary/quoteDetailRouting.vue

@ -628,7 +628,7 @@ export default {
this.versionVisible = true; this.versionVisible = true;
}, },
versionRowStyle({row}){ versionRowStyle({row}){
if (row.routingRevision === this.routing.routingRevision){
if (row.routingRevision === this.routing.routingRevision && row.routingType === this.routing.routingType){
return { 'background-color': '#E8F7F6' }; return { 'background-color': '#E8F7F6' };
} }
}, },
@ -668,10 +668,11 @@ export default {
versionRowClick(row){ versionRowClick(row){
this.routing.routingType = row.routingType; this.routing.routingType = row.routingType;
this.routing.routingRevision = row.routingRevision; this.routing.routingRevision = row.routingRevision;
this.handleQueryAlternativeList();
}, },
alternativeRowStyle({row}){ alternativeRowStyle({row}){
if (this.dataList.length > 0){ if (this.dataList.length > 0){
if (this.dataList[0].alternativeNo === row.alternativeNo && this.dataList[0].routingRevision === row.routingRevision){
if (this.dataList[0].alternativeNo === row.alternativeNo && this.dataList[0].routingRevision === row.routingRevision && this.dataList[0].routingType === row.routingType){
return { 'background-color': '#E8F7F6' }; return { 'background-color': '#E8F7F6' };
} }
} }
@ -736,9 +737,6 @@ export default {
isAllRouting(newVal,oldVal){ isAllRouting(newVal,oldVal){
this.handleQueryDetailRouting(); this.handleQueryDetailRouting();
}, },
'routing.routingRevision'(newVal,oldVal){
this.handleQueryAlternativeList();
}
} }
} }
</script> </script>

Loading…
Cancel
Save