diff --git a/src/views/emis/emisWaybill/sendWaybillList.vue b/src/views/emis/emisWaybill/sendWaybillList.vue index 77ee9ea1..e8e6685d 100644 --- a/src/views/emis/emisWaybill/sendWaybillList.vue +++ b/src/views/emis/emisWaybill/sendWaybillList.vue @@ -826,7 +826,7 @@ export default { }, watch: { $route () { - if(this.$route.action=='queryByCredit'){ + if(this.$route.query.action=='queryByCredit'){ if(this.$route.query.custNo!=null){ this.queryParams.custNo=this.$route.query.custNo; } @@ -846,7 +846,7 @@ export default { } }, created() { - if(this.$route.action=='queryByCredit'){ + if(this.$route.query.action=='queryByCredit'){ if(this.$route.query.custNo!=null){ this.queryParams.custNo=this.$route.query.custNo; }