|
|
@@ -211,11 +211,26 @@ export default { |
|
|
|
methods: { |
|
|
|
goTo(i){ |
|
|
|
if(i==1){ |
|
|
|
Router.push("/ReceivingRecords/index?activeTotal=0&validInvalid=0") |
|
|
|
if(this.TimetoAhoose==6){ |
|
|
|
Router.push(`/ReceivingRecords/index?alidInvalid=0&dateType=${this.TimetoAhoose}&staDate=${this.fromobj.starttime}&endDate=${this.fromobj.endoftime}`) |
|
|
|
}else{ |
|
|
|
Router.push(`/ReceivingRecords/index?alidInvalid=0&dateType=${this.TimetoAhoose}`) |
|
|
|
} |
|
|
|
|
|
|
|
}else if(i==2){ |
|
|
|
Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=1"); |
|
|
|
if(this.TimetoAhoose==6){ |
|
|
|
Router.push(`/ReceivingRecords/index?markAdvisor=1&dateType=${this.TimetoAhoose}&staDate=${this.fromobj.starttime}&endDate=${this.fromobj.endoftime}`); |
|
|
|
}else{ |
|
|
|
Router.push(`/ReceivingRecords/index?markAdvisor=1&dateType=${this.TimetoAhoose}`); |
|
|
|
} |
|
|
|
|
|
|
|
}else{ |
|
|
|
Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=0"); |
|
|
|
if(this.TimetoAhoose==6){ |
|
|
|
Router.push(`/ReceivingRecords/index?markAdvisor=0&dateType=${this.TimetoAhoose}&staDate=${this.fromobj.starttime}&endDate=${this.fromobj.endoftime}`); |
|
|
|
}else{ |
|
|
|
Router.push(`/ReceivingRecords/index?markAdvisor=0&dateType=${this.TimetoAhoose}`); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
backTop(){ |
|
|
|